Package de.hybris.platform.returns.jalo
Class GeneratedReturnRequest
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.returns.jalo.GeneratedReturnRequest
- All Implemented Interfaces:
Serializable,Comparable
- Direct Known Subclasses:
ReturnRequest
Generated class for type
ReturnRequest.- 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 theReturnRequest.codeattributestatic final StringQualifier of theReturnRequest.currencyattributeprotected static final Map<String,Item.AttributeMode> static final StringQualifier of theReturnRequest.orderattributeprotected static final BidirectionalOneToManyHandler<GeneratedReturnRequest>BidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side.static final StringQualifier of theReturnRequest.orderPOSattributestatic final StringQualifier of theReturnRequest.replacementOrderattributestatic final StringQualifier of theReturnRequest.returnEntriesattributeprotected static final OneToManyHandler<ReturnEntry>OneToManyHandlerfor handling 1:n RETURNENTRIES's relation attributes from 'many' side.static final StringQualifier of theReturnRequest.returnFormattributestatic final StringQualifier of theReturnRequest.returnLabelattributestatic final StringQualifier of theReturnRequest.returnProcessattributeprotected static final OneToManyHandler<ReturnProcess>OneToManyHandlerfor handling 1:n RETURNPROCESS's relation attributes from 'many' side.static final StringQualifier of theReturnRequest.returnWarehouseattributestatic final StringQualifier of theReturnRequest.RMAattributestatic final StringQualifier of theReturnRequest.statusattributestatic final StringQualifier of theReturnRequest.subtotalattributestatic final StringQualifier of theReturnRequest.totalTaxattributeFields 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 TypeMethodDescriptionvoidaddToReturnEntries(SessionContext ctx, ReturnEntry value) Generated method - Addsvalueto returnEntries.voidaddToReturnEntries(ReturnEntry value) Generated method - Addsvalueto returnEntries.voidaddToReturnProcess(SessionContext ctx, ReturnProcess value) Generated method - Addsvalueto returnProcess.voidaddToReturnProcess(ReturnProcess value) Generated method - Addsvalueto returnProcess.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) Has to be implemented for each concrete subtype of item.getCode()Generated method - Getter of theReturnRequest.codeattribute.getCode(SessionContext ctx) Generated method - Getter of theReturnRequest.codeattribute.Generated method - Getter of theReturnRequest.currencyattribute.Generated method - Getter of theReturnRequest.currencyattribute.protected Map<String,Item.AttributeMode> getOrder()Generated method - Getter of theReturnRequest.orderattribute.getOrder(SessionContext ctx) Generated method - Getter of theReturnRequest.orderattribute.Generated method - Getter of theReturnRequest.replacementOrderattribute.Generated method - Getter of theReturnRequest.replacementOrderattribute.Generated method - Getter of theReturnRequest.returnEntriesattribute.Generated method - Getter of theReturnRequest.returnEntriesattribute.Generated method - Getter of theReturnRequest.returnFormattribute.Generated method - Getter of theReturnRequest.returnFormattribute.Generated method - Getter of theReturnRequest.returnLabelattribute.Generated method - Getter of theReturnRequest.returnLabelattribute.Generated method - Getter of theReturnRequest.returnProcessattribute.Generated method - Getter of theReturnRequest.returnProcessattribute.Generated method - Getter of theReturnRequest.returnWarehouseattribute.Generated method - Getter of theReturnRequest.returnWarehouseattribute.getRMA()Generated method - Getter of theReturnRequest.RMAattribute.getRMA(SessionContext ctx) Generated method - Getter of theReturnRequest.RMAattribute.Generated method - Getter of theReturnRequest.statusattribute.getStatus(SessionContext ctx) Generated method - Getter of theReturnRequest.statusattribute.Generated method - Getter of theReturnRequest.subtotalattribute.Generated method - Getter of theReturnRequest.subtotalattribute.Generated method - Getter of theReturnRequest.totalTaxattribute.Generated method - Getter of theReturnRequest.totalTaxattribute.voidremoveFromReturnEntries(SessionContext ctx, ReturnEntry value) Generated method - Removesvaluefrom returnEntries.voidGenerated method - Removesvaluefrom returnEntries.voidremoveFromReturnProcess(SessionContext ctx, ReturnProcess value) Generated method - Removesvaluefrom returnProcess.voidGenerated method - Removesvaluefrom returnProcess.voidsetCode(SessionContext ctx, String value) Generated method - Setter of theReturnRequest.codeattribute.voidGenerated method - Setter of theReturnRequest.codeattribute.voidsetCurrency(Currency value) Generated method - Setter of theReturnRequest.currencyattribute.voidsetCurrency(SessionContext ctx, Currency value) Generated method - Setter of theReturnRequest.currencyattribute.voidGenerated method - Setter of theReturnRequest.orderattribute.voidsetOrder(SessionContext ctx, Order value) Generated method - Setter of theReturnRequest.orderattribute.voidsetReplacementOrder(SessionContext ctx, ReplacementOrder value) Generated method - Setter of theReturnRequest.replacementOrderattribute.voidGenerated method - Setter of theReturnRequest.replacementOrderattribute.voidsetReturnEntries(SessionContext ctx, List<ReturnEntry> value) Generated method - Setter of theReturnRequest.returnEntriesattribute.voidsetReturnEntries(List<ReturnEntry> value) Generated method - Setter of theReturnRequest.returnEntriesattribute.voidsetReturnForm(Media value) Generated method - Setter of theReturnRequest.returnFormattribute.voidsetReturnForm(SessionContext ctx, Media value) Generated method - Setter of theReturnRequest.returnFormattribute.voidsetReturnLabel(Media value) Generated method - Setter of theReturnRequest.returnLabelattribute.voidsetReturnLabel(SessionContext ctx, Media value) Generated method - Setter of theReturnRequest.returnLabelattribute.voidsetReturnProcess(SessionContext ctx, Collection<ReturnProcess> value) Generated method - Setter of theReturnRequest.returnProcessattribute.voidsetReturnProcess(Collection<ReturnProcess> value) Generated method - Setter of theReturnRequest.returnProcessattribute.voidsetReturnWarehouse(SessionContext ctx, Warehouse value) Generated method - Setter of theReturnRequest.returnWarehouseattribute.voidsetReturnWarehouse(Warehouse value) Generated method - Setter of theReturnRequest.returnWarehouseattribute.voidsetRMA(SessionContext ctx, String value) Generated method - Setter of theReturnRequest.RMAattribute.voidGenerated method - Setter of theReturnRequest.RMAattribute.voidsetStatus(EnumerationValue value) Generated method - Setter of theReturnRequest.statusattribute.voidsetStatus(SessionContext ctx, EnumerationValue value) Generated method - Setter of theReturnRequest.statusattribute.voidsetSubtotal(SessionContext ctx, BigDecimal value) Generated method - Setter of theReturnRequest.subtotalattribute.voidsetSubtotal(BigDecimal value) Generated method - Setter of theReturnRequest.subtotalattribute.voidsetTotalTax(SessionContext ctx, BigDecimal value) Generated method - Setter of theReturnRequest.totalTaxattribute.voidsetTotalTax(BigDecimal value) Generated method - Setter of theReturnRequest.totalTaxattribute.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
-
CODE
Qualifier of theReturnRequest.codeattribute- See Also:
-
RMA
Qualifier of theReturnRequest.RMAattribute- See Also:
-
REPLACEMENTORDER
Qualifier of theReturnRequest.replacementOrderattribute- See Also:
-
CURRENCY
Qualifier of theReturnRequest.currencyattribute- See Also:
-
STATUS
Qualifier of theReturnRequest.statusattribute- See Also:
-
SUBTOTAL
Qualifier of theReturnRequest.subtotalattribute- See Also:
-
TOTALTAX
Qualifier of theReturnRequest.totalTaxattribute- See Also:
-
RETURNLABEL
Qualifier of theReturnRequest.returnLabelattribute- See Also:
-
RETURNFORM
Qualifier of theReturnRequest.returnFormattribute- See Also:
-
RETURNWAREHOUSE
Qualifier of theReturnRequest.returnWarehouseattribute- See Also:
-
ORDERPOS
Qualifier of theReturnRequest.orderPOSattribute- See Also:
-
ORDER
Qualifier of theReturnRequest.orderattribute- See Also:
-
RETURNENTRIES
Qualifier of theReturnRequest.returnEntriesattribute- See Also:
-
RETURNPROCESS
Qualifier of theReturnRequest.returnProcessattribute- See Also:
-
ORDERHANDLER
BidirectionalOneToManyHandlerfor handling 1:n ORDER's relation attributes from 'one' side. -
RETURNENTRIESHANDLER
OneToManyHandlerfor handling 1:n RETURNENTRIES's relation attributes from 'many' side. -
RETURNPROCESSHANDLER
OneToManyHandlerfor handling 1:n RETURNPROCESS's relation attributes from 'many' side. -
DEFAULT_INITIAL_ATTRIBUTES
-
-
Constructor Details
-
GeneratedReturnRequest
public GeneratedReturnRequest()
-
-
Method Details
-
getDefaultAttributeModes
- Overrides:
getDefaultAttributeModesin classItem
-
getCode
Generated method - Getter of theReturnRequest.codeattribute.- Returns:
- the code
-
getCode
Generated method - Getter of theReturnRequest.codeattribute.- Returns:
- the code
-
setCode
Generated method - Setter of theReturnRequest.codeattribute.- Parameters:
value- the code
-
setCode
Generated method - Setter of theReturnRequest.codeattribute.- Parameters:
value- the code
-
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
-
getCurrency
Generated method - Getter of theReturnRequest.currencyattribute.- Returns:
- the currency
-
getCurrency
Generated method - Getter of theReturnRequest.currencyattribute.- Returns:
- the currency
-
setCurrency
Generated method - Setter of theReturnRequest.currencyattribute.- Parameters:
value- the currency
-
setCurrency
Generated method - Setter of theReturnRequest.currencyattribute.- Parameters:
value- the currency
-
getOrder
Generated method - Getter of theReturnRequest.orderattribute.- Returns:
- the order
-
getOrder
Generated method - Getter of theReturnRequest.orderattribute.- Returns:
- the order
-
setOrder
Generated method - Setter of theReturnRequest.orderattribute.- Parameters:
value- the order
-
setOrder
Generated method - Setter of theReturnRequest.orderattribute.- Parameters:
value- the order
-
getReplacementOrder
Generated method - Getter of theReturnRequest.replacementOrderattribute.- Returns:
- the replacementOrder
-
getReplacementOrder
Generated method - Getter of theReturnRequest.replacementOrderattribute.- Returns:
- the replacementOrder
-
setReplacementOrder
Generated method - Setter of theReturnRequest.replacementOrderattribute.- Parameters:
value- the replacementOrder
-
setReplacementOrder
Generated method - Setter of theReturnRequest.replacementOrderattribute.- Parameters:
value- the replacementOrder
-
getReturnEntries
Generated method - Getter of theReturnRequest.returnEntriesattribute.- Returns:
- the returnEntries
-
getReturnEntries
Generated method - Getter of theReturnRequest.returnEntriesattribute.- Returns:
- the returnEntries
-
setReturnEntries
Generated method - Setter of theReturnRequest.returnEntriesattribute.- Parameters:
value- the returnEntries
-
setReturnEntries
Generated method - Setter of theReturnRequest.returnEntriesattribute.- Parameters:
value- the returnEntries
-
addToReturnEntries
Generated method - Addsvalueto returnEntries.- Parameters:
value- the item to add to returnEntries
-
addToReturnEntries
Generated method - Addsvalueto returnEntries.- Parameters:
value- the item to add to returnEntries
-
removeFromReturnEntries
Generated method - Removesvaluefrom returnEntries.- Parameters:
value- the item to remove from returnEntries
-
removeFromReturnEntries
Generated method - Removesvaluefrom returnEntries.- Parameters:
value- the item to remove from returnEntries
-
getReturnForm
Generated method - Getter of theReturnRequest.returnFormattribute.- Returns:
- the returnForm - The return form for the ReturnRequest.
-
getReturnForm
Generated method - Getter of theReturnRequest.returnFormattribute.- Returns:
- the returnForm - The return form for the ReturnRequest.
-
setReturnForm
Generated method - Setter of theReturnRequest.returnFormattribute.- Parameters:
value- the returnForm - The return form for the ReturnRequest.
-
setReturnForm
Generated method - Setter of theReturnRequest.returnFormattribute.- Parameters:
value- the returnForm - The return form for the ReturnRequest.
-
getReturnLabel
Generated method - Getter of theReturnRequest.returnLabelattribute.- Returns:
- the returnLabel - The return shipping label for the ReturnRequest.
-
getReturnLabel
Generated method - Getter of theReturnRequest.returnLabelattribute.- Returns:
- the returnLabel - The return shipping label for the ReturnRequest.
-
setReturnLabel
Generated method - Setter of theReturnRequest.returnLabelattribute.- Parameters:
value- the returnLabel - The return shipping label for the ReturnRequest.
-
setReturnLabel
Generated method - Setter of theReturnRequest.returnLabelattribute.- Parameters:
value- the returnLabel - The return shipping label for the ReturnRequest.
-
getReturnProcess
Generated method - Getter of theReturnRequest.returnProcessattribute.- Returns:
- the returnProcess
-
getReturnProcess
Generated method - Getter of theReturnRequest.returnProcessattribute.- Returns:
- the returnProcess
-
setReturnProcess
Generated method - Setter of theReturnRequest.returnProcessattribute.- Parameters:
value- the returnProcess
-
setReturnProcess
Generated method - Setter of theReturnRequest.returnProcessattribute.- Parameters:
value- the returnProcess
-
addToReturnProcess
Generated method - Addsvalueto returnProcess.- Parameters:
value- the item to add to returnProcess
-
addToReturnProcess
Generated method - Addsvalueto returnProcess.- Parameters:
value- the item to add to returnProcess
-
removeFromReturnProcess
Generated method - Removesvaluefrom returnProcess.- Parameters:
value- the item to remove from returnProcess
-
removeFromReturnProcess
Generated method - Removesvaluefrom returnProcess.- Parameters:
value- the item to remove from returnProcess
-
getReturnWarehouse
Generated method - Getter of theReturnRequest.returnWarehouseattribute.- Returns:
- the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
-
getReturnWarehouse
Generated method - Getter of theReturnRequest.returnWarehouseattribute.- Returns:
- the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
-
setReturnWarehouse
Generated method - Setter of theReturnRequest.returnWarehouseattribute.- Parameters:
value- the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
-
setReturnWarehouse
Generated method - Setter of theReturnRequest.returnWarehouseattribute.- Parameters:
value- the returnWarehouse - Determines the warehouse where the products need to be returned by the customer
-
getRMA
Generated method - Getter of theReturnRequest.RMAattribute.- Returns:
- the RMA
-
getRMA
Generated method - Getter of theReturnRequest.RMAattribute.- Returns:
- the RMA
-
setRMA
Generated method - Setter of theReturnRequest.RMAattribute.- Parameters:
value- the RMA
-
setRMA
Generated method - Setter of theReturnRequest.RMAattribute.- Parameters:
value- the RMA
-
getStatus
Generated method - Getter of theReturnRequest.statusattribute.- Returns:
- the status
-
getStatus
Generated method - Getter of theReturnRequest.statusattribute.- Returns:
- the status
-
setStatus
Generated method - Setter of theReturnRequest.statusattribute.- Parameters:
value- the status
-
setStatus
Generated method - Setter of theReturnRequest.statusattribute.- Parameters:
value- the status
-
getSubtotal
Generated method - Getter of theReturnRequest.subtotalattribute.- Returns:
- the subtotal
-
getSubtotal
Generated method - Getter of theReturnRequest.subtotalattribute.- Returns:
- the subtotal
-
setSubtotal
Generated method - Setter of theReturnRequest.subtotalattribute.- Parameters:
value- the subtotal
-
setSubtotal
Generated method - Setter of theReturnRequest.subtotalattribute.- Parameters:
value- the subtotal
-
getTotalTax
Generated method - Getter of theReturnRequest.totalTaxattribute.- Returns:
- the totalTax - Total tax value for the ReturnRequest.
-
getTotalTax
Generated method - Getter of theReturnRequest.totalTaxattribute.- Returns:
- the totalTax - Total tax value for the ReturnRequest.
-
setTotalTax
Generated method - Setter of theReturnRequest.totalTaxattribute.- Parameters:
value- the totalTax - Total tax value for the ReturnRequest.
-
setTotalTax
Generated method - Setter of theReturnRequest.totalTaxattribute.- Parameters:
value- the totalTax - Total tax value for the ReturnRequest.
-