public interface ActivityInstance extends Serializable
Modifier and Type | Interface and Description |
---|---|
static class |
ActivityInstance.LastAction
Defines the last action of the activity.
|
Modifier and Type | Field and Description |
---|---|
static short |
ABORTED
Instance has been aborted.
|
static short |
ACTIVE
Instance is active.
|
static int |
ALL |
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_AUGMENTATION
The user sees the instance via an augmented worklist
|
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. raiseEvent
|
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 int |
WAIT |
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 |
Modifier and Type | Method and Description |
---|---|
Agent |
getAgent()
Returns the agent of the object
|
Application |
getApplication()
Returns the application the activity belogs to.
|
String |
getDescription()
Returns the description
|
Date |
getDuedate()
Returns the duedate
|
Date |
getFinished()
Returns the finish date.
|
String |
getId()
Returns the id of the activity instance.
|
ActivityInstance.LastAction |
getLastAction()
Returns a enum for the last action that changed the state of this ai
|
long |
getOid()
Returns the unique oid of the object.
|
OrgUnit |
getOrgUnit()
Returns the organizational unit.
|
short |
getOrigin()
Returns the origin of 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.
|
Date |
getStarted()
Returns the start date.
|
short |
getStatus()
Returns the status of the activity instance.
|
Agent |
getStepAgent()
Returns the step-agent of the object.
|
String |
getStepLabel()
Get the label of the step the activity instance belongs to.
|
String |
getStepName()
Get the name of the step the activity belongs to.
|
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.
|
UserFolder |
getUserFolder()
Returns the UserFolder of the ActivityInstance.
|
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.
|
List<DMSNote> |
listSystemNotes()
Get all SystemNotes, which are attached to this activityinstance
|
static final int ALL
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 int WAIT
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
static final short ORIGIN_AUGMENTATION
long getOid()
Agent getAgent()
Agent getStepAgent()
Date getStarted()
Date getTaken()
Date getFinished()
Date getDuedate()
String getDescription()
short getStatus()
OrgUnit getOrgUnit()
Application getApplication()
int getType()
Task getTask()
ProcessDefinition getProcessDefinition()
ProcessInstance getProcessInstance()
String getStepName()
String getStepLabel()
boolean isCheckedOut()
ActivityInstance getParent()
short getOrigin()
ORIGIN_UNKNOWN
, ORIGIN_DIRECT
, ORIGIN_SUBSTITUTION
, or ORIGIN_AUGMENTATION
boolean isInGoBack()
boolean isInReactivate()
String getId()
List<DMSNote> listSystemNotes()
ActivityInstance.LastAction getLastAction()
UserFolder getUserFolder()
@enterprise 10.0.38798 Copyright © 2001-2024 Groiss Informatics GmbH. All Rights Reserved.