public interface OrderSearchOrder extends OsidObjectSearchOrder, OsidAggregateableSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
AgentSearchOrder |
getCloserSearchOrder()
Gets the closer search order.
|
AgentSearchOrder |
getClosingAgentSearchOrder()
Gets the closing agent search order.
|
ResourceSearchOrder |
getCustomerSearchOrder()
Gets the customer search order.
|
OrderSearchOrderRecord |
getOrderSearchOrderRecord(Type orderRecordType)
Gets the order search order record corresponding to the given order
record
Type. |
ResourceSearchOrder |
getSubmitterSearchOrder()
Gets the submitter search order.
|
AgentSearchOrder |
getSubmittingAgentSearchOrder()
Gets the submitting agent search order.
|
void |
orderByClosedDate(SearchOrderStyle style)
Specifies a preference for ordering the result set by the closed date.
|
void |
orderByCloser(SearchOrderStyle style)
Specifies a preference for ordering the result set by the closer.
|
void |
orderByClosingAgent(SearchOrderStyle style)
Specifies a preference for ordering the result set by the closer.
|
void |
orderByCustomer(SearchOrderStyle style)
Specifies a preference for ordering the result set by the customer.
|
void |
orderBySubmitDate(SearchOrderStyle style)
Specifies a preference for ordering the result set by the submitted
date.
|
void |
orderBySubmitter(SearchOrderStyle style)
Specifies a preference for ordering the result set by the submitter.
|
void |
orderBySubmittingAgent(SearchOrderStyle style)
Specifies a preference for ordering the result set by the submitting
agent.
|
void |
orderByTotalCost(SearchOrderStyle style)
Specifies a preference for ordering the result set by the total cost.
|
boolean |
supportsCloserSearchOrder()
Tests if a closer search order is available.
|
boolean |
supportsClosingAgentSearchOrder()
Tests if a closing agent search order is available.
|
boolean |
supportsCustomerSearchOrder()
Tests if a customer search order is available.
|
boolean |
supportsSubmitterSearchOrder()
Tests if a submitter search order is available.
|
boolean |
supportsSubmittingAgentSearchOrder()
Tests if a submitting agent search order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
void orderByCustomer(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsCustomerSearchOrder()
true
if a customer order is available,
false
otherwisemandatory
- This method must be implemented. ResourceSearchOrder getCustomerSearchOrder()
UnimplementedException
-
supportsCustomerSearchOrder()
is false
optional
- This method must be implemented if
supportsCustomerSearchOrder()
is true.
void orderByTotalCost(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderBySubmitDate(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderBySubmitter(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsSubmitterSearchOrder()
true
if a resource order is available,
false
otherwisemandatory
- This method must be implemented. ResourceSearchOrder getSubmitterSearchOrder()
UnimplementedException
-
supportsSubmitterSearchOrder()
is false
optional
- This method must be implemented if
supportsSubmitterSearchOrder()
is true.
void orderBySubmittingAgent(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsSubmittingAgentSearchOrder()
true
if an agent order is available,
false
otherwisemandatory
- This method must be implemented. AgentSearchOrder getSubmittingAgentSearchOrder()
UnimplementedException
-
supportsSubmittingAgentSearchOrder()
is false
optional
- This method must be implemented if
supportsSubmittingAgentSearchOrder()
is
true.
void orderByClosedDate(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByCloser(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsCloserSearchOrder()
true
if a resource order is available,
false
otherwisemandatory
- This method must be implemented. AgentSearchOrder getCloserSearchOrder()
UnimplementedException
-
supportsCloserSearchOrder()
is false
optional
- This method must be implemented if
supportsCloserSearchOrder()
is true.
void orderByClosingAgent(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsClosingAgentSearchOrder()
true
if an agent order is available,
false
otherwisemandatory
- This method must be implemented. AgentSearchOrder getClosingAgentSearchOrder()
UnimplementedException
-
supportsClosingAgentSearchOrder()
is false
optional
- This method must be implemented if
supportsClosingAgentSearchOrder()
is true.
OrderSearchOrderRecord getOrderSearchOrderRecord(Type orderRecordType) throws OperationFailedException
Type.
Multiple retrievals return the same
underlying object.orderRecordType
- a order record typeNullArgumentException
- orderRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(orderRecordType)
is false
mandatory
- This method must be implemented.