public interface AddressSearchOrder extends OsidObjectSearchOrder
An interface for specifying the ordering of search results.
| Modifier and Type | Method and Description |
|---|---|
AddressSearchOrderRecord |
getAddressSearchOrderRecord(Type addressRecordType)
Gets the address search order record corresponding to the given
address record Type.
|
ResourceSearchOrder |
getResourceSearchOrder()
Gets the resource order.
|
void |
orderByResource(SearchOrderStyle style)
Specifies a preference for ordering the result set by the resource.
|
boolean |
supportsResourceSearchOrder()
Tests if a resource order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticorderByIdgetRecordTypes, hasRecordTypevoid orderByResource(SearchOrderStyle style)
style - search order styleNullArgumentException - style is
null mandatory - This method must be implemented. boolean supportsResourceSearchOrder()
true if a resource order is available,
false otherwisemandatory - This method must be implemented. ResourceSearchOrder getResourceSearchOrder()
UnimplementedException -
supportsAddresseeSearchOrder() is false optional - This method must be implemented if
supportsAddresseeSearchOrder() is true.
AddressSearchOrderRecord getAddressSearchOrderRecord(Type addressRecordType) throws OperationFailedException
addressRecordType - an address record typeNullArgumentException - addressRecordType
is null OperationFailedException - unable to complete requestUnsupportedException -
hasRecordType(addressRecordType) is false
mandatory - This method must be implemented.