public interface ReceiptSearchOrder extends OsidObjectSearchOrder, OsidSubjugateableSearchOrder
An interface for specifying the ordering of search results.
Modifier and Type | Method and Description |
---|---|
ReceiptSearchOrderRecord |
getReceiptSearchOrderRecord(Type receiptRecordType)
Gets the receipt search order record corresponding to the given
receipt record
Type. |
AgentSearchOrder |
getReceivingAgentSearchOrder()
Gets the receiving agent order.
|
ResourceSearchOrder |
getRecipientSearchOrder()
Gets the recipient order.
|
void |
orderByReceivedTime(SearchOrderStyle style)
Specifies a preference for ordering messages by the received time.
|
void |
orderByReceivingAgent(SearchOrderStyle style)
Specifies a preference for ordering messages by receiving agent.
|
void |
orderByRecipient(SearchOrderStyle style)
Specifies a preference for ordering messages by recipient.
|
boolean |
supportsReceivingAgentSearchOrder()
Tests if an agent order is available.
|
boolean |
supportsRecipientSearchOrder()
Tests if a resource order is available.
|
orderByCreateTime, orderByCumulativeRating, orderByDescription, orderByDisplayName, orderByGenusType, orderByLastModifiedTime, orderByState, orderByStatistic
orderById
getRecordTypes, hasRecordType
void orderByReceivedTime(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. void orderByReceivingAgent(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsReceivingAgentSearchOrder()
true
if an agent order is available,
false
otherwisemandatory
- This method must be implemented. AgentSearchOrder getReceivingAgentSearchOrder()
UnimplementedException
-
supportsReceivingAgentSearchOrder()
is false
optional
- This method must be implemented if
supportsReceivingAgentSearchOrder()
is
true.
void orderByRecipient(SearchOrderStyle style)
style
- search order styleNullArgumentException
- style
is
null
mandatory
- This method must be implemented. boolean supportsRecipientSearchOrder()
true
if a resource order is available,
false
otherwisemandatory
- This method must be implemented. ResourceSearchOrder getRecipientSearchOrder()
UnimplementedException
-
supportsRecipienttSearchOrder()
is false
optional
- This method must be implemented if
supportsRecipientSearchOrder()
is true.
ReceiptSearchOrderRecord getReceiptSearchOrderRecord(Type receiptRecordType) throws OperationFailedException
Type.
Multiple retrievals return the
same underlying object.receiptRecordType
- a receipt record typeNullArgumentException
- receiptRecordType
is null
OperationFailedException
- unable to complete requestUnsupportedException
-
hasRecordType(receiptRecordType)
is false
mandatory
- This method must be implemented.