Class CxCustomizationModel

java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.personalizationservices.model.CxCustomizationModel
All Implemented Interfaces:
Serializable

public class CxCustomizationModel extends ItemModel
Generated model class for type CxCustomization first defined at extension personalizationservices.
See Also:
  • 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 final String
    Generated relation code constant for relation CxGroupToCustomization defining source attribute group in extension personalizationservices.
    static final String
    Generated model type code constant.
    static final String
    Generated constant - Attribute key of CxCustomization.active attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.catalogVersion attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.code attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.description attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.enabledEndDate attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.enabledStartDate attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.group attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.groupPOS attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.longDescription attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.name attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.rank attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.status attribute defined at extension personalizationservices.
    static final String
    Generated constant - Attribute key of CxCustomization.variations attribute defined at extension personalizationservices.

    Fields inherited from class de.hybris.platform.core.model.ItemModel

    _COMMENTITEMRELATION, COMMENTS, CREATIONTIME, ITEMTYPE, MODIFIEDTIME, OWNER, PK, SEALED

    Fields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel

    LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY
  • Constructor Summary

    Constructors
    Constructor
    Description
    Generated constructor - Default constructor for generic creation.
    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
    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

    Modifier and Type
    Method
    Description
    Generated method - Getter of the CxCustomization.catalogVersion attribute defined at extension personalizationservices.
    Generated method - Getter of the CxCustomization.code attribute defined at extension personalizationservices.
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1811
    Generated method - Getter of the CxCustomization.enabledEndDate attribute defined at extension personalizationservices.
    Generated method - Getter of the CxCustomization.enabledStartDate attribute defined at extension personalizationservices.
    Generated method - Getter of the CxCustomization.group attribute defined at extension personalizationservices.
    Generated method - Getter of the CxCustomization.longDescription attribute defined at extension personalizationservices.
    Generated method - Getter of the CxCustomization.name attribute defined at extension personalizationservices.
    Generated method - Getter of the CxCustomization.rank dynamic attribute defined at extension personalizationservices.
    Generated method - Getter of the CxCustomization.status attribute defined at extension personalizationservices.
    Generated method - Getter of the CxCustomization.variations attribute defined at extension personalizationservices.
    boolean
    Generated method - Getter of the CxCustomization.active dynamic attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxCustomization.catalogVersion attribute defined at extension personalizationservices.
    void
    setCode(String value)
    Generated method - Initial setter of CxCustomization.code attribute defined at extension personalizationservices.
    void
    Deprecated, for removal: This API element is subject to removal in a future version.
    since 1811
    void
    Generated method - Setter of CxCustomization.enabledEndDate attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxCustomization.enabledStartDate attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxCustomization.group attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxCustomization.longDescription attribute defined at extension personalizationservices.
    void
    setName(String value)
    Generated method - Setter of CxCustomization.name attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxCustomization.rank dynamic attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxCustomization.status attribute defined at extension personalizationservices.
    void
    Generated method - Setter of CxCustomization.variations attribute defined at extension personalizationservices.

    Methods inherited from class de.hybris.platform.core.model.ItemModel

    getComments, getCreationtime, getModifiedtime, getOwner, isSealed, setComments, setCreationtime, setModifiedtime, setOwner

    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 Details

    • _TYPECODE

      public static final String _TYPECODE
      Generated model type code constant.
      See Also:
    • _CXGROUPTOCUSTOMIZATION

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

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

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

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

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

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

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

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

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

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

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

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

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

      public static final String GROUP
      Generated constant - Attribute key of CxCustomization.group attribute defined at extension personalizationservices.
      See Also:
  • Constructor Details

    • 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, String _code, CxCustomizationsGroupModel _group, 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, String _code, CxCustomizationsGroupModel _group, 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 Details

    • 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 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 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 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 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 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 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 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 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(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(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(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(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(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(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(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(List<CxVariationModel> value)
      Generated method - Setter of CxCustomization.variations attribute defined at extension personalizationservices.
      Parameters:
      value - the variations