public interface ValueSearchOrder extends OsidObjectSearchOrder, OsidOperableSearchOrder, OsidSubjugateableSearchOrder
This interface specifies options for ordering search results.
Modifier and Type | Method and Description |
---|---|
ParameterSearchOrder |
getParameterSearchOrder()
Gets the parameter search order.
|
ValueSearchOrderRecord |
getValueSearchOrderRecord(Type valueRecordType)
Gets the value search order record corresponding to the given value
record
Type. |
void |
orderByPriority(SearchOrderStyle style)
Specifies a preference for ordering the results by the value priority.
|
void |
orderByValue(SearchOrderStyle style)
Specifies a preference for ordering the results by the value.
|
boolean |
supportsParameterSearchOrder()
Tests if a
ParameterSearchOrder is available. |
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByActive, orderByDisabled, orderByEnabled, orderByOperational
void orderByPriority(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByValue(SearchOrderStyle style)
style
- a search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsParameterSearchOrder()
ParameterSearchOrder
is available. true
if a parameter search order interface is
available, false
otherwisemandatory
- This method must be implemented. ParameterSearchOrder getParameterSearchOrder()
UnimplementedException
-
supportsParameterSearchOrder()
is false
optional
- This method must be implemented is
supportsParameterSearchOrder()
is true.
ValueSearchOrderRecord getValueSearchOrderRecord(Type valueRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same
underlying object.valueRecordType
- a value record typeNullArgumentException
- valueRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(valueRecordType)
is false
mandatory
- This method must be implemented.