Class CxVariationModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.personalizationservices.model.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
-
-
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
_CXCUSTOMIZATIONTOVARIATION
Generated relation code constant for relationCxCustomizationToVariation
defining source attributecustomization
in extensionpersonalizationservices
.static java.lang.String
_PREVIEWDATATOCXVARIATION
Generated relation code constant for relationPreviewDataToCxVariation
defining source attributepreviews
in extensionpersonalizationcms
.static java.lang.String
_TYPECODE
Generated model type code constant.static java.lang.String
ACTIONS
Generated constant - Attribute key ofCxVariation.actions
attribute defined at extensionpersonalizationservices
.static java.lang.String
ACTIVE
Generated constant - Attribute key ofCxVariation.active
attribute defined at extensionpersonalizationservices
.static java.lang.String
CATALOGVERSION
Generated constant - Attribute key ofCxVariation.catalogVersion
attribute defined at extensionpersonalizationservices
.static java.lang.String
CODE
Generated constant - Attribute key ofCxVariation.code
attribute defined at extensionpersonalizationservices
.static java.lang.String
CUSTOMIZATION
Generated constant - Attribute key ofCxVariation.customization
attribute defined at extensionpersonalizationservices
.static java.lang.String
CUSTOMIZATIONPOS
Generated constant - Attribute key ofCxVariation.customizationPOS
attribute defined at extensionpersonalizationservices
.static java.lang.String
ENABLED
Generated constant - Attribute key ofCxVariation.enabled
attribute defined at extensionpersonalizationservices
.static java.lang.String
NAME
Generated constant - Attribute key ofCxVariation.name
attribute defined at extensionpersonalizationservices
.static java.lang.String
PREVIEWS
Generated constant - Attribute key ofCxVariation.previews
attribute defined at extensionpersonalizationcms
.static java.lang.String
RANK
Generated constant - Attribute key ofCxVariation.rank
attribute defined at extensionpersonalizationservices
.static java.lang.String
STATUS
Generated constant - Attribute key ofCxVariation.status
attribute defined at extensionpersonalizationservices
.static java.lang.String
TRIGGERS
Generated constant - Attribute key ofCxVariation.triggers
attribute 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 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 parametersCxVariationModel(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 parametersCxVariationModel(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 java.util.List<CxAbstractActionModel>
getActions()
Generated method - Getter of theCxVariation.actions
attribute defined at extensionpersonalizationservices
.CatalogVersionModel
getCatalogVersion()
Generated method - Getter of theCxVariation.catalogVersion
attribute defined at extensionpersonalizationservices
.java.lang.String
getCode()
Generated method - Getter of theCxVariation.code
attribute defined at extensionpersonalizationservices
.CxCustomizationModel
getCustomization()
Generated method - Getter of theCxVariation.customization
attribute defined at extensionpersonalizationservices
.java.lang.String
getName()
Generated method - Getter of theCxVariation.name
attribute defined at extensionpersonalizationservices
.java.util.Collection<PreviewDataModel>
getPreviews()
Generated method - Getter of theCxVariation.previews
attribute defined at extensionpersonalizationcms
.java.lang.Integer
getRank()
Generated method - Getter of theCxVariation.rank
dynamic attribute defined at extensionpersonalizationservices
.CxItemStatus
getStatus()
Generated method - Getter of theCxVariation.status
attribute defined at extensionpersonalizationservices
.java.util.Collection<CxAbstractTriggerModel>
getTriggers()
Generated method - Getter of theCxVariation.triggers
attribute defined at extensionpersonalizationservices
.boolean
isActive()
Generated method - Getter of theCxVariation.active
dynamic attribute defined at extensionpersonalizationservices
.boolean
isEnabled()
Deprecated, for removal: This API element is subject to removal in a future version.since 6.2void
setActions(java.util.List<CxAbstractActionModel> value)
Generated method - Setter ofCxVariation.actions
attribute defined at extensionpersonalizationservices
.void
setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofCxVariation.catalogVersion
attribute defined at extensionpersonalizationservices
.void
setCode(java.lang.String value)
Generated method - Initial setter ofCxVariation.code
attribute defined at extensionpersonalizationservices
.void
setCustomization(CxCustomizationModel value)
Generated method - Setter ofCxVariation.customization
attribute defined at extensionpersonalizationservices
.void
setEnabled(boolean value)
Deprecated, for removal: This API element is subject to removal in a future version.since 6.2void
setName(java.lang.String value)
Generated method - Setter ofCxVariation.name
attribute defined at extensionpersonalizationservices
.void
setPreviews(java.util.Collection<PreviewDataModel> value)
Generated method - Setter ofCxVariation.previews
attribute defined at extensionpersonalizationcms
.void
setRank(java.lang.Integer value)
Generated method - Setter ofCxVariation.rank
dynamic attribute defined at extensionpersonalizationservices
.void
setStatus(CxItemStatus value)
Generated method - Setter ofCxVariation.status
attribute defined at extensionpersonalizationservices
.void
setTriggers(java.util.Collection<CxAbstractTriggerModel> value)
Generated method - Setter ofCxVariation.triggers
attribute 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
-
_CXCUSTOMIZATIONTOVARIATION
public static final java.lang.String _CXCUSTOMIZATIONTOVARIATION
Generated relation code constant for relationCxCustomizationToVariation
defining source attributecustomization
in extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
_PREVIEWDATATOCXVARIATION
public static final java.lang.String _PREVIEWDATATOCXVARIATION
Generated relation code constant for relationPreviewDataToCxVariation
defining source attributepreviews
in extensionpersonalizationcms
.- See Also:
- Constant Field Values
-
CODE
public static final java.lang.String CODE
Generated constant - Attribute key ofCxVariation.code
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
CATALOGVERSION
public static final java.lang.String CATALOGVERSION
Generated constant - Attribute key ofCxVariation.catalogVersion
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
NAME
public static final java.lang.String NAME
Generated constant - Attribute key ofCxVariation.name
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
ACTIVE
public static final java.lang.String ACTIVE
Generated constant - Attribute key ofCxVariation.active
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
ENABLED
public static final java.lang.String ENABLED
Generated constant - Attribute key ofCxVariation.enabled
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Generated constant - Attribute key ofCxVariation.status
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
RANK
public static final java.lang.String RANK
Generated constant - Attribute key ofCxVariation.rank
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
CUSTOMIZATIONPOS
public static final java.lang.String CUSTOMIZATIONPOS
Generated constant - Attribute key ofCxVariation.customizationPOS
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
CUSTOMIZATION
public static final java.lang.String CUSTOMIZATION
Generated constant - Attribute key ofCxVariation.customization
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
ACTIONS
public static final java.lang.String ACTIONS
Generated constant - Attribute key ofCxVariation.actions
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
TRIGGERS
public static final java.lang.String TRIGGERS
Generated constant - Attribute key ofCxVariation.triggers
attribute defined at extensionpersonalizationservices
.- See Also:
- Constant Field Values
-
PREVIEWS
public static final java.lang.String PREVIEWS
Generated constant - Attribute key ofCxVariation.previews
attribute defined at extensionpersonalizationcms
.- 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 parametersGenerated constructor - Constructor with all mandatory attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeCxVariation
at extensionpersonalizationservices
_code
- initial attribute declared by typeCxVariation
at extensionpersonalizationservices
_customization
- initial attribute declared by typeCxVariation
at extensionpersonalizationservices
_name
- initial attribute declared by typeCxVariation
at extensionpersonalizationservices
-
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 parametersGenerated constructor - for all mandatory and initial attributes.- Parameters:
_catalogVersion
- initial attribute declared by typeCxVariation
at extensionpersonalizationservices
_code
- initial attribute declared by typeCxVariation
at extensionpersonalizationservices
_customization
- initial attribute declared by typeCxVariation
at extensionpersonalizationservices
_name
- initial attribute declared by typeCxVariation
at extensionpersonalizationservices
_owner
- initial attribute declared by typeItem
at extensioncore
-
-
Method Detail
-
getActions
@Accessor(qualifier="actions", type=GETTER) public java.util.List<CxAbstractActionModel> getActions()
Generated method - Getter of theCxVariation.actions
attribute defined at extensionpersonalizationservices
. 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 theCxVariation.catalogVersion
attribute defined at extensionpersonalizationservices
.- Returns:
- the catalogVersion
-
getCode
@Accessor(qualifier="code", type=GETTER) public java.lang.String getCode()
Generated method - Getter of theCxVariation.code
attribute defined at extensionpersonalizationservices
.- Returns:
- the code - Unique identifier
-
getCustomization
@Accessor(qualifier="customization", type=GETTER) public CxCustomizationModel getCustomization()
Generated method - Getter of theCxVariation.customization
attribute defined at extensionpersonalizationservices
.- Returns:
- the customization
-
getName
@Accessor(qualifier="name", type=GETTER) public java.lang.String getName()
Generated method - Getter of theCxVariation.name
attribute defined at extensionpersonalizationservices
.- Returns:
- the name - Name of variation
-
getPreviews
@Accessor(qualifier="previews", type=GETTER) public java.util.Collection<PreviewDataModel> getPreviews()
Generated method - Getter of theCxVariation.previews
attribute defined at extensionpersonalizationcms
. 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 theCxVariation.rank
dynamic attribute defined at extensionpersonalizationservices
.- Returns:
- the rank - Defines the rank (priority) of variation
-
getStatus
@Accessor(qualifier="status", type=GETTER) public CxItemStatus getStatus()
Generated method - Getter of theCxVariation.status
attribute defined at extensionpersonalizationservices
.- Returns:
- the status - Contains current status of item
-
getTriggers
@Accessor(qualifier="triggers", type=GETTER) public java.util.Collection<CxAbstractTriggerModel> getTriggers()
Generated method - Getter of theCxVariation.triggers
attribute defined at extensionpersonalizationservices
. 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 theCxVariation.active
dynamic attribute defined at extensionpersonalizationservices
.- 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.2Generated method - Getter of theCxVariation.enabled
attribute defined at extensionpersonalizationservices
.- 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 ofCxVariation.actions
attribute defined at extensionpersonalizationservices
.- Parameters:
value
- the actions
-
setCatalogVersion
@Accessor(qualifier="catalogVersion", type=SETTER) public void setCatalogVersion(CatalogVersionModel value)
Generated method - Setter ofCxVariation.catalogVersion
attribute defined at extensionpersonalizationservices
.- Parameters:
value
- the catalogVersion
-
setCode
@Accessor(qualifier="code", type=SETTER) public void setCode(java.lang.String value)
Generated method - Initial setter ofCxVariation.code
attribute defined at extensionpersonalizationservices
. 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 ofCxVariation.customization
attribute defined at extensionpersonalizationservices
.- 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.2Generated method - Setter ofCxVariation.enabled
attribute defined at extensionpersonalizationservices
.- 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 ofCxVariation.name
attribute defined at extensionpersonalizationservices
.- Parameters:
value
- the name - Name of variation
-
setPreviews
@Accessor(qualifier="previews", type=SETTER) public void setPreviews(java.util.Collection<PreviewDataModel> value)
Generated method - Setter ofCxVariation.previews
attribute defined at extensionpersonalizationcms
.- Parameters:
value
- the previews
-
setRank
@Accessor(qualifier="rank", type=SETTER) public void setRank(java.lang.Integer value)
Generated method - Setter ofCxVariation.rank
dynamic attribute defined at extensionpersonalizationservices
.- Parameters:
value
- the rank - Defines the rank (priority) of variation
-
setStatus
@Accessor(qualifier="status", type=SETTER) public void setStatus(CxItemStatus value)
Generated method - Setter ofCxVariation.status
attribute defined at extensionpersonalizationservices
.- 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 ofCxVariation.triggers
attribute defined at extensionpersonalizationservices
.- Parameters:
value
- the triggers
-
-