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.
-
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, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedCatalogrecord types.Gets the supported catalog search reciord types.booleanTests for the availability of a cataloging service retrievingIdtoCatalogmappings.booleanTests for the availability of a catalog administration service for the addition and deletion of catalogs.booleanTests for the availability of a cataloging service for mappingIdstoCatalogs.booleanTests for the availability of a cataloging notification service for mappingIdstoCatalogs.booleanTests for the availability of a catalog hierarchy traversal service.booleanTests for the availability of a catalog hierarchy design service.booleanTests if the cataloging rules sub services is supported.booleanTests for the availability of a catalog lookup service.booleanTests for the availability of a catalog notification service.booleanTests for the availability of a catalog query service that defines more comprehensive queries.booleansupportsCatalogRecordType(Type catalogRecordType) Tests if the givenCatalogrecord type is supported.booleanTests for the availability of a catalog search service that defines more comprehensive queries.booleansupportsCatalogSearchRecordType(Type catalogSearchRecordType) Tests if the given catalog search record type is supported.booleanTests if any cataloging federation is exposed.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
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} .
-