OSID Logo
OSID Specifications
messaging package
Version 3.0.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.IdmessageIda message Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTmessageId is null
CompliancemandatoryThis method must be implemented.
MethodclearMessageIdTerms
Description

Clears the message Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsMessageQuery
Description

Tests if a MessageQuery is available.

Returnbooleantrue if a message query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetMessageQuery
Description

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

Returnosid.messaging.MessageQuerythe message query
ErrorsUNIMPLEMENTEDsupportsMessageQuery() is false
ComplianceoptionalThis method must be implemented if supportsMessageQuery() is true .
MethodclearMessageTerms
Description

Clears the message terms.

CompliancemandatoryThis method must be implemented.
MethodmatchReceivedTime
Description

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

Parametersosid.calendaring.DateTimestartTimestart time
osid.calendaring.DateTimeendTimeend time
booleanmatchtrue if for a positive match, false for a negative match
ErrorsINVALID_ARGUMENTstartTime is greater than endTime
NULL_ARGUMENTstartTime or endTime is null
CompliancemandatoryThis method must be implemented.
MethodclearReceivedTimeTerms
Description

Clears the received time terms.

CompliancemandatoryThis method must be implemented.
MethodmatchReceivingAgentId
Description

Matches the endpoint recipient of the message.

Parametersosid.id.IdagentIdId to match
booleanmatchtrue if for a positive match, false for a negative match
ErrorsNULL_ARGUMENTagentId is null
CompliancemandatoryThis method must be implemented.
MethodclearReceivingAgentIdTerms
Description

Clears the receiving agent Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsReceivingAgentQuery
Description

Tests if an AgentQuery is available for querying receiving agents.

Returnbooleantrue if an agent query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetReceivingAgentQuery
Description

Gets the query for the receiving agent.

Returnosid.authentication.AgentQuerythe agent query
ErrorsUNIMPLEMENTEDsupportsReceivingQuery() is false
ComplianceoptionalThis method must be implemented if supportsReceivingQuery() is true .
MethodclearReceivingAgentTerms
Description

Clears the receiving agent terms.

CompliancemandatoryThis method must be implemented.
MethodmatchRecipientId
Description

Matches any recipient of the message.

Parametersosid.id.IdresourceIdId to match
booleanmatchtrue if for a positive match, false for a negative match
ErrorsNULL_ARGUMENTresourceId is null
CompliancemandatoryThis method must be implemented.
MethodclearRecipientIdTerms
Description

Clears the recipient Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsRecipientQuery
Description

Tests if a ResourceQuery is available for querying recipients.

Returnbooleantrue if a resource query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetRecipientQuery
Description

Gets the query for a recipient resource.

Returnosid.resource.ResourceQuerythe resource query
ErrorsUNIMPLEMENTEDsupportsRecipientQuery() is false
ComplianceoptionalThis method must be implemented if supportsRecipientQuery() is true .
MethodclearRecipientTerms
Description

Clears the recipient terms.

CompliancemandatoryThis method must be implemented.
MethodmatchMailboxId
Description

Sets the mailbox Id for this query.

Parametersosid.id.IdmailboxIdthe mailbox Id
booleanmatchtrue for a positive match, false for a negative match
ErrorsNULL_ARGUMENTmailboxId is null
CompliancemandatoryThis method must be implemented.
MethodclearMailboxIdTerms
Description

Clears the mailbox Id terms.

CompliancemandatoryThis method must be implemented.
MethodsupportsMailboxQuery
Description

Tests if a MailboxQuery is available.

Returnbooleantrue if a mailbox query is available, false otherwise
CompliancemandatoryThis method must be implemented.
MethodgetMailboxQuery
Description

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

Returnosid.messaging.MailboxQuerythe mailbox query
ErrorsUNIMPLEMENTEDsupportsMailboxQuery() is false
ComplianceoptionalThis method must be implemented if supportsMailboxQuery() is true .
MethodclearMailboxTerms
Description

Clears the mailbox terms.

CompliancemandatoryThis 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.TypereceiptRecordTypea receipt record type
Returnosid.messaging.records.ReceiptQueryRecordthe recript query record
ErrorsNULL_ARGUMENTreceiptRecordType is null
OPERATION_FAILEDunable to complete request
UNSUPPORTEDhasRecordType(receiptRecordType) is false
CompliancemandatoryThis method must be implemented.