public abstract class GeneratedReturnRequest extends GenericItem
ReturnRequest.GenericItem.GenericItemImplLocalizableItem.LocalizableItemImplExtensibleItem.ExtensibleItemImplItem.AttributeFilter, Item.AttributeMode, Item.CachedGetter, Item.CachedSetter, Item.ItemAttributeMap, Item.ItemConstraint, Item.ItemImpl, Item.JaloCachedComputationException| Modifier and Type | Field and Description |
|---|---|
static String |
CODE
Qualifier of the
ReturnRequest.code attribute |
static String |
CURRENCY
Qualifier of the
ReturnRequest.currency attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
ORDER
Qualifier of the
ReturnRequest.order attribute |
protected static BidirectionalOneToManyHandler<GeneratedReturnRequest> |
ORDERHANDLER
BidirectionalOneToManyHandler for handling 1:n ORDER's relation attributes from 'one' side. |
static String |
ORDERPOS
Qualifier of the
ReturnRequest.orderPOS attribute |
static String |
REPLACEMENTORDER
Qualifier of the
ReturnRequest.replacementOrder attribute |
static String |
RETURNENTRIES
Qualifier of the
ReturnRequest.returnEntries attribute |
protected static OneToManyHandler<ReturnEntry> |
RETURNENTRIESHANDLER
OneToManyHandler for handling 1:n RETURNENTRIES's relation attributes from 'many' side. |
static String |
RETURNLABEL
Qualifier of the
ReturnRequest.returnLabel attribute |
static String |
RETURNPROCESS
Qualifier of the
ReturnRequest.returnProcess attribute |
protected static OneToManyHandler<ReturnProcess> |
RETURNPROCESSHANDLER
OneToManyHandler for handling 1:n RETURNPROCESS's relation attributes from 'many' side. |
static String |
RETURNWAREHOUSE
Qualifier of the
ReturnRequest.returnWarehouse attribute |
static String |
RMA
Qualifier of the
ReturnRequest.RMA attribute |
static String |
STATUS
Qualifier of the
ReturnRequest.status attribute |
static String |
SUBTOTAL
Qualifier of the
ReturnRequest.subtotal attribute |
LANGUAGE_FALLBACK_ENABLED_CREATION_TIME_INTERNAL, _MODIFIED_TIME_INTERNAL, accessorLog, CREATION_TIME, DISABLE_ATTRIBUTE_CHECK, DISABLE_ITEMCHECK_BEFORE_REMOVABLE, EVEN, FEATURE_ACCESSMAP_QUALIFIER, INITIAL_CREATION_FLAG, isJaloOnly, MODIFIED_TIME, NEGATIVE, NOT_FOUND, OWNER, PK, POSITIVE, SAVE_FROM_SERVICE_LAYER, staticTransientObjects, TYPEimpl, tenant| Constructor and Description |
|---|
GeneratedReturnRequest() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToReturnEntries(ReturnEntry value)
Generated method - Adds
value to returnEntries. |
void |
addToReturnEntries(SessionContext ctx,
ReturnEntry value)
Generated method - Adds
value to returnEntries. |
void |
addToReturnProcess(ReturnProcess value)
Generated method - Adds
value to returnProcess. |
void |
addToReturnProcess(SessionContext ctx,
ReturnProcess value)
Generated method - Adds
value to returnProcess. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
String |
getCode()
Generated method - Getter of the
ReturnRequest.code attribute. |
String |
getCode(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.code attribute. |
Currency |
getCurrency()
Generated method - Getter of the
ReturnRequest.currency attribute. |
Currency |
getCurrency(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.currency attribute. |
protected Map<String,Item.AttributeMode> |
getDefaultAttributeModes() |
Order |
getOrder()
Generated method - Getter of the
ReturnRequest.order attribute. |
Order |
getOrder(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.order attribute. |
ReplacementOrder |
getReplacementOrder()
Generated method - Getter of the
ReturnRequest.replacementOrder attribute. |
ReplacementOrder |
getReplacementOrder(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.replacementOrder attribute. |
List<ReturnEntry> |
getReturnEntries()
Generated method - Getter of the
ReturnRequest.returnEntries attribute. |
List<ReturnEntry> |
getReturnEntries(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.returnEntries attribute. |
Media |
getReturnLabel()
Generated method - Getter of the
ReturnRequest.returnLabel attribute. |
Media |
getReturnLabel(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.returnLabel attribute. |
Collection<ReturnProcess> |
getReturnProcess()
Generated method - Getter of the
ReturnRequest.returnProcess attribute. |
Collection<ReturnProcess> |
getReturnProcess(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.returnProcess attribute. |
Warehouse |
getReturnWarehouse()
Generated method - Getter of the
ReturnRequest.returnWarehouse attribute. |
Warehouse |
getReturnWarehouse(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.returnWarehouse attribute. |
String |
getRMA()
Generated method - Getter of the
ReturnRequest.RMA attribute. |
String |
getRMA(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.RMA attribute. |
EnumerationValue |
getStatus()
Generated method - Getter of the
ReturnRequest.status attribute. |
EnumerationValue |
getStatus(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.status attribute. |
BigDecimal |
getSubtotal()
Generated method - Getter of the
ReturnRequest.subtotal attribute. |
BigDecimal |
getSubtotal(SessionContext ctx)
Generated method - Getter of the
ReturnRequest.subtotal attribute. |
void |
removeFromReturnEntries(ReturnEntry value)
Generated method - Removes
value from returnEntries. |
void |
removeFromReturnEntries(SessionContext ctx,
ReturnEntry value)
Generated method - Removes
value from returnEntries. |
void |
removeFromReturnProcess(ReturnProcess value)
Generated method - Removes
value from returnProcess. |
void |
removeFromReturnProcess(SessionContext ctx,
ReturnProcess value)
Generated method - Removes
value from returnProcess. |
void |
setCode(SessionContext ctx,
String value)
Generated method - Setter of the
ReturnRequest.code attribute. |
void |
setCode(String value)
Generated method - Setter of the
ReturnRequest.code attribute. |
void |
setCurrency(Currency value)
Generated method - Setter of the
ReturnRequest.currency attribute. |
void |
setCurrency(SessionContext ctx,
Currency value)
Generated method - Setter of the
ReturnRequest.currency attribute. |
void |
setOrder(Order value)
Generated method - Setter of the
ReturnRequest.order attribute. |
void |
setOrder(SessionContext ctx,
Order value)
Generated method - Setter of the
ReturnRequest.order attribute. |
void |
setReplacementOrder(ReplacementOrder value)
Generated method - Setter of the
ReturnRequest.replacementOrder attribute. |
void |
setReplacementOrder(SessionContext ctx,
ReplacementOrder value)
Generated method - Setter of the
ReturnRequest.replacementOrder attribute. |
void |
setReturnEntries(List<ReturnEntry> value)
Generated method - Setter of the
ReturnRequest.returnEntries attribute. |
void |
setReturnEntries(SessionContext ctx,
List<ReturnEntry> value)
Generated method - Setter of the
ReturnRequest.returnEntries attribute. |
void |
setReturnLabel(Media value)
Generated method - Setter of the
ReturnRequest.returnLabel attribute. |
void |
setReturnLabel(SessionContext ctx,
Media value)
Generated method - Setter of the
ReturnRequest.returnLabel attribute. |
void |
setReturnProcess(Collection<ReturnProcess> value)
Generated method - Setter of the
ReturnRequest.returnProcess attribute. |
void |
setReturnProcess(SessionContext ctx,
Collection<ReturnProcess> value)
Generated method - Setter of the
ReturnRequest.returnProcess attribute. |
void |
setReturnWarehouse(SessionContext ctx,
Warehouse value)
Generated method - Setter of the
ReturnRequest.returnWarehouse attribute. |
void |
setReturnWarehouse(Warehouse value)
Generated method - Setter of the
ReturnRequest.returnWarehouse attribute. |
void |
setRMA(SessionContext ctx,
String value)
Generated method - Setter of the
ReturnRequest.RMA attribute. |
void |
setRMA(String value)
Generated method - Setter of the
ReturnRequest.RMA attribute. |
void |
setStatus(EnumerationValue value)
Generated method - Setter of the
ReturnRequest.status attribute. |
void |
setStatus(SessionContext ctx,
EnumerationValue value)
Generated method - Setter of the
ReturnRequest.status attribute. |
void |
setSubtotal(BigDecimal value)
Generated method - Setter of the
ReturnRequest.subtotal attribute. |
void |
setSubtotal(SessionContext ctx,
BigDecimal value)
Generated method - Setter of the
ReturnRequest.subtotal attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setPropertyaddLinkedItems, 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, 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, readResolve, refreshRemote, 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, toString, useTA, writeReplacegetImplementation, setTenantpublic static final String CODE
ReturnRequest.code attributepublic static final String RMA
ReturnRequest.RMA attributepublic static final String REPLACEMENTORDER
ReturnRequest.replacementOrder attributepublic static final String CURRENCY
ReturnRequest.currency attributepublic static final String STATUS
ReturnRequest.status attributepublic static final String SUBTOTAL
ReturnRequest.subtotal attributepublic static final String RETURNLABEL
ReturnRequest.returnLabel attributepublic static final String RETURNWAREHOUSE
ReturnRequest.returnWarehouse attributepublic static final String ORDERPOS
ReturnRequest.orderPOS attributepublic static final String ORDER
ReturnRequest.order attributepublic static final String RETURNENTRIES
ReturnRequest.returnEntries attributepublic static final String RETURNPROCESS
ReturnRequest.returnProcess attributeprotected static final BidirectionalOneToManyHandler<GeneratedReturnRequest> ORDERHANDLER
BidirectionalOneToManyHandler for handling 1:n ORDER's relation attributes from 'one' side.protected static final OneToManyHandler<ReturnEntry> RETURNENTRIESHANDLER
OneToManyHandler for handling 1:n RETURNENTRIES's relation attributes from 'many' side.protected static final OneToManyHandler<ReturnProcess> RETURNPROCESSHANDLER
OneToManyHandler for handling 1:n RETURNPROCESS's relation attributes from 'many' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic String getCode(SessionContext ctx)
ReturnRequest.code attribute.public String getCode()
ReturnRequest.code attribute.public void setCode(SessionContext ctx, String value)
ReturnRequest.code attribute.value - the codepublic void setCode(String value)
ReturnRequest.code attribute.value - the codeprotected Item createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes) throws JaloBusinessException
ItemComposedType.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; }
createItem in class GenericItemctx - 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 )JaloBusinessException - indicates an error during creation - any changes will be rollbackedpublic Currency getCurrency(SessionContext ctx)
ReturnRequest.currency attribute.public Currency getCurrency()
ReturnRequest.currency attribute.public void setCurrency(SessionContext ctx, Currency value)
ReturnRequest.currency attribute.value - the currencypublic void setCurrency(Currency value)
ReturnRequest.currency attribute.value - the currencypublic Order getOrder(SessionContext ctx)
ReturnRequest.order attribute.public Order getOrder()
ReturnRequest.order attribute.public void setOrder(SessionContext ctx, Order value)
ReturnRequest.order attribute.value - the orderpublic void setOrder(Order value)
ReturnRequest.order attribute.value - the orderpublic ReplacementOrder getReplacementOrder(SessionContext ctx)
ReturnRequest.replacementOrder attribute.public ReplacementOrder getReplacementOrder()
ReturnRequest.replacementOrder attribute.public void setReplacementOrder(SessionContext ctx, ReplacementOrder value)
ReturnRequest.replacementOrder attribute.value - the replacementOrderpublic void setReplacementOrder(ReplacementOrder value)
ReturnRequest.replacementOrder attribute.value - the replacementOrderpublic List<ReturnEntry> getReturnEntries(SessionContext ctx)
ReturnRequest.returnEntries attribute.public List<ReturnEntry> getReturnEntries()
ReturnRequest.returnEntries attribute.public void setReturnEntries(SessionContext ctx, List<ReturnEntry> value)
ReturnRequest.returnEntries attribute.value - the returnEntriespublic void setReturnEntries(List<ReturnEntry> value)
ReturnRequest.returnEntries attribute.value - the returnEntriespublic void addToReturnEntries(SessionContext ctx, ReturnEntry value)
value to returnEntries.value - the item to add to returnEntriespublic void addToReturnEntries(ReturnEntry value)
value to returnEntries.value - the item to add to returnEntriespublic void removeFromReturnEntries(SessionContext ctx, ReturnEntry value)
value from returnEntries.value - the item to remove from returnEntriespublic void removeFromReturnEntries(ReturnEntry value)
value from returnEntries.value - the item to remove from returnEntriespublic Media getReturnLabel(SessionContext ctx)
ReturnRequest.returnLabel attribute.public Media getReturnLabel()
ReturnRequest.returnLabel attribute.public void setReturnLabel(SessionContext ctx, Media value)
ReturnRequest.returnLabel attribute.value - the returnLabel - The return shipping label for the ReturnRequest.public void setReturnLabel(Media value)
ReturnRequest.returnLabel attribute.value - the returnLabel - The return shipping label for the ReturnRequest.public Collection<ReturnProcess> getReturnProcess(SessionContext ctx)
ReturnRequest.returnProcess attribute.public Collection<ReturnProcess> getReturnProcess()
ReturnRequest.returnProcess attribute.public void setReturnProcess(SessionContext ctx, Collection<ReturnProcess> value)
ReturnRequest.returnProcess attribute.value - the returnProcesspublic void setReturnProcess(Collection<ReturnProcess> value)
ReturnRequest.returnProcess attribute.value - the returnProcesspublic void addToReturnProcess(SessionContext ctx, ReturnProcess value)
value to returnProcess.value - the item to add to returnProcesspublic void addToReturnProcess(ReturnProcess value)
value to returnProcess.value - the item to add to returnProcesspublic void removeFromReturnProcess(SessionContext ctx, ReturnProcess value)
value from returnProcess.value - the item to remove from returnProcesspublic void removeFromReturnProcess(ReturnProcess value)
value from returnProcess.value - the item to remove from returnProcesspublic Warehouse getReturnWarehouse(SessionContext ctx)
ReturnRequest.returnWarehouse attribute.public Warehouse getReturnWarehouse()
ReturnRequest.returnWarehouse attribute.public void setReturnWarehouse(SessionContext ctx, Warehouse value)
ReturnRequest.returnWarehouse attribute.value - the returnWarehouse - Determines the warehouse where the products need to be returned by the customerpublic void setReturnWarehouse(Warehouse value)
ReturnRequest.returnWarehouse attribute.value - the returnWarehouse - Determines the warehouse where the products need to be returned by the customerpublic String getRMA(SessionContext ctx)
ReturnRequest.RMA attribute.public String getRMA()
ReturnRequest.RMA attribute.public void setRMA(SessionContext ctx, String value)
ReturnRequest.RMA attribute.value - the RMApublic void setRMA(String value)
ReturnRequest.RMA attribute.value - the RMApublic EnumerationValue getStatus(SessionContext ctx)
ReturnRequest.status attribute.public EnumerationValue getStatus()
ReturnRequest.status attribute.public void setStatus(SessionContext ctx, EnumerationValue value)
ReturnRequest.status attribute.value - the statuspublic void setStatus(EnumerationValue value)
ReturnRequest.status attribute.value - the statuspublic BigDecimal getSubtotal(SessionContext ctx)
ReturnRequest.subtotal attribute.public BigDecimal getSubtotal()
ReturnRequest.subtotal attribute.public void setSubtotal(SessionContext ctx, BigDecimal value)
ReturnRequest.subtotal attribute.value - the subtotalpublic void setSubtotal(BigDecimal value)
ReturnRequest.subtotal attribute.value - the subtotalCopyright © 2017 SAP SE. All Rights Reserved.