OSID Logo
OSID Specifications
messaging package
Version 3.1.0
Interfaceosid.messaging.Receipt
Implementsosid.OsidObject
osid.Subjugateable
Used Byosid.messaging.Message
osid.messaging.ReceiptList
osid.messaging.ReceiptLookupSession
Description

A Message receipt is generated when a message is received by a receiving agent.

MethodgetMessageId
Description

Gets the Id of the Message.

Returnosid.id.Id the message Id
Compliancemandatory This method must be implemented.
MethodgetMessage
Description

Gets the Message.

Returnosid.messaging.Message the message
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetReceivedTime
Description

Gets the time the message was received.

Returnosid.calendaring.DateTime the time
Compliancemandatory This method must be implemented.
MethodgetReceivingAgentId
Description

Gets the Id of the Agent that received this message at this endpoint.

Returnosid.id.Id the receiving agent Id
Compliancemandatory This method must be implemented.
MethodgetReceivingAgent
Description

Gets the Agent that received this message at this endpoint.

Returnosid.authentication.Agent the receiving agent
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetRecipientId
Description

Gets the Id of the Resource that received this message at this endpoint.

Returnosid.id.Id the recipient Id
Compliancemandatory This method must be implemented.
MethodgetRecipient
Description

Gets the Resource that received this message at this endpoint.

Returnosid.resource.Resource the recipient
ErrorsOPERATION_FAILED unable to complete request
Compliancemandatory This method must be implemented.
MethodgetReceiptRecord
Description

Gets the receipt record corresponding to the given Receipt record Type.This method is used to retrieve an object implementing the requested record. The receiptRecordType may be the Type returned in getRecordTypes() or any of its parents in a Type hierarchy where hasRecordType(receiptRecordType) is true.

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