public interface Process extends OsidGovernator
A Process.
Modifier and Type | Method and Description |
---|---|
State |
getInitialState()
Gets the initial state of the work upon entering this process.
|
Id |
getInitialStateId()
Gets the
Id of the initial state of the work upon
entering this process. |
Step |
getInitialStep()
Gets the initial step of this process.
|
Id |
getInitialStepId()
Gets the
Id of the initial step of this process. |
ProcessRecord |
getProcessRecord(Type processRecordType)
Gets the process record corresponding to the given
Process
record Type. |
boolean |
isEnabled()
Tests if this process is enabled.
|
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
isActive, isDisabled, isOperational
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
boolean isEnabled()
Id getInitialStepId()
Id
of the initial step of this process. All
work goes through an initial step. Id
mandatory
- This method must be implemented. Step getInitialStep() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. Id getInitialStateId()
Id
of the initial state of the work upon
entering this process. The initial state is used to assign the work to
an initial step that has this state as an initial state. Id
mandatory
- This method must be implemented. State getInitialState() throws OperationFailedException
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. ProcessRecord getProcessRecord(Type processRecordType) throws OperationFailedException
Process
record Type.
This method is used to retrieve an
object implementing the requested record. The processRecordType
may be the Type
returned in
getRecordTypes()
or any of its parents in a Type
hierarchy where hasRecordType(processRecordType)
is true
.processRecordType
- the type of process record to retrieveNullArgumentException
- processRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(processRecordType)
is false
mandatory
- This method must be implemented.