|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object atg.workflow.ElementDescriptor atg.workflow.TaskDescriptor
public class TaskDescriptor
Description of a task as specified in a workflow.
Field Summary | |
---|---|
static java.lang.String |
CLASS_VERSION
|
Constructor Summary | |
---|---|
TaskDescriptor(WorkflowDescriptor pWorkflow,
java.lang.String pTaskElementId,
java.lang.String pName)
Constructs a TaskDescriptor with the given workflow, task element id, and name. |
Method Summary | |
---|---|
void |
addOutcome(OutcomeDescriptor pOutcome)
Adds a new outcome to this task description. |
void |
addWaitElementId(java.lang.String pElementId)
Adds a new wait state element id to this task description. |
boolean |
equals(java.lang.Object o)
Determines equality with another TaskDescriptor. |
AccessControlList |
getAccessControlList()
Returns the default access control list which specifies who is permitted to act on this task. |
OutcomeDescriptor |
getOutcomeByElementId(java.lang.String pOutcomeElementId)
Returns an OutcomeDescriptor for an outcome of this task with the given element id, or null if no such OutcomeDescriptor exists. |
OutcomeDescriptor |
getOutcomeByName(java.lang.String pName)
Returns an OutcomeDescriptor for an outcome of this task with the given logical name, or null if no such OutcomeDescriptor exists. |
java.util.List |
getOutcomes()
Returns the List of outcomes for this workflow. |
int |
getPriority()
Returns the default priority for this task. |
java.lang.String |
getResourceBundleName()
If resourceBundleName is null will return the workflow descriptors resourceBundleName. |
atg.workflow.AssetDescriptor |
getSubject()
Returns the AssetDescriptor object which describes this task's subject, null if the task has no subject. |
java.lang.String |
getTaskElementId()
Returns the process element id of the task element in the workflow, as it appears in the workflow definition file. |
java.util.List |
getWaitElementIds()
Returns the List of wait state element ids accumulated for this task description. |
ProcessWaitState |
getWaitState()
Returns the ProcessWaitState corresponding to this task. |
WorkflowDescriptor |
getWorkflow()
Returns the WorkflowDescriptor for the workflow that contains this task. |
int |
hashCode()
Computes the hash code for this TaskDescriptor. |
boolean |
isAssignable()
Returns the flag indicating whether this task can be assigned and/or claimed. |
void |
setAccessControlList(AccessControlList pAcl)
Sets the default access control list which specifies who is permitted to act on this task. |
void |
setAssignable(boolean pAssignable)
Sets the flag indicating whether this task can be assigned and/or claimed. |
void |
setPriority(int pPriority)
Sets the default priority for this task. |
void |
setSubject(atg.workflow.AssetDescriptor pSubject)
Sets the AssetDescriptor object which describes this task's subject. |
void |
setTaskElementId(java.lang.String pTaskElementId)
Sets the process element id of the task element in the workflow. |
java.lang.String |
toString()
Returns a String representation of this TaskDescriptor. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static java.lang.String CLASS_VERSION
Constructor Detail |
---|
public TaskDescriptor(WorkflowDescriptor pWorkflow, java.lang.String pTaskElementId, java.lang.String pName)
pWorkflow
- the WorkflowDescriptor for the workflow that
contains this taskpTaskElementId
- the process element id of the task element,
as it appears in the workflow definition filepName
- the logical name of this elementMethod Detail |
---|
public WorkflowDescriptor getWorkflow()
public java.lang.String getTaskElementId()
public void setTaskElementId(java.lang.String pTaskElementId)
public AccessControlList getAccessControlList()
public void setAccessControlList(AccessControlList pAcl)
public int getPriority()
public void setPriority(int pPriority)
public boolean isAssignable()
public void setAssignable(boolean pAssignable)
public void addOutcome(OutcomeDescriptor pOutcome)
pOutcome
- an OutcomeDescriptor for the outcome to be addedpublic java.util.List getOutcomes()
OutcomeDescriptor
public OutcomeDescriptor getOutcomeByElementId(java.lang.String pOutcomeElementId)
pOutcomeElementId
- the process element id of the outcome
element, as it appears in the workflow definition filepublic OutcomeDescriptor getOutcomeByName(java.lang.String pName)
pName
- the logical name of the outcomepublic void addWaitElementId(java.lang.String pElementId)
pElementId
- the process element id of the task outcome
event elementpublic java.util.List getWaitElementIds()
public ProcessWaitState getWaitState()
public atg.workflow.AssetDescriptor getSubject()
public void setSubject(atg.workflow.AssetDescriptor pSubject)
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String getResourceBundleName()
getResourceBundleName
in class ElementDescriptor
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |