|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IActivity
Represent an Activity (instance of IHumanWorkflow
)
Method Summary | |
---|---|
Date |
getActivityCreationDate()
Date at which the activity was initiated |
String |
getActivityInitiator()
Username of the person who started/initiated the activity. |
String |
getActivityLabel()
The label chosen for this activity by the initiator. |
ActivityPriority |
getActivityPriority()
The informative priority chosen by activity initiator. |
String |
getActivityStartComments()
Initial comment entered by initiator on activity initiation. |
ActivityStatus |
getActivityStatus()
Current ActivityStatus |
Date |
getActivitySubmitDate()
Activity submit date. |
ActivityType |
getActivityType()
The ActivityType of the activity |
UUID |
getActivityUUID()
The Unique Identifier of this activity. |
String |
getApplicationName()
The name of the IApplication to which the
getHumanWorkflow() belongs. |
IActivityTask |
getCurrentTask()
Get the current task for the activity or null if getActivityStatus() is not
ActivityStatus.RUNNING . |
IHumanWorkflow |
getHumanWorkflow()
The underlying IHumanWorkflow that defines this IActivity |
long |
getLoadID()
The load ID attached to this activity |
IActivityTask |
getPreviousTask()
Get the previous task. |
List<IActivityTask> |
getTaskHistory()
Return the list of tasks This list is empty unless activity is loaded with IActivityService.getActivity(UUID) |
String |
getWorkflowName()
The name of the getHumanWorkflow() |
boolean |
isPropertiesEditable(ILogicalModelSecurityProvider secuProvider)
Return true if TODO |
Method Detail |
---|
UUID getActivityUUID()
long getLoadID()
String getApplicationName()
IApplication
to which the
getHumanWorkflow()
belongs.
String getWorkflowName()
getHumanWorkflow()
IHumanWorkflow getHumanWorkflow() throws NoSuchWorkflowException
IHumanWorkflow
that defines this IActivity
NoSuchWorkflowException
- if the activity references a workflow name that does not
exist anymoreActivityType getActivityType()
String getActivityLabel()
ActivityPriority getActivityPriority()
Date getActivityCreationDate()
String getActivityInitiator()
String getActivityStartComments()
ActivityStatus getActivityStatus()
Date getActivitySubmitDate()
List<IActivityTask> getTaskHistory()
IActivityService.getActivity(UUID)
IActivityTask getCurrentTask()
getActivityStatus()
is not
ActivityStatus.RUNNING
.
IllegalStateException
- if getTaskHistory()
has not been loadedIActivityTask getPreviousTask()
If activity is ActivityStatus.RUNNING
the task preceding the
getCurrentTask()
is returned or null if
getCurrentTask()
is the first task. If activity is not
ActivityStatus.RUNNING
the last task in getTaskHistory()
is returned.
IllegalStateException
- if getTaskHistory()
has not been loadedboolean isPropertiesEditable(ILogicalModelSecurityProvider secuProvider)
secuProvider
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |