OSID Logo
OSID Specifications
messaging package
Version 3.1.0
Interfaceosid.messaging.ReceiptQuery
Implementsosid.OsidObjectQuery
osid.OsidSubjugateableQuery
Used Byosid.messaging.MessageQuery
Description

This is the query for searching message receipts. Each method specifies an AND term while multiple invocations of the same method produce a nested OR.

MethodmatchMessageId
Description

Sets the message Id for this query.

Parametersosid.id.IdmessageId a message Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT messageId is null
Compliancemandatory This method must be implemented.
MethodclearMessageIdTerms
Description

Clears the message Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsMessageQuery
Description

Tests if a MessageQuery is available.

Returnboolean true if a message query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetMessageQuery
Description

Gets the query for a message. Multiple retrievals produce a nested OR term.

Returnosid.messaging.MessageQuery the message query
ErrorsUNIMPLEMENTED supportsMessageQuery() is false
Complianceoptional This method must be implemented if supportsMessageQuery() is true.
MethodclearMessageTerms
Description

Clears the message terms.

Compliancemandatory This method must be implemented.
MethodmatchReceivedTime
Description

Matches messages whose received time is between the supplied range inclusive.

Parametersosid.calendaring.DateTimestartTime start time
osid.calendaring.DateTimeendTime end time
booleanmatch true if for a positive match, false for a negative match
ErrorsINVALID_ARGUMENT startTime is greater than endTime
NULL_ARGUMENT startTime or endTime is null
Compliancemandatory This method must be implemented.
MethodclearReceivedTimeTerms
Description

Clears the received time terms.

Compliancemandatory This method must be implemented.
MethodmatchReceivingAgentId
Description

Matches the endpoint recipient of the message.

Parametersosid.id.IdagentId Id to match
booleanmatch true if for a positive match, false for a negative match
ErrorsNULL_ARGUMENT agentId is null
Compliancemandatory This method must be implemented.
MethodclearReceivingAgentIdTerms
Description

Clears the receiving agent Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsReceivingAgentQuery
Description

Tests if an AgentQuery is available for querying receiving agents.

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

Gets the query for the receiving agent.

Returnosid.authentication.AgentQuery the agent query
ErrorsUNIMPLEMENTED supportsReceivingQuery() is false
Complianceoptional This method must be implemented if supportsReceivingQuery() is true.
MethodclearReceivingAgentTerms
Description

Clears the receiving agent terms.

Compliancemandatory This method must be implemented.
MethodmatchRecipientId
Description

Matches any recipient of the message.

Parametersosid.id.IdresourceId Id to match
booleanmatch true if for a positive match, false for a negative match
ErrorsNULL_ARGUMENT resourceId is null
Compliancemandatory This method must be implemented.
MethodclearRecipientIdTerms
Description

Clears the recipient Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsRecipientQuery
Description

Tests if a ResourceQuery is available for querying recipients.

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

Gets the query for a recipient resource.

Returnosid.resource.ResourceQuery the resource query
ErrorsUNIMPLEMENTED supportsRecipientQuery() is false
Complianceoptional This method must be implemented if supportsRecipientQuery() is true.
MethodclearRecipientTerms
Description

Clears the recipient terms.

Compliancemandatory This method must be implemented.
MethodmatchMailboxId
Description

Sets the mailbox Id for this query.

Parametersosid.id.IdmailboxId the mailbox Id
booleanmatch true for a positive match, false for a negative match
ErrorsNULL_ARGUMENT mailboxId is null
Compliancemandatory This method must be implemented.
MethodclearMailboxIdTerms
Description

Clears the mailbox Id terms.

Compliancemandatory This method must be implemented.
MethodsupportsMailboxQuery
Description

Tests if a MailboxQuery is available.

Returnboolean true if a mailbox query is available, false otherwise
Compliancemandatory This method must be implemented.
MethodgetMailboxQuery
Description

Gets the query for a mailbox. Multiple retrievals produce a nested OR term.

Returnosid.messaging.MailboxQuery the mailbox query
ErrorsUNIMPLEMENTED supportsMailboxQuery() is false
Complianceoptional This method must be implemented if supportsMailboxQuery() is true.
MethodclearMailboxTerms
Description

Clears the mailbox terms.

Compliancemandatory This method must be implemented.
MethodgetReceiptQueryRecord
Description

Gets the receipt query record corresponding to the given Receipt record Type .Multiple retrievals produce a nested OR term.

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