OSID Logo
OSID Specifications
cataloging package
Version 3.0.0
Release Candidate Preview
Interfaceosid.cataloging.CatalogEntryNotificationSession
Implementsosid.OsidSession
Description

This session defines methods to receive notifications on adds/changes to a catalog assignment. 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.

Notifications are triggered with changes to assignments of Ids to this catalog. For notifications of changes to the Catalog object use CatalogNotificationSession.

MethodgetCatalogId
Description

Gets the Catalog Id associated with this session.

Returnosid.id.Idthe Catalog Id associated with this session
CompliancemandatoryThis method must be implemented.
MethodgetCatalog
Description

Gets the Catalog associated with this session.

Returnosid.cataloging.Catalogthe catalog
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodcanRegisterForCatalogEntryNotifications
Description

Tests if this user can register for Catalog entry 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
CompliancemandatoryThis method must be implemented.
MethoduseFederatedCatalogView
Description

Federates the view for methods in this session. A federated view will include entries from parent catalogs in the catalog hierarchy.

CompliancemandatoryThis method is must be implemented.
MethoduseIsolatedCatalogView
Description

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

CompliancemandatoryThis method is must be implemented.
MethodreliableCatalogEntryNotifications
Description

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

CompliancemandatoryThis method is must be implemented.
MethodunreliableCatalogEntryNotifications
Description

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

CompliancemandatoryThis method is must be implemented.
MethodacknowledgeCatalogEntryNotification
Description

Acknowledge a catalog entry notification.

Parametersosid.id.IdnotificationIdthe Id of the notification
ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForNewCatalogEntries
Description

Register for notifications of new catalogs. CatalogEntryReceiver.newCatalogEntries() is invoked when a new Catalog entry is created.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.
MethodregisterForDeletedCatalogEntries
Description

Registers for notification of deleted catalogs entries. CatalogEntryReceiver.deletedCatalogEntries() is invoked when a catalog entry is removed from this catalog.

ErrorsOPERATION_FAILEDunable to complete request
PERMISSION_DENIEDauthorization failure
CompliancemandatoryThis method must be implemented.