OSID Logo
OSID Specifications
inquiry rules package
Version 3.1.0
Interfaceosid.inquiry.rules.AuditProcessorNotificationSession
Implementsosid.OsidSession
Used Byosid.inquiry.rules.InquiryRulesManager
osid.inquiry.rules.InquiryRulesProxyManager
Description

This session defines methods to receive notifications on adds/changes to AuditProcessors in this Inquest. This also includes existing audit processors that may appear or disappear due to changes in the Inquest hierar chy, This session is intended for consumers needing to synchronize their state with this service without the use of polling. Notifications are cancelled when this session is closed.

The two views defined in this session correspond to the views in the AuditProcessorLookupSession.

MethodgetInquestId
Description

Gets the Inquest Id associated with this session.

Returnosid.id.Id the Inquest Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetInquest
Description

Gets the Inquest associated with this session.

Returnosid.inquiry.Inquest the inquest
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanRegisterForAuditProcessorNotifications
Description

Tests if this user can register for AuditProcessor notifications. A return of true does not guarantee successful authorization. A return of false indicates that it is known all methods in this session will result in a PERMISSION_DENIED .This is intended as a hint to an application that may opt not to offer notification operations.

Returnboolean false if notification methods are not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoduseFederatedInquestView
Description

Federates the view for methods in this session. A federated view will include audit processors in inquests which are children of this inquest in the inquest hierarchy.

Compliancemandatory This method is must be implemented.
MethoduseIsolatedInquestView
Description

Isolates the view for methods in this session. An isolated view restricts notifications to this inquest only.

Compliancemandatory This method is must be implemented.
MethodreliableAuditProcessorNotifications
Description

Reliable notifications are desired. In reliable mode, notifications are to be acknowledged using acknowledgeAuditProcessorNotification().

Compliancemandatory This method is must be implemented.
MethodunreliableAuditProcessorNotifications
Description

Unreliable notifications are desired. In unreliable mode, notifications do not need to be acknowledged.

Compliancemandatory This method is must be implemented.
MethodacknowledgeAuditProcessorNotification
Description

Acknowledge an audit processor notification.

Parametersosid.id.IdnotificationId the Id of the notification
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForNewAuditProcessors
Description

Register for notifications of new audit processors. AuditProcessorReceiver.newAuditProcessors() is invoked when a new AuditProcessor appears in this inquest.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedAuditProcessors
Description

Register for notifications of updated audit processors. AuditProcessorReceiver.changedAuditProcessors() is invoked when an AuditProcessor in this inquest is changed.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForChangedAuditProcessor
Description

Register for notifications of an updated audit processor. AuditProcessorReceiver.changedAuditProcessors() is invoked when the specified AuditProcessor in this inquest is changed.

Parametersosid.id.IdauditProcessorId the Id of the AuditProcessor to monitor
ErrorsNULL_ARGUMENT auditProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedAuditProcessors
Description

Registers for notification of deleted audit processors. AuditProcessorReceiver.deletedAuditProcessors() is invoked when an audit processor is deleted or removed from this inquest.

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodregisterForDeletedAuditProcessor
Description

Registers for notification of a deleted audit processor. AuditProcessorReceiver.deletedAuditProcessor() is invoked when the specified audit processor is deleted or removed from this inquest.

Parametersosid.id.IdauditProcessorId the Id of the AuditProcessor to monitor
ErrorsNULL_ARGUMENT auditProcessorId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.