public abstract class GeneratedOrderHistoryEntry extends GenericItem
OrderHistoryEntry.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 |
|---|---|
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
DESCRIPTION
Qualifier of the
OrderHistoryEntry.description attribute |
static java.lang.String |
DOCUMENTS
Qualifier of the
OrderHistoryEntry.documents attribute |
static java.lang.String |
EMPLOYEE
Qualifier of the
OrderHistoryEntry.employee attribute |
protected static java.lang.String |
HISTORYDOCUMENTRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for HistoryDocumentRelation from ((basecommerce))
|
protected static java.lang.String |
HISTORYDOCUMENTRELATION_SRC_ORDERED
Relation ordering override parameter constants for HistoryDocumentRelation from ((basecommerce))
|
protected static java.lang.String |
HISTORYDOCUMENTRELATION_TGT_ORDERED |
static java.lang.String |
ORDER
Qualifier of the
OrderHistoryEntry.order attribute |
protected static BidirectionalOneToManyHandler<GeneratedOrderHistoryEntry> |
ORDERHANDLER
BidirectionalOneToManyHandler for handling 1:n ORDER's relation attributes from 'one' side. |
static java.lang.String |
ORDERPOS
Qualifier of the
OrderHistoryEntry.orderPOS attribute |
static java.lang.String |
PREVIOUSORDERVERSION
Qualifier of the
OrderHistoryEntry.previousOrderVersion attribute |
static java.lang.String |
TIMESTAMP
Qualifier of the
OrderHistoryEntry.timestamp 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 |
|---|
GeneratedOrderHistoryEntry() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToDocuments(Media value)
Generated method - Adds
value to documents. |
void |
addToDocuments(SessionContext ctx,
Media value)
Generated method - Adds
value to documents. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.lang.String |
getDescription()
Generated method - Getter of the
OrderHistoryEntry.description attribute. |
java.lang.String |
getDescription(SessionContext ctx)
Generated method - Getter of the
OrderHistoryEntry.description attribute. |
java.util.Set<Media> |
getDocuments()
Generated method - Getter of the
OrderHistoryEntry.documents attribute. |
java.util.Set<Media> |
getDocuments(SessionContext ctx)
Generated method - Getter of the
OrderHistoryEntry.documents attribute. |
long |
getDocumentsCount() |
long |
getDocumentsCount(SessionContext ctx) |
Employee |
getEmployee()
Generated method - Getter of the
OrderHistoryEntry.employee attribute. |
Employee |
getEmployee(SessionContext ctx)
Generated method - Getter of the
OrderHistoryEntry.employee attribute. |
Order |
getOrder()
Generated method - Getter of the
OrderHistoryEntry.order attribute. |
Order |
getOrder(SessionContext ctx)
Generated method - Getter of the
OrderHistoryEntry.order attribute. |
Order |
getPreviousOrderVersion()
Generated method - Getter of the
OrderHistoryEntry.previousOrderVersion attribute. |
Order |
getPreviousOrderVersion(SessionContext ctx)
Generated method - Getter of the
OrderHistoryEntry.previousOrderVersion attribute. |
java.util.Date |
getTimestamp()
Generated method - Getter of the
OrderHistoryEntry.timestamp attribute. |
java.util.Date |
getTimestamp(SessionContext ctx)
Generated method - Getter of the
OrderHistoryEntry.timestamp attribute. |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
void |
removeFromDocuments(Media value)
Generated method - Removes
value from documents. |
void |
removeFromDocuments(SessionContext ctx,
Media value)
Generated method - Removes
value from documents. |
void |
setDescription(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
OrderHistoryEntry.description attribute. |
void |
setDescription(java.lang.String value)
Generated method - Setter of the
OrderHistoryEntry.description attribute. |
void |
setDocuments(SessionContext ctx,
java.util.Set<Media> value)
Generated method - Setter of the
OrderHistoryEntry.documents attribute. |
void |
setDocuments(java.util.Set<Media> value)
Generated method - Setter of the
OrderHistoryEntry.documents attribute. |
void |
setEmployee(Employee value)
Generated method - Setter of the
OrderHistoryEntry.employee attribute. |
void |
setEmployee(SessionContext ctx,
Employee value)
Generated method - Setter of the
OrderHistoryEntry.employee attribute. |
protected void |
setOrder(Order value)
Generated method - Setter of the
OrderHistoryEntry.order attribute. |
protected void |
setOrder(SessionContext ctx,
Order value)
Generated method - Setter of the
OrderHistoryEntry.order attribute. |
void |
setPreviousOrderVersion(Order value)
Generated method - Setter of the
OrderHistoryEntry.previousOrderVersion attribute. |
void |
setPreviousOrderVersion(SessionContext ctx,
Order value)
Generated method - Setter of the
OrderHistoryEntry.previousOrderVersion attribute. |
protected void |
setTimestamp(java.util.Date value)
Generated method - Setter of the
OrderHistoryEntry.timestamp attribute. |
protected void |
setTimestamp(SessionContext ctx,
java.util.Date value)
Generated method - Setter of the
OrderHistoryEntry.timestamp attribute. |
getInitialProperties, getNonInitialAttributesgetAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllLocalizedProperties, getAllValuesSessionContext, getLocalizedProperty, getLocalizedProperty, getLocalizedPropertyInternal, getLocalizedPropertyNames, getLocalizedPropertyNames, hasLanguage, isEmptyValue, isFallbackEnabled, removeLocalizedProperty, removeLocalizedProperty, setAllLocalizedProperties, setAllLocalizedProperties, setLocalizedProperty, setLocalizedPropertycreateNonClassAccessor, getAllProperties, getAllProperties, getImplementation, 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, 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, writeReplacesetTenantpublic static final java.lang.String TIMESTAMP
OrderHistoryEntry.timestamp attributepublic static final java.lang.String EMPLOYEE
OrderHistoryEntry.employee attributepublic static final java.lang.String DESCRIPTION
OrderHistoryEntry.description attributepublic static final java.lang.String PREVIOUSORDERVERSION
OrderHistoryEntry.previousOrderVersion attributepublic static final java.lang.String ORDERPOS
OrderHistoryEntry.orderPOS attributepublic static final java.lang.String ORDER
OrderHistoryEntry.order attributepublic static final java.lang.String DOCUMENTS
OrderHistoryEntry.documents attributeprotected static java.lang.String HISTORYDOCUMENTRELATION_SRC_ORDERED
protected static java.lang.String HISTORYDOCUMENTRELATION_TGT_ORDERED
protected static java.lang.String HISTORYDOCUMENTRELATION_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedOrderHistoryEntry> ORDERHANDLER
BidirectionalOneToManyHandler for handling 1:n ORDER's relation attributes from 'one' side.protected static final java.util.Map<java.lang.String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected java.util.Map<java.lang.String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itemprotected 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 java.lang.String getDescription(SessionContext ctx)
OrderHistoryEntry.description attribute.public java.lang.String getDescription()
OrderHistoryEntry.description attribute.public void setDescription(SessionContext ctx, java.lang.String value)
OrderHistoryEntry.description attribute.value - the descriptionpublic void setDescription(java.lang.String value)
OrderHistoryEntry.description attribute.value - the descriptionpublic java.util.Set<Media> getDocuments(SessionContext ctx)
OrderHistoryEntry.documents attribute.public java.util.Set<Media> getDocuments()
OrderHistoryEntry.documents attribute.public long getDocumentsCount(SessionContext ctx)
public long getDocumentsCount()
public void setDocuments(SessionContext ctx, java.util.Set<Media> value)
OrderHistoryEntry.documents attribute.value - the documentspublic void setDocuments(java.util.Set<Media> value)
OrderHistoryEntry.documents attribute.value - the documentspublic void addToDocuments(SessionContext ctx, Media value)
value to documents.value - the item to add to documentspublic void addToDocuments(Media value)
value to documents.value - the item to add to documentspublic void removeFromDocuments(SessionContext ctx, Media value)
value from documents.value - the item to remove from documentspublic void removeFromDocuments(Media value)
value from documents.value - the item to remove from documentspublic Employee getEmployee(SessionContext ctx)
OrderHistoryEntry.employee attribute.public Employee getEmployee()
OrderHistoryEntry.employee attribute.public void setEmployee(SessionContext ctx, Employee value)
OrderHistoryEntry.employee attribute.value - the employeepublic void setEmployee(Employee value)
OrderHistoryEntry.employee attribute.value - the employeepublic boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class Itempublic Order getOrder(SessionContext ctx)
OrderHistoryEntry.order attribute.public Order getOrder()
OrderHistoryEntry.order attribute.protected void setOrder(SessionContext ctx, Order value)
OrderHistoryEntry.order attribute.value - the orderprotected void setOrder(Order value)
OrderHistoryEntry.order attribute.value - the orderpublic Order getPreviousOrderVersion(SessionContext ctx)
OrderHistoryEntry.previousOrderVersion attribute.public Order getPreviousOrderVersion()
OrderHistoryEntry.previousOrderVersion attribute.public void setPreviousOrderVersion(SessionContext ctx, Order value)
OrderHistoryEntry.previousOrderVersion attribute.value - the previousOrderVersionpublic void setPreviousOrderVersion(Order value)
OrderHistoryEntry.previousOrderVersion attribute.value - the previousOrderVersionpublic java.util.Date getTimestamp(SessionContext ctx)
OrderHistoryEntry.timestamp attribute.public java.util.Date getTimestamp()
OrderHistoryEntry.timestamp attribute.protected void setTimestamp(SessionContext ctx, java.util.Date value)
OrderHistoryEntry.timestamp attribute.value - the timestampprotected void setTimestamp(java.util.Date value)
OrderHistoryEntry.timestamp attribute.value - the timestampCopyright © 2018 SAP SE. All Rights Reserved.