|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.workflow.ElementDescriptor
atg.workflow.OutcomeDescriptor
public class OutcomeDescriptor
Description of an outcome for some task as specified in a workflow.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
|
| Constructor Summary | |
|---|---|
OutcomeDescriptor(TaskDescriptor pTask,
java.lang.String pOutcomeElementId,
java.lang.String pName)
Constructs an OutcomeDescriptor with the given task, outcome element id, and name. |
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Determines equality with another OutcomeDescriptor. |
java.lang.String |
getFormURI()
Returns the URI of a form which can be used in the UI to solicit outcome-specific data, prior to firing this outcome. |
java.lang.String |
getOutcomeElementId()
Returns the process element id of the outcome element in the workflow, as it appears in the workflow definition file. |
TaskDescriptor |
getTask()
Returns the TaskDescriptor for the task to which this outcome belongs. |
int |
hashCode()
Computes the hash code for this OutcomeDescriptor. |
void |
setFormURI(java.lang.String pFormURI)
Sets the URI of a form which can be used in the UI to solicit outcome-specific data, prior to firing this outcome. |
void |
setOutcomeElementId(java.lang.String pOutcomeElementId)
Sets the process element id of the outcome element in the workflow. |
java.lang.String |
toString()
Returns a String representation of this OutcomeDescriptor. |
| Methods inherited from class atg.workflow.ElementDescriptor |
|---|
addDescription, addDisplayName, compareTo, getDescription, getDescription, getDisplayName, getDisplayName, getName, getPresentationOrdinal, setDescription, setDisplayName, setName, setPresentationOrdinal |
| 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 OutcomeDescriptor(TaskDescriptor pTask,
java.lang.String pOutcomeElementId,
java.lang.String pName)
pTask - the TaskDescriptor for the task to which this
outcome belongspOutcomeElementId - process element id of the outcome
element, as it appears in the workflow definition filepName - the logical name of this element| Method Detail |
|---|
public TaskDescriptor getTask()
public java.lang.String getOutcomeElementId()
public void setOutcomeElementId(java.lang.String pOutcomeElementId)
public java.lang.String getFormURI()
As an example, in a workflow where an approver may choose to reject a particular transaction, one might want him or her to supply some additional information along with clicking the "Reject" button, such as a reason for the rejection. This information could be supplied via a separate JSP form.
public void setFormURI(java.lang.String pFormURI)
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||