Package de.hybris.platform.returns.jalo
Class GeneratedReturnEntry
- 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.GeneratedReturnEntry
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
ReturnEntry
public abstract class GeneratedReturnEntry extends GenericItem
Generated class for typeReturnEntry.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.GenericItem
GenericItem.GenericItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LocalizableItem.LocalizableItemImpl
-
Nested classes/interfaces inherited from class de.hybris.platform.jalo.ExtensibleItem
ExtensibleItem.ExtensibleItemImpl
-
Nested 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
Fields Modifier and Type Field Description static java.lang.StringACTIONQualifier of theReturnEntry.actionattributeprotected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringEXPECTEDQUANTITYQualifier of theReturnEntry.expectedQuantityattributestatic java.lang.StringNOTESQualifier of theReturnEntry.notesattributestatic java.lang.StringORDERENTRYQualifier of theReturnEntry.orderEntryattributestatic java.lang.StringREACHEDDATEQualifier of theReturnEntry.reachedDateattributestatic java.lang.StringRECEIVEDQUANTITYQualifier of theReturnEntry.receivedQuantityattributestatic java.lang.StringRETURNREQUESTQualifier of theReturnEntry.returnRequestattributeprotected static BidirectionalOneToManyHandler<GeneratedReturnEntry>RETURNREQUESTHANDLERBidirectionalOneToManyHandlerfor handling 1:n RETURNREQUEST's relation attributes from 'one' side.static java.lang.StringRETURNREQUESTPOSQualifier of theReturnEntry.returnRequestPOSattributestatic java.lang.StringSTATUSQualifier of theReturnEntry.statusattributestatic java.lang.StringTAXQualifier of theReturnEntry.taxattribute-
Fields inherited from class de.hybris.platform.jalo.c2l.LocalizableItem
LANGUAGE_FALLBACK_ENABLED
-
Fields 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, TYPE
-
Fields inherited from class de.hybris.platform.util.BridgeAbstraction
impl, tenant
-
-
Constructor Summary
Constructors Constructor Description GeneratedReturnEntry()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.EnumerationValuegetAction()Generated method - Getter of theReturnEntry.actionattribute.EnumerationValuegetAction(SessionContext ctx)Generated method - Getter of theReturnEntry.actionattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.lang.LonggetExpectedQuantity()Generated method - Getter of theReturnEntry.expectedQuantityattribute.java.lang.LonggetExpectedQuantity(SessionContext ctx)Generated method - Getter of theReturnEntry.expectedQuantityattribute.longgetExpectedQuantityAsPrimitive()Generated method - Getter of theReturnEntry.expectedQuantityattribute.longgetExpectedQuantityAsPrimitive(SessionContext ctx)Generated method - Getter of theReturnEntry.expectedQuantityattribute.java.lang.StringgetNotes()Generated method - Getter of theReturnEntry.notesattribute.java.lang.StringgetNotes(SessionContext ctx)Generated method - Getter of theReturnEntry.notesattribute.AbstractOrderEntrygetOrderEntry()Generated method - Getter of theReturnEntry.orderEntryattribute.AbstractOrderEntrygetOrderEntry(SessionContext ctx)Generated method - Getter of theReturnEntry.orderEntryattribute.java.util.DategetReachedDate()Generated method - Getter of theReturnEntry.reachedDateattribute.java.util.DategetReachedDate(SessionContext ctx)Generated method - Getter of theReturnEntry.reachedDateattribute.java.lang.LonggetReceivedQuantity()Generated method - Getter of theReturnEntry.receivedQuantityattribute.java.lang.LonggetReceivedQuantity(SessionContext ctx)Generated method - Getter of theReturnEntry.receivedQuantityattribute.longgetReceivedQuantityAsPrimitive()Generated method - Getter of theReturnEntry.receivedQuantityattribute.longgetReceivedQuantityAsPrimitive(SessionContext ctx)Generated method - Getter of theReturnEntry.receivedQuantityattribute.ReturnRequestgetReturnRequest()Generated method - Getter of theReturnEntry.returnRequestattribute.ReturnRequestgetReturnRequest(SessionContext ctx)Generated method - Getter of theReturnEntry.returnRequestattribute.EnumerationValuegetStatus()Generated method - Getter of theReturnEntry.statusattribute.EnumerationValuegetStatus(SessionContext ctx)Generated method - Getter of theReturnEntry.statusattribute.java.math.BigDecimalgetTax()Generated method - Getter of theReturnEntry.taxattribute.java.math.BigDecimalgetTax(SessionContext ctx)Generated method - Getter of theReturnEntry.taxattribute.voidsetAction(EnumerationValue value)Generated method - Setter of theReturnEntry.actionattribute.voidsetAction(SessionContext ctx, EnumerationValue value)Generated method - Setter of theReturnEntry.actionattribute.voidsetExpectedQuantity(long value)Generated method - Setter of theReturnEntry.expectedQuantityattribute.voidsetExpectedQuantity(SessionContext ctx, long value)Generated method - Setter of theReturnEntry.expectedQuantityattribute.voidsetExpectedQuantity(SessionContext ctx, java.lang.Long value)Generated method - Setter of theReturnEntry.expectedQuantityattribute.voidsetExpectedQuantity(java.lang.Long value)Generated method - Setter of theReturnEntry.expectedQuantityattribute.voidsetNotes(SessionContext ctx, java.lang.String value)Generated method - Setter of theReturnEntry.notesattribute.voidsetNotes(java.lang.String value)Generated method - Setter of theReturnEntry.notesattribute.voidsetOrderEntry(AbstractOrderEntry value)Generated method - Setter of theReturnEntry.orderEntryattribute.voidsetOrderEntry(SessionContext ctx, AbstractOrderEntry value)Generated method - Setter of theReturnEntry.orderEntryattribute.voidsetReachedDate(SessionContext ctx, java.util.Date value)Generated method - Setter of theReturnEntry.reachedDateattribute.voidsetReachedDate(java.util.Date value)Generated method - Setter of theReturnEntry.reachedDateattribute.voidsetReceivedQuantity(long value)Generated method - Setter of theReturnEntry.receivedQuantityattribute.voidsetReceivedQuantity(SessionContext ctx, long value)Generated method - Setter of theReturnEntry.receivedQuantityattribute.voidsetReceivedQuantity(SessionContext ctx, java.lang.Long value)Generated method - Setter of theReturnEntry.receivedQuantityattribute.voidsetReceivedQuantity(java.lang.Long value)Generated method - Setter of theReturnEntry.receivedQuantityattribute.voidsetReturnRequest(SessionContext ctx, ReturnRequest value)Generated method - Setter of theReturnEntry.returnRequestattribute.voidsetReturnRequest(ReturnRequest value)Generated method - Setter of theReturnEntry.returnRequestattribute.voidsetStatus(EnumerationValue value)Generated method - Setter of theReturnEntry.statusattribute.voidsetStatus(SessionContext ctx, EnumerationValue value)Generated method - Setter of theReturnEntry.statusattribute.voidsetTax(SessionContext ctx, java.math.BigDecimal value)Generated method - Setter of theReturnEntry.taxattribute.voidsetTax(java.math.BigDecimal value)Generated method - Setter of theReturnEntry.taxattribute.-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, getInitialProperties, getNonInitialAttributes, getRelatedItems, setRelatedItems
-
Methods 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, setLocalizedProperty
-
Methods inherited from class de.hybris.platform.jalo.ExtensibleItem
createNonClassAccessor, getAllProperties, getAllProperties, getProperty, getProperty, getPropertyNames, getPropertyNames, removeProperty, removeProperty, setAllProperties, setAllProperties, setProperty, setProperty
-
Methods 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, 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, toString, useTA, writeReplace
-
Methods inherited from class de.hybris.platform.util.BridgeAbstraction
setTenant
-
-
-
-
Field Detail
-
ORDERENTRY
public static final java.lang.String ORDERENTRY
Qualifier of theReturnEntry.orderEntryattribute- See Also:
- Constant Field Values
-
EXPECTEDQUANTITY
public static final java.lang.String EXPECTEDQUANTITY
Qualifier of theReturnEntry.expectedQuantityattribute- See Also:
- Constant Field Values
-
RECEIVEDQUANTITY
public static final java.lang.String RECEIVEDQUANTITY
Qualifier of theReturnEntry.receivedQuantityattribute- See Also:
- Constant Field Values
-
REACHEDDATE
public static final java.lang.String REACHEDDATE
Qualifier of theReturnEntry.reachedDateattribute- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Qualifier of theReturnEntry.statusattribute- See Also:
- Constant Field Values
-
ACTION
public static final java.lang.String ACTION
Qualifier of theReturnEntry.actionattribute- See Also:
- Constant Field Values
-
NOTES
public static final java.lang.String NOTES
Qualifier of theReturnEntry.notesattribute- See Also:
- Constant Field Values
-
TAX
public static final java.lang.String TAX
Qualifier of theReturnEntry.taxattribute- See Also:
- Constant Field Values
-
RETURNREQUESTPOS
public static final java.lang.String RETURNREQUESTPOS
Qualifier of theReturnEntry.returnRequestPOSattribute- See Also:
- Constant Field Values
-
RETURNREQUEST
public static final java.lang.String RETURNREQUEST
Qualifier of theReturnEntry.returnRequestattribute- See Also:
- Constant Field Values
-
RETURNREQUESTHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedReturnEntry> RETURNREQUESTHANDLER
BidirectionalOneToManyHandlerfor handling 1:n RETURNREQUEST's relation attributes from 'one' side.
-
DEFAULT_INITIAL_ATTRIBUTES
protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
-
-
Method Detail
-
getDefaultAttributeModes
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
- Overrides:
getDefaultAttributeModesin classItem
-
getAction
public EnumerationValue getAction(SessionContext ctx)
Generated method - Getter of theReturnEntry.actionattribute.- Returns:
- the action
-
getAction
public EnumerationValue getAction()
Generated method - Getter of theReturnEntry.actionattribute.- Returns:
- the action
-
setAction
public void setAction(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theReturnEntry.actionattribute.- Parameters:
value- the action
-
setAction
public void setAction(EnumerationValue value)
Generated method - Setter of theReturnEntry.actionattribute.- Parameters:
value- the action
-
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
-
getExpectedQuantity
public java.lang.Long getExpectedQuantity(SessionContext ctx)
Generated method - Getter of theReturnEntry.expectedQuantityattribute.- Returns:
- the expectedQuantity
-
getExpectedQuantity
public java.lang.Long getExpectedQuantity()
Generated method - Getter of theReturnEntry.expectedQuantityattribute.- Returns:
- the expectedQuantity
-
getExpectedQuantityAsPrimitive
public long getExpectedQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of theReturnEntry.expectedQuantityattribute.- Returns:
- the expectedQuantity
-
getExpectedQuantityAsPrimitive
public long getExpectedQuantityAsPrimitive()
Generated method - Getter of theReturnEntry.expectedQuantityattribute.- Returns:
- the expectedQuantity
-
setExpectedQuantity
public void setExpectedQuantity(SessionContext ctx, java.lang.Long value)
Generated method - Setter of theReturnEntry.expectedQuantityattribute.- Parameters:
value- the expectedQuantity
-
setExpectedQuantity
public void setExpectedQuantity(java.lang.Long value)
Generated method - Setter of theReturnEntry.expectedQuantityattribute.- Parameters:
value- the expectedQuantity
-
setExpectedQuantity
public void setExpectedQuantity(SessionContext ctx, long value)
Generated method - Setter of theReturnEntry.expectedQuantityattribute.- Parameters:
value- the expectedQuantity
-
setExpectedQuantity
public void setExpectedQuantity(long value)
Generated method - Setter of theReturnEntry.expectedQuantityattribute.- Parameters:
value- the expectedQuantity
-
getNotes
public java.lang.String getNotes(SessionContext ctx)
Generated method - Getter of theReturnEntry.notesattribute.- Returns:
- the notes
-
getNotes
public java.lang.String getNotes()
Generated method - Getter of theReturnEntry.notesattribute.- Returns:
- the notes
-
setNotes
public void setNotes(SessionContext ctx, java.lang.String value)
Generated method - Setter of theReturnEntry.notesattribute.- Parameters:
value- the notes
-
setNotes
public void setNotes(java.lang.String value)
Generated method - Setter of theReturnEntry.notesattribute.- Parameters:
value- the notes
-
getOrderEntry
public AbstractOrderEntry getOrderEntry(SessionContext ctx)
Generated method - Getter of theReturnEntry.orderEntryattribute.- Returns:
- the orderEntry
-
getOrderEntry
public AbstractOrderEntry getOrderEntry()
Generated method - Getter of theReturnEntry.orderEntryattribute.- Returns:
- the orderEntry
-
setOrderEntry
public void setOrderEntry(SessionContext ctx, AbstractOrderEntry value)
Generated method - Setter of theReturnEntry.orderEntryattribute.- Parameters:
value- the orderEntry
-
setOrderEntry
public void setOrderEntry(AbstractOrderEntry value)
Generated method - Setter of theReturnEntry.orderEntryattribute.- Parameters:
value- the orderEntry
-
getReachedDate
public java.util.Date getReachedDate(SessionContext ctx)
Generated method - Getter of theReturnEntry.reachedDateattribute.- Returns:
- the reachedDate
-
getReachedDate
public java.util.Date getReachedDate()
Generated method - Getter of theReturnEntry.reachedDateattribute.- Returns:
- the reachedDate
-
setReachedDate
public void setReachedDate(SessionContext ctx, java.util.Date value)
Generated method - Setter of theReturnEntry.reachedDateattribute.- Parameters:
value- the reachedDate
-
setReachedDate
public void setReachedDate(java.util.Date value)
Generated method - Setter of theReturnEntry.reachedDateattribute.- Parameters:
value- the reachedDate
-
getReceivedQuantity
public java.lang.Long getReceivedQuantity(SessionContext ctx)
Generated method - Getter of theReturnEntry.receivedQuantityattribute.- Returns:
- the receivedQuantity
-
getReceivedQuantity
public java.lang.Long getReceivedQuantity()
Generated method - Getter of theReturnEntry.receivedQuantityattribute.- Returns:
- the receivedQuantity
-
getReceivedQuantityAsPrimitive
public long getReceivedQuantityAsPrimitive(SessionContext ctx)
Generated method - Getter of theReturnEntry.receivedQuantityattribute.- Returns:
- the receivedQuantity
-
getReceivedQuantityAsPrimitive
public long getReceivedQuantityAsPrimitive()
Generated method - Getter of theReturnEntry.receivedQuantityattribute.- Returns:
- the receivedQuantity
-
setReceivedQuantity
public void setReceivedQuantity(SessionContext ctx, java.lang.Long value)
Generated method - Setter of theReturnEntry.receivedQuantityattribute.- Parameters:
value- the receivedQuantity
-
setReceivedQuantity
public void setReceivedQuantity(java.lang.Long value)
Generated method - Setter of theReturnEntry.receivedQuantityattribute.- Parameters:
value- the receivedQuantity
-
setReceivedQuantity
public void setReceivedQuantity(SessionContext ctx, long value)
Generated method - Setter of theReturnEntry.receivedQuantityattribute.- Parameters:
value- the receivedQuantity
-
setReceivedQuantity
public void setReceivedQuantity(long value)
Generated method - Setter of theReturnEntry.receivedQuantityattribute.- Parameters:
value- the receivedQuantity
-
getReturnRequest
public ReturnRequest getReturnRequest(SessionContext ctx)
Generated method - Getter of theReturnEntry.returnRequestattribute.- Returns:
- the returnRequest
-
getReturnRequest
public ReturnRequest getReturnRequest()
Generated method - Getter of theReturnEntry.returnRequestattribute.- Returns:
- the returnRequest
-
setReturnRequest
public void setReturnRequest(SessionContext ctx, ReturnRequest value)
Generated method - Setter of theReturnEntry.returnRequestattribute.- Parameters:
value- the returnRequest
-
setReturnRequest
public void setReturnRequest(ReturnRequest value)
Generated method - Setter of theReturnEntry.returnRequestattribute.- Parameters:
value- the returnRequest
-
getStatus
public EnumerationValue getStatus(SessionContext ctx)
Generated method - Getter of theReturnEntry.statusattribute.- Returns:
- the status
-
getStatus
public EnumerationValue getStatus()
Generated method - Getter of theReturnEntry.statusattribute.- Returns:
- the status
-
setStatus
public void setStatus(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theReturnEntry.statusattribute.- Parameters:
value- the status
-
setStatus
public void setStatus(EnumerationValue value)
Generated method - Setter of theReturnEntry.statusattribute.- Parameters:
value- the status
-
getTax
public java.math.BigDecimal getTax(SessionContext ctx)
Generated method - Getter of theReturnEntry.taxattribute.- Returns:
- the tax - Total tax value for the ReturnEntry.
-
getTax
public java.math.BigDecimal getTax()
Generated method - Getter of theReturnEntry.taxattribute.- Returns:
- the tax - Total tax value for the ReturnEntry.
-
setTax
public void setTax(SessionContext ctx, java.math.BigDecimal value)
Generated method - Setter of theReturnEntry.taxattribute.- Parameters:
value- the tax - Total tax value for the ReturnEntry.
-
setTax
public void setTax(java.math.BigDecimal value)
Generated method - Setter of theReturnEntry.taxattribute.- Parameters:
value- the tax - Total tax value for the ReturnEntry.
-
-