|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The IActivityMetaData interface represents an activity in the process domain. Conceptually, an activity represents a unit of work to be performed by a performer; the performer can either be manual (in which case it is called a task) or automated (either local or remote, as in the case of a web service invocation). This interface allows the user to introspect an activity's attributes.
| Field Summary |
| Method Summary | |
java.lang.String |
getCorrelationId()Retrieves the correlation identifier of this activity in its "stringified" URI format. |
java.util.Date |
getCreationDate()Retrieves the creation date of this activity. |
java.lang.String |
getCustomId()Retrieves the custom identifier of this activity. |
java.lang.String |
getDomainId()Retrieves the identifier of the process domain that this activity belongs to. |
java.util.Date |
getExpirationDate()Retrieves the current expiration date set for this activity. |
long |
getInstanceId()Retrieves the instance id (key) of the instance that this activity belongs to. |
java.lang.String |
getLabel()Retrieves the label of this activity. |
java.util.Date |
getModifyDate()Retrieves the date this activity was last modified on. |
int |
getPriority()Retrieves the current priority of this activity. |
java.lang.String |
getProcessId()Retrieves the identifier of the process that this activity belongs to. |
java.lang.String |
getReferenceId()Retrieves the reference identifier of the instance that this activity is referring to. |
java.lang.String |
getRevisionTag()Retrieves the revision tag of the process that this activity belongs to. |
int |
getState()Retrieves the current state of this activity. |
boolean |
isCancelled()Returns true if this activity has been cancelled. |
boolean |
isClosed()Returns true if this activity is closed. |
boolean |
isComplete()Returns true if this activity is complete. |
boolean |
isExpired()Returns true if this activity has been expired. |
boolean |
isFaulted()Returns true if this activity has been faulted. |
boolean |
isOpen()Returns true if this activity is open. |
boolean |
isStale()Returns true if this activity has been marked as stale. |
| Method Detail |
public long getInstanceId()
public java.lang.String getCorrelationId()
CorrelationIdpublic java.lang.String getReferenceId()
The reference identifier is returned in its "stringified" URI format. The reference identifier is the key which can uniquely identify the instance within the process domain.
ReferenceIdpublic java.util.Date getCreationDate()
public java.util.Date getModifyDate()
public int getState()
public boolean isOpen()
true if this activity is open. An activity is considered to be open if its state is one of:
STATE_OPEN_ACTIVESTATE_OPEN_SUSPENDEDSTATE_OPEN_PENDING_COMPLETEpublic boolean isClosed()
true if this activity is closed. An activity is considered to be closed if its state is one of:
STATE_CLOSED_COMPLETEDSTATE_CLOSED_FINALIZEDSTATE_CLOSED_PENDING_CANCELSTATE_CLOSED_CANCELLEDSTATE_CLOSED_ABORTEDSTATE_CLOSED_COMPENSATEDSTATE_CLOSED_STALEpublic boolean isComplete()
true if this activity is complete. An activity is considered to be complete if its state is:
STATE_CLOSED_COMPLETEDpublic boolean isCancelled()
true if this activity has been cancelled. An activity is considered to be cancelled if its state is one of:
STATE_CLOSED_CANCELLEDSTATE_CLOSED_ABORTEDpublic boolean isFaulted()
true if this activity has been faulted. If an activity is faulted it failed to handle a thrown fault. An activity is considered to be faulted if its state is one of:
STATE_OPEN_FAULTEDSTATE_CLOSED_FAULTEDSTATE_CLOSED_PENDING_CANCELpublic boolean isStale()
true if this activity has been marked as stale. If the process definition for the activity/instance is not the same as the one currently deployed on the BPEL server, all activities/instances belonging to the previous process definition revision are marked as stale.public java.util.Date getExpirationDate()
null is returned.public boolean isExpired()
true if this activity has been expired. Note that even though an activity's expiration date may be later than the current time, the activity will not be marked as expired until the process domain expiration agent picks up the activity and actively expires it.public int getPriority()
public java.lang.String getLabel()
public java.lang.String getCustomId()
The semantics attached to the value of the identifier are the sole domain and responsibility of the user.
public java.lang.String getDomainId()
public java.lang.String getProcessId()
public java.lang.String getRevisionTag()
|
Oracle BPEL Process Manager Client API Reference 10g Release 2 (10.1.2) B25709-01 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||