public interface StepSearchOrder extends OsidGovernatorSearchOrder, OsidSubjugateableSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
StateSearchOrder |
getNextStateSearchOrder()
Gets the next state search order.
|
ProcessSearchOrder |
getProcessSearchOrder()
Gets the process search order.
|
StepSearchOrderRecord |
getStepSearchOrderRecord(Type stepRecordType)
Gets the step search order record corresponding to the given step
record
Type. |
void |
orderByInitial(SearchOrderStyle style)
Orders the results by initial steps.
|
void |
orderByNextState(SearchOrderStyle style)
Orders the results by next state.
|
void |
orderByProcess(SearchOrderStyle style)
Orders the results by process.
|
void |
orderByTerminal(SearchOrderStyle style)
Orders the results by terminal steps.
|
boolean |
supportsNextStateSearchOrder()
Tests if a next state search order is available.
|
boolean |
supportsProcessSearchOrder()
Tests if a process search order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByActive, orderByDisabled, orderByEnabled, orderByOperational
getProviderSearchOrder, orderByProvider, supportsProviderSearchOrder
void orderByProcess(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsProcessSearchOrder()
true
if a process search order is available,
false
otherwisemandatory
- This method must be implemented. ProcessSearchOrder getProcessSearchOrder()
IllegalStateException
-
supportsProcessSearchOrder()
is false
mandatory
- This method must be implemented. void orderByInitial(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByTerminal(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByNextState(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsNextStateSearchOrder()
true
if a state search order is available,
false
otherwisemandatory
- This method must be implemented. StateSearchOrder getNextStateSearchOrder()
IllegalStateException
-
supportsNextStateSearchOrder()
is false
mandatory
- This method must be implemented. StepSearchOrderRecord getStepSearchOrderRecord(Type stepRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same
underlying object.stepRecordType
- a step record typeNullArgumentException
- stepRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(stepRecordType)
is false
mandatory
- This method must be implemented.