Package de.hybris.platform.voucher.jalo
Class GeneratedVoucher
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
Voucher
Generated class for type
Voucher.- 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 TypeFieldDescriptionprotected static final Map<String,Item.AttributeMode> static final StringQualifier of theVoucher.descriptionattributestatic final StringQualifier of theVoucher.freeShippingattributestatic final StringQualifier of theVoucher.invalidationsattributeprotected static final OneToManyHandler<VoucherInvalidation>OneToManyHandlerfor handling 1:n INVALIDATIONS's relation attributes from 'many' side.static final StringQualifier of theVoucher.restrictionsattributeprotected static final OneToManyHandler<Restriction>OneToManyHandlerfor handling 1:n RESTRICTIONS's relation attributes from 'many' side.static final StringQualifier of theVoucher.valueStringattributeFields inherited from class de.hybris.platform.jalo.order.price.Discount
EXTERNAL_KEY, GLOBAL, VALUE_END, VALUE_STARTFields inherited from class de.hybris.platform.jalo.order.price.GeneratedDiscount
ABSOLUTE, CODE, CURRENCY, DISCOUNTSTRING, NAME, ORDERDISCOUNTRELATION_MARKMODIFIED, ORDERDISCOUNTRELATION_SRC_ORDERED, ORDERDISCOUNTRELATION_TGT_ORDERED, ORDERS, PRIORITY, VALUEFields 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 TypeMethodDescriptionvoidaddToInvalidations(SessionContext ctx, VoucherInvalidation value) Generated method - Addsvalueto invalidations.voidGenerated method - Addsvalueto invalidations.voidaddToRestrictions(SessionContext ctx, Restriction value) Generated method - Addsvalueto restrictions.voidaddToRestrictions(Restriction value) Generated method - Addsvalueto restrictions.Generated method - Getter of theVoucher.descriptionattribute.Generated method - Getter of theVoucher.descriptionattribute.protected Map<String,Item.AttributeMode> Generated method - Getter of theVoucher.descriptionattribute.Generated method - Getter of theVoucher.descriptionattribute.Generated method - Getter of theVoucher.invalidationsattribute.Generated method - Getter of theVoucher.invalidationsattribute.Generated method - Getter of theVoucher.restrictionsattribute.Generated method - Getter of theVoucher.restrictionsattribute.Generated method - Getter of theVoucher.valueStringattribute.abstract StringGenerated method - Getter of theVoucher.valueStringattribute.Generated method - Getter of theVoucher.freeShippingattribute.Generated method - Getter of theVoucher.freeShippingattribute.booleanGenerated method - Getter of theVoucher.freeShippingattribute.booleanGenerated method - Getter of theVoucher.freeShippingattribute.voidremoveFromInvalidations(SessionContext ctx, VoucherInvalidation value) Generated method - Removesvaluefrom invalidations.voidGenerated method - Removesvaluefrom invalidations.voidremoveFromRestrictions(SessionContext ctx, Restriction value) Generated method - Removesvaluefrom restrictions.voidGenerated method - Removesvaluefrom restrictions.voidsetAllDescription(SessionContext ctx, Map<Language, String> value) Generated method - Setter of theVoucher.descriptionattribute.voidsetAllDescription(Map<Language, String> value) Generated method - Setter of theVoucher.descriptionattribute.voidsetDescription(SessionContext ctx, String value) Generated method - Setter of theVoucher.descriptionattribute.voidsetDescription(String value) Generated method - Setter of theVoucher.descriptionattribute.voidsetFreeShipping(boolean value) Generated method - Setter of theVoucher.freeShippingattribute.voidsetFreeShipping(SessionContext ctx, boolean value) Generated method - Setter of theVoucher.freeShippingattribute.voidsetFreeShipping(SessionContext ctx, Boolean value) Generated method - Setter of theVoucher.freeShippingattribute.voidsetFreeShipping(Boolean value) Generated method - Setter of theVoucher.freeShippingattribute.voidsetInvalidations(SessionContext ctx, Collection<VoucherInvalidation> value) Generated method - Setter of theVoucher.invalidationsattribute.voidGenerated method - Setter of theVoucher.invalidationsattribute.voidsetRestrictions(SessionContext ctx, Set<Restriction> value) Generated method - Setter of theVoucher.restrictionsattribute.voidsetRestrictions(Set<Restriction> value) Generated method - Setter of theVoucher.restrictionsattribute.Methods inherited from class de.hybris.platform.jalo.order.price.Discount
addOrder, createItem, getAllNames, getDiscountstring, getDiscountString, getDiscountValue, getPriority, getValue, isAbsolute, notifyOrderCalculated, notifyOrderRemoval, removeOrder, setAllNames, setCodeMethods inherited from class de.hybris.platform.jalo.order.price.GeneratedDiscount
addToOrders, addToOrders, getAllName, getAllName, getCode, getCode, getCurrency, getCurrency, getDiscountString, getName, getName, getOrders, getOrders, getOrdersCount, getOrdersCount, getPriority, getPriorityAsPrimitive, getPriorityAsPrimitive, getValue, getValueAsPrimitive, getValueAsPrimitive, isAbsolute, isAbsoluteAsPrimitive, isAbsoluteAsPrimitive, isGlobal, isGlobal, isGlobalAsPrimitive, isGlobalAsPrimitive, isMarkModifiedDisabled, removeFromOrders, removeFromOrders, setAllName, setAllName, setCode, setCurrency, setCurrency, setGlobal, setGlobal, setGlobal, setGlobal, setName, setName, setOrders, setOrders, setPriority, setPriority, setPriority, setPriority, setValue, setValue, setValue, setValueMethods 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, 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
-
DESCRIPTION
Qualifier of theVoucher.descriptionattribute- See Also:
-
FREESHIPPING
Qualifier of theVoucher.freeShippingattribute- See Also:
-
VALUESTRING
Qualifier of theVoucher.valueStringattribute- See Also:
-
RESTRICTIONS
Qualifier of theVoucher.restrictionsattribute- See Also:
-
INVALIDATIONS
Qualifier of theVoucher.invalidationsattribute- See Also:
-
RESTRICTIONSHANDLER
OneToManyHandlerfor handling 1:n RESTRICTIONS's relation attributes from 'many' side. -
INVALIDATIONSHANDLER
OneToManyHandlerfor handling 1:n INVALIDATIONS's relation attributes from 'many' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedVoucher
public GeneratedVoucher()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classGeneratedDiscount
-
getDescription
Generated method - Getter of theVoucher.descriptionattribute.- Returns:
- the description - the description of the voucher.
-
getDescription
Generated method - Getter of theVoucher.descriptionattribute.- Returns:
- the description - the description of the voucher.
-
getAllDescription
Generated method - Getter of theVoucher.descriptionattribute.- Returns:
- the localized description - the description of the voucher.
-
getAllDescription
Generated method - Getter of theVoucher.descriptionattribute.- Returns:
- the localized description - the description of the voucher.
-
setDescription
Generated method - Setter of theVoucher.descriptionattribute.- Parameters:
value- the description - the description of the voucher.
-
setDescription
Generated method - Setter of theVoucher.descriptionattribute.- Parameters:
value- the description - the description of the voucher.
-
setAllDescription
Generated method - Setter of theVoucher.descriptionattribute.- Parameters:
value- the description - the description of the voucher.
-
setAllDescription
Generated method - Setter of theVoucher.descriptionattribute.- Parameters:
value- the description - the description of the voucher.
-
isFreeShipping
Generated method - Getter of theVoucher.freeShippingattribute.- Returns:
- the freeShipping - Specifies if the order this voucher is applied to is shipped for free (true) or not (false). Default is not (false).
-
isFreeShipping
Generated method - Getter of theVoucher.freeShippingattribute.- Returns:
- the freeShipping - Specifies if the order this voucher is applied to is shipped for free (true) or not (false). Default is not (false).
-
isFreeShippingAsPrimitive
Generated method - Getter of theVoucher.freeShippingattribute.- Returns:
- the freeShipping - Specifies if the order this voucher is applied to is shipped for free (true) or not (false). Default is not (false).
-
isFreeShippingAsPrimitive
public boolean isFreeShippingAsPrimitive()Generated method - Getter of theVoucher.freeShippingattribute.- Returns:
- the freeShipping - Specifies if the order this voucher is applied to is shipped for free (true) or not (false). Default is not (false).
-
setFreeShipping
Generated method - Setter of theVoucher.freeShippingattribute.- Parameters:
value- the freeShipping - Specifies if the order this voucher is applied to is shipped for free (true) or not (false). Default is not (false).
-
setFreeShipping
Generated method - Setter of theVoucher.freeShippingattribute.- Parameters:
value- the freeShipping - Specifies if the order this voucher is applied to is shipped for free (true) or not (false). Default is not (false).
-
setFreeShipping
Generated method - Setter of theVoucher.freeShippingattribute.- Parameters:
value- the freeShipping - Specifies if the order this voucher is applied to is shipped for free (true) or not (false). Default is not (false).
-
setFreeShipping
public void setFreeShipping(boolean value) Generated method - Setter of theVoucher.freeShippingattribute.- Parameters:
value- the freeShipping - Specifies if the order this voucher is applied to is shipped for free (true) or not (false). Default is not (false).
-
getInvalidations
Generated method - Getter of theVoucher.invalidationsattribute.- Returns:
- the invalidations
-
getInvalidations
Generated method - Getter of theVoucher.invalidationsattribute.- Returns:
- the invalidations
-
setInvalidations
Generated method - Setter of theVoucher.invalidationsattribute.- Parameters:
value- the invalidations
-
setInvalidations
Generated method - Setter of theVoucher.invalidationsattribute.- Parameters:
value- the invalidations
-
addToInvalidations
Generated method - Addsvalueto invalidations.- Parameters:
value- the item to add to invalidations
-
addToInvalidations
Generated method - Addsvalueto invalidations.- Parameters:
value- the item to add to invalidations
-
removeFromInvalidations
Generated method - Removesvaluefrom invalidations.- Parameters:
value- the item to remove from invalidations
-
removeFromInvalidations
Generated method - Removesvaluefrom invalidations.- Parameters:
value- the item to remove from invalidations
-
getRestrictions
Generated method - Getter of theVoucher.restrictionsattribute.- Returns:
- the restrictions
-
getRestrictions
Generated method - Getter of theVoucher.restrictionsattribute.- Returns:
- the restrictions
-
setRestrictions
Generated method - Setter of theVoucher.restrictionsattribute.- Parameters:
value- the restrictions
-
setRestrictions
Generated method - Setter of theVoucher.restrictionsattribute.- Parameters:
value- the restrictions
-
addToRestrictions
Generated method - Addsvalueto restrictions.- Parameters:
value- the item to add to restrictions
-
addToRestrictions
Generated method - Addsvalueto restrictions.- Parameters:
value- the item to add to restrictions
-
removeFromRestrictions
Generated method - Removesvaluefrom restrictions.- Parameters:
value- the item to remove from restrictions
-
removeFromRestrictions
Generated method - Removesvaluefrom restrictions.- Parameters:
value- the item to remove from restrictions
-
getValueString
Generated method - Getter of theVoucher.valueStringattribute.- Returns:
- the valueString - the value of this voucher to display.
-
getValueString
Generated method - Getter of theVoucher.valueStringattribute.- Returns:
- the valueString - the value of this voucher to display.
-