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.String
ACTIVATED
Qualifier of theWorkflowAction.activated
attributestatic java.lang.String
ATTACHMENTITEMS
Qualifier of theWorkflowAction.attachmentItems
attributestatic java.lang.String
ATTACHMENTS
Qualifier of theWorkflowAction.attachments
attributestatic java.lang.String
COMMENT
Qualifier of theWorkflowAction.comment
attributestatic java.lang.String
DECISIONS
Qualifier of theWorkflowAction.decisions
attributeprotected static OneToManyHandler<WorkflowDecision>
DECISIONSHANDLER
OneToManyHandler
for handling 1:n DECISIONS's relation attributes from 'many' side.protected static java.util.Map<java.lang.String,Item.AttributeMode>
DEFAULT_INITIAL_ATTRIBUTES
static java.lang.String
FIRSTACTIVATED
Qualifier of theWorkflowAction.firstActivated
attributestatic java.lang.String
INCOMINGDECISIONS
Qualifier of theWorkflowAction.incomingDecisions
attributestatic java.lang.String
INCOMINGLINKS
Qualifier of theWorkflowAction.incomingLinks
attributestatic java.lang.String
INCOMINGLINKSSTR
Qualifier of theWorkflowAction.incomingLinksStr
attributestatic java.lang.String
SELECTEDDECISION
Qualifier of theWorkflowAction.selectedDecision
attributestatic java.lang.String
STATUS
Qualifier of theWorkflowAction.status
attributestatic java.lang.String
TEMPLATE
Qualifier of theWorkflowAction.template
attributestatic java.lang.String
WORKFLOW
Qualifier of theWorkflowAction.workflow
attributeprotected 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 java.lang.String
WORKFLOWACTIONLINKRELATION_MARKMODIFIED
Relation disable markmodifed parameter constants for WorkflowActionLinkRelation from ((workflow))protected static java.lang.String
WORKFLOWACTIONLINKRELATION_SRC_ORDERED
Relation ordering override parameter constants for WorkflowActionLinkRelation from ((workflow))protected static java.lang.String
WORKFLOWACTIONLINKRELATION_TGT_ORDERED
protected static BidirectionalOneToManyHandler<GeneratedWorkflowAction>
WORKFLOWHANDLER
BidirectionalOneToManyHandler
for handling 1:n WORKFLOW's relation attributes from 'one' side.static java.lang.String
WORKFLOWPOS
Qualifier of theWorkflowAction.workflowPOS
attribute-
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 void
addToAttachments(SessionContext ctx, WorkflowItemAttachment value)
Generated method - Addsvalue
to attachments.void
addToAttachments(WorkflowItemAttachment value)
Generated method - Addsvalue
to attachments.void
addToDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Addsvalue
to decisions.void
addToDecisions(WorkflowDecision value)
Generated method - Addsvalue
to decisions.void
addToIncomingDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Addsvalue
to incomingDecisions.void
addToIncomingDecisions(WorkflowDecision value)
Generated method - Addsvalue
to incomingDecisions.protected Item
createItem(SessionContext ctx, ComposedType type, Item.ItemAttributeMap allAttributes)
Has to be implemented for each concrete subtype of item.java.util.Date
getActivated()
Generated method - Getter of theWorkflowAction.activated
attribute.java.util.Date
getActivated(SessionContext ctx)
Generated method - Getter of theWorkflowAction.activated
attribute.java.util.List<Item>
getAttachmentItems()
Generated method - Getter of theWorkflowAction.attachmentItems
attribute.abstract java.util.List<Item>
getAttachmentItems(SessionContext ctx)
Generated method - Getter of theWorkflowAction.attachmentItems
attribute.java.util.List<WorkflowItemAttachment>
getAttachments()
Generated method - Getter of theWorkflowAction.attachments
attribute.java.util.List<WorkflowItemAttachment>
getAttachments(SessionContext ctx)
Generated method - Getter of theWorkflowAction.attachments
attribute.long
getAttachmentsCount()
long
getAttachmentsCount(SessionContext ctx)
java.lang.String
getComment()
Generated method - Getter of theWorkflowAction.comment
attribute.java.lang.String
getComment(SessionContext ctx)
Generated method - Getter of theWorkflowAction.comment
attribute.java.util.Collection<WorkflowDecision>
getDecisions()
Generated method - Getter of theWorkflowAction.decisions
attribute.java.util.Collection<WorkflowDecision>
getDecisions(SessionContext ctx)
Generated method - Getter of theWorkflowAction.decisions
attribute.protected java.util.Map<java.lang.String,Item.AttributeMode>
getDefaultAttributeModes()
java.util.Date
getFirstActivated()
Generated method - Getter of theWorkflowAction.firstActivated
attribute.java.util.Date
getFirstActivated(SessionContext ctx)
Generated method - Getter of theWorkflowAction.firstActivated
attribute.java.util.Collection<WorkflowDecision>
getIncomingDecisions()
Generated method - Getter of theWorkflowAction.incomingDecisions
attribute.java.util.Collection<WorkflowDecision>
getIncomingDecisions(SessionContext ctx)
Generated method - Getter of theWorkflowAction.incomingDecisions
attribute.long
getIncomingDecisionsCount()
long
getIncomingDecisionsCount(SessionContext ctx)
java.util.List<Link>
getIncomingLinks()
Generated method - Getter of theWorkflowAction.incomingLinks
attribute.abstract java.util.List<Link>
getIncomingLinks(SessionContext ctx)
Generated method - Getter of theWorkflowAction.incomingLinks
attribute.java.lang.String
getIncomingLinksStr()
Generated method - Getter of theWorkflowAction.incomingLinksStr
attribute.abstract java.lang.String
getIncomingLinksStr(SessionContext ctx)
Generated method - Getter of theWorkflowAction.incomingLinksStr
attribute.WorkflowDecision
getSelectedDecision()
Generated method - Getter of theWorkflowAction.selectedDecision
attribute.WorkflowDecision
getSelectedDecision(SessionContext ctx)
Generated method - Getter of theWorkflowAction.selectedDecision
attribute.EnumerationValue
getStatus()
Generated method - Getter of theWorkflowAction.status
attribute.EnumerationValue
getStatus(SessionContext ctx)
Generated method - Getter of theWorkflowAction.status
attribute.WorkflowActionTemplate
getTemplate()
Generated method - Getter of theWorkflowAction.template
attribute.WorkflowActionTemplate
getTemplate(SessionContext ctx)
Generated method - Getter of theWorkflowAction.template
attribute.Workflow
getWorkflow()
Generated method - Getter of theWorkflowAction.workflow
attribute.Workflow
getWorkflow(SessionContext ctx)
Generated method - Getter of theWorkflowAction.workflow
attribute.boolean
isMarkModifiedDisabled(Item referencedItem)
void
removeFromAttachments(SessionContext ctx, WorkflowItemAttachment value)
Generated method - Removesvalue
from attachments.void
removeFromAttachments(WorkflowItemAttachment value)
Generated method - Removesvalue
from attachments.void
removeFromDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Removesvalue
from decisions.void
removeFromDecisions(WorkflowDecision value)
Generated method - Removesvalue
from decisions.void
removeFromIncomingDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Removesvalue
from incomingDecisions.void
removeFromIncomingDecisions(WorkflowDecision value)
Generated method - Removesvalue
from incomingDecisions.void
setActivated(SessionContext ctx, java.util.Date value)
Generated method - Setter of theWorkflowAction.activated
attribute.void
setActivated(java.util.Date value)
Generated method - Setter of theWorkflowAction.activated
attribute.void
setAttachments(SessionContext ctx, java.util.List<WorkflowItemAttachment> value)
Generated method - Setter of theWorkflowAction.attachments
attribute.void
setAttachments(java.util.List<WorkflowItemAttachment> value)
Generated method - Setter of theWorkflowAction.attachments
attribute.void
setComment(SessionContext ctx, java.lang.String value)
Generated method - Setter of theWorkflowAction.comment
attribute.void
setComment(java.lang.String value)
Generated method - Setter of theWorkflowAction.comment
attribute.void
setDecisions(SessionContext ctx, java.util.Collection<WorkflowDecision> value)
Generated method - Setter of theWorkflowAction.decisions
attribute.void
setDecisions(java.util.Collection<WorkflowDecision> value)
Generated method - Setter of theWorkflowAction.decisions
attribute.void
setFirstActivated(SessionContext ctx, java.util.Date value)
Generated method - Setter of theWorkflowAction.firstActivated
attribute.void
setFirstActivated(java.util.Date value)
Generated method - Setter of theWorkflowAction.firstActivated
attribute.void
setIncomingDecisions(SessionContext ctx, java.util.Collection<WorkflowDecision> value)
Generated method - Setter of theWorkflowAction.incomingDecisions
attribute.void
setIncomingDecisions(java.util.Collection<WorkflowDecision> value)
Generated method - Setter of theWorkflowAction.incomingDecisions
attribute.void
setSelectedDecision(SessionContext ctx, WorkflowDecision value)
Generated method - Setter of theWorkflowAction.selectedDecision
attribute.void
setSelectedDecision(WorkflowDecision value)
Generated method - Setter of theWorkflowAction.selectedDecision
attribute.void
setStatus(EnumerationValue value)
Generated method - Setter of theWorkflowAction.status
attribute.void
setStatus(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theWorkflowAction.status
attribute.protected void
setTemplate(SessionContext ctx, WorkflowActionTemplate value)
Generated method - Setter of theWorkflowAction.template
attribute.protected void
setTemplate(WorkflowActionTemplate value)
Generated method - Setter of theWorkflowAction.template
attribute.protected void
setWorkflow(SessionContext ctx, Workflow value)
Generated method - Setter of theWorkflowAction.workflow
attribute.protected void
setWorkflow(Workflow value)
Generated method - Setter of theWorkflowAction.workflow
attribute.-
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.incomingLinks
attribute- See Also:
- Constant Field Values
-
INCOMINGLINKSSTR
public static final java.lang.String INCOMINGLINKSSTR
Qualifier of theWorkflowAction.incomingLinksStr
attribute- See Also:
- Constant Field Values
-
SELECTEDDECISION
public static final java.lang.String SELECTEDDECISION
Qualifier of theWorkflowAction.selectedDecision
attribute- See Also:
- Constant Field Values
-
FIRSTACTIVATED
public static final java.lang.String FIRSTACTIVATED
Qualifier of theWorkflowAction.firstActivated
attribute- See Also:
- Constant Field Values
-
ACTIVATED
public static final java.lang.String ACTIVATED
Qualifier of theWorkflowAction.activated
attribute- See Also:
- Constant Field Values
-
COMMENT
public static final java.lang.String COMMENT
Qualifier of theWorkflowAction.comment
attribute- See Also:
- Constant Field Values
-
STATUS
public static final java.lang.String STATUS
Qualifier of theWorkflowAction.status
attribute- See Also:
- Constant Field Values
-
TEMPLATE
public static final java.lang.String TEMPLATE
Qualifier of theWorkflowAction.template
attribute- See Also:
- Constant Field Values
-
ATTACHMENTITEMS
public static final java.lang.String ATTACHMENTITEMS
Qualifier of theWorkflowAction.attachmentItems
attribute- See Also:
- Constant Field Values
-
WORKFLOWPOS
public static final java.lang.String WORKFLOWPOS
Qualifier of theWorkflowAction.workflowPOS
attribute- See Also:
- Constant Field Values
-
WORKFLOW
public static final java.lang.String WORKFLOW
Qualifier of theWorkflowAction.workflow
attribute- See Also:
- Constant Field Values
-
DECISIONS
public static final java.lang.String DECISIONS
Qualifier of theWorkflowAction.decisions
attribute- See Also:
- Constant Field Values
-
INCOMINGDECISIONS
public static final java.lang.String INCOMINGDECISIONS
Qualifier of theWorkflowAction.incomingDecisions
attribute- 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.attachments
attribute- 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
BidirectionalOneToManyHandler
for handling 1:n WORKFLOW's relation attributes from 'one' side.
-
DECISIONSHANDLER
protected static final OneToManyHandler<WorkflowDecision> DECISIONSHANDLER
OneToManyHandler
for 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:
getDefaultAttributeModes
in classGeneratedAbstractWorkflowAction
-
getActivated
public java.util.Date getActivated(SessionContext ctx)
Generated method - Getter of theWorkflowAction.activated
attribute.- Returns:
- the activated - date of last activation
-
getActivated
public java.util.Date getActivated()
Generated method - Getter of theWorkflowAction.activated
attribute.- Returns:
- the activated - date of last activation
-
setActivated
public void setActivated(SessionContext ctx, java.util.Date value)
Generated method - Setter of theWorkflowAction.activated
attribute.- Parameters:
value
- the activated - date of last activation
-
setActivated
public void setActivated(java.util.Date value)
Generated method - Setter of theWorkflowAction.activated
attribute.- Parameters:
value
- the activated - date of last activation
-
getAttachmentItems
public abstract java.util.List<Item> getAttachmentItems(SessionContext ctx)
Generated method - Getter of theWorkflowAction.attachmentItems
attribute.- Returns:
- the attachmentItems
-
getAttachmentItems
public java.util.List<Item> getAttachmentItems()
Generated method - Getter of theWorkflowAction.attachmentItems
attribute.- Returns:
- the attachmentItems
-
getAttachments
public java.util.List<WorkflowItemAttachment> getAttachments(SessionContext ctx)
Generated method - Getter of theWorkflowAction.attachments
attribute.- 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.attachments
attribute.- 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.attachments
attribute.- 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.attachments
attribute.- 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 - Addsvalue
to 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 - Addsvalue
to 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 - Removesvalue
from 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 - Removesvalue
from 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.comment
attribute.- 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.comment
attribute.- 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.comment
attribute.- 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.comment
attribute.- 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:Item
Has 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:
createItem
in 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.decisions
attribute.- Returns:
- the decisions - set of all possible decisions of this action
-
getDecisions
public java.util.Collection<WorkflowDecision> getDecisions()
Generated method - Getter of theWorkflowAction.decisions
attribute.- 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.decisions
attribute.- 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.decisions
attribute.- Parameters:
value
- the decisions - set of all possible decisions of this action
-
addToDecisions
public void addToDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Addsvalue
to 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 - Addsvalue
to 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 - Removesvalue
from 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 - Removesvalue
from 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.firstActivated
attribute.- 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.firstActivated
attribute.- 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.firstActivated
attribute.- 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.firstActivated
attribute.- 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.incomingDecisions
attribute.- Returns:
- the incomingDecisions
-
getIncomingDecisions
public java.util.Collection<WorkflowDecision> getIncomingDecisions()
Generated method - Getter of theWorkflowAction.incomingDecisions
attribute.- 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.incomingDecisions
attribute.- Parameters:
value
- the incomingDecisions
-
setIncomingDecisions
public void setIncomingDecisions(java.util.Collection<WorkflowDecision> value)
Generated method - Setter of theWorkflowAction.incomingDecisions
attribute.- Parameters:
value
- the incomingDecisions
-
addToIncomingDecisions
public void addToIncomingDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Addsvalue
to incomingDecisions.- Parameters:
value
- the item to add to incomingDecisions
-
addToIncomingDecisions
public void addToIncomingDecisions(WorkflowDecision value)
Generated method - Addsvalue
to incomingDecisions.- Parameters:
value
- the item to add to incomingDecisions
-
removeFromIncomingDecisions
public void removeFromIncomingDecisions(SessionContext ctx, WorkflowDecision value)
Generated method - Removesvalue
from incomingDecisions.- Parameters:
value
- the item to remove from incomingDecisions
-
removeFromIncomingDecisions
public void removeFromIncomingDecisions(WorkflowDecision value)
Generated method - Removesvalue
from incomingDecisions.- Parameters:
value
- the item to remove from incomingDecisions
-
getIncomingLinks
public abstract java.util.List<Link> getIncomingLinks(SessionContext ctx)
Generated method - Getter of theWorkflowAction.incomingLinks
attribute.- Returns:
- the incomingLinks
-
getIncomingLinks
public java.util.List<Link> getIncomingLinks()
Generated method - Getter of theWorkflowAction.incomingLinks
attribute.- Returns:
- the incomingLinks
-
getIncomingLinksStr
public abstract java.lang.String getIncomingLinksStr(SessionContext ctx)
Generated method - Getter of theWorkflowAction.incomingLinksStr
attribute.- Returns:
- the incomingLinksStr
-
getIncomingLinksStr
public java.lang.String getIncomingLinksStr()
Generated method - Getter of theWorkflowAction.incomingLinksStr
attribute.- Returns:
- the incomingLinksStr
-
isMarkModifiedDisabled
public boolean isMarkModifiedDisabled(Item referencedItem)
- Overrides:
isMarkModifiedDisabled
in classGeneratedAbstractWorkflowAction
-
getSelectedDecision
public WorkflowDecision getSelectedDecision(SessionContext ctx)
Generated method - Getter of theWorkflowAction.selectedDecision
attribute.- Returns:
- the selectedDecision - the decision chosen when the action is processed
-
getSelectedDecision
public WorkflowDecision getSelectedDecision()
Generated method - Getter of theWorkflowAction.selectedDecision
attribute.- Returns:
- the selectedDecision - the decision chosen when the action is processed
-
setSelectedDecision
public void setSelectedDecision(SessionContext ctx, WorkflowDecision value)
Generated method - Setter of theWorkflowAction.selectedDecision
attribute.- Parameters:
value
- the selectedDecision - the decision chosen when the action is processed
-
setSelectedDecision
public void setSelectedDecision(WorkflowDecision value)
Generated method - Setter of theWorkflowAction.selectedDecision
attribute.- Parameters:
value
- the selectedDecision - the decision chosen when the action is processed
-
getStatus
public EnumerationValue getStatus(SessionContext ctx)
Generated method - Getter of theWorkflowAction.status
attribute.- Returns:
- the status - the status of the action (pending, active, completed)
-
getStatus
public EnumerationValue getStatus()
Generated method - Getter of theWorkflowAction.status
attribute.- Returns:
- the status - the status of the action (pending, active, completed)
-
setStatus
public void setStatus(SessionContext ctx, EnumerationValue value)
Generated method - Setter of theWorkflowAction.status
attribute.- Parameters:
value
- the status - the status of the action (pending, active, completed)
-
setStatus
public void setStatus(EnumerationValue value)
Generated method - Setter of theWorkflowAction.status
attribute.- Parameters:
value
- the status - the status of the action (pending, active, completed)
-
getTemplate
public WorkflowActionTemplate getTemplate(SessionContext ctx)
Generated method - Getter of theWorkflowAction.template
attribute.- 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.template
attribute.- 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.template
attribute.- 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.template
attribute.- 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.workflow
attribute.- Returns:
- the workflow - workflow to which the action belongs
-
getWorkflow
public Workflow getWorkflow()
Generated method - Getter of theWorkflowAction.workflow
attribute.- Returns:
- the workflow - workflow to which the action belongs
-
setWorkflow
protected void setWorkflow(SessionContext ctx, Workflow value)
Generated method - Setter of theWorkflowAction.workflow
attribute.- Parameters:
value
- the workflow - workflow to which the action belongs
-
setWorkflow
protected void setWorkflow(Workflow value)
Generated method - Setter of theWorkflowAction.workflow
attribute.- Parameters:
value
- the workflow - workflow to which the action belongs
-
-