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
.
-
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, getPropertiesByRecordTypeModifier and TypeMethodDescriptionGets a list of properties.getPropertiesByRecordType(Type recordType) Gets a list of properties corresponding to the specified record type.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface Identifiable
getId, isCurrentMethods inherited from interface Operable
isActive, isDisabled, isEnabled, isOperationalModifier and TypeMethodDescriptionbooleanisActive()Tests if this operable is active.booleanTests if this operable is administravely disabled.booleanTests if this operable is administravely enabled.booleanTests if thisOperableis operational.Methods inherited from interface OsidObject
getDescription, getDisplayName, getGenusType, isOfGenusTypeModifier and TypeMethodDescriptionGets the description associated with this instance of this OSID object.Gets the preferred display name associated with this instance of this OSID object appropriate for display to the user.Gets the genus type of this object.booleanisOfGenusType(Type genusType) Tests if this object is of the given genusType.Methods 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.
-