| |
|
| org.obe.spi.model.ActivityInstance
All known Subclasses: org.obe.engine.persistence.memory.BasicActivityInstance,
ActivityInstance | public interface ActivityInstance extends AttributedEntity(Code) | | Holds the persistent state of an activity instance. This interface
uses only standard Java data types; it does not need to know about
WAPI data types - conversions are handled externally to the persistence
service. No parameter validation need be performed by implementations.
author: Adrian Price See Also: ActivityInstanceAttributes |
attributes | String[] attributes(Code) | | Attributes for ActivityInstance.
N.B. DO NOT WRITE TO THIS ARRAY!!!
|
propertyDescriptors | PropertyDescriptor[] propertyDescriptors(Code) | | Property descriptors for ActivityInstance.
N.B. DO NOT WRITE TO THIS ARRAY!!!
|
getActivityDefinitionId | String getActivityDefinitionId()(Code) | | |
getBlockActivityInstanceId | String getBlockActivityInstanceId()(Code) | | Returns the ID of the encompassing block activity instance.
N.B. This returns the activity instance ID, not the ActivitySet ID.
The block activity instance ID, or null if thisactivity is not defined within an activity set. |
getBlockActivityIterator | PersistentIterator getBlockActivityIterator()(Code) | | Returns an iterator for the block activity owned by the instance.
The iterator returned is persistence-capable, and can resume iteration
through a supplied array. This feature is required to support the
ForEach, Until, and While explicit iteration constructs in an
asynchronous mode.
A persistent iterator. See Also: PersistentIterator |
getChildProcessInstances | Collection getChildProcessInstances()(Code) | | Returns a collection of sub-process instance(s) associated
with a SubFlow-implementation activity. For synchronous
sub-flow activities, the collection will contain at most one open process
instance; any others will be in the closed state. Asynchronous subflow
activities can have any number of open subflow instances. Only subflow
activities in loops will have multiple child process instances.
An immutable collection of process instances. |
getPriority | int getPriority()(Code) | | |
getProcessInstance | ProcessInstance getProcessInstance()(Code) | | Returns the process instance to which this activity belongs.
The process instance. |
getWorkItems | Collection getWorkItems()(Code) | | Returns a collection of work items for this activity.
An immutable collection of work items. |
setCompletedDate | void setCompletedDate(Date completedDate)(Code) | | |
setParticipants | void setParticipants(String[] participants)(Code) | | |
setPriority | void setPriority(int priority)(Code) | | |
setStartedDate | void setStartedDate(Date startedDate)(Code) | | |
setState | void setState(int state)(Code) | | |
setTargetDate | void setTargetDate(Date targetDate)(Code) | | |
|
|
|