|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ActivityInstance
The activity instance represents a step of a process instance. This interface contains only getters, use the WfEngine interface to manipulate this object.
Field Summary | |
---|---|
static short |
ABORTED
Instance has been aborted. |
static short |
ACTIVE
Instance is active. |
static int |
ANDJOIN
An andjoin node, end of andpar. |
static int |
BATCH
batch |
static int |
BEGIN
A begin node. |
static int |
BRANCH
A branch node. |
static int |
CHOICE
Start of a choice construct. |
static int |
CHOICE_BRANCH
A branch of a choice. |
static short |
COMPENSATED
Instance has been compensated. |
static short |
COMPENSATING
Step is currently beeing compensated |
static int |
ELSIF
An else-if node. |
static int |
END
An end node. |
static int |
END_BRANCH
A branch end node. |
static int |
END_COMPENSATION
|
static int |
END_SCOPE
end scope |
static int |
ENDFOR
parallel for end |
static short |
ERROR
Step is in error state |
static int |
EXIT_WHEN
An exit-when node. |
static short |
FINISHED
Instance is finished. |
static int |
GOTO
A goto node. |
static int |
IF
An if node. |
static int |
LOOP
A loop node, starts a loop construct. |
static short |
ORIGIN_DIRECT
The user sees the instance because of assignment to himself or one of his roles |
static short |
ORIGIN_SUBSTITUTION
The user sees the instance via substitution |
static short |
ORIGIN_UNKNOWN
The origin of the instance is unknown |
static int |
ORJOIN
An orjoin node, end of orpar. |
static int |
PAR
A par node, start of orpar or andpar. |
static int |
PARFOR
parallel for |
static int |
PROCESS
A (sub)process node. |
static int |
SCOPE
start a new scope |
static short |
STARTED
Instance is in idle state. |
static short |
SUSPENDED
Instance is in suspension list. |
static int |
SYSTEM_INTERN
A system step which is translated in another wdl expression, e.g. |
static int |
SYSTEM_TASK
A system task. |
static int |
SYSTEM_WAIT
A system step which makes no finish |
static int |
TASK
A task node. |
static short |
WAITING
Instance is finished, but post finish actions are pending (for example selection of choice path). |
static int |
WHILE
A while node. |
static int |
WS_INVOKE
|
static int |
WS_RECEIVE
|
static int |
WS_REPLY
|
Method Summary | |
---|---|
Agent |
getAgent()
Returns the agent of the object |
Application |
getApplication()
Returns the application the activity belogs to. |
java.lang.String |
getDescription()
Returns the description |
java.util.Date |
getDuedate()
Returns the duedate |
java.util.Date |
getFinished()
Returns the finish date. |
java.lang.String |
getId()
Returns the id of the activity instance. |
long |
getOid()
Returns the unique oid of the object. |
OrgUnit |
getOrgUnit()
Returns the organizational unit. |
short |
getOrigin()
Returns the origin od this ActivityInstance. |
ActivityInstance |
getParent()
Returns the parent node in the process execution graph, normally the process instance, but for example in parfors, the parfor node |
ProcessDefinition |
getProcessDefinition()
Returns the process definition the activity instance belongs to. |
ProcessInstance |
getProcessInstance()
Returns the process instance the activity instance belongs to. |
java.util.Date |
getStarted()
Returns the start date. |
short |
getStatus()
Returns the status of the activity instance. |
Agent |
getStepAgent()
Returns the step-agent of the object. |
java.lang.String |
getStepName()
Get the name of the step the activity belongs to. |
java.util.Date |
getTaken()
Returns the date when a user has taken the activity. |
Task |
getTask()
Returns the task |
int |
getType()
Returns the type of the activity instance. |
boolean |
isCheckedOut()
Returns true is the activity is checked out (on mobile server). |
boolean |
isInGoBack()
Returns true if the activity instance has been created in a go back action. |
boolean |
isInReactivate()
Returns true if the activity instance has been created in a reactivate action. |
Field Detail |
---|
static final int BEGIN
static final int END
static final int IF
static final int ELSIF
static final int LOOP
static final int EXIT_WHEN
static final int WHILE
static final int PAR
static final int ANDJOIN
static final int ORJOIN
static final int CHOICE
static final int CHOICE_BRANCH
static final int GOTO
static final int TASK
static final int SYSTEM_TASK
static final int PROCESS
static final int BRANCH
static final int END_BRANCH
static final int SYSTEM_INTERN
static final int SYSTEM_WAIT
static final int PARFOR
static final int ENDFOR
static final int BATCH
static final int SCOPE
static final int END_SCOPE
static final int END_COMPENSATION
static final int WS_INVOKE
static final int WS_RECEIVE
static final int WS_REPLY
static final short STARTED
static final short ACTIVE
static final short SUSPENDED
static final short FINISHED
static final short ABORTED
static final short WAITING
static final short COMPENSATED
static final short COMPENSATING
static final short ERROR
static final short ORIGIN_UNKNOWN
static final short ORIGIN_DIRECT
static final short ORIGIN_SUBSTITUTION
Method Detail |
---|
long getOid()
Agent getAgent()
Agent getStepAgent()
java.util.Date getStarted()
java.util.Date getTaken()
java.util.Date getFinished()
java.util.Date getDuedate()
java.lang.String getDescription()
short getStatus()
OrgUnit getOrgUnit()
Application getApplication()
int getType()
Task getTask()
ProcessDefinition getProcessDefinition()
ProcessInstance getProcessInstance()
java.lang.String getStepName()
boolean isCheckedOut()
ActivityInstance getParent()
short getOrigin()
boolean isInGoBack()
boolean isInReactivate()
java.lang.String getId()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |