public interface AgentSearchOrder extends OsidObjectSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
AgentSearchOrderRecord |
getAgentSearchOrderRecord(Type agentRecordType)
Gets the agent search order record corresponding to the given agent
record
Type. |
ResourceSearchOrder |
getResourceSearchOrder()
Gets the resource search order.
|
void |
orderByResource(SearchOrderStyle style)
Orders the results by resource.
|
boolean |
supportsResourceSearchOrder()
Tests if a
ResourceSearchOrder is available. |
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
void orderByResource(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsResourceSearchOrder()
ResourceSearchOrder
is available. true
if a resource search order interface is
available, false
otherwisemandatory
- This method must be implemented. ResourceSearchOrder getResourceSearchOrder()
UnimplementedException
-
supportsResourceSearchOrder()
is false
optional
- This method must be implemented if
supportsResourceSearchOrder()
is true.
AgentSearchOrderRecord getAgentSearchOrderRecord(Type agentRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same
underlying object.agentRecordType
- an agent record typeNullArgumentException
- agentRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(agentRecordType)
is false
mandatory
- This method must be implemented.