Class CxVariationModel

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    CxVariationModelStub

    public class CxVariationModel
    extends ItemModel
    Generated model class for type CxVariation first defined at extension personalizationservices.
    See Also:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _CXCUSTOMIZATIONTOVARIATION
      Generated relation code constant for relation CxCustomizationToVariation defining source attribute customization in extension personalizationservices.
      static java.lang.String _PREVIEWDATATOCXVARIATION
      Generated relation code constant for relation PreviewDataToCxVariation defining source attribute previews in extension personalizationcms.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ACTIONS
      Generated constant - Attribute key of CxVariation.actions attribute defined at extension personalizationservices.
      static java.lang.String ACTIVE
      Generated constant - Attribute key of CxVariation.active attribute defined at extension personalizationservices.
      static java.lang.String CATALOGVERSION
      Generated constant - Attribute key of CxVariation.catalogVersion attribute defined at extension personalizationservices.
      static java.lang.String CODE
      Generated constant - Attribute key of CxVariation.code attribute defined at extension personalizationservices.
      static java.lang.String CUSTOMIZATION
      Generated constant - Attribute key of CxVariation.customization attribute defined at extension personalizationservices.
      static java.lang.String CUSTOMIZATIONPOS
      Generated constant - Attribute key of CxVariation.customizationPOS attribute defined at extension personalizationservices.
      static java.lang.String ENABLED
      Generated constant - Attribute key of CxVariation.enabled attribute defined at extension personalizationservices.
      static java.lang.String NAME
      Generated constant - Attribute key of CxVariation.name attribute defined at extension personalizationservices.
      static java.lang.String PREVIEWS
      Generated constant - Attribute key of CxVariation.previews attribute defined at extension personalizationcms.
      static java.lang.String RANK
      Generated constant - Attribute key of CxVariation.rank attribute defined at extension personalizationservices.
      static java.lang.String STATUS
      Generated constant - Attribute key of CxVariation.status attribute defined at extension personalizationservices.
      static java.lang.String TRIGGERS
      Generated constant - Attribute key of CxVariation.triggers attribute defined at extension personalizationservices.
    • Constructor Summary

      Constructors 
      Constructor Description
      CxVariationModel()
      Generated constructor - Default constructor for generic creation.
      CxVariationModel​(CatalogVersionModel _catalogVersion, java.lang.String _code, CxCustomizationModel _customization, java.lang.String _name)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      CxVariationModel​(CatalogVersionModel _catalogVersion, java.lang.String _code, CxCustomizationModel _customization, java.lang.String _name, ItemModel _owner)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 4.1.1 Please use the default constructor without parameters
      CxVariationModel​(ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Field Detail

      • _TYPECODE

        public static final java.lang.String _TYPECODE
        Generated model type code constant.
        See Also:
        Constant Field Values
      • _CXCUSTOMIZATIONTOVARIATION

        public static final java.lang.String _CXCUSTOMIZATIONTOVARIATION
        Generated relation code constant for relation CxCustomizationToVariation defining source attribute customization in extension personalizationservices.
        See Also:
        Constant Field Values
      • _PREVIEWDATATOCXVARIATION

        public static final java.lang.String _PREVIEWDATATOCXVARIATION
        Generated relation code constant for relation PreviewDataToCxVariation defining source attribute previews in extension personalizationcms.
        See Also:
        Constant Field Values
      • CODE

        public static final java.lang.String CODE
        Generated constant - Attribute key of CxVariation.code attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • CATALOGVERSION

        public static final java.lang.String CATALOGVERSION
        Generated constant - Attribute key of CxVariation.catalogVersion attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • NAME

        public static final java.lang.String NAME
        Generated constant - Attribute key of CxVariation.name attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • ACTIVE

        public static final java.lang.String ACTIVE
        Generated constant - Attribute key of CxVariation.active attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • ENABLED

        public static final java.lang.String ENABLED
        Generated constant - Attribute key of CxVariation.enabled attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • STATUS

        public static final java.lang.String STATUS
        Generated constant - Attribute key of CxVariation.status attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • RANK

        public static final java.lang.String RANK
        Generated constant - Attribute key of CxVariation.rank attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • CUSTOMIZATIONPOS

        public static final java.lang.String CUSTOMIZATIONPOS
        Generated constant - Attribute key of CxVariation.customizationPOS attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • CUSTOMIZATION

        public static final java.lang.String CUSTOMIZATION
        Generated constant - Attribute key of CxVariation.customization attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • ACTIONS

        public static final java.lang.String ACTIONS
        Generated constant - Attribute key of CxVariation.actions attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • TRIGGERS

        public static final java.lang.String TRIGGERS
        Generated constant - Attribute key of CxVariation.triggers attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • PREVIEWS

        public static final java.lang.String PREVIEWS
        Generated constant - Attribute key of CxVariation.previews attribute defined at extension personalizationcms.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CxVariationModel

        public CxVariationModel()
        Generated constructor - Default constructor for generic creation.
      • CxVariationModel

        public CxVariationModel​(ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CxVariationModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CxVariationModel​(CatalogVersionModel _catalogVersion,
                                java.lang.String _code,
                                CxCustomizationModel _customization,
                                java.lang.String _name)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - Constructor with all mandatory attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type CxVariation at extension personalizationservices
        _code - initial attribute declared by type CxVariation at extension personalizationservices
        _customization - initial attribute declared by type CxVariation at extension personalizationservices
        _name - initial attribute declared by type CxVariation at extension personalizationservices
      • CxVariationModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CxVariationModel​(CatalogVersionModel _catalogVersion,
                                java.lang.String _code,
                                CxCustomizationModel _customization,
                                java.lang.String _name,
                                ItemModel _owner)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 4.1.1 Please use the default constructor without parameters
        Generated constructor - for all mandatory and initial attributes.
        Parameters:
        _catalogVersion - initial attribute declared by type CxVariation at extension personalizationservices
        _code - initial attribute declared by type CxVariation at extension personalizationservices
        _customization - initial attribute declared by type CxVariation at extension personalizationservices
        _name - initial attribute declared by type CxVariation at extension personalizationservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getActions

        @Accessor(qualifier="actions",
                  type=GETTER)
        public java.util.List<CxAbstractActionModel> getActions()
        Generated method - Getter of the CxVariation.actions attribute defined at extension personalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the actions
      • getCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=GETTER)
        public CatalogVersionModel getCatalogVersion()
        Generated method - Getter of the CxVariation.catalogVersion attribute defined at extension personalizationservices.
        Returns:
        the catalogVersion
      • getCode

        @Accessor(qualifier="code",
                  type=GETTER)
        public java.lang.String getCode()
        Generated method - Getter of the CxVariation.code attribute defined at extension personalizationservices.
        Returns:
        the code - Unique identifier
      • getCustomization

        @Accessor(qualifier="customization",
                  type=GETTER)
        public CxCustomizationModel getCustomization()
        Generated method - Getter of the CxVariation.customization attribute defined at extension personalizationservices.
        Returns:
        the customization
      • getName

        @Accessor(qualifier="name",
                  type=GETTER)
        public java.lang.String getName()
        Generated method - Getter of the CxVariation.name attribute defined at extension personalizationservices.
        Returns:
        the name - Name of variation
      • getPreviews

        @Accessor(qualifier="previews",
                  type=GETTER)
        public java.util.Collection<PreviewDataModel> getPreviews()
        Generated method - Getter of the CxVariation.previews attribute defined at extension personalizationcms. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the previews
      • getRank

        @Accessor(qualifier="rank",
                  type=GETTER)
        public java.lang.Integer getRank()
        Generated method - Getter of the CxVariation.rank dynamic attribute defined at extension personalizationservices.
        Returns:
        the rank - Defines the rank (priority) of variation
      • getStatus

        @Accessor(qualifier="status",
                  type=GETTER)
        public CxItemStatus getStatus()
        Generated method - Getter of the CxVariation.status attribute defined at extension personalizationservices.
        Returns:
        the status - Contains current status of item
      • getTriggers

        @Accessor(qualifier="triggers",
                  type=GETTER)
        public java.util.Collection<CxAbstractTriggerModel> getTriggers()
        Generated method - Getter of the CxVariation.triggers attribute defined at extension personalizationservices. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.
        Returns:
        the triggers
      • isActive

        @Accessor(qualifier="active",
                  type=GETTER)
        public boolean isActive()
        Generated method - Getter of the CxVariation.active dynamic attribute defined at extension personalizationservices.
        Returns:
        the active - Defines if the variation is active or not
      • isEnabled

        @Deprecated(since="6.2",
                    forRemoval=true)
        @Accessor(qualifier="enabled",
                  type=GETTER)
        public boolean isEnabled()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 6.2
        Generated method - Getter of the CxVariation.enabled attribute defined at extension personalizationservices.
        Returns:
        the enabled - Defines if the variation is enabled or not
      • setActions

        @Accessor(qualifier="actions",
                  type=SETTER)
        public void setActions​(java.util.List<CxAbstractActionModel> value)
        Generated method - Setter of CxVariation.actions attribute defined at extension personalizationservices.
        Parameters:
        value - the actions
      • setCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=SETTER)
        public void setCatalogVersion​(CatalogVersionModel value)
        Generated method - Setter of CxVariation.catalogVersion attribute defined at extension personalizationservices.
        Parameters:
        value - the catalogVersion
      • setCode

        @Accessor(qualifier="code",
                  type=SETTER)
        public void setCode​(java.lang.String value)
        Generated method - Initial setter of CxVariation.code attribute defined at extension personalizationservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the code - Unique identifier
      • setCustomization

        @Accessor(qualifier="customization",
                  type=SETTER)
        public void setCustomization​(CxCustomizationModel value)
        Generated method - Setter of CxVariation.customization attribute defined at extension personalizationservices.
        Parameters:
        value - the customization
      • setEnabled

        @Deprecated(since="6.2",
                    forRemoval=true)
        @Accessor(qualifier="enabled",
                  type=SETTER)
        public void setEnabled​(boolean value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 6.2
        Generated method - Setter of CxVariation.enabled attribute defined at extension personalizationservices.
        Parameters:
        value - the enabled - Defines if the variation is enabled or not
      • setName

        @Accessor(qualifier="name",
                  type=SETTER)
        public void setName​(java.lang.String value)
        Generated method - Setter of CxVariation.name attribute defined at extension personalizationservices.
        Parameters:
        value - the name - Name of variation
      • setPreviews

        @Accessor(qualifier="previews",
                  type=SETTER)
        public void setPreviews​(java.util.Collection<PreviewDataModel> value)
        Generated method - Setter of CxVariation.previews attribute defined at extension personalizationcms.
        Parameters:
        value - the previews
      • setRank

        @Accessor(qualifier="rank",
                  type=SETTER)
        public void setRank​(java.lang.Integer value)
        Generated method - Setter of CxVariation.rank dynamic attribute defined at extension personalizationservices.
        Parameters:
        value - the rank - Defines the rank (priority) of variation
      • setStatus

        @Accessor(qualifier="status",
                  type=SETTER)
        public void setStatus​(CxItemStatus value)
        Generated method - Setter of CxVariation.status attribute defined at extension personalizationservices.
        Parameters:
        value - the status - Contains current status of item
      • setTriggers

        @Accessor(qualifier="triggers",
                  type=SETTER)
        public void setTriggers​(java.util.Collection<CxAbstractTriggerModel> value)
        Generated method - Setter of CxVariation.triggers attribute defined at extension personalizationservices.
        Parameters:
        value - the triggers