OSID Logo
OSID Specifications
messaging package
Version 3.1.0
Interfaceosid.messaging.ReceiptSearchOrder
Implementsosid.OsidObjectSearchOrder
osid.OsidSubjugateableSearchOrder
Used Byosid.messaging.MessageSearchOrder
Description

An interface for specifying the ordering of search results.

MethodorderByReceivedTime
Description

Specifies a preference for ordering messages by the received time.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodorderByReceivingAgent
Description

Specifies a preference for ordering messages by receiving agent.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsReceivingAgentSearchOrder
Description

Tests if an agent order is available.

Returnboolean true if an agent order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetReceivingAgentSearchOrder
Description

Gets the receiving agent order.

Returnosid.authentication.AgentSearchOrder the agent search order
ErrorsUNIMPLEMENTED supportsReceivingAgentSearchOrder() is false
Complianceoptional This method must be implemented if supportsReceivingAgentSearchOrder() is true.
MethodorderByRecipient
Description

Specifies a preference for ordering messages by recipient.

Parametersosid.SearchOrderStylestyle search order style
ErrorsNULL_ARGUMENT style is null
Compliancemandatory This method must be implemented.
MethodsupportsRecipientSearchOrder
Description

Tests if a resource order is available.

Returnboolean true if a resource order is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetRecipientSearchOrder
Description

Gets the recipient order.

Returnosid.resource.ResourceSearchOrder the resource search order
ErrorsUNIMPLEMENTED supportsRecipienttSearchOrder() is false
Complianceoptional This method must be implemented if supportsRecipientSearchOrder() is true.
MethodgetReceiptSearchOrderRecord
Description

Gets the receipt search order record corresponding to the given receipt record Type.Multiple retrievals return the same underlying object.

Parametersosid.type.TypereceiptRecordType a receipt record type
Returnosid.messaging.records.ReceiptSearchOrderRecord the receipt search order record
ErrorsNULL_ARGUMENT receiptRecordType is null
OPERATION_FAILED unable to complete request
UNSUPPORTED hasRecordType(receiptRecordType) is false
Compliancemandatory This method must be implemented.