Class CachedPromotionResultModel
- java.lang.Object
-
- de.hybris.platform.servicelayer.model.AbstractItemModel
-
- de.hybris.platform.core.model.ItemModel
-
- de.hybris.platform.promotions.model.PromotionResultModel
-
- de.hybris.platform.promotions.model.CachedPromotionResultModel
-
- All Implemented Interfaces:
java.io.Serializable
public class CachedPromotionResultModel extends PromotionResultModel
Generated model class for type CachedPromotionResult first defined at extension promotions.- 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_TYPECODEGenerated model type code constant.static java.lang.StringCACHEDACTIONSGenerated constant - Attribute key ofCachedPromotionResult.cachedActionsattribute defined at extensionpromotions.static java.lang.StringCACHEDCONSUMEDENTRIESGenerated constant - Attribute key ofCachedPromotionResult.cachedConsumedEntriesattribute defined at extensionpromotions.-
Fields inherited from class de.hybris.platform.promotions.model.PromotionResultModel
_ORDER2PROMOTIONRESULTSRELATION, ACTIONS, ALLPROMOTIONACTIONS, CERTAINTY, CONSUMEDENTRIES, CUSTOM, MESSAGEFIRED, MODULEVERSION, ORDER, ORDERCODE, PROMOTION, RULESMODULENAME, RULEVERSION
-
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 CachedPromotionResultModel()Generated constructor - Default constructor for generic creation.CachedPromotionResultModel(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 parametersCachedPromotionResultModel(ItemModelContext ctx)Generated constructor - Default constructor for creation with existing context
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Collection<AbstractPromotionActionModel>getCachedActions()Generated method - Getter of theCachedPromotionResult.cachedActionsattribute defined at extensionpromotions.java.util.Collection<CachedPromotionOrderEntryConsumedModel>getCachedConsumedEntries()Generated method - Getter of theCachedPromotionResult.cachedConsumedEntriesattribute defined at extensionpromotions.voidsetCachedActions(java.util.Collection<AbstractPromotionActionModel> value)Generated method - Setter ofCachedPromotionResult.cachedActionsattribute defined at extensionpromotions.voidsetCachedConsumedEntries(java.util.Collection<CachedPromotionOrderEntryConsumedModel> value)Generated method - Setter ofCachedPromotionResult.cachedConsumedEntriesattribute defined at extensionpromotions.-
Methods inherited from class de.hybris.platform.promotions.model.PromotionResultModel
getActions, getAllPromotionActions, getCertainty, getConsumedEntries, getCustom, getMessageFired, getMessageFired, getModuleVersion, getOrder, getOrderCode, getPromotion, getRulesModuleName, getRuleVersion, setActions, setAllPromotionActions, setCertainty, setConsumedEntries, setCustom, setMessageFired, setMessageFired, setModuleVersion, setOrder, setOrderCode, setPromotion, setRulesModuleName, setRuleVersion
-
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
-
CACHEDACTIONS
public static final java.lang.String CACHEDACTIONS
Generated constant - Attribute key ofCachedPromotionResult.cachedActionsattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
CACHEDCONSUMEDENTRIES
public static final java.lang.String CACHEDCONSUMEDENTRIES
Generated constant - Attribute key ofCachedPromotionResult.cachedConsumedEntriesattribute defined at extensionpromotions.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CachedPromotionResultModel
public CachedPromotionResultModel()
Generated constructor - Default constructor for generic creation.
-
CachedPromotionResultModel
public CachedPromotionResultModel(ItemModelContext ctx)
Generated constructor - Default constructor for creation with existing context- Parameters:
ctx- the model context to be injected, must not be null
-
CachedPromotionResultModel
@Deprecated(since="4.1.1", forRemoval=true) public CachedPromotionResultModel(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:
_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Detail
-
getCachedActions
@Accessor(qualifier="cachedActions", type=GETTER) public java.util.Collection<AbstractPromotionActionModel> getCachedActions()
Generated method - Getter of theCachedPromotionResult.cachedActionsattribute defined at extensionpromotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cachedActions - Cached list of actions
-
getCachedConsumedEntries
@Accessor(qualifier="cachedConsumedEntries", type=GETTER) public java.util.Collection<CachedPromotionOrderEntryConsumedModel> getCachedConsumedEntries()
Generated method - Getter of theCachedPromotionResult.cachedConsumedEntriesattribute defined at extensionpromotions. Consider using FlexibleSearchService::searchRelation for pagination support of large result sets.- Returns:
- the cachedConsumedEntries - Cached list of consumed entries
-
setCachedActions
@Accessor(qualifier="cachedActions", type=SETTER) public void setCachedActions(java.util.Collection<AbstractPromotionActionModel> value)
Generated method - Setter ofCachedPromotionResult.cachedActionsattribute defined at extensionpromotions.- Parameters:
value- the cachedActions - Cached list of actions
-
setCachedConsumedEntries
@Accessor(qualifier="cachedConsumedEntries", type=SETTER) public void setCachedConsumedEntries(java.util.Collection<CachedPromotionOrderEntryConsumedModel> value)
Generated method - Setter ofCachedPromotionResult.cachedConsumedEntriesattribute defined at extensionpromotions.- Parameters:
value- the cachedConsumedEntries - Cached list of consumed entries
-
-