|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface ActivityInstance
The ActivityInstance represents a snapshot of the execution state of an
activity instance.
The corresponding runtime object is stored in the activity_instance
table of the audit trail database.
| Method Summary | |
|---|---|
Activity |
getActivity()
Gets the workflow activity corresponding to this activity instance. |
ActivityInstanceAttributes |
getAttributes()
Get the ActivityInstanceAttributes |
double |
getCriticality()
Returns the current criticality of an activity instance |
ParticipantInfo |
getCurrentPerformer()
Gets the current Performer of this Activity Instance (or null). |
java.util.List<DataPath> |
getDescriptorDefinitions()
Retrieves definitions for available descriptors. |
java.lang.Object |
getDescriptorValue(java.lang.String id)
Gets the current value of a descriptor with the specified ID. |
java.util.List<HistoricalEvent> |
getHistoricalEvents()
Gets a list of requested additional data like notes, delegations, state changes and exceptions. |
java.util.List<HistoricalState> |
getHistoricalStates()
Gets a list of historical states for the activity instance. |
java.util.Date |
getLastModificationTime()
Gets the time of the most recent modification of this activity instance. |
java.lang.String |
getParticipantPerformerID()
Gets the ID of the current participant performer of this activity instance. |
java.lang.String |
getParticipantPerformerName()
Gets the name of the current participant performer of this activity instance. |
UserInfo |
getPerformedBy()
Returns the user who completed this activity instance. |
java.lang.String |
getPerformedByName()
Gets the name of the user who completed this activity instance. |
long |
getPerformedByOID()
Gets the OID of the user who completed this activity instance. |
PermissionState |
getPermission(java.lang.String permissionId)
Returns the permission state of the given permission id for the current user. |
java.lang.String |
getProcessDefinitionId()
Gets the id of the process definition containing the workflow activity associated with this activity instance. |
ProcessInstance |
getProcessInstance()
Gets the process instance containing this activity instance. |
long |
getProcessInstanceOID()
Gets the OID of the process instance containing this activity instance. |
QualityAssuranceInfo |
getQualityAssuranceInfo()
Gets information about the performed quality assurance workflow |
org.eclipse.stardust.engine.api.runtime.QualityAssuranceUtils.QualityAssuranceState |
getQualityAssuranceState()
Gets the state of this activity instance regarding quality assurance |
java.util.Date |
getStartTime()
Gets the time of the creation of this activity instance. |
ActivityInstanceState |
getState()
Gets the current state of this activity instance. |
User |
getUserPerformer()
Gets the current User Object of this activity instance. |
java.lang.String |
getUserPerformerName()
Gets the name of the current user performer of this activity instance. |
long |
getUserPerformerOID()
Gets the OID of the current user performer of this activity instance. |
boolean |
isAssignedToModelParticipant()
Gets whether the current performer of this activity instance is a model participant. |
boolean |
isAssignedToUser()
Gets whether the current performer of this activity instance is a user. |
boolean |
isAssignedToUserGroup()
Gets whether the current performer of this activity instance is a user group. |
boolean |
isScopeProcessInstanceNoteAvailable()
Gets whether a note for the scope process instance of this activity instance is available. |
| Methods inherited from interface org.eclipse.stardust.engine.api.runtime.RuntimeObject |
|---|
getModelElementID, getModelElementOID, getModelOID, getOID |
| Method Detail |
|---|
QualityAssuranceInfo getQualityAssuranceInfo()
org.eclipse.stardust.engine.api.runtime.QualityAssuranceUtils.QualityAssuranceState getQualityAssuranceState()
QualityAssuranceUtils.QualityAssuranceState this instance is inActivityInstanceAttributes getAttributes()
ActivityInstanceAttributes
ActivityInstanceAttributes for this activity instanceActivityInstanceState getState()
java.util.Date getStartTime()
java.util.Date getLastModificationTime()
An activity instance is considered modified if it's state has changed.
getState()Activity getActivity()
java.lang.String getProcessDefinitionId()
ProcessDefinitionlong getProcessInstanceOID()
ProcessInstance getProcessInstance()
null.
ProcessInstanceDetailsLevel.Core of the activity instancelong getUserPerformerOID()
isAssignedToUser()java.lang.String getUserPerformerName()
isAssignedToUser()User getUserPerformer()
User Object of this activity instance.
User object or null if not assigned to a user.isAssignedToUser()java.lang.String getParticipantPerformerID()
isAssignedToUser()java.lang.String getParticipantPerformerName()
isAssignedToUser()boolean isAssignedToUser()
isAssignedToModelParticipant(),
isAssignedToUserGroup()boolean isAssignedToModelParticipant()
isAssignedToUser(),
isAssignedToUserGroup()boolean isAssignedToUserGroup()
isAssignedToUser(),
isAssignedToModelParticipant()ParticipantInfo getCurrentPerformer()
long getPerformedByOID()
java.lang.String getPerformedByName()
UserInfo getPerformedBy()
java.lang.Object getDescriptorValue(java.lang.String id)
id - the id of the descriptor.
java.util.List<DataPath> getDescriptorDefinitions()
boolean isScopeProcessInstanceNoteAvailable()
java.util.List<HistoricalState> getHistoricalStates()
java.util.List<HistoricalEvent> getHistoricalEvents()
HistoricalEventPolicy applied to
ActivityInstanceQuery and WorklistQuery. By default this list will be empty as
retrieval might degrade query performance.
HistoricalEvent,
HistoricalEventPolicyPermissionState getPermission(java.lang.String permissionId)
permissionId -
double getCriticality()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||