Class GeneratedAbstractPromotion
java.lang.Object
de.hybris.platform.util.BridgeAbstraction
de.hybris.platform.jalo.Item
de.hybris.platform.jalo.ExtensibleItem
de.hybris.platform.jalo.c2l.LocalizableItem
de.hybris.platform.jalo.GenericItem
de.hybris.platform.promotions.jalo.GeneratedAbstractPromotion
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
AbstractPromotion
Generated class for type
AbstractPromotion.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImplNested classes/interfaces inherited from class de.hybris.platform.jalo.Item
Item.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringQualifier of theAbstractPromotion.codeattributeprotected static final Map<String,Item.AttributeMode> static final StringQualifier of theAbstractPromotion.descriptionattributestatic final StringQualifier of theAbstractPromotion.detailsURLattributestatic final StringQualifier of theAbstractPromotion.enabledattributestatic final StringQualifier of theAbstractPromotion.endDateattributestatic final StringQualifier of theAbstractPromotion.immutableKeyattributestatic final StringQualifier of theAbstractPromotion.immutableKeyHashattributestatic final StringQualifier of theAbstractPromotion.nameattributestatic final StringQualifier of theAbstractPromotion.priorityattributestatic final StringQualifier of theAbstractPromotion.PromotionGroupattributeprotected static final BidirectionalOneToManyHandler<GeneratedAbstractPromotion>BidirectionalOneToManyHandlerfor handling 1:n PROMOTIONGROUP's relation attributes from 'one' side.static final StringQualifier of theAbstractPromotion.promotionTypeattributestatic final StringQualifier of theAbstractPromotion.restrictionsattributestatic final StringQualifier of theAbstractPromotion.startDateattributestatic final StringQualifier of theAbstractPromotion.titleattributeFields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLEDFields inherited from class de.hybris.platform.jalo.Item
_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, HJMPTS, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEFields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) Has to be implemented for each concrete subtype of item.Generated method - Getter of theAbstractPromotion.nameattribute.getAllName(SessionContext ctx) Generated method - Getter of theAbstractPromotion.nameattribute.Generated method - Getter of theAbstractPromotion.promotionTypeattribute.Generated method - Getter of theAbstractPromotion.promotionTypeattribute.getCode()Generated method - Getter of theAbstractPromotion.codeattribute.getCode(SessionContext ctx) Generated method - Getter of theAbstractPromotion.codeattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of theAbstractPromotion.descriptionattribute.Generated method - Getter of theAbstractPromotion.descriptionattribute.Generated method - Getter of theAbstractPromotion.detailsURLattribute.Generated method - Getter of theAbstractPromotion.detailsURLattribute.Generated method - Getter of theAbstractPromotion.endDateattribute.getEndDate(SessionContext ctx) Generated method - Getter of theAbstractPromotion.endDateattribute.Generated method - Getter of theAbstractPromotion.immutableKeyattribute.Generated method - Getter of theAbstractPromotion.immutableKeyattribute.Generated method - Getter of theAbstractPromotion.immutableKeyHashattribute.Generated method - Getter of theAbstractPromotion.immutableKeyHashattribute.getName()Generated method - Getter of theAbstractPromotion.nameattribute.getName(SessionContext ctx) Generated method - Getter of theAbstractPromotion.nameattribute.Generated method - Getter of theAbstractPromotion.priorityattribute.Generated method - Getter of theAbstractPromotion.priorityattribute.intGenerated method - Getter of theAbstractPromotion.priorityattribute.intGenerated method - Getter of theAbstractPromotion.priorityattribute.Generated method - Getter of theAbstractPromotion.PromotionGroupattribute.Generated method - Getter of theAbstractPromotion.PromotionGroupattribute.Generated method - Getter of theAbstractPromotion.promotionTypeattribute.abstract StringGenerated method - Getter of theAbstractPromotion.promotionTypeattribute.Generated method - Getter of theAbstractPromotion.restrictionsattribute.abstract Collection<AbstractPromotionRestriction>Generated method - Getter of theAbstractPromotion.restrictionsattribute.Generated method - Getter of theAbstractPromotion.startDateattribute.Generated method - Getter of theAbstractPromotion.startDateattribute.getTitle()Generated method - Getter of theAbstractPromotion.titleattribute.getTitle(SessionContext ctx) Generated method - Getter of theAbstractPromotion.titleattribute.Generated method - Getter of theAbstractPromotion.enabledattribute.isEnabled(SessionContext ctx) Generated method - Getter of theAbstractPromotion.enabledattribute.booleanGenerated method - Getter of theAbstractPromotion.enabledattribute.booleanGenerated method - Getter of theAbstractPromotion.enabledattribute.voidsetAllName(SessionContext ctx, Map<Language, String> value) Generated method - Setter of theAbstractPromotion.nameattribute.voidsetAllName(Map<Language, String> value) Generated method - Setter of theAbstractPromotion.nameattribute.voidsetCode(SessionContext ctx, String value) Generated method - Setter of theAbstractPromotion.codeattribute.voidGenerated method - Setter of theAbstractPromotion.codeattribute.voidsetDescription(SessionContext ctx, String value) Generated method - Setter of theAbstractPromotion.descriptionattribute.voidsetDescription(String value) Generated method - Setter of theAbstractPromotion.descriptionattribute.voidsetDetailsURL(SessionContext ctx, String value) Generated method - Setter of theAbstractPromotion.detailsURLattribute.voidsetDetailsURL(String value) Generated method - Setter of theAbstractPromotion.detailsURLattribute.voidsetEnabled(boolean value) Generated method - Setter of theAbstractPromotion.enabledattribute.voidsetEnabled(SessionContext ctx, boolean value) Generated method - Setter of theAbstractPromotion.enabledattribute.voidsetEnabled(SessionContext ctx, Boolean value) Generated method - Setter of theAbstractPromotion.enabledattribute.voidsetEnabled(Boolean value) Generated method - Setter of theAbstractPromotion.enabledattribute.voidsetEndDate(SessionContext ctx, Date value) Generated method - Setter of theAbstractPromotion.endDateattribute.voidsetEndDate(Date value) Generated method - Setter of theAbstractPromotion.endDateattribute.voidsetImmutableKey(SessionContext ctx, String value) Generated method - Setter of theAbstractPromotion.immutableKeyattribute.voidsetImmutableKey(String value) Generated method - Setter of theAbstractPromotion.immutableKeyattribute.voidsetImmutableKeyHash(SessionContext ctx, String value) Generated method - Setter of theAbstractPromotion.immutableKeyHashattribute.voidsetImmutableKeyHash(String value) Generated method - Setter of theAbstractPromotion.immutableKeyHashattribute.voidsetName(SessionContext ctx, String value) Generated method - Setter of theAbstractPromotion.nameattribute.voidGenerated method - Setter of theAbstractPromotion.nameattribute.voidsetPriority(int value) Generated method - Setter of theAbstractPromotion.priorityattribute.voidsetPriority(SessionContext ctx, int value) Generated method - Setter of theAbstractPromotion.priorityattribute.voidsetPriority(SessionContext ctx, Integer value) Generated method - Setter of theAbstractPromotion.priorityattribute.voidsetPriority(Integer value) Generated method - Setter of theAbstractPromotion.priorityattribute.voidsetPromotionGroup(SessionContext ctx, PromotionGroup value) Generated method - Setter of theAbstractPromotion.PromotionGroupattribute.voidsetPromotionGroup(PromotionGroup value) Generated method - Setter of theAbstractPromotion.PromotionGroupattribute.abstract voidGenerated method - Setter of theAbstractPromotion.restrictionsattribute.voidGenerated method - Setter of theAbstractPromotion.restrictionsattribute.voidsetStartDate(SessionContext ctx, Date value) Generated method - Setter of theAbstractPromotion.startDateattribute.voidsetStartDate(Date value) Generated method - Setter of theAbstractPromotion.startDateattribute.voidsetTitle(SessionContext ctx, String value) Generated method - Setter of theAbstractPromotion.titleattribute.voidGenerated method - Setter of theAbstractPromotion.titleattribute.Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, getRelatedItems, setRelatedItemsMethods inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertyMethods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyMethods inherited from class de.hybris.platform.jalo.Item
addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addLinkedItems, addNegativePermission, addPermission, addPositivePermission, assureExtensionsLoaded, changeTypeAfterCreation, checkConstraint, checkItemPermission, checkMandatoryAttribute, checkMandatoryAttribute, checkPermission, checkPermission, checkRemovable, clearPermission, compareTo, ctx, doAfterRemove, doBeforeRemove, equals, getAccessorFor, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributes, getAllAttributesInternal, getAllLinkedItems, getAndCheckCacheBoundItem, getAttribute, getAttribute, getCacheBoundItem, getComposedType, getComposedTypePK, getCreationTime, getCurrentlyRemovingCount, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItems, getLinkedItemsCount, getLinkedItemsCount, getLinkedItemsCount, getModificationTime, getNegativePermissions, getOwner, getPartOfRemovedSessionMarker, getPermissionMap, getPermissions, getPersistenceVersion, getPK, getPositivePermissions, getRestrictedPrincipals, getSession, getSyncObject, getTenant, getTransientObject, getTransientObjectMap, hashCode, hasRegisteredClassAccessorFor, internal_registerClassAccessorFor, internal_registerNonClassAccessorFor, invalidateLocalCaches, isAlive, isCacheBound, isCurrentlyRemoving, isCurrentlyRemoving, isEmptyRelationValue, isInCreate, isInstanceOf, isItemCheckBeforeRemoveableDisabled, isMarkModifiedDisabled, isRelationLocalizationFallbackEnabled, newInstance, notifyExtensionsAfterItemCreation, notifyExtensionsBeforeItemCreation, notifyItemRemoval, notifyManagerAboutItemRemoval, readResolve, registerAccessFor, registerAccessFor, registerJaloInvalidationListeners, remove, remove, removeItemCollection, removeItemCollection, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinkedItems, removeLinks, removePartOfItems, removePartOfItems, setAllAttributes, setAllAttributes, setAllAttributesInternal, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAllLinkedItems, setAttribute, setAttribute, setAttributeFromString, setAttributeFromString, setCacheBound, setComposedType, setCreationTime, setImplementation, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setLinkedItems, setModificationTime, setNonInitialAttributes, setOwner, setPermissionsByMap, setTransientObject, setUseTA, suppressRelation, toString, useTA, writeReplaceMethods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
Field Details
-
PROMOTIONTYPE
Qualifier of theAbstractPromotion.promotionTypeattribute- See Also:
-
CODE
Qualifier of theAbstractPromotion.codeattribute- See Also:
-
TITLE
Qualifier of theAbstractPromotion.titleattribute- See Also:
-
DESCRIPTION
Qualifier of theAbstractPromotion.descriptionattribute- See Also:
-
STARTDATE
Qualifier of theAbstractPromotion.startDateattribute- See Also:
-
ENDDATE
Qualifier of theAbstractPromotion.endDateattribute- See Also:
-
DETAILSURL
Qualifier of theAbstractPromotion.detailsURLattribute- See Also:
-
RESTRICTIONS
Qualifier of theAbstractPromotion.restrictionsattribute- See Also:
-
ENABLED
Qualifier of theAbstractPromotion.enabledattribute- See Also:
-
PRIORITY
Qualifier of theAbstractPromotion.priorityattribute- See Also:
-
IMMUTABLEKEYHASH
Qualifier of theAbstractPromotion.immutableKeyHashattribute- See Also:
-
IMMUTABLEKEY
Qualifier of theAbstractPromotion.immutableKeyattribute- See Also:
-
NAME
Qualifier of theAbstractPromotion.nameattribute- See Also:
-
PROMOTIONGROUP
Qualifier of theAbstractPromotion.PromotionGroupattribute- See Also:
-
PROMOTIONGROUPHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedAbstractPromotion> PROMOTIONGROUPHANDLERBidirectionalOneToManyHandlerfor handling 1:n PROMOTIONGROUP's relation attributes from 'one' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedAbstractPromotion
public GeneratedAbstractPromotion()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
getCode
Generated method - Getter of theAbstractPromotion.codeattribute.- Returns:
- the code - Identifier for this promotion
-
getCode
Generated method - Getter of theAbstractPromotion.codeattribute.- Returns:
- the code - Identifier for this promotion
-
setCode
Generated method - Setter of theAbstractPromotion.codeattribute.- Parameters:
value- the code - Identifier for this promotion
-
setCode
Generated method - Setter of theAbstractPromotion.codeattribute.- Parameters:
value- the code - Identifier for this promotion
-
createItem
protected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException Description copied from class:ItemHas to be implemented for each concrete subtype of item. This method is responsible for creating a new item instance ( by calling managers, ejb homes, etc. ) duringComposedType.newInstance(Map).In case this method uses any of the attribute values during creation it is required to override
Item.getNonInitialAttributes(SessionContext, ItemAttributeMap)too.
Sn example:public static final String MY_ATTRIBUTE = "someAttribute"; ... protected Item createItem(SessionContext ctx, ComposedType type, Map allAttributes ) throws JaloBusinessException { MyManager man = ... return man.createMyItem( (String)allAttributes.get(MY_ATTRIBUTE) ); // here MY_ATTRIBUTE is used for creation, so it must not be set again } protected Map getNonInitialAttributes( SessionContext ctx, Map allAttributes ) { // let superclass remove its own initial attributes Map ret = super.getNonInitialAttributes( ctx, allAttributes ); // remove MY_ATTRIBUTE from all attributes since if has already been set ret.remove(MY_ATTRIBUTE); return ret; }- Overrides:
createItemin classGenericItem- Parameters:
ctx- the current session context which this item is created withintype- the actual item type ( since subtypes may not provide a own jalo class this may be different from the type which this method was implemented for )- Returns:
- the new item instance
- Throws:
JaloBusinessException- indicates an error during creation - any changes will be rollbacked
-
getDescription
Generated method - Getter of theAbstractPromotion.descriptionattribute.- Returns:
- the description - Description of this promotion
-
getDescription
Generated method - Getter of theAbstractPromotion.descriptionattribute.- Returns:
- the description - Description of this promotion
-
setDescription
Generated method - Setter of theAbstractPromotion.descriptionattribute.- Parameters:
value- the description - Description of this promotion
-
setDescription
Generated method - Setter of theAbstractPromotion.descriptionattribute.- Parameters:
value- the description - Description of this promotion
-
getDetailsURL
Generated method - Getter of theAbstractPromotion.detailsURLattribute.- Returns:
- the detailsURL - URL to a content page with further details of this promotion
-
getDetailsURL
Generated method - Getter of theAbstractPromotion.detailsURLattribute.- Returns:
- the detailsURL - URL to a content page with further details of this promotion
-
setDetailsURL
Generated method - Setter of theAbstractPromotion.detailsURLattribute.- Parameters:
value- the detailsURL - URL to a content page with further details of this promotion
-
setDetailsURL
Generated method - Setter of theAbstractPromotion.detailsURLattribute.- Parameters:
value- the detailsURL - URL to a content page with further details of this promotion
-
isEnabled
Generated method - Getter of theAbstractPromotion.enabledattribute.- Returns:
- the enabled - Flag to indicate if this promotion is enabled.
-
isEnabled
Generated method - Getter of theAbstractPromotion.enabledattribute.- Returns:
- the enabled - Flag to indicate if this promotion is enabled.
-
isEnabledAsPrimitive
Generated method - Getter of theAbstractPromotion.enabledattribute.- Returns:
- the enabled - Flag to indicate if this promotion is enabled.
-
isEnabledAsPrimitive
public boolean isEnabledAsPrimitive()Generated method - Getter of theAbstractPromotion.enabledattribute.- Returns:
- the enabled - Flag to indicate if this promotion is enabled.
-
setEnabled
Generated method - Setter of theAbstractPromotion.enabledattribute.- Parameters:
value- the enabled - Flag to indicate if this promotion is enabled.
-
setEnabled
Generated method - Setter of theAbstractPromotion.enabledattribute.- Parameters:
value- the enabled - Flag to indicate if this promotion is enabled.
-
setEnabled
Generated method - Setter of theAbstractPromotion.enabledattribute.- Parameters:
value- the enabled - Flag to indicate if this promotion is enabled.
-
setEnabled
public void setEnabled(boolean value) Generated method - Setter of theAbstractPromotion.enabledattribute.- Parameters:
value- the enabled - Flag to indicate if this promotion is enabled.
-
getEndDate
Generated method - Getter of theAbstractPromotion.endDateattribute.- Returns:
- the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.
-
getEndDate
Generated method - Getter of theAbstractPromotion.endDateattribute.- Returns:
- the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.
-
setEndDate
Generated method - Setter of theAbstractPromotion.endDateattribute.- Parameters:
value- the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.
-
setEndDate
Generated method - Setter of theAbstractPromotion.endDateattribute.- Parameters:
value- the endDate - Date on which this promotion stops being available, if not set the promotion will not be available.
-
getImmutableKey
Generated method - Getter of theAbstractPromotion.immutableKeyattribute.- Returns:
- the immutableKey - The full immutable identifier for this promotion
-
getImmutableKey
Generated method - Getter of theAbstractPromotion.immutableKeyattribute.- Returns:
- the immutableKey - The full immutable identifier for this promotion
-
setImmutableKey
Generated method - Setter of theAbstractPromotion.immutableKeyattribute.- Parameters:
value- the immutableKey - The full immutable identifier for this promotion
-
setImmutableKey
Generated method - Setter of theAbstractPromotion.immutableKeyattribute.- Parameters:
value- the immutableKey - The full immutable identifier for this promotion
-
getImmutableKeyHash
Generated method - Getter of theAbstractPromotion.immutableKeyHashattribute.- Returns:
- the immutableKeyHash - The HASH of the immutableKey
-
getImmutableKeyHash
Generated method - Getter of theAbstractPromotion.immutableKeyHashattribute.- Returns:
- the immutableKeyHash - The HASH of the immutableKey
-
setImmutableKeyHash
Generated method - Setter of theAbstractPromotion.immutableKeyHashattribute.- Parameters:
value- the immutableKeyHash - The HASH of the immutableKey
-
setImmutableKeyHash
Generated method - Setter of theAbstractPromotion.immutableKeyHashattribute.- Parameters:
value- the immutableKeyHash - The HASH of the immutableKey
-
getName
Generated method - Getter of theAbstractPromotion.nameattribute.- Returns:
- the name - Displayable name for this promotion
-
getName
Generated method - Getter of theAbstractPromotion.nameattribute.- Returns:
- the name - Displayable name for this promotion
-
getAllName
Generated method - Getter of theAbstractPromotion.nameattribute.- Returns:
- the localized name - Displayable name for this promotion
-
getAllName
Generated method - Getter of theAbstractPromotion.nameattribute.- Returns:
- the localized name - Displayable name for this promotion
-
setName
Generated method - Setter of theAbstractPromotion.nameattribute.- Parameters:
value- the name - Displayable name for this promotion
-
setName
Generated method - Setter of theAbstractPromotion.nameattribute.- Parameters:
value- the name - Displayable name for this promotion
-
setAllName
Generated method - Setter of theAbstractPromotion.nameattribute.- Parameters:
value- the name - Displayable name for this promotion
-
setAllName
Generated method - Setter of theAbstractPromotion.nameattribute.- Parameters:
value- the name - Displayable name for this promotion
-
getPriority
Generated method - Getter of theAbstractPromotion.priorityattribute.- Returns:
- the priority - Value to indicate relative priority of promotions. The higher the value the higher the priority.
-
getPriority
Generated method - Getter of theAbstractPromotion.priorityattribute.- Returns:
- the priority - Value to indicate relative priority of promotions. The higher the value the higher the priority.
-
getPriorityAsPrimitive
Generated method - Getter of theAbstractPromotion.priorityattribute.- Returns:
- the priority - Value to indicate relative priority of promotions. The higher the value the higher the priority.
-
getPriorityAsPrimitive
public int getPriorityAsPrimitive()Generated method - Getter of theAbstractPromotion.priorityattribute.- Returns:
- the priority - Value to indicate relative priority of promotions. The higher the value the higher the priority.
-
setPriority
Generated method - Setter of theAbstractPromotion.priorityattribute.- Parameters:
value- the priority - Value to indicate relative priority of promotions. The higher the value the higher the priority.
-
setPriority
Generated method - Setter of theAbstractPromotion.priorityattribute.- Parameters:
value- the priority - Value to indicate relative priority of promotions. The higher the value the higher the priority.
-
setPriority
Generated method - Setter of theAbstractPromotion.priorityattribute.- Parameters:
value- the priority - Value to indicate relative priority of promotions. The higher the value the higher the priority.
-
setPriority
public void setPriority(int value) Generated method - Setter of theAbstractPromotion.priorityattribute.- Parameters:
value- the priority - Value to indicate relative priority of promotions. The higher the value the higher the priority.
-
getPromotionGroup
Generated method - Getter of theAbstractPromotion.PromotionGroupattribute.- Returns:
- the PromotionGroup
-
getPromotionGroup
Generated method - Getter of theAbstractPromotion.PromotionGroupattribute.- Returns:
- the PromotionGroup
-
setPromotionGroup
Generated method - Setter of theAbstractPromotion.PromotionGroupattribute.- Parameters:
value- the PromotionGroup
-
setPromotionGroup
Generated method - Setter of theAbstractPromotion.PromotionGroupattribute.- Parameters:
value- the PromotionGroup
-
getPromotionType
Generated method - Getter of theAbstractPromotion.promotionTypeattribute.- Returns:
- the promotionType - The type of this promotion.
-
getPromotionType
Generated method - Getter of theAbstractPromotion.promotionTypeattribute.- Returns:
- the promotionType - The type of this promotion.
-
getAllPromotionType
Generated method - Getter of theAbstractPromotion.promotionTypeattribute.- Returns:
- the localized promotionType - The type of this promotion.
-
getAllPromotionType
Generated method - Getter of theAbstractPromotion.promotionTypeattribute.- Returns:
- the localized promotionType - The type of this promotion.
-
getRestrictions
Generated method - Getter of theAbstractPromotion.restrictionsattribute.- Returns:
- the restrictions - Collection of restrictions that are applied to this promotion
-
getRestrictions
Generated method - Getter of theAbstractPromotion.restrictionsattribute.- Returns:
- the restrictions - Collection of restrictions that are applied to this promotion
-
setRestrictions
public abstract void setRestrictions(SessionContext ctx, Collection<AbstractPromotionRestriction> value) Generated method - Setter of theAbstractPromotion.restrictionsattribute.- Parameters:
value- the restrictions - Collection of restrictions that are applied to this promotion
-
setRestrictions
Generated method - Setter of theAbstractPromotion.restrictionsattribute.- Parameters:
value- the restrictions - Collection of restrictions that are applied to this promotion
-
getStartDate
Generated method - Getter of theAbstractPromotion.startDateattribute.- Returns:
- the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.
-
getStartDate
Generated method - Getter of theAbstractPromotion.startDateattribute.- Returns:
- the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.
-
setStartDate
Generated method - Setter of theAbstractPromotion.startDateattribute.- Parameters:
value- the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.
-
setStartDate
Generated method - Setter of theAbstractPromotion.startDateattribute.- Parameters:
value- the startDate - Date on which this promotion becomes available, if not set the promotion will not be available.
-
getTitle
Generated method - Getter of theAbstractPromotion.titleattribute.- Returns:
- the title - Title for this promotion
-
getTitle
Generated method - Getter of theAbstractPromotion.titleattribute.- Returns:
- the title - Title for this promotion
-
setTitle
Generated method - Setter of theAbstractPromotion.titleattribute.- Parameters:
value- the title - Title for this promotion
-
setTitle
Generated method - Setter of theAbstractPromotion.titleattribute.- Parameters:
value- the title - Title for this promotion
-