public abstract class GeneratedWorkflowActionTemplate extends AbstractWorkflowAction
WorkflowActionTemplate.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 |
CREATIONTYPE
Qualifier of the
WorkflowActionTemplate.creationType attribute |
static java.lang.String |
DECISIONTEMPLATES
Qualifier of the
WorkflowActionTemplate.decisionTemplates attribute |
protected static OneToManyHandler<WorkflowDecisionTemplate> |
DECISIONTEMPLATESHANDLER
OneToManyHandler for handling 1:n DECISIONTEMPLATES's relation attributes from 'many' side. |
protected static java.util.Map<java.lang.String,Item.AttributeMode> |
DEFAULT_INITIAL_ATTRIBUTES |
static java.lang.String |
INCOMINGLINKTEMPLATES
Qualifier of the
WorkflowActionTemplate.incomingLinkTemplates attribute |
static java.lang.String |
INCOMINGLINKTEMPLATESSTR
Qualifier of the
WorkflowActionTemplate.incomingLinkTemplatesStr attribute |
static java.lang.String |
INCOMINGTEMPLATEDECISIONS
Qualifier of the
WorkflowActionTemplate.incomingTemplateDecisions attribute |
static java.lang.String |
WORKFLOW
Qualifier of the
WorkflowActionTemplate.workflow attribute |
protected static java.lang.String |
WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for WorkflowActionTemplateLinkTemplateRelation from ((workflow))
|
protected static java.lang.String |
WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_SRC_ORDERED
Relation ordering override parameter constants for WorkflowActionTemplateLinkTemplateRelation from ((workflow))
|
protected static java.lang.String |
WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_TGT_ORDERED |
protected static BidirectionalOneToManyHandler<GeneratedWorkflowActionTemplate> |
WORKFLOWHANDLER
BidirectionalOneToManyHandler for handling 1:n WORKFLOW's relation attributes from 'one' side. |
static java.lang.String |
WORKFLOWPOS
Qualifier of the
WorkflowActionTemplate.workflowPOS attribute |
ACTIONTYPE, CODE, DESCRIPTION, EMAILADDRESS, NAME, PREDECESSORS, PREDECESSORSSTR, PRINCIPALASSIGNED, RENDERERTEMPLATE, SENDEMAIL, SUCCESSORS, WORKFLOWACTIONCOMMENTS, WORKFLOWACTIONCOMMENTSHANDLER, WORKFLOWACTIONORDERINGRELATION_MARKMODIFIED, WORKFLOWACTIONORDERINGRELATION_SRC_ORDERED, WORKFLOWACTIONORDERINGRELATION_TGT_ORDEREDLANGUAGE_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 |
|---|
GeneratedWorkflowActionTemplate() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToDecisionTemplates(SessionContext ctx,
WorkflowDecisionTemplate value)
Generated method - Adds
value to decisionTemplates. |
void |
addToDecisionTemplates(WorkflowDecisionTemplate value)
Generated method - Adds
value to decisionTemplates. |
void |
addToIncomingTemplateDecisions(SessionContext ctx,
WorkflowDecisionTemplate value)
Generated method - Adds
value to incomingTemplateDecisions. |
void |
addToIncomingTemplateDecisions(WorkflowDecisionTemplate value)
Generated method - Adds
value to incomingTemplateDecisions. |
protected Item |
createItem(SessionContext ctx,
ComposedType type,
Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.
|
ComposedType |
getCreationType()
Generated method - Getter of the
WorkflowActionTemplate.creationType attribute. |
abstract ComposedType |
getCreationType(SessionContext ctx)
Generated method - Getter of the
WorkflowActionTemplate.creationType attribute. |
java.util.Collection<WorkflowDecisionTemplate> |
getDecisionTemplates()
Generated method - Getter of the
WorkflowActionTemplate.decisionTemplates attribute. |
java.util.Collection<WorkflowDecisionTemplate> |
getDecisionTemplates(SessionContext ctx)
Generated method - Getter of the
WorkflowActionTemplate.decisionTemplates attribute. |
protected java.util.Map<java.lang.String,Item.AttributeMode> |
getDefaultAttributeModes() |
java.util.List<Link> |
getIncomingLinkTemplates()
Generated method - Getter of the
WorkflowActionTemplate.incomingLinkTemplates attribute. |
abstract java.util.List<Link> |
getIncomingLinkTemplates(SessionContext ctx)
Generated method - Getter of the
WorkflowActionTemplate.incomingLinkTemplates attribute. |
java.lang.String |
getIncomingLinkTemplatesStr()
Generated method - Getter of the
WorkflowActionTemplate.incomingLinkTemplatesStr attribute. |
abstract java.lang.String |
getIncomingLinkTemplatesStr(SessionContext ctx)
Generated method - Getter of the
WorkflowActionTemplate.incomingLinkTemplatesStr attribute. |
java.util.Collection<WorkflowDecisionTemplate> |
getIncomingTemplateDecisions()
Generated method - Getter of the
WorkflowActionTemplate.incomingTemplateDecisions attribute. |
java.util.Collection<WorkflowDecisionTemplate> |
getIncomingTemplateDecisions(SessionContext ctx)
Generated method - Getter of the
WorkflowActionTemplate.incomingTemplateDecisions attribute. |
long |
getIncomingTemplateDecisionsCount() |
long |
getIncomingTemplateDecisionsCount(SessionContext ctx) |
WorkflowTemplate |
getWorkflow()
Generated method - Getter of the
WorkflowActionTemplate.workflow attribute. |
WorkflowTemplate |
getWorkflow(SessionContext ctx)
Generated method - Getter of the
WorkflowActionTemplate.workflow attribute. |
boolean |
isMarkModifiedDisabled(Item referencedItem) |
void |
removeFromDecisionTemplates(SessionContext ctx,
WorkflowDecisionTemplate value)
Generated method - Removes
value from decisionTemplates. |
void |
removeFromDecisionTemplates(WorkflowDecisionTemplate value)
Generated method - Removes
value from decisionTemplates. |
void |
removeFromIncomingTemplateDecisions(SessionContext ctx,
WorkflowDecisionTemplate value)
Generated method - Removes
value from incomingTemplateDecisions. |
void |
removeFromIncomingTemplateDecisions(WorkflowDecisionTemplate value)
Generated method - Removes
value from incomingTemplateDecisions. |
void |
setCreationType(ComposedType value)
Generated method - Setter of the
WorkflowActionTemplate.creationType attribute. |
abstract void |
setCreationType(SessionContext ctx,
ComposedType value)
Generated method - Setter of the
WorkflowActionTemplate.creationType attribute. |
void |
setDecisionTemplates(java.util.Collection<WorkflowDecisionTemplate> value)
Generated method - Setter of the
WorkflowActionTemplate.decisionTemplates attribute. |
void |
setDecisionTemplates(SessionContext ctx,
java.util.Collection<WorkflowDecisionTemplate> value)
Generated method - Setter of the
WorkflowActionTemplate.decisionTemplates attribute. |
void |
setIncomingTemplateDecisions(java.util.Collection<WorkflowDecisionTemplate> value)
Generated method - Setter of the
WorkflowActionTemplate.incomingTemplateDecisions attribute. |
void |
setIncomingTemplateDecisions(SessionContext ctx,
java.util.Collection<WorkflowDecisionTemplate> value)
Generated method - Setter of the
WorkflowActionTemplate.incomingTemplateDecisions attribute. |
protected void |
setWorkflow(SessionContext ctx,
WorkflowTemplate value)
Generated method - Setter of the
WorkflowActionTemplate.workflow attribute. |
protected void |
setWorkflow(WorkflowTemplate value)
Generated method - Setter of the
WorkflowActionTemplate.workflow attribute. |
getInitialProperties, getNonInitialAttributes, getPredecessorsStr, setPrincipalAssigned, writeAutomatedComment, writeAutomatedCommentaddToPredecessors, addToPredecessors, addToSuccessors, addToSuccessors, addToWorkflowActionComments, addToWorkflowActionComments, getActionType, getActionType, getAllDescription, getAllDescription, getAllName, getAllName, getCode, getCode, getDescription, getDescription, getEmailAddress, getEmailAddress, getName, getName, getPredecessors, getPredecessors, getPredecessorsCount, getPredecessorsCount, getPredecessorsStr, getPrincipalAssigned, getPrincipalAssigned, getRendererTemplate, getRendererTemplate, getSuccessors, getSuccessors, getSuccessorsCount, getSuccessorsCount, getWorkflowActionComments, getWorkflowActionComments, isSendEmail, isSendEmail, isSendEmailAsPrimitive, isSendEmailAsPrimitive, removeFromPredecessors, removeFromPredecessors, removeFromSuccessors, removeFromSuccessors, removeFromWorkflowActionComments, removeFromWorkflowActionComments, setActionType, setActionType, setAllDescription, setAllDescription, setAllName, setAllName, setCode, setCode, setDescription, setDescription, setEmailAddress, setEmailAddress, setName, setName, setPredecessors, setPredecessors, setPrincipalAssigned, setRendererTemplate, setRendererTemplate, setSendEmail, setSendEmail, setSendEmail, setSendEmail, setSuccessors, setSuccessors, setWorkflowActionComments, setWorkflowActionCommentsgetAllLocalizedProperties, 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 INCOMINGLINKTEMPLATES
WorkflowActionTemplate.incomingLinkTemplates attributepublic static final java.lang.String INCOMINGLINKTEMPLATESSTR
WorkflowActionTemplate.incomingLinkTemplatesStr attributepublic static final java.lang.String CREATIONTYPE
WorkflowActionTemplate.creationType attributepublic static final java.lang.String WORKFLOWPOS
WorkflowActionTemplate.workflowPOS attributepublic static final java.lang.String WORKFLOW
WorkflowActionTemplate.workflow attributepublic static final java.lang.String DECISIONTEMPLATES
WorkflowActionTemplate.decisionTemplates attributepublic static final java.lang.String INCOMINGTEMPLATEDECISIONS
WorkflowActionTemplate.incomingTemplateDecisions attributeprotected static java.lang.String WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_SRC_ORDERED
protected static java.lang.String WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_TGT_ORDERED
protected static java.lang.String WORKFLOWACTIONTEMPLATELINKTEMPLATERELATION_MARKMODIFIED
protected static final BidirectionalOneToManyHandler<GeneratedWorkflowActionTemplate> WORKFLOWHANDLER
BidirectionalOneToManyHandler for handling 1:n WORKFLOW's relation attributes from 'one' side.protected static final OneToManyHandler<WorkflowDecisionTemplate> DECISIONTEMPLATESHANDLER
OneToManyHandler for handling 1:n DECISIONTEMPLATES's relation attributes from 'many' 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 GeneratedAbstractWorkflowActionprotected 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 AbstractWorkflowActionctx - 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 abstract ComposedType getCreationType(SessionContext ctx)
WorkflowActionTemplate.creationType attribute.public ComposedType getCreationType()
WorkflowActionTemplate.creationType attribute.public abstract void setCreationType(SessionContext ctx, ComposedType value)
WorkflowActionTemplate.creationType attribute.value - the creationTypepublic void setCreationType(ComposedType value)
WorkflowActionTemplate.creationType attribute.value - the creationTypepublic java.util.Collection<WorkflowDecisionTemplate> getDecisionTemplates(SessionContext ctx)
WorkflowActionTemplate.decisionTemplates attribute.public java.util.Collection<WorkflowDecisionTemplate> getDecisionTemplates()
WorkflowActionTemplate.decisionTemplates attribute.public void setDecisionTemplates(SessionContext ctx, java.util.Collection<WorkflowDecisionTemplate> value)
WorkflowActionTemplate.decisionTemplates attribute.value - the decisionTemplates - list of all decision templates of the action templatepublic void setDecisionTemplates(java.util.Collection<WorkflowDecisionTemplate> value)
WorkflowActionTemplate.decisionTemplates attribute.value - the decisionTemplates - list of all decision templates of the action templatepublic void addToDecisionTemplates(SessionContext ctx, WorkflowDecisionTemplate value)
value to decisionTemplates.value - the item to add to decisionTemplates - list of all decision templates of the action templatepublic void addToDecisionTemplates(WorkflowDecisionTemplate value)
value to decisionTemplates.value - the item to add to decisionTemplates - list of all decision templates of the action templatepublic void removeFromDecisionTemplates(SessionContext ctx, WorkflowDecisionTemplate value)
value from decisionTemplates.value - the item to remove from decisionTemplates - list of all decision templates of the action templatepublic void removeFromDecisionTemplates(WorkflowDecisionTemplate value)
value from decisionTemplates.value - the item to remove from decisionTemplates - list of all decision templates of the action templatepublic abstract java.util.List<Link> getIncomingLinkTemplates(SessionContext ctx)
WorkflowActionTemplate.incomingLinkTemplates attribute.public java.util.List<Link> getIncomingLinkTemplates()
WorkflowActionTemplate.incomingLinkTemplates attribute.public abstract java.lang.String getIncomingLinkTemplatesStr(SessionContext ctx)
WorkflowActionTemplate.incomingLinkTemplatesStr attribute.public java.lang.String getIncomingLinkTemplatesStr()
WorkflowActionTemplate.incomingLinkTemplatesStr attribute.public java.util.Collection<WorkflowDecisionTemplate> getIncomingTemplateDecisions(SessionContext ctx)
WorkflowActionTemplate.incomingTemplateDecisions attribute.public java.util.Collection<WorkflowDecisionTemplate> getIncomingTemplateDecisions()
WorkflowActionTemplate.incomingTemplateDecisions attribute.public long getIncomingTemplateDecisionsCount(SessionContext ctx)
public long getIncomingTemplateDecisionsCount()
public void setIncomingTemplateDecisions(SessionContext ctx, java.util.Collection<WorkflowDecisionTemplate> value)
WorkflowActionTemplate.incomingTemplateDecisions attribute.value - the incomingTemplateDecisionspublic void setIncomingTemplateDecisions(java.util.Collection<WorkflowDecisionTemplate> value)
WorkflowActionTemplate.incomingTemplateDecisions attribute.value - the incomingTemplateDecisionspublic void addToIncomingTemplateDecisions(SessionContext ctx, WorkflowDecisionTemplate value)
value to incomingTemplateDecisions.value - the item to add to incomingTemplateDecisionspublic void addToIncomingTemplateDecisions(WorkflowDecisionTemplate value)
value to incomingTemplateDecisions.value - the item to add to incomingTemplateDecisionspublic void removeFromIncomingTemplateDecisions(SessionContext ctx, WorkflowDecisionTemplate value)
value from incomingTemplateDecisions.value - the item to remove from incomingTemplateDecisionspublic void removeFromIncomingTemplateDecisions(WorkflowDecisionTemplate value)
value from incomingTemplateDecisions.value - the item to remove from incomingTemplateDecisionspublic boolean isMarkModifiedDisabled(Item referencedItem)
isMarkModifiedDisabled in class GeneratedAbstractWorkflowActionpublic WorkflowTemplate getWorkflow(SessionContext ctx)
WorkflowActionTemplate.workflow attribute.public WorkflowTemplate getWorkflow()
WorkflowActionTemplate.workflow attribute.protected void setWorkflow(SessionContext ctx, WorkflowTemplate value)
WorkflowActionTemplate.workflow attribute.value - the workflow - workflow template to which the action template belongsprotected void setWorkflow(WorkflowTemplate value)
WorkflowActionTemplate.workflow attribute.value - the workflow - workflow template to which the action template belongsCopyright © 2018 SAP SE. All Rights Reserved.