public interface IActivity
IHumanWorkflow
)Modifier and Type | Method and Description |
---|---|
Date |
getActivityCreationDate()
Date at which the activity was initiated
|
ActivityId |
getActivityId()
Return the ActitvityId
|
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()
Deprecated.
use
getActivityId() |
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(ActivityId) |
String |
getWorkflowName()
The name of the
getHumanWorkflow() |
boolean |
isPropertiesEditable(ILogicalModelSecurityProvider secuProvider)
Return true if TODO
|
ActivityId getActivityId()
@Deprecated UUID getActivityUUID()
getActivityId()
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(ActivityId)
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
- Copyright © 2016. All Rights Reserved.