Interface Step
- All Superinterfaces:
Browsable, Extensible, Identifiable, Operable, OsidObject, OsidRule, Subjugateable
A Step is an element in a Process in which Work is processed.
The workers in this Step are represented by Resources or
Resource groups. The input States list the states of
Work that are valid to be accepted into this Step.
Successful processing of the Work result in a single next
State that determines the valid next Steps in the Process
.
Like all OsidObjects, Step is managed by its
OsidSessions and may not be accessed by concurrent processing threads.
-
Method Summary
Modifier and TypeMethodDescriptionGets theIdsof the valid states entering this step.Gets the valid states to enter this step.Gets the state of the work upon completing this step.Gets theIdof the state of the work upon completing this step.Gets the process.Gets theIdof the process.Gets theIdsof the resources working in this step.Gets the resources working in this step.getStepRecord(Type stepRecordType) Gets the step record corresponding to the givenSteprecordType.This method is used to retrieve an object implementing the requested record.Methods inherited from interface Browsable
getProperties, getPropertiesByRecordTypeMethods inherited from interface Extensible
getRecordTypes, hasRecordTypeMethods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface Operable
isActive, isDisabled, isEnabled, isOperationalMethods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeMethods inherited from interface OsidRule
getConditionRecordTypes, getRule, getRuleId, hasRule
-
Method Details
-
getProcessId
Id getProcessId()Gets theIdof the process.- Returns:
- the process
Id - Compliance:
mandatory- This method must be implemented.
-
getProcess
Gets the process.- Returns:
- the process
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getResourceIds
IdList getResourceIds()Gets theIdsof the resources working in this step.- Returns:
- the resource
Ids - Compliance:
mandatory- This method must be implemented.
-
getResources
Gets the resources working in this step.- Returns:
- the resources
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getInputStateIds
IdList getInputStateIds()Gets theIdsof the valid states entering this step.- Returns:
- the state
Ids - Compliance:
mandatory- This method must be implemented.
-
getInputStates
Gets the valid states to enter this step.- Returns:
- the states
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getNextStateId
Id getNextStateId()Gets theIdof the state of the work upon completing this step.- Returns:
- the state
Id - Compliance:
mandatory- This method must be implemented.
-
getNextState
Gets the state of the work upon completing this step.- Returns:
- the state
- Throws:
OperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getStepRecord
Gets the step record corresponding to the givenSteprecordType.This method is used to retrieve an object implementing the requested record. ThestepRecordTypemay be theTypereturned ingetRecordTypes()or any of its parents in aTypehierarchy wherehasRecordType(stepRecordType)istrue.- Parameters:
stepRecordType- the type of step record to retrieve- Returns:
- the step record
- Throws:
NullArgumentException-stepRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(stepRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-