|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IActivityMetaData
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 |
---|
long getInstanceId()
java.lang.String getCorrelationId()
CorrelationId
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.
ReferenceId
java.util.Date getCreationDate()
java.util.Date getModifyDate()
int getState()
boolean isOpen()
true
if this activity is open. An activity is considered to be open if its state is one of:
STATE_OPEN_ACTIVE
STATE_OPEN_SUSPENDED
STATE_OPEN_PENDING_COMPLETE
boolean isClosed()
true
if this activity is closed. An activity is considered to be closed if its state is one of:
STATE_CLOSED_COMPLETED
STATE_CLOSED_FINALIZED
STATE_CLOSED_PENDING_CANCEL
STATE_CLOSED_CANCELLED
STATE_CLOSED_ABORTED
STATE_CLOSED_COMPENSATED
STATE_CLOSED_STALE
boolean isComplete()
true
if this activity is complete. An activity is considered to be complete if its state is:
STATE_CLOSED_COMPLETED
boolean isCancelled()
true
if this activity has been cancelled. An activity is considered to be cancelled if its state is one of:
STATE_CLOSED_CANCELLED
STATE_CLOSED_ABORTED
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_FAULTED
STATE_CLOSED_FAULTED
STATE_CLOSED_PENDING_CANCEL
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.java.util.Date getExpirationDate()
null
is returned.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.int getPriority()
java.lang.String getLabel()
java.lang.String getCustomId()
The semantics attached to the value of the identifier are the sole domain and responsibility of the user.
java.lang.String getDomainId()
java.lang.String getProcessId()
java.lang.String getRevisionTag()
|
Oracle BPEL Process Manager Client Java API Reference 10g Release 3 (10.1.3.1.0) B28986-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |