Interface PersonalizationCategory

  • All Superinterfaces:
    Wrapper

    public interface PersonalizationCategory
    extends Wrapper
    Interface representing a personalization category.
    Author:
    Sander Dahlberg
    • Method Detail

      • getName

        String getName()
        Returns the language dependent description of the personalization category.
        Returns:
        The language dependent description of the personalization category.
      • getValue

        String getValue()
        Returns a unique identifying value of the category.
        Returns:
        A unique identifying value of the category.
      • getPersonalizationItems

        PersonalizationItem[] getPersonalizationItems()
        Returns all personalization expressions and models sorted by name.
        Returns:
        All personalization expressions and models sorted by name.
      • getPersonalizationExpressions

        PersonalizationExpression[] getPersonalizationExpressions()
        Returns all personalization expressions sorted by name.
        Returns:
        All personalization expressions sorted by name.
      • getPersonalizationModels

        PersonalizationModel[] getPersonalizationModels()
        Returns all personalization models sorted by name.
        Returns:
        All personalization models sorted by name.
      • setName

        void setName​(String name)
        Sets the name of the personalization category.
        Parameters:
        name - New name of the personalization category. Cannot be null or an empty string.
      • setValue

        void setValue​(String value)
        Sets the value of the personalization category.
        Parameters:
        value - New value of the personalization category. Cannot be null or an empty string.
      • setPersonalizationItems

        void setPersonalizationItems​(PersonalizationItem[] personalizationItems)
        Assigns the personalization items to this personalization category.
        Parameters:
        personalizationItems - Personalization items to assign to this category.