|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.bonita.facade.runtime.impl.ActivityBodyImpl
org.ow2.bonita.facade.runtime.impl.TaskInstanceImpl
public class TaskInstanceImpl
Field Summary | |
---|---|
protected java.util.List<AssignUpdate> |
assignUpdates
|
protected java.util.Date |
createdDate
|
protected java.util.Date |
dueDate
|
protected java.lang.String |
endedBy
|
protected java.lang.String |
startedBy
|
Fields inherited from class org.ow2.bonita.facade.runtime.impl.ActivityBodyImpl |
---|
dbid, endedDate, readyDate, startedDate, stateUpdates, uuid |
Constructor Summary | |
---|---|
protected |
TaskInstanceImpl()
|
|
TaskInstanceImpl(TaskInstanceImpl taskInstance)
|
protected |
TaskInstanceImpl(TaskUUID taskUUID,
java.util.Date createdDate)
|
Method Summary | |
---|---|
ActivityBody |
copy()
|
java.util.List<AssignUpdate> |
getAssignUpdates()
Returns the list of recorded assign changes . |
java.util.Date |
getCreatedDate()
Returns the date recorded when the task is created. |
java.util.Date |
getDueDate()
Returns the date at which the task must be started. |
java.lang.String |
getEndedBy()
Returns the user finishing the activity. |
protected Update |
getLastUpdate()
|
java.lang.String |
getStartedBy()
Returns the user starting the task. |
java.util.Set<java.lang.String> |
getTaskCandidates()
Returns the current set of candidate users. This list depends on: the set of candidate users when the task has been initially created. |
java.lang.String |
getTaskUser()
Returns the user assigned for the task. Check before calling this method if a user has been assigned with TaskInstance.isTaskAssigned() method. |
java.lang.String |
getUpdatedBy()
Returns the user Id performing the update ( state update or assign update ). |
TaskUUID |
getUUID()
Return the UUID of the ActivityBody. For instance, if the body of the activity is a TaskInstance this UUID is a TaskUUID. |
boolean |
isTaskAssigned()
Return true if the task is assigned. |
java.lang.String |
toString()
|
Methods inherited from class org.ow2.bonita.facade.runtime.impl.ActivityBodyImpl |
---|
getEndedDate, getReadyDate, getStartedDate, getState, getStateUpdates, setActivityState, setEndedDate, setReadyDate, setStartedDate |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.ow2.bonita.facade.runtime.ActivityBody |
---|
getEndedDate, getReadyDate, getStartedDate, getState, getStateUpdates |
Field Detail |
---|
protected java.lang.String startedBy
protected java.lang.String endedBy
protected java.util.Date dueDate
protected java.util.Date createdDate
protected java.util.List<AssignUpdate> assignUpdates
Constructor Detail |
---|
protected TaskInstanceImpl()
protected TaskInstanceImpl(TaskUUID taskUUID, java.util.Date createdDate)
public TaskInstanceImpl(TaskInstanceImpl taskInstance)
processDefinitionUUID
- deploymentId
- Method Detail |
---|
public ActivityBody copy()
copy
in interface ActivityBody
public java.lang.String toString()
toString
in class ActivityBodyImpl
public java.util.Date getCreatedDate()
TaskInstance
getCreatedDate
in interface TaskInstance
public java.util.Date getDueDate()
TaskInstance
getDueDate
in interface TaskInstance
public java.lang.String getEndedBy()
TaskInstance
getEndedBy
in interface TaskInstance
public java.lang.String getStartedBy()
TaskInstance
getStartedBy
in interface TaskInstance
public java.lang.String getUpdatedBy()
TaskInstance
state update
or assign update
).
getUpdatedBy
in interface TaskInstance
state update
or assign update
).public java.lang.String getTaskUser()
TaskInstance
TaskInstance.isTaskAssigned()
method.
The assigned user depends on:
assign update
, state update
).
getTaskUser
in interface TaskInstance
public java.util.Set<java.lang.String> getTaskCandidates()
TaskInstance
assign update
.
getTaskCandidates
in interface TaskInstance
public TaskUUID getUUID()
ActivityBody
getUUID
in interface ActivityBody
getUUID
in interface TaskInstance
getUUID
in class ActivityBodyImpl
public boolean isTaskAssigned()
TaskInstance
isTaskAssigned
in interface TaskInstance
public java.util.List<AssignUpdate> getAssignUpdates()
TaskInstance
assign changes
.
getAssignUpdates
in interface TaskInstance
assign changes
.protected Update getLastUpdate()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |