Interface CatalogingManager
- All Superinterfaces:
AutoCloseable, CatalogingProfile, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable
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.
CatalogingManager may be accessed by multiple processing threads.-
Method Summary
Modifier and TypeMethodDescriptionGets the catalog administrative session for creating, updating and deleting catalogs.Gets the cataloging session for adding and removing mappings to catalogs.getCatalogEntryNotificationSession(CatalogEntryReceiver catalogEntryReceiver) Gets the notification session for subscribing to changes to catalogs.getCatalogEntryNotificationSessionForCatalog(CatalogEntryReceiver catalogEntryReceiver, Id catalogId) Gets the notification session for subscribing to changes to catalogs for the given catalog.Gets the catalog hierarchy design session.Gets the catalog hierarchy traversal session.Gets the cataloging rules manager.Gets the catalog lookup session.getCatalogNotificationSession(CatalogReceiver catalogReceiver) Gets the notification session for subscribing to changes to catalogs.Gets the catalog query session.Gets the catalog search session.Gets the cataloging session for retrieving mappings to catalogs.Methods inherited from interface CatalogingProfile
getCatalogRecordTypes, getCatalogSearchRecordTypes, supportsCatalog, supportsCatalogAdmin, supportsCatalogAssignment, supportsCatalogEntryNotification, supportsCatalogHierarchy, supportsCatalogHierarchyDesign, supportsCatalogingRules, supportsCatalogLookup, supportsCatalogNotification, supportsCatalogQuery, supportsCatalogRecordType, supportsCatalogSearch, supportsCatalogSearchRecordType, supportsVisibleFederationMethods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceMethods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
-
Method Details
-
getCatalogSession
Gets the cataloging session for retrieving mappings to catalogs.- Returns:
- a
CatalogSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalog()} is {@code true}.
-
getCatalogAssignmentSession
Gets the cataloging session for adding and removing mappings to catalogs.- Returns:
- a
CatalogAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogAssignment()} is {@code true}.
-
getCatalogEntryNotificationSession
CatalogEntryNotificationSession getCatalogEntryNotificationSession(CatalogEntryReceiver catalogEntryReceiver) throws OperationFailedException Gets the notification session for subscribing to changes to catalogs.- Parameters:
catalogEntryReceiver- the notification callback- Returns:
- a
CatalogEntryNotificationSession - Throws:
NullArgumentException-catalogEntryReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEntryNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEntryNotification()} is {@code true}.
-
getCatalogEntryNotificationSessionForCatalog
CatalogEntryNotificationSession getCatalogEntryNotificationSessionForCatalog(CatalogEntryReceiver catalogEntryReceiver, Id catalogId) throws OperationFailedException Gets the notification session for subscribing to changes to catalogs for the given catalog.- Parameters:
catalogEntryReceiver- the notification callbackcatalogId- theIdof theCatalog- Returns:
- a
CatalogEntryNotificationSession - Throws:
NullArgumentException-catalogEntryReceiverorcatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEntryNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEntryNotification()} and {@code supportsVisibleFederation()} are {@code true}
-
getCatalogLookupSession
Gets the catalog lookup session.- Returns:
- a
CatalogLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogLookup()} is {@code true}.
-
getCatalogQuerySession
Gets the catalog query session.- Returns:
- a
CatalogQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogQuery()} is {@code true}.
-
getCatalogSearchSession
Gets the catalog search session.- Returns:
- a
CatalogSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogSearch()} is {@code true}.
-
getCatalogAdminSession
Gets the catalog administrative session for creating, updating and deleting catalogs.- Returns:
- a
CatalogAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogAdmin()} is {@code true}.
-
getCatalogNotificationSession
CatalogNotificationSession getCatalogNotificationSession(CatalogReceiver catalogReceiver) throws OperationFailedException Gets the notification session for subscribing to changes to catalogs.- Parameters:
catalogReceiver- the notification callback- Returns:
- a
CatalogNotificationSession - Throws:
NullArgumentException-catalogReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogNotification()} is {@code true}.
-
getCatalogHierarchySession
Gets the catalog hierarchy traversal session.- Returns:
- a
CatalogHierarchySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogHierarchy()} is {@code true}.
-
getCatalogHierarchyDesignSession
Gets the catalog hierarchy design session.- Returns:
- a
CatalogHierarchyDesignSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogHierarchyDesign()} is {@code true}.
-
getCatalogingRulesManager
Gets the cataloging rules manager.- Returns:
- a
CatalogingRulesManager - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogingRules()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogingRules()} is {@code true}.
-