Class CxCustomizationModel

  • All Implemented Interfaces:
    java.io.Serializable

    public class CxCustomizationModel
    extends ItemModel
    Generated model class for type CxCustomization first defined at extension personalizationservices.
    See Also:
    Serialized Form
    • Nested Class Summary

      • Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static java.lang.String _CXGROUPTOCUSTOMIZATION
      Generated relation code constant for relation CxGroupToCustomization defining source attribute group in extension personalizationservices.
      static java.lang.String _TYPECODE
      Generated model type code constant.
      static java.lang.String ACTIVE
      Generated constant - Attribute key of CxCustomization.active attribute defined at extension personalizationservices.
      static java.lang.String CATALOGVERSION
      Generated constant - Attribute key of CxCustomization.catalogVersion attribute defined at extension personalizationservices.
      static java.lang.String CODE
      Generated constant - Attribute key of CxCustomization.code attribute defined at extension personalizationservices.
      static java.lang.String DESCRIPTION
      Generated constant - Attribute key of CxCustomization.description attribute defined at extension personalizationservices.
      static java.lang.String ENABLEDENDDATE
      Generated constant - Attribute key of CxCustomization.enabledEndDate attribute defined at extension personalizationservices.
      static java.lang.String ENABLEDSTARTDATE
      Generated constant - Attribute key of CxCustomization.enabledStartDate attribute defined at extension personalizationservices.
      static java.lang.String GROUP
      Generated constant - Attribute key of CxCustomization.group attribute defined at extension personalizationservices.
      static java.lang.String GROUPPOS
      Generated constant - Attribute key of CxCustomization.groupPOS attribute defined at extension personalizationservices.
      static java.lang.String LONGDESCRIPTION
      Generated constant - Attribute key of CxCustomization.longDescription attribute defined at extension personalizationservices.
      static java.lang.String NAME
      Generated constant - Attribute key of CxCustomization.name attribute defined at extension personalizationservices.
      static java.lang.String RANK
      Generated constant - Attribute key of CxCustomization.rank attribute defined at extension personalizationservices.
      static java.lang.String STATUS
      Generated constant - Attribute key of CxCustomization.status attribute defined at extension personalizationservices.
      static java.lang.String VARIATIONS
      Generated constant - Attribute key of CxCustomization.variations attribute defined at extension personalizationservices.
      • Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
    • Constructor Summary

      Constructors 
      Constructor Description
      CxCustomizationModel()
      Generated constructor - Default constructor for generic creation.
      CxCustomizationModel​(CatalogVersionModel _catalogVersion, java.lang.String _code, CxCustomizationsGroupModel _group, 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
      CxCustomizationModel​(CatalogVersionModel _catalogVersion, java.lang.String _code, CxCustomizationsGroupModel _group, 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
      CxCustomizationModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
      Generated constructor - Default constructor for creation with existing context
    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      CatalogVersionModel getCatalogVersion()
      Generated method - Getter of the CxCustomization.catalogVersion attribute defined at extension personalizationservices.
      java.lang.String getCode()
      Generated method - Getter of the CxCustomization.code attribute defined at extension personalizationservices.
      java.lang.String getDescription()
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1811
      java.util.Date getEnabledEndDate()
      Generated method - Getter of the CxCustomization.enabledEndDate attribute defined at extension personalizationservices.
      java.util.Date getEnabledStartDate()
      Generated method - Getter of the CxCustomization.enabledStartDate attribute defined at extension personalizationservices.
      CxCustomizationsGroupModel getGroup()
      Generated method - Getter of the CxCustomization.group attribute defined at extension personalizationservices.
      java.lang.String getLongDescription()
      Generated method - Getter of the CxCustomization.longDescription attribute defined at extension personalizationservices.
      java.lang.String getName()
      Generated method - Getter of the CxCustomization.name attribute defined at extension personalizationservices.
      java.lang.Integer getRank()
      Generated method - Getter of the CxCustomization.rank dynamic attribute defined at extension personalizationservices.
      CxItemStatus getStatus()
      Generated method - Getter of the CxCustomization.status attribute defined at extension personalizationservices.
      java.util.List<CxVariationModel> getVariations()
      Generated method - Getter of the CxCustomization.variations attribute defined at extension personalizationservices.
      boolean isActive()
      Generated method - Getter of the CxCustomization.active dynamic attribute defined at extension personalizationservices.
      void setCatalogVersion​(CatalogVersionModel value)
      Generated method - Setter of CxCustomization.catalogVersion attribute defined at extension personalizationservices.
      void setCode​(java.lang.String value)
      Generated method - Initial setter of CxCustomization.code attribute defined at extension personalizationservices.
      void setDescription​(java.lang.String value)
      Deprecated, for removal: This API element is subject to removal in a future version.
      since 1811
      void setEnabledEndDate​(java.util.Date value)
      Generated method - Setter of CxCustomization.enabledEndDate attribute defined at extension personalizationservices.
      void setEnabledStartDate​(java.util.Date value)
      Generated method - Setter of CxCustomization.enabledStartDate attribute defined at extension personalizationservices.
      void setGroup​(CxCustomizationsGroupModel value)
      Generated method - Setter of CxCustomization.group attribute defined at extension personalizationservices.
      void setLongDescription​(java.lang.String value)
      Generated method - Setter of CxCustomization.longDescription attribute defined at extension personalizationservices.
      void setName​(java.lang.String value)
      Generated method - Setter of CxCustomization.name attribute defined at extension personalizationservices.
      void setRank​(java.lang.Integer value)
      Generated method - Setter of CxCustomization.rank dynamic attribute defined at extension personalizationservices.
      void setStatus​(CxItemStatus value)
      Generated method - Setter of CxCustomization.status attribute defined at extension personalizationservices.
      void setVariations​(java.util.List<CxVariationModel> value)
      Generated method - Setter of CxCustomization.variations attribute defined at extension personalizationservices.
      • Methods inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

        equals, getItemModelContext, getItemtype, getPersistenceContext, getPk, getProperty, getProperty, getTenantId, hashCode, readResolve, setProperty, setProperty, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toObject, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toPrimitive, toString, writeReplace
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Field Detail

      • _TYPECODE

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

        public static final java.lang.String _CXGROUPTOCUSTOMIZATION
        Generated relation code constant for relation CxGroupToCustomization defining source attribute group in extension personalizationservices.
        See Also:
        Constant Field Values
      • CODE

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

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

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

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

        public static final java.lang.String DESCRIPTION
        Generated constant - Attribute key of CxCustomization.description attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • LONGDESCRIPTION

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

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

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

        public static final java.lang.String ENABLEDSTARTDATE
        Generated constant - Attribute key of CxCustomization.enabledStartDate attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • ENABLEDENDDATE

        public static final java.lang.String ENABLEDENDDATE
        Generated constant - Attribute key of CxCustomization.enabledEndDate attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • VARIATIONS

        public static final java.lang.String VARIATIONS
        Generated constant - Attribute key of CxCustomization.variations attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • GROUPPOS

        public static final java.lang.String GROUPPOS
        Generated constant - Attribute key of CxCustomization.groupPOS attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
      • GROUP

        public static final java.lang.String GROUP
        Generated constant - Attribute key of CxCustomization.group attribute defined at extension personalizationservices.
        See Also:
        Constant Field Values
    • Constructor Detail

      • CxCustomizationModel

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

        public CxCustomizationModel​(de.hybris.platform.servicelayer.model.ItemModelContext ctx)
        Generated constructor - Default constructor for creation with existing context
        Parameters:
        ctx - the model context to be injected, must not be null
      • CxCustomizationModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CxCustomizationModel​(CatalogVersionModel _catalogVersion,
                                    java.lang.String _code,
                                    CxCustomizationsGroupModel _group,
                                    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 CxCustomization at extension personalizationservices
        _code - initial attribute declared by type CxCustomization at extension personalizationservices
        _group - initial attribute declared by type CxCustomization at extension personalizationservices
        _name - initial attribute declared by type CxCustomization at extension personalizationservices
      • CxCustomizationModel

        @Deprecated(since="4.1.1",
                    forRemoval=true)
        public CxCustomizationModel​(CatalogVersionModel _catalogVersion,
                                    java.lang.String _code,
                                    CxCustomizationsGroupModel _group,
                                    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 CxCustomization at extension personalizationservices
        _code - initial attribute declared by type CxCustomization at extension personalizationservices
        _group - initial attribute declared by type CxCustomization at extension personalizationservices
        _name - initial attribute declared by type CxCustomization at extension personalizationservices
        _owner - initial attribute declared by type Item at extension core
    • Method Detail

      • getCatalogVersion

        @Accessor(qualifier="catalogVersion",
                  type=GETTER)
        public CatalogVersionModel getCatalogVersion()
        Generated method - Getter of the CxCustomization.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 CxCustomization.code attribute defined at extension personalizationservices.
        Returns:
        the code - Unique identifier
      • getDescription

        @Deprecated(since="1811",
                    forRemoval=true)
        @Accessor(qualifier="description",
                  type=GETTER)
        public java.lang.String getDescription()
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1811
        Generated method - Getter of the CxCustomization.description attribute defined at extension personalizationservices.
        Returns:
        the description - Description of customization
      • getEnabledEndDate

        @Accessor(qualifier="enabledEndDate",
                  type=GETTER)
        public java.util.Date getEnabledEndDate()
        Generated method - Getter of the CxCustomization.enabledEndDate attribute defined at extension personalizationservices.
        Returns:
        the enabledEndDate - Date and time till which customization will be active
      • getEnabledStartDate

        @Accessor(qualifier="enabledStartDate",
                  type=GETTER)
        public java.util.Date getEnabledStartDate()
        Generated method - Getter of the CxCustomization.enabledStartDate attribute defined at extension personalizationservices.
        Returns:
        the enabledStartDate - Date and time from which customization will be active
      • getGroup

        @Accessor(qualifier="group",
                  type=GETTER)
        public CxCustomizationsGroupModel getGroup()
        Generated method - Getter of the CxCustomization.group attribute defined at extension personalizationservices.
        Returns:
        the group
      • getLongDescription

        @Accessor(qualifier="longDescription",
                  type=GETTER)
        public java.lang.String getLongDescription()
        Generated method - Getter of the CxCustomization.longDescription attribute defined at extension personalizationservices.
        Returns:
        the longDescription - Long description of customization
      • getName

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

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

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

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

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

        @Accessor(qualifier="catalogVersion",
                  type=SETTER)
        public void setCatalogVersion​(CatalogVersionModel value)
        Generated method - Setter of CxCustomization.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 CxCustomization.code attribute defined at extension personalizationservices. Can only be used at creation of model - before first save.
        Parameters:
        value - the code - Unique identifier
      • setDescription

        @Deprecated(since="1811",
                    forRemoval=true)
        @Accessor(qualifier="description",
                  type=SETTER)
        public void setDescription​(java.lang.String value)
        Deprecated, for removal: This API element is subject to removal in a future version.
        since 1811
        Generated method - Setter of CxCustomization.description attribute defined at extension personalizationservices.
        Parameters:
        value - the description - Description of customization
      • setEnabledEndDate

        @Accessor(qualifier="enabledEndDate",
                  type=SETTER)
        public void setEnabledEndDate​(java.util.Date value)
        Generated method - Setter of CxCustomization.enabledEndDate attribute defined at extension personalizationservices.
        Parameters:
        value - the enabledEndDate - Date and time till which customization will be active
      • setEnabledStartDate

        @Accessor(qualifier="enabledStartDate",
                  type=SETTER)
        public void setEnabledStartDate​(java.util.Date value)
        Generated method - Setter of CxCustomization.enabledStartDate attribute defined at extension personalizationservices.
        Parameters:
        value - the enabledStartDate - Date and time from which customization will be active
      • setGroup

        @Accessor(qualifier="group",
                  type=SETTER)
        public void setGroup​(CxCustomizationsGroupModel value)
        Generated method - Setter of CxCustomization.group attribute defined at extension personalizationservices.
        Parameters:
        value - the group
      • setLongDescription

        @Accessor(qualifier="longDescription",
                  type=SETTER)
        public void setLongDescription​(java.lang.String value)
        Generated method - Setter of CxCustomization.longDescription attribute defined at extension personalizationservices.
        Parameters:
        value - the longDescription - Long description of customization
      • setName

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

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

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

        @Accessor(qualifier="variations",
                  type=SETTER)
        public void setVariations​(java.util.List<CxVariationModel> value)
        Generated method - Setter of CxCustomization.variations attribute defined at extension personalizationservices.
        Parameters:
        value - the variations