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:
Serializable
Generated model class for type CachedPromotionResult first defined at extension promotions.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.servicelayer.model.AbstractItemModel
de.hybris.platform.servicelayer.model.AbstractItemModel.NewModelContextFactory -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringGenerated model type code constant.static final StringGenerated constant - Attribute key ofCachedPromotionResult.cachedActionsattribute defined at extensionpromotions.static final StringGenerated 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, RULEVERSIONFields 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.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(AbstractOrderModel _order, 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(de.hybris.platform.servicelayer.model.ItemModelContext ctx) Generated constructor - Default constructor for creation with existing context -
Method Summary
Modifier and TypeMethodDescriptionGenerated method - Getter of theCachedPromotionResult.cachedActionsattribute defined at extensionpromotions.Generated method - Getter of theCachedPromotionResult.cachedConsumedEntriesattribute defined at extensionpromotions.voidGenerated method - Setter ofCachedPromotionResult.cachedActionsattribute defined at extensionpromotions.voidGenerated 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, setRuleVersionMethods 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:
-
CACHEDACTIONS
Generated constant - Attribute key ofCachedPromotionResult.cachedActionsattribute defined at extensionpromotions.- See Also:
-
CACHEDCONSUMEDENTRIES
Generated constant - Attribute key ofCachedPromotionResult.cachedConsumedEntriesattribute defined at extensionpromotions.- See Also:
-
-
Constructor Details
-
CachedPromotionResultModel
public CachedPromotionResultModel()Generated constructor - Default constructor for generic creation. -
CachedPromotionResultModel
public CachedPromotionResultModel(de.hybris.platform.servicelayer.model.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(AbstractOrderModel _order) 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:
_order- initial attribute declared by typePromotionResultat extensionpromotions
-
CachedPromotionResultModel
@Deprecated(since="4.1.1", forRemoval=true) public CachedPromotionResultModel(AbstractOrderModel _order, 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:
_order- initial attribute declared by typePromotionResultat extensionpromotions_owner- initial attribute declared by typeItemat extensioncore
-
-
Method Details
-
getCachedActions
@Accessor(qualifier="cachedActions", type=GETTER) public 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 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(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(Collection<CachedPromotionOrderEntryConsumedModel> value) Generated method - Setter ofCachedPromotionResult.cachedConsumedEntriesattribute defined at extensionpromotions.- Parameters:
value- the cachedConsumedEntries - Cached list of consumed entries
-