|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.ibm.itim.workflow.model.ActivityResult
This class holds the result of an activity. The summary string identifies the return code of the activity or process The detail describes the associated relevant data that have been modified during the activity execution.
Field Summary | |
---|---|
static java.lang.String[] |
APPLICATION_RESULTS
Constant identifying the result constants that are application based. |
static java.lang.String[] |
APPROVAL_RESULTS
|
static java.lang.String |
APPROVED
Supported summary code for approval activity |
static java.lang.String |
ESCALATED
Constant identifying an escalation result. |
static java.lang.String |
FAILED
Constant identifying a failed result. |
static java.lang.String |
PARTICIPANT_RESOLVE_FAILED
Constant identifying a participant resolution failure as a result. |
static java.lang.String |
PENDING
Constant identifyin a pending result. |
static java.lang.String |
REJECTED
|
static java.lang.String[] |
RFI_RESULTS
|
static int |
STATUS_ABORT
Constant identifying an abort status. |
static int |
STATUS_COMPLETE
Constant identifying a completion status. |
static int |
STATUS_CONTINUE
Constant identifying a continue status. |
static int |
STATUS_WAIT
Constant identifying a wait status. |
static java.lang.String |
SUBMITED
Supported summary code for RFI activity |
static java.lang.String |
SUCCESS
Constant identifying a successful result. |
static java.lang.String |
TIMEOUT
Constant identifying a timout result. |
static java.lang.String |
WARNING
Constant identifying a warning result. |
Constructor Summary | |
---|---|
ActivityResult()
Default constructor sets the status to STATUS_COMPLETE. |
|
ActivityResult(int status,
java.lang.String summary)
Constructor takes a status and summary. |
|
ActivityResult(int status,
java.lang.String summary,
java.lang.String description,
java.util.List detail)
Constructor takes a status, summary, description, and result values. |
|
ActivityResult(java.lang.String summary)
Constructor takes a summary string and sets the status to STATUS_COMPLETE |
|
ActivityResult(java.lang.String summary,
java.util.List detail)
Constructor takes a summary and result values. |
|
ActivityResult(java.lang.String summary,
java.lang.String description,
java.util.List detail)
Constructor takes a summary, description, and result values. |
Method Summary | |
---|---|
java.lang.String |
getDescription()
Accessor method for the activity result description property. |
java.util.List |
getDetail()
Returns the list of result values for the target activity. |
int |
getStatus()
Access method for the result status. |
java.lang.String |
getSummary()
Accessor method for the activity summary property. |
void |
setDescription(java.lang.String description)
Mutator method for the activity result description property. |
void |
setDetail(java.util.List detail)
This method replaces the current list of result values with the list specified in the detail parameter. |
void |
setSummary(java.lang.String summary)
Mutator method for the activity summary property. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String APPROVED
public static final java.lang.String REJECTED
public static final java.lang.String[] APPROVAL_RESULTS
public static final java.lang.String SUBMITED
public static final java.lang.String[] RFI_RESULTS
public static final java.lang.String PARTICIPANT_RESOLVE_FAILED
public static final java.lang.String SUCCESS
public static final java.lang.String TIMEOUT
public static final java.lang.String FAILED
public static final java.lang.String WARNING
public static final java.lang.String PENDING
public static final java.lang.String ESCALATED
public static final java.lang.String[] APPLICATION_RESULTS
public static final int STATUS_CONTINUE
public static final int STATUS_WAIT
public static final int STATUS_COMPLETE
public static final int STATUS_ABORT
Constructor Detail |
public ActivityResult()
public ActivityResult(java.lang.String summary)
summary
- activity specific code that may be used within a workflow process to
control transistions.public ActivityResult(int status, java.lang.String summary)
status
- indicates the status of the workflow process thread. This
parameter may be STATUS_CONTINUE, STATUS_WAIT, STATUS_COMPLETE
or STATUS_ABORT.summary
- activity specific code that may be used within a workflow process to
control transistions.public ActivityResult(java.lang.String summary, java.util.List detail)
summary
- activity specific code that may be used within a workflow process to
control transistions.detail
- list of result values for the target activity. NOTE: the passed list
must be serializable.public ActivityResult(java.lang.String summary, java.lang.String description, java.util.List detail)
summary
- activity specific code that may be used within a workflow process to
control transistions.description
- property that is used in audit logs to provide additional information
about the activity result.detail
- list of result values for the target activity. NOTE: the passed list
must be serializable.public ActivityResult(int status, java.lang.String summary, java.lang.String description, java.util.List detail)
status
- indicates the status of the workflow process thread. This
parameter may be STATUS_CONTINUE, STATUS_WAIT, STATUS_COMPLETE
or STATUS_ABORT.summary
- activity specific code that may be used within a workflow process to
control transistions.description
- property that is used in audit logs to provide additional information
about the activity result.detail
- list of result values for the target activity. NOTE: the passed list
must be serializable.Method Detail |
public int getStatus()
public void setSummary(java.lang.String summary)
summary
- an activity specific control code.public java.lang.String getSummary()
public void setDescription(java.lang.String description)
description
- addition detail about an activity result.public java.lang.String getDescription()
public void setDetail(java.util.List detail)
detail
- a list of result values. This list is generic list
of objects specific to the activity. This parameter
may be null. NOTE: detail must be serializable.public java.util.List getDetail()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |