public interface Work extends OsidObject
Work
moves through Steps
in a workflow.
Modifier and Type | Method and Description |
---|---|
WorkRecord |
getWorkRecord(Type workRecordType)
Gets the work record corresponding to the given
Work
record Type. |
getDescription, getDisplayName, getGenusType, isOfGenusType
getId, isCurrent
getRecordTypes, hasRecordType
getProperties, getPropertiesByRecordType
WorkRecord getWorkRecord(Type workRecordType) throws OperationFailedException
Work
record Type.
This method is used to retrieve an object
implementing the requested record. The workRecordType
may be the Type
returned in getRecordTypes()
or any of its parents in a Type
hierarchy where
hasRecordType(workRecordType)
is true
.workRecordType
- the type of work record to retrieveNullArgumentException
- workRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(workRecordType)
is false
mandatory
- This method must be implemented.