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 String |
ACTIONS
Qualifier of the
WorkflowItemAttachment.actions attribute |
static String |
ACTIONSTR
Qualifier of the
WorkflowItemAttachment.actionStr attribute |
static String |
CODE
Qualifier of the
WorkflowItemAttachment.code attribute |
static String |
COMMENT
Qualifier of the
WorkflowItemAttachment.comment attribute |
protected static Map<String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static String |
ITEM
Qualifier of the
WorkflowItemAttachment.item attribute |
static String |
NAME
Qualifier of the
WorkflowItemAttachment.name attribute |
static String |
TYPEOFITEM
Qualifier of the
WorkflowItemAttachment.typeOfItem attribute |
static String |
WORKFLOW
Qualifier of the
WorkflowItemAttachment.workflow attribute |
protected static String |
WORKFLOWACTIONITEMATTACHMENTRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for WorkflowActionItemAttachmentRelation from ((workflow))
|
protected static String |
WORKFLOWACTIONITEMATTACHMENTRELATION_SRC_ORDERED
Relation ordering override parameter constants for WorkflowActionItemAttachmentRelation from ((workflow))
|
protected static String |
WORKFLOWACTIONITEMATTACHMENTRELATION_TGT_ORDERED |
protected static BidirectionalOneToManyHandler<GeneratedWorkflowItemAttachment> |
WORKFLOWHANDLER
BidirectionalOneToManyHandler for handling 1:n WORKFLOW's relation attributes from 'one' side. |
static 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.
|
Collection<WorkflowAction> |
getActions()
Generated method - Getter of the
WorkflowItemAttachment.actions attribute. |
Collection<WorkflowAction> |
getActions(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.actions attribute. |
long |
getActionsCount() |
long |
getActionsCount(SessionContext ctx) |
String |
getActionStr()
Generated method - Getter of the
WorkflowItemAttachment.actionStr attribute. |
abstract String |
getActionStr(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.actionStr attribute. |
Map<Language,String> |
getAllName()
Generated method - Getter of the
WorkflowItemAttachment.name attribute. |
Map<Language,String> |
getAllName(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.name attribute. |
String |
getCode()
Generated method - Getter of the
WorkflowItemAttachment.code attribute. |
String |
getCode(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.code attribute. |
String |
getComment()
Generated method - Getter of the
WorkflowItemAttachment.comment attribute. |
String |
getComment(SessionContext ctx)
Generated method - Getter of the
WorkflowItemAttachment.comment attribute. |
protected Map<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. |
String |
getName()
Generated method - Getter of the
WorkflowItemAttachment.name attribute. |
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. |
void |
removeFromActions(SessionContext ctx,
WorkflowAction value)
Generated method - Removes
value from actions. |
void |
removeFromActions(WorkflowAction value)
Generated method - Removes
value from actions. |
void |
setActions(Collection<WorkflowAction> value)
Generated method - Setter of the
WorkflowItemAttachment.actions attribute. |
void |
setActions(SessionContext ctx,
Collection<WorkflowAction> value)
Generated method - Setter of the
WorkflowItemAttachment.actions attribute. |
void |
setAllName(Map<Language,String> value)
Generated method - Setter of the
WorkflowItemAttachment.name attribute. |
void |
setAllName(SessionContext ctx,
Map<Language,String> value)
Generated method - Setter of the
WorkflowItemAttachment.name attribute. |
protected void |
setCode(SessionContext ctx,
String value)
Generated method - Setter of the
WorkflowItemAttachment.code attribute. |
protected void |
setCode(String value)
Generated method - Setter of the
WorkflowItemAttachment.code attribute. |
void |
setComment(SessionContext ctx,
String value)
Generated method - Setter of the
WorkflowItemAttachment.comment attribute. |
void |
setComment(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,
String value)
Generated method - Setter of the
WorkflowItemAttachment.name attribute. |
void |
setName(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, 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
WorkflowItemAttachment.code attributepublic static final String NAME
WorkflowItemAttachment.name attributepublic static final String COMMENT
WorkflowItemAttachment.comment attributepublic static final String ITEM
WorkflowItemAttachment.item attributepublic static final String TYPEOFITEM
WorkflowItemAttachment.typeOfItem attributepublic static final String ACTIONSTR
WorkflowItemAttachment.actionStr attributepublic static final String WORKFLOWPOS
WorkflowItemAttachment.workflowPOS attributepublic static final String WORKFLOW
WorkflowItemAttachment.workflow attributepublic static final String ACTIONS
WorkflowItemAttachment.actions attributeprotected static String WORKFLOWACTIONITEMATTACHMENTRELATION_SRC_ORDERED
protected static String WORKFLOWACTIONITEMATTACHMENTRELATION_TGT_ORDERED
protected static String WORKFLOWACTIONITEMATTACHMENTRELATION_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedWorkflowItemAttachment> WORKFLOWHANDLER
BidirectionalOneToManyHandler for handling 1:n WORKFLOW's relation attributes from 'one' side.protected static final Map<String,Item.AttributeMode> DEFAULT_INITIAL_ATTRIBUTES
protected Map<String,Item.AttributeMode> getDefaultAttributeModes()
getDefaultAttributeModes in class Itempublic Collection<WorkflowAction> getActions(SessionContext ctx)
WorkflowItemAttachment.actions attribute.public Collection<WorkflowAction> getActions()
WorkflowItemAttachment.actions attribute.public long getActionsCount(SessionContext ctx)
public long getActionsCount()
public void setActions(SessionContext ctx, 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(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 String getActionStr(SessionContext ctx)
WorkflowItemAttachment.actionStr attribute.public String getActionStr()
WorkflowItemAttachment.actionStr attribute.public String getCode(SessionContext ctx)
WorkflowItemAttachment.code attribute.public String getCode()
WorkflowItemAttachment.code attribute.protected void setCode(SessionContext ctx, String value)
WorkflowItemAttachment.code attribute.value - the code - identifier of this attachment; will be generated if not setprotected void setCode(String value)
WorkflowItemAttachment.code attribute.value - the code - identifier of this attachment; will be generated if not setpublic String getComment(SessionContext ctx)
WorkflowItemAttachment.comment attribute.public String getComment()
WorkflowItemAttachment.comment attribute.public void setComment(SessionContext ctx, String value)
WorkflowItemAttachment.comment attribute.value - the comment - a comment containing some notes either by creator or processorpublic void setComment(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 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 String getName(SessionContext ctx)
WorkflowItemAttachment.name attribute.public String getName()
WorkflowItemAttachment.name attribute.public Map<Language,String> getAllName(SessionContext ctx)
WorkflowItemAttachment.name attribute.public Map<Language,String> getAllName()
WorkflowItemAttachment.name attribute.public void setName(SessionContext ctx, String value)
WorkflowItemAttachment.name attribute.value - the name - name of the attachmentpublic void setName(String value)
WorkflowItemAttachment.name attribute.value - the name - name of the attachmentpublic void setAllName(SessionContext ctx, Map<Language,String> value)
WorkflowItemAttachment.name attribute.value - the name - name of the attachmentpublic void setAllName(Map<Language,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 © 2017 SAP SE. All Rights Reserved.