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
- Direct Known Subclasses:
CxCustomizationModelStub
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
AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated relation code constant for relationCxGroupToCustomizationdefining source attributegroupin extensionpersonalizationservices.static final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCxCustomization.activeattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.codeattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.descriptionattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.groupattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.groupPOSattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.nameattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.rankattribute defined at extensionpersonalizationservices.static final StringGenerated constant - Attribute key ofCxCustomization.statusattribute defined at extensionpersonalizationservices.static final StringGenerated 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, SEALEDFields inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
LANGUAGE_FALLBACK_ENABLED_SERVICE_LAYER, MODEL_CONTEXT_FACTORY -
Constructor Summary
ConstructorsConstructorDescriptionGenerated constructor - Default constructor for generic creation.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 parametersCxCustomizationModel(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 parametersGenerated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.getCode()Generated method - Getter of theCxCustomization.codeattribute defined at extensionpersonalizationservices.Deprecated, for removal: This API element is subject to removal in a future version.since 1811Generated method - Getter of theCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.Generated method - Getter of theCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.getGroup()Generated method - Getter of theCxCustomization.groupattribute defined at extensionpersonalizationservices.Generated method - Getter of theCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.getName()Generated method - Getter of theCxCustomization.nameattribute defined at extensionpersonalizationservices.getRank()Generated method - Getter of theCxCustomization.rankdynamic attribute defined at extensionpersonalizationservices.Generated method - Getter of theCxCustomization.statusattribute defined at extensionpersonalizationservices.Generated method - Getter of theCxCustomization.variationsattribute defined at extensionpersonalizationservices.booleanisActive()Generated method - Getter of theCxCustomization.activedynamic attribute defined at extensionpersonalizationservices.voidGenerated method - Setter ofCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.voidGenerated method - Initial setter ofCxCustomization.codeattribute defined at extensionpersonalizationservices.voidsetDescription(String value) Deprecated, for removal: This API element is subject to removal in a future version.since 1811voidsetEnabledEndDate(Date value) Generated method - Setter ofCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.voidsetEnabledStartDate(Date value) Generated method - Setter ofCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.voidGenerated method - Setter ofCxCustomization.groupattribute defined at extensionpersonalizationservices.voidsetLongDescription(String value) Generated method - Setter ofCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.voidGenerated method - Setter ofCxCustomization.nameattribute defined at extensionpersonalizationservices.voidGenerated method - Setter ofCxCustomization.rankdynamic attribute defined at extensionpersonalizationservices.voidsetStatus(CxItemStatus value) Generated method - Setter ofCxCustomization.statusattribute defined at extensionpersonalizationservices.voidsetVariations(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, setOwnerMethods 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 Details
-
_TYPECODE
Generated model type code constant.- See Also:
-
_CXGROUPTOCUSTOMIZATION
Generated relation code constant for relationCxGroupToCustomizationdefining source attributegroupin extensionpersonalizationservices.- See Also:
-
CODE
Generated constant - Attribute key ofCxCustomization.codeattribute defined at extensionpersonalizationservices.- See Also:
-
CATALOGVERSION
Generated constant - Attribute key ofCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.- See Also:
-
NAME
Generated constant - Attribute key ofCxCustomization.nameattribute defined at extensionpersonalizationservices.- See Also:
-
RANK
Generated constant - Attribute key ofCxCustomization.rankattribute defined at extensionpersonalizationservices.- See Also:
-
DESCRIPTION
Generated constant - Attribute key ofCxCustomization.descriptionattribute defined at extensionpersonalizationservices.- See Also:
-
LONGDESCRIPTION
Generated constant - Attribute key ofCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.- See Also:
-
ACTIVE
Generated constant - Attribute key ofCxCustomization.activeattribute defined at extensionpersonalizationservices.- See Also:
-
STATUS
Generated constant - Attribute key ofCxCustomization.statusattribute defined at extensionpersonalizationservices.- See Also:
-
ENABLEDSTARTDATE
Generated constant - Attribute key ofCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.- See Also:
-
ENABLEDENDDATE
Generated constant - Attribute key ofCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.- See Also:
-
VARIATIONS
Generated constant - Attribute key ofCxCustomization.variationsattribute defined at extensionpersonalizationservices.- See Also:
-
GROUPPOS
Generated constant - Attribute key ofCxCustomization.groupPOSattribute defined at extensionpersonalizationservices.- See Also:
-
GROUP
Generated constant - Attribute key ofCxCustomization.groupattribute defined at extensionpersonalizationservices.- See Also:
-
-
Constructor Details
-
CxCustomizationModel
public CxCustomizationModel()Generated constructor - Default constructor for generic creation. -
CxCustomizationModel
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 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, 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 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 Details
-
getCatalogVersion
Generated method - Getter of theCxCustomization.catalogVersionattribute defined at extensionpersonalizationservices.- Returns:
- the catalogVersion
-
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 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
Generated method - Getter of theCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.- Returns:
- the enabledEndDate - Date and time till which customization will be active
-
getEnabledStartDate
Generated method - Getter of theCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.- Returns:
- the enabledStartDate - Date and time from which customization will be active
-
getGroup
Generated method - Getter of theCxCustomization.groupattribute defined at extensionpersonalizationservices.- Returns:
- the group
-
getLongDescription
Generated method - Getter of theCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.- Returns:
- the longDescription - Long description of customization
-
getName
Generated method - Getter of theCxCustomization.nameattribute defined at extensionpersonalizationservices.- Returns:
- the name - Name of customization
-
getRank
Generated method - Getter of theCxCustomization.rankdynamic attribute defined at extensionpersonalizationservices.- Returns:
- the rank - Defines the rank (priority) of the group
-
getStatus
Generated method - Getter of theCxCustomization.statusattribute defined at extensionpersonalizationservices.- Returns:
- the status - Contains current status of item
-
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
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
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(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
Generated method - Setter ofCxCustomization.enabledEndDateattribute defined at extensionpersonalizationservices.- Parameters:
value- the enabledEndDate - Date and time till which customization will be active
-
setEnabledStartDate
Generated method - Setter ofCxCustomization.enabledStartDateattribute defined at extensionpersonalizationservices.- Parameters:
value- the enabledStartDate - Date and time from which customization will be active
-
setGroup
Generated method - Setter ofCxCustomization.groupattribute defined at extensionpersonalizationservices.- Parameters:
value- the group
-
setLongDescription
Generated method - Setter ofCxCustomization.longDescriptionattribute defined at extensionpersonalizationservices.- Parameters:
value- the longDescription - Long description of customization
-
setName
Generated method - Setter ofCxCustomization.nameattribute defined at extensionpersonalizationservices.- Parameters:
value- the name - Name of customization
-
setRank
Generated method - Setter ofCxCustomization.rankdynamic attribute defined at extensionpersonalizationservices.- Parameters:
value- the rank - Defines the rank (priority) of the group
-
setStatus
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(List<CxVariationModel> value) Generated method - Setter ofCxCustomization.variationsattribute defined at extensionpersonalizationservices.- Parameters:
value- the variations
-