public interface OsidRuleSearchOrder extends OsidObjectSearchOrder, OsidOperableSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
RuleSearchOrder |
getRuleSearchOrder()
Gets the search order for a rule.
|
void |
orderByRule(SearchOrderStyle style)
Specifies a preference for ordering the results by the associated
rule.
|
boolean |
supportsRuleSearchOrder()
Tests if a
RuleSearchOrder is available. |
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
orderByActive, orderByDisabled, orderByEnabled, orderByOperational
void orderByRule(SearchOrderStyle style)
RuleSearchOrder.
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsRuleSearchOrder()
RuleSearchOrder
is available. true
if a rule search order is available,
false
otherwisemandatory
- This method must be implemented. RuleSearchOrder getRuleSearchOrder()
UnimplementedException
-
supportsRuleSearchOrder()
is false
optional
- This method must be implemented if
supportsRuleSearchOrder()
is true.