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:
java.io.Serializable
- Direct Known Subclasses:
CxCustomizationModelStub
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
AbstractItemModel.NewModelContextFactory
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String_CXGROUPTOCUSTOMIZATIONGenerated relation code constant for relationCxGroupToCustomizationdefining source attributegroupin extensionpersonalizationservices.static java.lang.String_TYPECODEGenerated model type code constant.static java.lang.StringACTIVEGenerated constant - Attribute key ofCxCustomization.activeattribute defined at extensionpersonalizationservices.static java.lang.StringCATALOGVERSIONGenerated constant - Attribute key ofCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.static java.lang.StringCODEGenerated constant - Attribute key ofCxCustomization.codeattribute defined at extensionpersonalizationservices.static java.lang.StringDESCRIPTIONGenerated constant - Attribute key ofCxCustomization.descriptionattribute defined at extensionpersonalizationservices.static java.lang.StringENABLEDENDDATEGenerated constant - Attribute key ofCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.static java.lang.StringENABLEDSTARTDATEGenerated constant - Attribute key ofCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.static java.lang.StringGROUPGenerated constant - Attribute key ofCxCustomization.groupattribute defined at extensionpersonalizationservices.static java.lang.StringGROUPPOSGenerated constant - Attribute key ofCxCustomization.groupPOSattribute defined at extensionpersonalizationservices.static java.lang.StringLONGDESCRIPTIONGenerated constant - Attribute key ofCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.static java.lang.StringNAMEGenerated constant - Attribute key ofCxCustomization.nameattribute defined at extensionpersonalizationservices.static java.lang.StringRANKGenerated constant - Attribute key ofCxCustomization.rankattribute defined at extensionpersonalizationservices.static java.lang.StringSTATUSGenerated constant - Attribute key ofCxCustomization.statusattribute defined at extensionpersonalizationservices.static java.lang.StringVARIATIONSGenerated constant - Attribute key ofCxCustomization.variationsattribute defined at extensionpersonalizationservices.-
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 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 parametersCxCustomizationModel(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 parametersCxCustomizationModel(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 CatalogVersionModelgetCatalogVersion()Generated method - Getter of theCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.java.lang.StringgetCode()Generated method - Getter of theCxCustomization.codeattribute defined at extensionpersonalizationservices.java.lang.StringgetDescription()Deprecated, for removal: This API element is subject to removal in a future version.since 1811java.util.DategetEnabledEndDate()Generated method - Getter of theCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.java.util.DategetEnabledStartDate()Generated method - Getter of theCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.CxCustomizationsGroupModelgetGroup()Generated method - Getter of theCxCustomization.groupattribute defined at extensionpersonalizationservices.java.lang.StringgetLongDescription()Generated method - Getter of theCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.java.lang.StringgetName()Generated method - Getter of theCxCustomization.nameattribute defined at extensionpersonalizationservices.java.lang.IntegergetRank()Generated method - Getter of theCxCustomization.rankdynamic attribute defined at extensionpersonalizationservices.CxItemStatusgetStatus()Generated method - Getter of theCxCustomization.statusattribute defined at extensionpersonalizationservices.java.util.List<CxVariationModel>getVariations()Generated method - Getter of theCxCustomization.variationsattribute defined at extensionpersonalizationservices.booleanisActive()Generated method - Getter of theCxCustomization.activedynamic attribute defined at extensionpersonalizationservices.voidsetCatalogVersion(CatalogVersionModel value)Generated method - Setter ofCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.voidsetCode(java.lang.String value)Generated method - Initial setter ofCxCustomization.codeattribute defined at extensionpersonalizationservices.voidsetDescription(java.lang.String value)Deprecated, for removal: This API element is subject to removal in a future version.since 1811voidsetEnabledEndDate(java.util.Date value)Generated method - Setter ofCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.voidsetEnabledStartDate(java.util.Date value)Generated method - Setter ofCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.voidsetGroup(CxCustomizationsGroupModel value)Generated method - Setter ofCxCustomization.groupattribute defined at extensionpersonalizationservices.voidsetLongDescription(java.lang.String value)Generated method - Setter ofCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.voidsetName(java.lang.String value)Generated method - Setter ofCxCustomization.nameattribute defined at extensionpersonalizationservices.voidsetRank(java.lang.Integer value)Generated method - Setter ofCxCustomization.rankdynamic attribute defined at extensionpersonalizationservices.voidsetStatus(CxItemStatus value)Generated method - Setter ofCxCustomization.statusattribute defined at extensionpersonalizationservices.voidsetVariations(java.util.List<CxVariationModel> value)Generated method - Setter ofCxCustomization.variationsattribute defined at extensionpersonalizationservices.-
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
-
-
-
-
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 relationCxGroupToCustomizationdefining source attributegroupin extensionpersonalizationservices.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofCxCustomization.codeattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofCxCustomization.nameattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
RANK
public static final java.lang.String RANK
Generated constant - Attribute key ofCxCustomization.rankattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
DESCRIPTION
public static final java.lang.String DESCRIPTION
Generated constant - Attribute key ofCxCustomization.descriptionattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
LONGDESCRIPTION
public static final java.lang.String LONGDESCRIPTION
Generated constant - Attribute key ofCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
ACTIVE
public static final java.lang.String ACTIVE
Generated constant - Attribute key ofCxCustomization.activeattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofCxCustomization.statusattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
ENABLEDSTARTDATE
public static final java.lang.String ENABLEDSTARTDATE
Generated constant - Attribute key ofCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
ENABLEDENDDATE
public static final java.lang.String ENABLEDENDDATE
Generated constant - Attribute key ofCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
VARIATIONS
public static final java.lang.String VARIATIONS
Generated constant - Attribute key ofCxCustomization.variationsattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
GROUPPOS
public static final java.lang.String GROUPPOS
Generated constant - Attribute key ofCxCustomization.groupPOSattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
GROUP
public static final java.lang.String GROUP
Generated constant - Attribute key ofCxCustomization.groupattribute defined at extensionpersonalizationservices.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CxCustomizationModel
public CxCustomizationModel()
Generated constructor - Default constructor for generic creation.
-
CxCustomizationModel
public CxCustomizationModel(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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCxCustomizationat extensionpersonalizationservices_code- initial attribute declared by typeCxCustomizationat extensionpersonalizationservices_group- initial attribute declared by typeCxCustomizationat extensionpersonalizationservices_name- initial attribute declared by typeCxCustomizationat extensionpersonalizationservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion- initial attribute declared by typeCxCustomizationat extensionpersonalizationservices_code- initial attribute declared by typeCxCustomizationat extensionpersonalizationservices_group- initial attribute declared by typeCxCustomizationat extensionpersonalizationservices_name- initial attribute declared by typeCxCustomizationat extensionpersonalizationservices_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getCatalogVersion
@Accessor(qualifier="catalogVersion", type=GETTER) public CatalogVersionModel getCatalogVersion()
Generated method - Getter of theCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.- Returns:
- the catalogVersion
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theCxCustomization.codeattribute defined at extensionpersonalizationservices.- 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 1811Generated method - Getter of theCxCustomization.descriptionattribute defined at extensionpersonalizationservices.- Returns:
- the description - Description of customization
-
getEnabledEndDate
@Accessor(qualifier="enabledEndDate", type=GETTER) public java.util.Date getEnabledEndDate()
Generated method - Getter of theCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.- 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 theCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.- 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 theCxCustomization.groupattribute defined at extensionpersonalizationservices.- Returns:
- the group
-
getLongDescription
@Accessor(qualifier="longDescription", type=GETTER) public java.lang.String getLongDescription()
Generated method - Getter of theCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.- Returns:
- the longDescription - Long description of customization
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theCxCustomization.nameattribute defined at extensionpersonalizationservices.- Returns:
- the name - Name of customization
-
getRank
@Accessor(qualifier="rank", type=GETTER) public java.lang.Integer getRank()
Generated method - Getter of theCxCustomization.rankdynamic attribute defined at extensionpersonalizationservices.- Returns:
- the rank - Defines the rank (priority) of the group
-
getStatus
@Accessor(qualifier="status", type=GETTER) public CxItemStatus getStatus()
Generated method - Getter of theCxCustomization.statusattribute defined at extensionpersonalizationservices.- Returns:
- the status - Contains current status of item
-
getVariations
@Accessor(qualifier="variations", type=GETTER) public java.util.List<CxVariationModel> getVariations()
Generated method - Getter of theCxCustomization.variationsattribute defined at extensionpersonalizationservices. 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 theCxCustomization.activedynamic attribute defined at extensionpersonalizationservices.- 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 ofCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.- Parameters:
value- the catalogVersion
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofCxCustomization.codeattribute defined at extensionpersonalizationservices. 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 1811Generated method - Setter ofCxCustomization.descriptionattribute defined at extensionpersonalizationservices.- Parameters:
value- the description - Description of customization
-
setEnabledEndDate
@Accessor(qualifier="enabledEndDate", type=SETTER) public void setEnabledEndDate(java.util.Date value)
Generated method - Setter ofCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.- 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 ofCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.- 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 ofCxCustomization.groupattribute defined at extensionpersonalizationservices.- Parameters:
value- the group
-
setLongDescription
@Accessor(qualifier="longDescription", type=SETTER) public void setLongDescription(java.lang.String value)
Generated method - Setter ofCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.- Parameters:
value- the longDescription - Long description of customization
-
setName
@Accessor(qualifier="name", type=SETTER) public void setName(java.lang.String value)
Generated method - Setter ofCxCustomization.nameattribute defined at extensionpersonalizationservices.- Parameters:
value- the name - Name of customization
-
setRank
@Accessor(qualifier="rank", type=SETTER) public void setRank(java.lang.Integer value)
Generated method - Setter ofCxCustomization.rankdynamic attribute defined at extensionpersonalizationservices.- 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 ofCxCustomization.statusattribute defined at extensionpersonalizationservices.- 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 ofCxCustomization.variationsattribute defined at extensionpersonalizationservices.- Parameters:
value- the variations
-
-