OSID Logo
OSID Specifications
cataloging package
Version 3.0.0
Release Candidate Preview
Interfaceosid.cataloging.CatalogingManager
Implementsosid.OsidManager
osid.cataloging.CatalogingProfile
Description

The cataloging manager provides access to cataloging sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • CatalogSession: a session to lookup mappings to catalogs
  • CatalogAssignmentSession: a session to manage Id to Catalog mappings
  • CatalogEntryNotificationSession: a session to receive notification of changed mappings
  • CatalogLookupSession: a session to retrieve catalogs
  • CatalogQuerySession: a session to query catalogs
  • CatalogSearchSession: a session to search for catalogs
  • CatalogAdminSession: a session to create, update and delete catalogs
  • CatalogNotificationSession: a session to receive notifications for changes in catalogs
  • CatalogHierarchyTraversalSession: a session to traverse hierarchies of catalogs
  • CatalogHierarchyDesignSession: a session to manage hierarchues of catalogs

The cataloging manager also provides a profile for determing the supported search types supported by this service.

MethodgetCatalogSession
Description

Gets the cataloging session for retrieving mappings to catalogs.

Returnosid.cataloging.CatalogSessiona CatalogSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalog() is false
ComplianceoptionalThis method must be implemented if supportsCatalog() is true.
MethodgetCatalogAssignmentSession
Description

Gets the cataloging session for adding and removing mappings to catalogs.

Returnosid.cataloging.CatalogAssignmentSessiona CatalogAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogAssignment() is false
ComplianceoptionalThis method must be implemented if supportsCatalogAssignment() is true.
MethodgetCatalogEntryNotificationSession
Description

Gets the notification session for subscribing to changes to catalogs.

Parametersosid.cataloging.CatalogEntryReceivercatalogEntryReceiverthe notification callback
Returnosid.cataloging.CatalogEntryNotificationSessiona CatalogEntryNotificationSession
ErrorsNULL_ARGUMENT catalogEntryReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEntryNotification() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEntryNotification() is true.
MethodgetCatalogEntryNotificationSessionForCatalog
Description

Gets the notification session for subscribing to changes to catalogs for the given catalog.

Parametersosid.cataloging.CatalogEntryReceivercatalogEntryReceiverthe notification callback
osid.id.IdcatalogIdthe Id of the Catalog
Returnosid.cataloging.CatalogEntryNotificationSessiona CatalogEntryNotificationSession
ErrorsNULL_ARGUMENT catalogEntryReceiver or catalogId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEntryNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEntryNotification() and supportsVisibleFederation() are true
MethodgetCatalogLookupSession
Description

Gets the catalog lookup session.

Returnosid.cataloging.CatalogLookupSessiona CatalogLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogLookup() is false
ComplianceoptionalThis method must be implemented if supportsCatalogLookup() is true.
MethodgetCatalogQuerySession
Description

Gets the catalog query session.

Returnosid.cataloging.CatalogQuerySessiona CatalogQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogQuery() is false
ComplianceoptionalThis method must be implemented if supportsCatalogQuery() is true.
MethodgetCatalogSearchSession
Description

Gets the catalog search session.

Returnosid.cataloging.CatalogSearchSessiona CatalogSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogSearch() is false
ComplianceoptionalThis method must be implemented if supportsCatalogSearch() is true.
MethodgetCatalogAdminSession
Description

Gets the catalog administrative session for creating, updating and deleting catalogs.

Returnosid.cataloging.CatalogAdminSessiona CatalogAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogAdmin() is false
ComplianceoptionalThis method must be implemented if supportsCatalogAdmin() is true.
MethodgetCatalogNotificationSession
Description

Gets the notification session for subscribing to changes to catalogs.

Parametersosid.cataloging.CatalogReceivercatalogReceiverthe notification callback
Returnosid.cataloging.CatalogNotificationSessiona CatalogNotificationSession
ErrorsNULL_ARGUMENT catalogReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogNotification() is false
ComplianceoptionalThis method must be implemented if supportsCatalogNotification() is true.
MethodgetCatalogHierarchySession
Description

Gets the catalog hierarchy traversal session.

Returnosid.cataloging.CatalogHierarchySessiona CatalogHierarchySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogHierarchy() is false
ComplianceoptionalThis method must be implemented if supportsCatalogHierarchy() is true.
MethodgetCatalogHierarchyDesignSession
Description

Gets the catalog hierarchy design session.

Returnosid.cataloging.CatalogHierarchyDesignSessiona CatalogHierarchyDesignSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsCatalogHierarchyDesign() is true.
MethodgetCatalogingRulesManager
Description

Gets the cataloging rules manager.

Returnosid.cataloging.rules.CatalogingRulesManagera CatalogingRulesManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogingRules() is false
ComplianceoptionalThis method must be implemented if supportsCatalogingRules() is true.