Package de.hybris.platform.workflow.jalo
Class GeneratedWorkflowAction
- 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.workflow.jalo.GeneratedAbstractWorkflowAction
-
- de.hybris.platform.workflow.jalo.AbstractWorkflowAction
-
- de.hybris.platform.workflow.jalo.GeneratedWorkflowAction
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable
- Direct Known Subclasses:
WorkflowAction
public abstract class GeneratedWorkflowAction extends AbstractWorkflowAction
Generated class for typeWorkflowAction.- 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.StringACTIVATEDQualifier of theWorkflowAction.activatedattributestatic java.lang.StringATTACHMENTITEMSQualifier of theWorkflowAction.attachmentItemsattributestatic java.lang.StringATTACHMENTSQualifier of theWorkflowAction.attachmentsattributestatic java.lang.StringCOMMENTQualifier of theWorkflowAction.commentattributestatic java.lang.StringDECISIONSQualifier of theWorkflowAction.decisionsattributeprotected static OneToManyHandler<WorkflowDecision>DECISIONSHANDLEROneToManyHandlerfor handling 1:n DECISIONS's relation attributes from 'many' side.protected static java.util.Map<java.lang.String,Item.AttributeMode>DEFAULT_INITIAL_ATTRIBUTESstatic java.lang.StringFIRSTACTIVATEDQualifier of theWorkflowAction.firstActivatedattributestatic java.lang.StringINCOMINGDECISIONSQualifier of theWorkflowAction.incomingDecisionsattributestatic java.lang.StringINCOMINGLINKSQualifier of theWorkflowAction.incomingLinksattributestatic java.lang.StringINCOMINGLINKSSTRQualifier of theWorkflowAction.incomingLinksStrattributestatic java.lang.StringSELECTEDDECISIONQualifier of theWorkflowAction.selectedDecisionattributestatic java.lang.StringSTATUSQualifier of theWorkflowAction.statusattributestatic java.lang.StringTEMPLATEQualifier of theWorkflowAction.templateattributestatic java.lang.StringWORKFLOWQualifier of theWorkflowAction.workflowattributeprotected static java.lang.StringWORKFLOWACTIONITEMATTACHMENTRELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for WorkflowActionItemAttachmentRelation from ((workflow))protected static java.lang.StringWORKFLOWACTIONITEMATTACHMENTRELATION_SRC_ORDEREDRelation ordering override parameter constants for WorkflowActionItemAttachmentRelation from ((workflow))protected static java.lang.StringWORKFLOWACTIONITEMATTACHMENTRELATION_TGT_ORDEREDprotected static java.lang.StringWORKFLOWACTIONLINKRELATION_MARKMODIFIEDRelation disable markmodifed parameter constants for WorkflowActionLinkRelation from ((workflow))protected static java.lang.StringWORKFLOWACTIONLINKRELATION_SRC_ORDEREDRelation ordering override parameter constants for WorkflowActionLinkRelation from ((workflow))protected static java.lang.StringWORKFLOWACTIONLINKRELATION_TGT_ORDEREDprotected static BidirectionalOneToManyHandler<GeneratedWorkflowAction>WORKFLOWHANDLERBidirectionalOneToManyHandlerfor handling 1:n WORKFLOW's relation attributes from 'one' side.static java.lang.StringWORKFLOWPOSQualifier of theWorkflowAction.workflowPOSattribute-
Fields inherited from class de.hybris.platform.workflow.jalo.GeneratedAbstractWorkflowAction
ACTIONTYPE, CODE, DESCRIPTION, EMAILADDRESS, NAME, PREDECESSORS, PREDECESSORSSTR, PRINCIPALASSIGNED, RENDERERTEMPLATE, SENDEMAIL, SUCCESSORS, WORKFLOWACTIONCOMMENTS, WORKFLOWACTIONCOMMENTSHANDLER, WORKFLOWACTIONORDERINGRELATION_MARKMODIFIED, WORKFLOWACTIONORDERINGRELATION_SRC_ORDERED, WORKFLOWACTIONORDERINGRELATION_TGT_ORDERED
-
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 GeneratedWorkflowAction()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidaddToAttachments(SessionContext ctx, WorkflowItemAttachment value)Generated method - Addsvalueto attachments.voidaddToAttachments(WorkflowItemAttachment value)Generated method - Addsvalueto attachments.voidaddToDecisions(SessionContext ctx, WorkflowDecision value)Generated method - Addsvalueto decisions.voidaddToDecisions(WorkflowDecision value)Generated method - Addsvalueto decisions.voidaddToIncomingDecisions(SessionContext ctx, WorkflowDecision value)Generated method - Addsvalueto incomingDecisions.voidaddToIncomingDecisions(WorkflowDecision value)Generated method - Addsvalueto incomingDecisions.protected ItemcreateItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)Has to be implemented for each concrete subtype of item.java.util.DategetActivated()Generated method - Getter of theWorkflowAction.activatedattribute.java.util.DategetActivated(SessionContext ctx)Generated method - Getter of theWorkflowAction.activatedattribute.java.util.List<Item>getAttachmentItems()Generated method - Getter of theWorkflowAction.attachmentItemsattribute.abstract java.util.List<Item>getAttachmentItems(SessionContext ctx)Generated method - Getter of theWorkflowAction.attachmentItemsattribute.java.util.List<WorkflowItemAttachment>getAttachments()Generated method - Getter of theWorkflowAction.attachmentsattribute.java.util.List<WorkflowItemAttachment>getAttachments(SessionContext ctx)Generated method - Getter of theWorkflowAction.attachmentsattribute.longgetAttachmentsCount()longgetAttachmentsCount(SessionContext ctx)java.lang.StringgetComment()Generated method - Getter of theWorkflowAction.commentattribute.java.lang.StringgetComment(SessionContext ctx)Generated method - Getter of theWorkflowAction.commentattribute.java.util.Collection<WorkflowDecision>getDecisions()Generated method - Getter of theWorkflowAction.decisionsattribute.java.util.Collection<WorkflowDecision>getDecisions(SessionContext ctx)Generated method - Getter of theWorkflowAction.decisionsattribute.protected java.util.Map<java.lang.String,Item.AttributeMode>getDefaultAttributeModes()java.util.DategetFirstActivated()Generated method - Getter of theWorkflowAction.firstActivatedattribute.java.util.DategetFirstActivated(SessionContext ctx)Generated method - Getter of theWorkflowAction.firstActivatedattribute.java.util.Collection<WorkflowDecision>getIncomingDecisions()Generated method - Getter of theWorkflowAction.incomingDecisionsattribute.java.util.Collection<WorkflowDecision>getIncomingDecisions(SessionContext ctx)Generated method - Getter of theWorkflowAction.incomingDecisionsattribute.longgetIncomingDecisionsCount()longgetIncomingDecisionsCount(SessionContext ctx)java.util.List<Link>getIncomingLinks()Generated method - Getter of theWorkflowAction.incomingLinksattribute.abstract java.util.List<Link>getIncomingLinks(SessionContext ctx)Generated method - Getter of theWorkflowAction.incomingLinksattribute.java.lang.StringgetIncomingLinksStr()Generated method - Getter of theWorkflowAction.incomingLinksStrattribute.abstract java.lang.StringgetIncomingLinksStr(SessionContext ctx)Generated method - Getter of theWorkflowAction.incomingLinksStrattribute.WorkflowDecisiongetSelectedDecision()Generated method - Getter of theWorkflowAction.selectedDecisionattribute.WorkflowDecisiongetSelectedDecision(SessionContext ctx)Generated method - Getter of theWorkflowAction.selectedDecisionattribute.EnumerationValuegetStatus()Generated method - Getter of theWorkflowAction.statusattribute.EnumerationValuegetStatus(SessionContext ctx)Generated method - Getter of theWorkflowAction.statusattribute.WorkflowActionTemplategetTemplate()Generated method - Getter of theWorkflowAction.templateattribute.WorkflowActionTemplategetTemplate(SessionContext ctx)Generated method - Getter of theWorkflowAction.templateattribute.WorkflowgetWorkflow()Generated method - Getter of theWorkflowAction.workflowattribute.WorkflowgetWorkflow(SessionContext ctx)Generated method - Getter of theWorkflowAction.workflowattribute.booleanisMarkModifiedDisabled(Item referencedItem)voidremoveFromAttachments(SessionContext ctx, WorkflowItemAttachment value)Generated method - Removesvaluefrom attachments.voidremoveFromAttachments(WorkflowItemAttachment value)Generated method - Removesvaluefrom attachments.voidremoveFromDecisions(SessionContext ctx, WorkflowDecision value)Generated method - Removesvaluefrom decisions.voidremoveFromDecisions(WorkflowDecision value)Generated method - Removesvaluefrom decisions.voidremoveFromIncomingDecisions(SessionContext ctx, WorkflowDecision value)Generated method - Removesvaluefrom incomingDecisions.voidremoveFromIncomingDecisions(WorkflowDecision value)Generated method - Removesvaluefrom incomingDecisions.voidsetActivated(SessionContext ctx, java.util.Date value)Generated method - Setter of theWorkflowAction.activatedattribute.voidsetActivated(java.util.Date value)Generated method - Setter of theWorkflowAction.activatedattribute.voidsetAttachments(SessionContext ctx, java.util.List<WorkflowItemAttachment> value)Generated method - Setter of theWorkflowAction.attachmentsattribute.voidsetAttachments(java.util.List<WorkflowItemAttachment> value)Generated method - Setter of theWorkflowAction.attachmentsattribute.voidsetComment(SessionContext ctx, java.lang.String value)Generated method - Setter of theWorkflowAction.commentattribute.voidsetComment(java.lang.String value)Generated method - Setter of theWorkflowAction.commentattribute.voidsetDecisions(SessionContext ctx, java.util.Collection<WorkflowDecision> value)Generated method - Setter of theWorkflowAction.decisionsattribute.voidsetDecisions(java.util.Collection<WorkflowDecision> value)Generated method - Setter of theWorkflowAction.decisionsattribute.voidsetFirstActivated(SessionContext ctx, java.util.Date value)Generated method - Setter of theWorkflowAction.firstActivatedattribute.voidsetFirstActivated(java.util.Date value)Generated method - Setter of theWorkflowAction.firstActivatedattribute.voidsetIncomingDecisions(SessionContext ctx, java.util.Collection<WorkflowDecision> value)Generated method - Setter of theWorkflowAction.incomingDecisionsattribute.voidsetIncomingDecisions(java.util.Collection<WorkflowDecision> value)Generated method - Setter of theWorkflowAction.incomingDecisionsattribute.voidsetSelectedDecision(SessionContext ctx, WorkflowDecision value)Generated method - Setter of theWorkflowAction.selectedDecisionattribute.voidsetSelectedDecision(WorkflowDecision value)Generated method - Setter of theWorkflowAction.selectedDecisionattribute.voidsetStatus(EnumerationValue value)Generated method - Setter of theWorkflowAction.statusattribute.voidsetStatus(SessionContext ctx, EnumerationValue value)Generated method - Setter of theWorkflowAction.statusattribute.protected voidsetTemplate(SessionContext ctx, WorkflowActionTemplate value)Generated method - Setter of theWorkflowAction.templateattribute.protected voidsetTemplate(WorkflowActionTemplate value)Generated method - Setter of theWorkflowAction.templateattribute.protected voidsetWorkflow(SessionContext ctx, Workflow value)Generated method - Setter of theWorkflowAction.workflowattribute.protected voidsetWorkflow(Workflow value)Generated method - Setter of theWorkflowAction.workflowattribute.-
Methods inherited from class de.hybris.platform.workflow.jalo.AbstractWorkflowAction
getInitialProperties, getNonInitialAttributes, getPredecessorsStr, setPrincipalAssigned, writeAutomatedComment, writeAutomatedComment
-
Methods inherited from class de.hybris.platform.workflow.jalo.GeneratedAbstractWorkflowAction
addToPredecessors, 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, setWorkflowActionComments
-
Methods inherited from class de.hybris.platform.jalo.GenericItem
getImplementation, 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, 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
-
INCOMINGLINKS
public static final java.lang.String INCOMINGLINKS
Qualifier of theWorkflowAction.incomingLinksattribute- See Also:
- Constant Field Values
-
INCOMINGLINKSSTR
public static final java.lang.String INCOMINGLINKSSTR
Qualifier of theWorkflowAction.incomingLinksStrattribute- See Also:
- Constant Field Values
-
SELECTEDDECISION
public static final java.lang.String SELECTEDDECISION
Qualifier of theWorkflowAction.selectedDecisionattribute- See Also:
- Constant Field Values
-
FIRSTACTIVATED
public static final java.lang.String FIRSTACTIVATED
Qualifier of theWorkflowAction.firstActivatedattribute- See Also:
- Constant Field Values
-
ACTIVATED
public static final java.lang.String ACTIVATED
Qualifier of theWorkflowAction.activatedattribute- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Qualifier of theWorkflowAction.commentattribute- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Qualifier of theWorkflowAction.statusattribute- See Also:
- Constant Field Values
-
TEMPLATE
public static final java.lang.String TEMPLATE
Qualifier of theWorkflowAction.templateattribute- See Also:
- Constant Field Values
-
ATTACHMENTITEMS
public static final java.lang.String ATTACHMENTITEMS
Qualifier of theWorkflowAction.attachmentItemsattribute- See Also:
- Constant Field Values
-
WORKFLOWPOS
public static final java.lang.String WORKFLOWPOS
Qualifier of theWorkflowAction.workflowPOSattribute- See Also:
- Constant Field Values
-
WORKFLOW
public static final java.lang.String WORKFLOW
Qualifier of theWorkflowAction.workflowattribute- See Also:
- Constant Field Values
-
DECISIONS
public static final java.lang.String DECISIONS
Qualifier of theWorkflowAction.decisionsattribute- See Also:
- Constant Field Values
-
INCOMINGDECISIONS
public static final java.lang.String INCOMINGDECISIONS
Qualifier of theWorkflowAction.incomingDecisionsattribute- See Also:
- Constant Field Values
-
WORKFLOWACTIONLINKRELATION_SRC_ORDERED
protected static java.lang.String WORKFLOWACTIONLINKRELATION_SRC_ORDERED
Relation ordering override parameter constants for WorkflowActionLinkRelation from ((workflow))
-
WORKFLOWACTIONLINKRELATION_TGT_ORDERED
protected static java.lang.String WORKFLOWACTIONLINKRELATION_TGT_ORDERED
-
WORKFLOWACTIONLINKRELATION_MARKMODIFIED
protected static java.lang.String WORKFLOWACTIONLINKRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for WorkflowActionLinkRelation from ((workflow))
-
ATTACHMENTS
public static final java.lang.String ATTACHMENTS
Qualifier of theWorkflowAction.attachmentsattribute- See Also:
- Constant Field Values
-
WORKFLOWACTIONITEMATTACHMENTRELATION_SRC_ORDERED
protected static java.lang.String WORKFLOWACTIONITEMATTACHMENTRELATION_SRC_ORDERED
Relation ordering override parameter constants for WorkflowActionItemAttachmentRelation from ((workflow))
-
WORKFLOWACTIONITEMATTACHMENTRELATION_TGT_ORDERED
protected static java.lang.String WORKFLOWACTIONITEMATTACHMENTRELATION_TGT_ORDERED
-
WORKFLOWACTIONITEMATTACHMENTRELATION_MARKMODIFIED
protected static java.lang.String WORKFLOWACTIONITEMATTACHMENTRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for WorkflowActionItemAttachmentRelation from ((workflow))
-
WORKFLOWHANDLER
protected static final BidirectionalOneToManyHandler<GeneratedWorkflowAction> WORKFLOWHANDLER
BidirectionalOneToManyHandlerfor handling 1:n WORKFLOW's relation attributes from 'one' side.
-
DECISIONSHANDLER
protected static final OneToManyHandler<WorkflowDecision> DECISIONSHANDLER
OneToManyHandlerfor handling 1:n DECISIONS's relation attributes from 'many' 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 classGeneratedAbstractWorkflowAction
-
getActivated
public java.util.Date getActivated(SessionContext ctx)
Generated method - Getter of theWorkflowAction.activatedattribute.- Returns:
- the activated - date of last activation
-
getActivated
public java.util.Date getActivated()
Generated method - Getter of theWorkflowAction.activatedattribute.- Returns:
- the activated - date of last activation
-
setActivated
public void setActivated(SessionContext ctx, java.util.Date value)
Generated method - Setter of theWorkflowAction.activatedattribute.- Parameters:
value- the activated - date of last activation
-
setActivated
public void setActivated(java.util.Date value)
Generated method - Setter of theWorkflowAction.activatedattribute.- Parameters:
value- the activated - date of last activation
-
getAttachmentItems
public abstract java.util.List<Item> getAttachmentItems(SessionContext ctx)
Generated method - Getter of theWorkflowAction.attachmentItemsattribute.- Returns:
- the attachmentItems
-
getAttachmentItems
public java.util.List<Item> getAttachmentItems()
Generated method - Getter of theWorkflowAction.attachmentItemsattribute.- Returns:
- the attachmentItems
-
getAttachments
public java.util.List<WorkflowItemAttachment> getAttachments(SessionContext ctx)
Generated method - Getter of theWorkflowAction.attachmentsattribute.- Returns:
- the attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
getAttachments
public java.util.List<WorkflowItemAttachment> getAttachments()
Generated method - Getter of theWorkflowAction.attachmentsattribute.- Returns:
- the attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
getAttachmentsCount
public long getAttachmentsCount(SessionContext ctx)
-
getAttachmentsCount
public long getAttachmentsCount()
-
setAttachments
public void setAttachments(SessionContext ctx, java.util.List<WorkflowItemAttachment> value)
Generated method - Setter of theWorkflowAction.attachmentsattribute.- Parameters:
value- the attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
setAttachments
public void setAttachments(java.util.List<WorkflowItemAttachment> value)
Generated method - Setter of theWorkflowAction.attachmentsattribute.- Parameters:
value- the attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
addToAttachments
public void addToAttachments(SessionContext ctx, WorkflowItemAttachment value)
Generated method - Addsvalueto attachments.- Parameters:
value- the item to add to attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
addToAttachments
public void addToAttachments(WorkflowItemAttachment value)
Generated method - Addsvalueto attachments.- Parameters:
value- the item to add to attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
removeFromAttachments
public void removeFromAttachments(SessionContext ctx, WorkflowItemAttachment value)
Generated method - Removesvaluefrom attachments.- Parameters:
value- the item to remove from attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
removeFromAttachments
public void removeFromAttachments(WorkflowItemAttachment value)
Generated method - Removesvaluefrom attachments.- Parameters:
value- the item to remove from attachments - part of the WorkflowActionItemAttachmentRelation; associates a set of attachments set to the related workflow of this action
-
getComment
public java.lang.String getComment(SessionContext ctx)
Generated method - Getter of theWorkflowAction.commentattribute.- Returns:
- the comment - comment of the assigned principal on the status of the action
-
getComment
public java.lang.String getComment()
Generated method - Getter of theWorkflowAction.commentattribute.- Returns:
- the comment - comment of the assigned principal on the status of the action
-
setComment
public void setComment(SessionContext ctx, java.lang.String value)
Generated method - Setter of theWorkflowAction.commentattribute.- Parameters:
value- the comment - comment of the assigned principal on the status of the action
-
setComment
public void setComment(java.lang.String value)
Generated method - Setter of theWorkflowAction.commentattribute.- Parameters:
value- the comment - comment of the assigned principal on the status of 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 classAbstractWorkflowAction- 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
-
getDecisions
public java.util.Collection<WorkflowDecision> getDecisions(SessionContext ctx)
Generated method - Getter of theWorkflowAction.decisionsattribute.- Returns:
- the decisions - set of all possible decisions of this action
-
getDecisions
public java.util.Collection<WorkflowDecision> getDecisions()
Generated method - Getter of theWorkflowAction.decisionsattribute.- Returns:
- the decisions - set of all possible decisions of this action
-
setDecisions
public void setDecisions(SessionContext ctx, java.util.Collection<WorkflowDecision> value)
Generated method - Setter of theWorkflowAction.decisionsattribute.- Parameters:
value- the decisions - set of all possible decisions of this action
-
setDecisions
public void setDecisions(java.util.Collection<WorkflowDecision> value)
Generated method - Setter of theWorkflowAction.decisionsattribute.- Parameters:
value- the decisions - set of all possible decisions of this action
-
addToDecisions
public void addToDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Addsvalueto decisions.- Parameters:
value- the item to add to decisions - set of all possible decisions of this action
-
addToDecisions
public void addToDecisions(WorkflowDecision value)
Generated method - Addsvalueto decisions.- Parameters:
value- the item to add to decisions - set of all possible decisions of this action
-
removeFromDecisions
public void removeFromDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Removesvaluefrom decisions.- Parameters:
value- the item to remove from decisions - set of all possible decisions of this action
-
removeFromDecisions
public void removeFromDecisions(WorkflowDecision value)
Generated method - Removesvaluefrom decisions.- Parameters:
value- the item to remove from decisions - set of all possible decisions of this action
-
getFirstActivated
public java.util.Date getFirstActivated(SessionContext ctx)
Generated method - Getter of theWorkflowAction.firstActivatedattribute.- Returns:
- the firstActivated - date of first activation of the action (in case of a rejected action an action can be activated twice for example)
-
getFirstActivated
public java.util.Date getFirstActivated()
Generated method - Getter of theWorkflowAction.firstActivatedattribute.- Returns:
- the firstActivated - date of first activation of the action (in case of a rejected action an action can be activated twice for example)
-
setFirstActivated
public void setFirstActivated(SessionContext ctx, java.util.Date value)
Generated method - Setter of theWorkflowAction.firstActivatedattribute.- Parameters:
value- the firstActivated - date of first activation of the action (in case of a rejected action an action can be activated twice for example)
-
setFirstActivated
public void setFirstActivated(java.util.Date value)
Generated method - Setter of theWorkflowAction.firstActivatedattribute.- Parameters:
value- the firstActivated - date of first activation of the action (in case of a rejected action an action can be activated twice for example)
-
getIncomingDecisions
public java.util.Collection<WorkflowDecision> getIncomingDecisions(SessionContext ctx)
Generated method - Getter of theWorkflowAction.incomingDecisionsattribute.- Returns:
- the incomingDecisions
-
getIncomingDecisions
public java.util.Collection<WorkflowDecision> getIncomingDecisions()
Generated method - Getter of theWorkflowAction.incomingDecisionsattribute.- Returns:
- the incomingDecisions
-
getIncomingDecisionsCount
public long getIncomingDecisionsCount(SessionContext ctx)
-
getIncomingDecisionsCount
public long getIncomingDecisionsCount()
-
setIncomingDecisions
public void setIncomingDecisions(SessionContext ctx, java.util.Collection<WorkflowDecision> value)
Generated method - Setter of theWorkflowAction.incomingDecisionsattribute.- Parameters:
value- the incomingDecisions
-
setIncomingDecisions
public void setIncomingDecisions(java.util.Collection<WorkflowDecision> value)
Generated method - Setter of theWorkflowAction.incomingDecisionsattribute.- Parameters:
value- the incomingDecisions
-
addToIncomingDecisions
public void addToIncomingDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Addsvalueto incomingDecisions.- Parameters:
value- the item to add to incomingDecisions
-
addToIncomingDecisions
public void addToIncomingDecisions(WorkflowDecision value)
Generated method - Addsvalueto incomingDecisions.- Parameters:
value- the item to add to incomingDecisions
-
removeFromIncomingDecisions
public void removeFromIncomingDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Removesvaluefrom incomingDecisions.- Parameters:
value- the item to remove from incomingDecisions
-
removeFromIncomingDecisions
public void removeFromIncomingDecisions(WorkflowDecision value)
Generated method - Removesvaluefrom incomingDecisions.- Parameters:
value- the item to remove from incomingDecisions
-
getIncomingLinks
public abstract java.util.List<Link> getIncomingLinks(SessionContext ctx)
Generated method - Getter of theWorkflowAction.incomingLinksattribute.- Returns:
- the incomingLinks
-
getIncomingLinks
public java.util.List<Link> getIncomingLinks()
Generated method - Getter of theWorkflowAction.incomingLinksattribute.- Returns:
- the incomingLinks
-
getIncomingLinksStr
public abstract java.lang.String getIncomingLinksStr(SessionContext ctx)
Generated method - Getter of theWorkflowAction.incomingLinksStrattribute.- Returns:
- the incomingLinksStr
-
getIncomingLinksStr
public java.lang.String getIncomingLinksStr()
Generated method - Getter of theWorkflowAction.incomingLinksStrattribute.- Returns:
- the incomingLinksStr
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabledin classGeneratedAbstractWorkflowAction
-
getSelectedDecision
public WorkflowDecision getSelectedDecision(SessionContext ctx)
Generated method - Getter of theWorkflowAction.selectedDecisionattribute.- Returns:
- the selectedDecision - the decision chosen when the action is processed
-
getSelectedDecision
public WorkflowDecision getSelectedDecision()
Generated method - Getter of theWorkflowAction.selectedDecisionattribute.- Returns:
- the selectedDecision - the decision chosen when the action is processed
-
setSelectedDecision
public void setSelectedDecision(SessionContext ctx, WorkflowDecision value)
Generated method - Setter of theWorkflowAction.selectedDecisionattribute.- Parameters:
value- the selectedDecision - the decision chosen when the action is processed
-
setSelectedDecision
public void setSelectedDecision(WorkflowDecision value)
Generated method - Setter of theWorkflowAction.selectedDecisionattribute.- Parameters:
value- the selectedDecision - the decision chosen when the action is processed
-
getStatus
public EnumerationValue getStatus(SessionContext ctx)
Generated method - Getter of theWorkflowAction.statusattribute.- Returns:
- the status - the status of the action (pending, active, completed)
-
getStatus
public EnumerationValue getStatus()
Generated method - Getter of theWorkflowAction.statusattribute.- Returns:
- the status - the status of the action (pending, active, completed)
-
setStatus
public void setStatus(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theWorkflowAction.statusattribute.- Parameters:
value- the status - the status of the action (pending, active, completed)
-
setStatus
public void setStatus(EnumerationValue value)
Generated method - Setter of theWorkflowAction.statusattribute.- Parameters:
value- the status - the status of the action (pending, active, completed)
-
getTemplate
public WorkflowActionTemplate getTemplate(SessionContext ctx)
Generated method - Getter of theWorkflowAction.templateattribute.- Returns:
- the template - the action template this action was created by; template defines the perform method
-
getTemplate
public WorkflowActionTemplate getTemplate()
Generated method - Getter of theWorkflowAction.templateattribute.- Returns:
- the template - the action template this action was created by; template defines the perform method
-
setTemplate
protected void setTemplate(SessionContext ctx, WorkflowActionTemplate value)
Generated method - Setter of theWorkflowAction.templateattribute.- Parameters:
value- the template - the action template this action was created by; template defines the perform method
-
setTemplate
protected void setTemplate(WorkflowActionTemplate value)
Generated method - Setter of theWorkflowAction.templateattribute.- Parameters:
value- the template - the action template this action was created by; template defines the perform method
-
getWorkflow
public Workflow getWorkflow(SessionContext ctx)
Generated method - Getter of theWorkflowAction.workflowattribute.- Returns:
- the workflow - workflow to which the action belongs
-
getWorkflow
public Workflow getWorkflow()
Generated method - Getter of theWorkflowAction.workflowattribute.- Returns:
- the workflow - workflow to which the action belongs
-
setWorkflow
protected void setWorkflow(SessionContext ctx, Workflow value)
Generated method - Setter of theWorkflowAction.workflowattribute.- Parameters:
value- the workflow - workflow to which the action belongs
-
setWorkflow
protected void setWorkflow(Workflow value)
Generated method - Setter of theWorkflowAction.workflowattribute.- Parameters:
value- the workflow - workflow to which the action belongs
-
-