public abstract class GeneratedWorkflowItemAttachment extends GenericItem
WorkflowItemAttachment.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 java.lang.String |
ACTIONS
Qualifier of the
WorkflowItemAttachment.actions attribute |
static java.lang.String |
ACTIONSTR
Qualifier of the
WorkflowItemAttachment.actionStr attribute |
static java.lang.String |
CODE
Qualifier of the
WorkflowItemAttachment.code attribute |
static java.lang.String |
COMMENT
Qualifier of the
WorkflowItemAttachment.comment attribute |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
ITEM
Qualifier of the
WorkflowItemAttachment.item attribute |
static java.lang.String |
NAME
Qualifier of the
WorkflowItemAttachment.name attribute |
static java.lang.String |
TYPEOFITEM
Qualifier of the
WorkflowItemAttachment.typeOfItem attribute |
static java.lang.String |
WORKFLOW
Qualifier of the
WorkflowItemAttachment.workflow attribute |
protected static java.lang.String |
WORKFLOWACTIONITEMATTACHMENTRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for WorkflowActionItemAttachmentRelation from ((workflow))
|
protected static java.lang.String |
WORKFLOWACTIONITEMATTACHMENTRELATION_SRC_ORDERED
Relation ordering override parameter constants for WorkflowActionItemAttachmentRelation from ((workflow))
|
protected static java.lang.String |
WORKFLOWACTIONITEMATTACHMENTRELATION_TGT_ORDERED |
protected static BidirectionalOneToManyHandler<GeneratedWorkflowItemAttachment> |
WORKFLOWHANDLER
BidirectionalOneToManyHandler for handling 1:n WORKFLOW's relation attributes from 'one' side. |
static java.lang.String |
WORKFLOWPOS
Qualifier of the
WorkflowItemAttachment.workflowPOS 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 |
|---|
GeneratedWorkflowItemAttachment() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToActions(SessionContext ctx,
WorkflowAction value)
Generated method - Adds
value to actions. |
void |
addToActions(WorkflowAction value)
Generated method - Adds
value to actions. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
java.util.Collection<WorkflowAction> |
getActions()
Generated method - Getter of the
WorkflowItemAttachment.actions attribute. |
java.util.Collection<WorkflowAction> |
getActions(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.actions attribute. |
long |
getActionsCount() |
long |
getActionsCount(SessionContext ctx) |
java.lang.String |
getActionStr()
Generated method - Getter of the
WorkflowItemAttachment.actionStr attribute. |
abstract java.lang.String |
getActionStr(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.actionStr attribute. |
java.util.Map<Language,java.lang.String> |
getAllName()
Generated method - Getter of the
WorkflowItemAttachment.name attribute. |
java.util.Map<Language,java.lang.String> |
getAllName(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.name attribute. |
java.lang.String |
getCode()
Generated method - Getter of the
WorkflowItemAttachment.code attribute. |
java.lang.String |
getCode(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.code attribute. |
java.lang.String |
getComment()
Generated method - Getter of the
WorkflowItemAttachment.comment attribute. |
java.lang.String |
getComment(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.comment attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
Item |
getItem()
Generated method - Getter of the
WorkflowItemAttachment.item attribute. |
Item |
getItem(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.item attribute. |
java.lang.String |
getName()
Generated method - Getter of the
WorkflowItemAttachment.name attribute. |
java.lang.String |
getName(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.name attribute. |
ComposedType |
getTypeOfItem()
Generated method - Getter of the
WorkflowItemAttachment.typeOfItem attribute. |
ComposedType |
getTypeOfItem(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.typeOfItem attribute. |
Workflow |
getWorkflow()
Generated method - Getter of the
WorkflowItemAttachment.workflow attribute. |
Workflow |
getWorkflow(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.workflow attribute. |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
void |
removeFromActions(SessionContext ctx,
WorkflowAction value)
Generated method - Removes
value from actions. |
void |
removeFromActions(WorkflowAction value)
Generated method - Removes
value from actions. |
void |
setActions(java.util.Collection<WorkflowAction> value)
Generated method - Setter of the
WorkflowItemAttachment.actions attribute. |
void |
setActions(SessionContext ctx,
java.util.Collection<WorkflowAction> value)
Generated method - Setter of the
WorkflowItemAttachment.actions attribute. |
void |
setAllName(java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
WorkflowItemAttachment.name attribute. |
void |
setAllName(SessionContext ctx,
java.util.Map<Language,java.lang.String> value)
Generated method - Setter of the
WorkflowItemAttachment.name attribute. |
protected void |
setCode(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
WorkflowItemAttachment.code attribute. |
protected void |
setCode(java.lang.String value)
Generated method - Setter of the
WorkflowItemAttachment.code attribute. |
void |
setComment(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
WorkflowItemAttachment.comment attribute. |
void |
setComment(java.lang.String value)
Generated method - Setter of the
WorkflowItemAttachment.comment attribute. |
void |
setItem(Item value)
Generated method - Setter of the
WorkflowItemAttachment.item attribute. |
void |
setItem(SessionContext ctx,
Item value)
Generated method - Setter of the
WorkflowItemAttachment.item attribute. |
void |
setName(SessionContext ctx,
java.lang.String value)
Generated method - Setter of the
WorkflowItemAttachment.name attribute. |
void |
setName(java.lang.String value)
Generated method - Setter of the
WorkflowItemAttachment.name attribute. |
protected void |
setWorkflow(SessionContext ctx,
Workflow value)
Generated method - Setter of the
WorkflowItemAttachment.workflow attribute. |
protected void |
setWorkflow(Workflow value)
Generated method - Setter of the
WorkflowItemAttachment.workflow 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 CODE
WorkflowItemAttachment.code attributepublic static final java.lang.String NAME
WorkflowItemAttachment.name attributepublic static final java.lang.String COMMENT
WorkflowItemAttachment.comment attributepublic static final java.lang.String ITEM
WorkflowItemAttachment.item attributepublic static final java.lang.String TYPEOFITEM
WorkflowItemAttachment.typeOfItem attributepublic static final java.lang.String ACTIONSTR
WorkflowItemAttachment.actionStr attributepublic static final java.lang.String WORKFLOWPOS
WorkflowItemAttachment.workflowPOS attributepublic static final java.lang.String WORKFLOW
WorkflowItemAttachment.workflow attributepublic static final java.lang.String ACTIONS
WorkflowItemAttachment.actions attributeprotected static java.lang.String WORKFLOWACTIONITEMATTACHMENTRELATION_SRC_ORDERED
protected static java.lang.String WORKFLOWACTIONITEMATTACHMENTRELATION_TGT_ORDERED
protected static java.lang.String WORKFLOWACTIONITEMATTACHMENTRELATION_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedWorkflowItemAttachment> WORKFLOWHANDLER
BidirectionalOneToManyHandler for handling 1:n WORKFLOW'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 Itempublic java.util.Collection<WorkflowAction> getActions(SessionContext ctx)
WorkflowItemAttachment.actions attribute.public java.util.Collection<WorkflowAction> getActions()
WorkflowItemAttachment.actions attribute.public long getActionsCount(SessionContext ctx)
public long getActionsCount()
public void setActions(SessionContext ctx, java.util.Collection<WorkflowAction> value)
WorkflowItemAttachment.actions attribute.value - the actions - part of WorkflowActionItemAttachmentRelation; references specific actions of referenced workflow for which attachment is relevant for processingpublic void setActions(java.util.Collection<WorkflowAction> value)
WorkflowItemAttachment.actions attribute.value - the actions - part of WorkflowActionItemAttachmentRelation; references specific actions of referenced workflow for which attachment is relevant for processingpublic void addToActions(SessionContext ctx, WorkflowAction value)
value to actions.value - the item to add to actions - part of WorkflowActionItemAttachmentRelation; references specific actions of referenced workflow for which attachment is relevant for processingpublic void addToActions(WorkflowAction value)
value to actions.value - the item to add to actions - part of WorkflowActionItemAttachmentRelation; references specific actions of referenced workflow for which attachment is relevant for processingpublic void removeFromActions(SessionContext ctx, WorkflowAction value)
value from actions.value - the item to remove from actions - part of WorkflowActionItemAttachmentRelation; references specific actions of referenced workflow for which attachment is relevant for processingpublic void removeFromActions(WorkflowAction value)
value from actions.value - the item to remove from actions - part of WorkflowActionItemAttachmentRelation; references specific actions of referenced workflow for which attachment is relevant for processingpublic abstract java.lang.String getActionStr(SessionContext ctx)
WorkflowItemAttachment.actionStr attribute.public java.lang.String getActionStr()
WorkflowItemAttachment.actionStr attribute.public java.lang.String getCode(SessionContext ctx)
WorkflowItemAttachment.code attribute.public java.lang.String getCode()
WorkflowItemAttachment.code attribute.protected void setCode(SessionContext ctx, java.lang.String value)
WorkflowItemAttachment.code attribute.value - the code - identifier of this attachment; will be generated if not setprotected void setCode(java.lang.String value)
WorkflowItemAttachment.code attribute.value - the code - identifier of this attachment; will be generated if not setpublic java.lang.String getComment(SessionContext ctx)
WorkflowItemAttachment.comment attribute.public java.lang.String getComment()
WorkflowItemAttachment.comment attribute.public void setComment(SessionContext ctx, java.lang.String value)
WorkflowItemAttachment.comment attribute.value - the comment - a comment containing some notes either by creator or processorpublic void setComment(java.lang.String value)
WorkflowItemAttachment.comment attribute.value - the comment - a comment containing some notes either by creator or processorprotected 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 boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class Itempublic Item getItem(SessionContext ctx)
WorkflowItemAttachment.item attribute.public Item getItem()
WorkflowItemAttachment.item attribute.public void setItem(SessionContext ctx, Item value)
WorkflowItemAttachment.item attribute.value - the item - the item this attachment referencespublic void setItem(Item value)
WorkflowItemAttachment.item attribute.value - the item - the item this attachment referencespublic java.lang.String getName(SessionContext ctx)
WorkflowItemAttachment.name attribute.public java.lang.String getName()
WorkflowItemAttachment.name attribute.public java.util.Map<Language,java.lang.String> getAllName(SessionContext ctx)
WorkflowItemAttachment.name attribute.public java.util.Map<Language,java.lang.String> getAllName()
WorkflowItemAttachment.name attribute.public void setName(SessionContext ctx, java.lang.String value)
WorkflowItemAttachment.name attribute.value - the name - name of the attachmentpublic void setName(java.lang.String value)
WorkflowItemAttachment.name attribute.value - the name - name of the attachmentpublic void setAllName(SessionContext ctx, java.util.Map<Language,java.lang.String> value)
WorkflowItemAttachment.name attribute.value - the name - name of the attachmentpublic void setAllName(java.util.Map<Language,java.lang.String> value)
WorkflowItemAttachment.name attribute.value - the name - name of the attachmentpublic ComposedType getTypeOfItem(SessionContext ctx)
WorkflowItemAttachment.typeOfItem attribute.public ComposedType getTypeOfItem()
WorkflowItemAttachment.typeOfItem attribute.public Workflow getWorkflow(SessionContext ctx)
WorkflowItemAttachment.workflow attribute.public Workflow getWorkflow()
WorkflowItemAttachment.workflow attribute.protected void setWorkflow(SessionContext ctx, Workflow value)
WorkflowItemAttachment.workflow attribute.value - the workflow - 1-part of WorkflowItemAttachmentRelation; references the related workflow this attachment belongs toprotected void setWorkflow(Workflow value)
WorkflowItemAttachment.workflow attribute.value - the workflow - 1-part of WorkflowItemAttachmentRelation; references the related workflow this attachment belongs toCopyright © 2018 SAP SE. All Rights Reserved.