OSID Logo
OSID Specifications
cataloging package
Version 3.1.0
Interfaceosid.cataloging.CatalogEntryNotificationSession
Implementsosid.OsidSession
Used Byosid.cataloging.CatalogingManager
osid.cataloging.CatalogingProxyManager
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.Id the Catalog Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetCatalog
Description

Gets the Catalog associated with this session.

Returnosid.cataloging.Catalog the catalog
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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
Compliancemandatory This 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.

Compliancemandatory This 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.

Compliancemandatory This method is must be implemented.
MethodreliableCatalogEntryNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodunreliableCatalogEntryNotifications
Description

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

Compliancemandatory This method is must be implemented.
MethodacknowledgeCatalogEntryNotification
Description

Acknowledge a catalog entry 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.
MethodregisterForNewCatalogEntries
Description

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

ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This 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_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.