Interface OsidRequestSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidSearchOrder, Suppliable
- All Known Subinterfaces:
RegistrationRequestSearchOrder
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the search order for an error state.Gets the search order for a requester resource.Gets the search order for a submitter resource.Gets the search order for a submitting agent.voidOrders results by the canceled date.voidorderByError(SearchOrderStyle style) Orders results by the error state.voidOrders results by the posting date.voidOrders results by the processed date.voidorderByRequester(SearchOrderStyle style) Specifies a preference for ordering the results by the requester.voidOrders results by the submitted date.voidorderBySubmitter(SearchOrderStyle style) Specifies a preference for ordering the results by the submitter.voidSpecifies a preference for ordering the results by the submitting agent.booleanTests if aStateSearchOrderis available.booleanTests if aResourceSearchOrderis available.booleanTests if aResourceSearchOrderis available.booleanTests if aResourceSearchOrderis available.Methods inherited from interface Extensible
getRecordTypes, hasRecordTypeModifier and TypeMethodDescriptionGets the record types available in this object.booleanhasRecordType(Type recordType) Tests if this object supports the given recordType.Methods inherited from interface OsidIdentifiableSearchOrder
orderByIdModifier and TypeMethodDescriptionvoidorderById(SearchOrderStyle style) Specifies a preference for ordering the result set by theId.Methods inherited from interface OsidObjectSearchOrder
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatisticModifier and TypeMethodDescriptionvoidOrders by the timestamp of the first journal entry.voidorderByCumulativeRating(Id bookId, SearchOrderStyle style) Orders by the cumulative rating in a givenBook.voidSpecifies a preference for ordering the result set by the description.voidSpecifies a preference for ordering the result set by the display name.voidorderByGenusType(SearchOrderStyle style) Specifies a preference for ordering the result set by the genus type.voidOrders by the timestamp of the last journal entry.voidorderByState(Id processId, SearchOrderStyle style) Orders by the state in a givenProcess.voidorderByStatistic(Id meterId, SearchOrderStyle style) Orders by a statistic for a givenMeter.
-
Method Details
-
orderByPostingDate
Orders results by the posting date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByRequester
Specifies a preference for ordering the results by the requester.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsRequesterSearchOrder
boolean supportsRequesterSearchOrder()Tests if aResourceSearchOrderis available.- Returns:
trueif a resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRequesterSearchOrder
ResourceSearchOrder getRequesterSearchOrder()Gets the search order for a requester resource.- Returns:
- the requester search order
- Throws:
UnimplementedException-supportsRequesterSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsRequesterSearchOrder()} is {@code true} .
-
orderBySubmittedDate
Orders results by the submitted date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderBySubmitter
Specifies a preference for ordering the results by the submitter.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsSubmitterSearchOrder
boolean supportsSubmitterSearchOrder()Tests if aResourceSearchOrderis available.- Returns:
trueif a resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSubmitterSearchOrder
ResourceSearchOrder getSubmitterSearchOrder()Gets the search order for a submitter resource.- Returns:
- the submitter search order
- Throws:
UnimplementedException-supportsSubmitterSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubmitterSearchOrder()} is {@code true} .
-
orderBySubmittingAgent
Specifies a preference for ordering the results by the submitting agent.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsSubmittingAgentSearchOrder
boolean supportsSubmittingAgentSearchOrder()Tests if aResourceSearchOrderis available.- Returns:
trueif a resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getSubmittingAgentSearchOrder
AgentSearchOrder getSubmittingAgentSearchOrder()Gets the search order for a submitting agent.- Returns:
- the submitting agent search order
- Throws:
UnimplementedException-supportsSubmittingAgentSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsSubmittingAgentSearchOrder()} is {@code true} .
-
orderByCanceledDate
Orders results by the canceled date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByProcessedDate
Orders results by the processed date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByError
Orders results by the error state.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsErrorSearchOrder
boolean supportsErrorSearchOrder()Tests if aStateSearchOrderis available.- Returns:
trueif a state search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getErrorSearchOrder
StateSearchOrder getErrorSearchOrder()Gets the search order for an error state.- Returns:
- the error state search order
- Throws:
UnimplementedException-supportsErrorSearchOrder()isfalse- Compliance:
optional- This method must be implemented if {@code supportsErrorSearchOrder()} is {@code true} .
-