Interface CatalogingProxyManager
- All Superinterfaces:
AutoCloseable, CatalogingProfile, Closeable, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The cataloging manager provides access to cataloging sessions and
provides interoperability tests for various aspects of this service.
Methods in this manager support the passing of a Proxy for the
purposes of passing information from server environments.
-
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.
CatalogingProxyManager may be accessed by multiple processing
threads.-
Method Summary
Modifier and TypeMethodDescriptiongetCatalogAdminSession(Proxy proxy) Gets the catalog administrative session for creating, updating and deleting catalogs.getCatalogAssignmentSession(Proxy proxy) Gets the catalog session for mappingIdstoCatalogs.getCatalogEntryNotificationSession(CatalogEntryReceiver catalogEntryReceiver, Proxy proxy) Gets the catalog session for mappingIdstoCatalogs.getCatalogEntryNotificationSessionForCatalog(CatalogEntryReceiver catalogEntryReceiver, Id catalogId, Proxy proxy) Gets the notification session for subscribing to changes to catalogs for the given catalog.Gets the catalog hierarchy design session.getCatalogHierarchySession(Proxy proxy) Gets the catalog hierarchy traversal session.Gets the cataloging rules proxy manager.getCatalogLookupSession(Proxy proxy) Gets the catalog lookup session.getCatalogNotificationSession(CatalogReceiver catalogReceiver, Proxy proxy) Gets the notification session for subscribing to changes to catalogs.getCatalogQuerySession(Proxy proxy) Gets the catalog query session.getCatalogSearchSession(Proxy proxy) Gets the catalog search session.getCatalogSession(Proxy proxy) Gets the catalog session for retrievingIdtoCatalogmappings.Methods inherited from interface CatalogingProfile
getCatalogRecordTypes, getCatalogSearchRecordTypes, supportsCatalog, supportsCatalogAdmin, supportsCatalogAssignment, supportsCatalogEntryNotification, supportsCatalogHierarchy, supportsCatalogHierarchyDesign, supportsCatalogingRules, supportsCatalogLookup, supportsCatalogNotification, supportsCatalogQuery, supportsCatalogRecordType, supportsCatalogSearch, supportsCatalogSearchRecordType, supportsVisibleFederationMethods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersionMethods inherited from interface OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, getProxy, getProxyCondition, initialize, rollbackServiceMethods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderId
-
Method Details
-
getCatalogSession
Gets the catalog session for retrievingIdtoCatalogmappings.- Parameters:
proxy- a proxy- Returns:
- a
CatalogSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalog()} is {@code true}.
-
getCatalogAssignmentSession
Gets the catalog session for mappingIdstoCatalogs.- Parameters:
proxy- a proxy- Returns:
- a
CatalogAssignmentSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogAssignment()} is {@code true}.
-
getCatalogEntryNotificationSession
CatalogEntryNotificationSession getCatalogEntryNotificationSession(CatalogEntryReceiver catalogEntryReceiver, Proxy proxy) throws OperationFailedException Gets the catalog session for mappingIdstoCatalogs.- Parameters:
catalogEntryReceiver- the notification callbackproxy- a proxy- Returns:
- a
CatalogEntryNotificationSession - Throws:
NullArgumentException-catalogEntryReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEntrytNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEntryNotification()} is {@code true}.
-
getCatalogEntryNotificationSessionForCatalog
CatalogEntryNotificationSession getCatalogEntryNotificationSessionForCatalog(CatalogEntryReceiver catalogEntryReceiver, Id catalogId, Proxy proxy) throws OperationFailedException Gets the notification session for subscribing to changes to catalogs for the given catalog.- Parameters:
catalogEntryReceiver- the notification callbackcatalogId- theIdof theCatalogproxy- a proxy- Returns:
- a
CatalogEntryNotificationSession - Throws:
NullArgumentException-catalogEntryReceiver, catalogId, orproxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
CatalogLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
CatalogQuerySession - Throws:
NullArgumentException-proxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
CatalogSearchSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- 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.- Parameters:
proxy- a proxy- Returns:
- a
CatalogAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogAdmin()} is {@code true}.
-
getCatalogNotificationSession
CatalogNotificationSession getCatalogNotificationSession(CatalogReceiver catalogReceiver, Proxy proxy) throws OperationFailedException Gets the notification session for subscribing to changes to catalogs.- Parameters:
catalogReceiver- the notification callbackproxy- a proxy- Returns:
- a
CatalogNotificationSession - Throws:
NullArgumentException-catalogReceiverorproxyisnullOperationFailedException- 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.- Parameters:
proxy- proxy- Returns:
- a
CatalogHierarchySession - Throws:
NullArgumentException-proxyis nullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogHierarchy()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogHierarchy()} is {@code true}.
-
getCatalogHierarchyDesignSession
CatalogHierarchyDesignSession getCatalogHierarchyDesignSession(Proxy proxy) throws OperationFailedException Gets the catalog hierarchy design session.- Parameters:
proxy- proxy- Returns:
- a
CatalogHierarchyDesignSession - Throws:
NullArgumentException-proxyis nullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogHierarchyDesign()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogHierarchyDesign()} is {@code true}.
-
getCatalogingRulesProxyManager
Gets the cataloging rules proxy 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}.
-