Class CxPromotionActionModel
java.lang.Object
de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.core.model.ItemModel
de.hybris.platform.servicelayer.model.action.AbstractActionModel
de.hybris.platform.personalizationservices.model.CxAbstractActionModel
de.hybris.platform.personalizationpromotions.model.CxPromotionActionModel
- All Implemented Interfaces:
Serializable
Generated model class for type CxPromotionAction first defined at extension personalizationpromotions.
- 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 model type code constant.static final StringGenerated constant - Attribute key ofCxPromotionAction.promotionIdattribute defined at extensionpersonalizationpromotions.Fields inherited from class de.hybris.platform.personalizationservices.model.CxAbstractActionModel
_CXVARIATIONTOACTION, AFFECTEDOBJECTKEY, CATALOGVERSION, RANK, VARIATION, VARIATIONPOSFields inherited from class de.hybris.platform.servicelayer.model.action.AbstractActionModel
CODE, TARGET, TYPEFields 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.CxPromotionActionModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner, String _promotionId, String _target, ActionType _type) Deprecated, for removal: This API element is subject to removal in a future version.since 4.1.1 Please use the default constructor without parametersCxPromotionActionModel(CatalogVersionModel _catalogVersion, String _code, String _promotionId, String _target, ActionType _type) 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 theCxPromotionAction.promotionIdattribute defined at extensionpersonalizationpromotions.voidsetPromotionId(String value) Generated method - Setter ofCxPromotionAction.promotionIdattribute defined at extensionpersonalizationpromotions.Methods inherited from class de.hybris.platform.personalizationservices.model.CxAbstractActionModel
getAffectedObjectKey, getCatalogVersion, getRank, getVariation, setCatalogVersion, setVariationMethods inherited from class de.hybris.platform.servicelayer.model.action.AbstractActionModel
getCode, getTarget, getType, setCode, setTarget, setTypeMethods 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:
-
PROMOTIONID
Generated constant - Attribute key ofCxPromotionAction.promotionIdattribute defined at extensionpersonalizationpromotions.- See Also:
-
-
Constructor Details
-
CxPromotionActionModel
public CxPromotionActionModel()Generated constructor - Default constructor for generic creation. -
CxPromotionActionModel
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CxPromotionActionModel
@Deprecated(since="4.1.1", forRemoval=true) public CxPromotionActionModel(CatalogVersionModel _catalogVersion, String _code, String _promotionId, String _target, ActionType _type) 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 typeCxAbstractActionat extensionpersonalizationservices_code- initial attribute declared by typeAbstractActionat extensionprocessing_promotionId- initial attribute declared by typeCxPromotionActionat extensionpersonalizationpromotions_target- initial attribute declared by typeAbstractActionat extensionprocessing_type- initial attribute declared by typeAbstractActionat extensionprocessing
-
CxPromotionActionModel
@Deprecated(since="4.1.1", forRemoval=true) public CxPromotionActionModel(CatalogVersionModel _catalogVersion, String _code, ItemModel _owner, String _promotionId, String _target, ActionType _type) 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 typeCxAbstractActionat extensionpersonalizationservices_code- initial attribute declared by typeAbstractActionat extensionprocessing_owner- initial attribute declared by typeItemat extensioncore_promotionId- initial attribute declared by typeCxPromotionActionat extensionpersonalizationpromotions_target- initial attribute declared by typeAbstractActionat extensionprocessing_type- initial attribute declared by typeAbstractActionat extensionprocessing
-
-
Method Details
-
getPromotionId
Generated method - Getter of theCxPromotionAction.promotionIdattribute defined at extensionpersonalizationpromotions.- Returns:
- the promotionId - Target promotion
-
setPromotionId
Generated method - Setter ofCxPromotionAction.promotionIdattribute defined at extensionpersonalizationpromotions.- Parameters:
value- the promotionId - Target promotion
-