Interface RequestSearchOrder
- All Superinterfaces:
Extensible, OsidBrowsableSearchOrder, OsidExtensibleSearchOrder, OsidIdentifiableSearchOrder, OsidObjectSearchOrder, OsidRelationshipSearchOrder, OsidSearchOrder, OsidTemporalSearchOrder, Suppliable
An interface for specifying the ordering of search results.
-
Method Summary
Modifier and TypeMethodDescriptionGets the exchange provision search order.Gets the origin provision search order.Gets the pool search order.Gets the queue search order.Gets the resource search order.Gets the resource search order.getRequestSearchOrderRecord(Type requestRecordType) Gets the request search order record corresponding to the given request recordType.Gets the request transaction search order.voidorderByEWA(SearchOrderStyle style) Orders the results by the estimated waiting time.voidOrders the results by exchange resource.voidOrders the results by origin provision.voidorderByPool(SearchOrderStyle style) Orders the results by pool.voidorderByPosition(SearchOrderStyle style) Orders the results by position.voidorderByQueue(SearchOrderStyle style) Orders the results by queue.voidOrders the results by request date.voidorderByRequester(SearchOrderStyle style) Orders the results by the requester.voidOrders the results by requesting agent.voidOrders the results by the request transaction.booleanTests if an exchange provision search order is available.booleanTests if an origin provision search order is available.booleanTests if a pool search order is available.booleanTests if a queue search order is available.booleanTests if a resource search order is available.booleanTests if an agent search order is available.booleanTests if a request transaction search order is 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.Methods inherited from interface OsidRelationshipSearchOrder
getEndReasonSearchOrder, orderByEndReason, supportsEndReasonSearchOrderModifier and TypeMethodDescriptionGets the search order for a state.voidorderByEndReason(SearchOrderStyle style) Specifies a preference for ordering the results by the end reason state.booleanTests if aStateSearchOrderis available.Methods inherited from interface OsidTemporalSearchOrder
orderByEffective, orderByEndDate, orderByStartDateModifier and TypeMethodDescriptionvoidorderByEffective(SearchOrderStyle style) Specifies a preference for ordering the result set by the effective status.voidorderByEndDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the end date.voidorderByStartDate(SearchOrderStyle style) Specifies a preference for ordering the result set by the start date.
-
Method Details
-
orderByRequestTransaction
Orders the results by the request transaction.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsRequestTransactionSearchOrder
boolean supportsRequestTransactionSearchOrder()Tests if a request transaction search order is available.- Returns:
trueif a request transaction search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRequestTransactionSearchOrder
RequestTransactionSearchOrder getRequestTransactionSearchOrder()Gets the request transaction search order.- Returns:
- the request transaction search order
- Throws:
IllegalStateException-supportsRequestTransactionSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByQueue
Orders the results by queue.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsQueueSearchOrder
boolean supportsQueueSearchOrder()Tests if a queue search order is available.- Returns:
trueif a queue search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getQueueSearchOrder
QueueSearchOrder getQueueSearchOrder()Gets the queue search order.- Returns:
- the queue search order
- Throws:
IllegalStateException-supportsQueueSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByRequestDate
Orders the results by request date.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByRequester
Orders 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 a resource search order is available.- Returns:
trueif a resource search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRequesterSearchOrder
ResourceSearchOrder getRequesterSearchOrder()Gets the resource search order.- Returns:
- the resource search order
- Throws:
IllegalStateException-supportsRequesterSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByRequestingAgent
Orders the results by requesting agent.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsRequestingAgentSearchOrder
boolean supportsRequestingAgentSearchOrder()Tests if an agent search order is available.- Returns:
trueif an agent search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getRequestingAgentSearchOrder
AgentSearchOrder getRequestingAgentSearchOrder()Gets the resource search order.- Returns:
- the agent search order
- Throws:
IllegalStateException-supportsRequestingAgentSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByPool
Orders the results by pool.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsPoolSearchOrder
boolean supportsPoolSearchOrder()Tests if a pool search order is available.- Returns:
trueif a pool search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getPoolSearchOrder
PoolSearchOrder getPoolSearchOrder()Gets the pool search order.- Returns:
- the pool search order
- Throws:
IllegalStateException-supportsPoolSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByExchangeProvision
Orders the results by exchange resource.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsExchangeProvisionSearchOrder
boolean supportsExchangeProvisionSearchOrder()Tests if an exchange provision search order is available.- Returns:
trueif a provision search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getExchangeProvisionSearchOrder
ProvisionSearchOrder getExchangeProvisionSearchOrder()Gets the exchange provision search order.- Returns:
- the provision search order
- Throws:
IllegalStateException-supportsExchangeProvisionSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByOriginProvision
Orders the results by origin provision.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
supportsOriginProvisionSearchOrder
boolean supportsOriginProvisionSearchOrder()Tests if an origin provision search order is available.- Returns:
trueif a provision search order is available,falseotherwise- Compliance:
mandatory- This method must be implemented.
-
getOriginProvisionSearchOrder
ProvisionSearchOrder getOriginProvisionSearchOrder()Gets the origin provision search order.- Returns:
- the provision search order
- Throws:
IllegalStateException-supportsOriginProvisionSearchOrder()isfalse- Compliance:
mandatory- This method must be implemented.
-
orderByPosition
Orders the results by position.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
orderByEWA
Orders the results by the estimated waiting time.- Parameters:
style- search order style- Throws:
NullArgumentException-styleisnull- Compliance:
mandatory- This method must be implemented.
-
getRequestSearchOrderRecord
RequestSearchOrderRecord getRequestSearchOrderRecord(Type requestRecordType) throws OperationFailedException Gets the request search order record corresponding to the given request recordType. Multiple retrievals return the same underlying object.- Parameters:
requestRecordType- a request record type- Returns:
- the request search order record
- Throws:
NullArgumentException-requestRecordTypeisnullOperationFailedException- unable to complete requestUnsupportedException-hasRecordType(requestRecordType)isfalse- Compliance:
mandatory- This method must be implemented.
-