public interface KeySearchOrder extends OsidObjectSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
AgentSearchOrder |
getAgentSearchOrder()
Gets the agent search order.
|
KeySearchOrderRecord |
getKeySearchOrderRecord(Type keyRecordType)
Gets the key search order record corresponding to the given key record
Type. |
boolean |
supportsAgentSearchOrder()
Tests if an
AgentSearchOrder is available. |
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
boolean supportsAgentSearchOrder()
AgentSearchOrder
is available. true
if an agent search order interface is
available, false
otherwisemandatory
- This method must be implemented. AgentSearchOrder getAgentSearchOrder()
UnimplementedException
-
supportsAgentSearchOrder()
is false
optional
- This method must be implemented is
supportsAgentSearchOrder()
is true.
KeySearchOrderRecord getKeySearchOrderRecord(Type keyRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same underlying
object.keyRecordType
- a key record typeNullArgumentException
- keyRecordType
is
null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(keyRecordType)
is false
mandatory
- This method must be implemented.