Interface CatalogingRulesManager
- All Superinterfaces:
AutoCloseable, CatalogingRulesProfile, Closeable, OsidManager, OsidManager, OsidProfile, Sourceable
The catalogingrules manager provides access to cataloging rules sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
CatalogEnablerLookupSession: a session to retrieve catalog enablers -
CatalogEnablerQuerySession: a session to query for catalog enablers -
CatalogEnablerSearchSession: a session to search for catalog enablers -
CatalogEnablerAdminSession: a session to create and delete catalog enablers -
CatalogEnablerNotificationSession: a session to receive notifications pertaining to catalog enabler changes -
CatalogEnablerCatalogSession: a session to look up catalog enabler catalog mappings -
CatalogEnablerCatalogAssignmentSession: a session to manage catalog enabler to catalog mappings -
CatalogEnablerSmartCatalogSession: a session to manage dynamic catalogs of catalog enablers -
CatalogEnableRuleLookupSession: a session to look up catalog enabler to catalog mappings -
CatalogEnablerRuleApplicationSession: a session to apply catalog enablers to catalogs
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the catalog enabler administration service.getCatalogEnablerAdminSessionForCatalog(Id catalogId) Gets theOsidSessionassociated with the catalog enabler administration service for the given catalog.Gets theOsidSessionassociated with assigning catalog enablers to catalogs for cataloging.Gets theOsidSessionto lookup catalog enabler/catalog mappings for cataloging enablers.Gets theOsidSessionassociated with the catalog enabler lookup service.getCatalogEnablerLookupSessionForCatalog(Id catalogId) Gets theOsidSessionassociated with the catalog enabler lookup service for the given catalog.getCatalogEnablerNotificationSession(CatalogEnablerReceiver catalogEnablerReceiver) Gets theOsidSessionassociated with the catalog enabler notification service.getCatalogEnablerNotificationSessionForCatalog(CatalogEnablerReceiver catalogEnablerReceiver, Id catalogId) Gets theOsidSessionassociated with the catalog enabler notification service for the given catalog.Gets theOsidSessionassociated with the catalog enabler query service.getCatalogEnablerQuerySessionForCatalog(Id catalogId) Gets theOsidSessionassociated with the catalog enabler query service for the given catalog.Gets theOsidSessionassociated with the catalog enabler assignment service to apply enablers to catalogs.Gets theOsidSessionassociated with the catalog enabler assignment service for the given catalog to apply enablers to catalogs.Gets theOsidSessionassociated with the catalog enabler mapping lookup service for looking up the rules applied to the catalog.getCatalogEnablerRuleLookupSessionForCatalog(Id catalogId) Gets theOsidSessionassociated with the catalog enabler mapping lookup service for the given catalog for looking up rules applied to a catalog.Gets theOsidSessionassociated with the catalog enabler search service.getCatalogEnablerSearchSessionForCatalog(Id catalogId) Gets theOsidSessionassociated with the catalog enablers earch service for the given catalog.getCatalogEnablerSmartCatalogSession(Id catalogId) Gets theOsidSessionto manage catalog enabler smart catalogs.Methods inherited from interface CatalogingRulesProfile
getCatalogEnablerRecordTypes, getCatalogEnablerSearchRecordTypes, supportsCatalogEnablerAdmin, supportsCatalogEnablerCatalog, supportsCatalogEnablerCatalogAssignment, supportsCatalogEnablerLookup, supportsCatalogEnablerNotification, supportsCatalogEnablerQuery, supportsCatalogEnablerRecordType, supportsCatalogEnablerRuleApplication, supportsCatalogEnablerRuleLookup, supportsCatalogEnablerSearch, supportsCatalogEnablerSearchRecordType, supportsCatalogEnablerSmartCatalog, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedCatalogEnablerrecord types.Gets the supportedCatalogEnablersearch record types.booleanTests if a catalog enabler administrative service is supported.booleanTests if a catalog enabler catalog lookup service is supported.booleanTests if a catalog enabler catalog service is supported.booleanTests if looking up catalog enablers is supported.booleanTests if a catalog enabler notification service is supported.booleanTests if querying catalog enablers is supported.booleansupportsCatalogEnablerRecordType(Type catalogEnablerRecordType) Tests if the givenCatalogEnablerrecord type is supported.booleanTests if a catalog enabler rule application service is supported.booleanTests if a catalog enabler rule lookup service is supported.booleanTests if searching catalog enablers is supported.booleansupportsCatalogEnablerSearchRecordType(Type catalogEnablerSearchRecordType) Tests if the givenCatalogEnablersearch record type is supported.booleanTests if a catalog enabler catalog lookup service is supported.booleanTests if any broker 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
-
getCatalogEnablerLookupSession
Gets theOsidSessionassociated with the catalog enabler lookup service.- Returns:
- a
CatalogEnablerLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerLookup()} is {@code true} .
-
getCatalogEnablerLookupSessionForCatalog
CatalogEnablerLookupSession getCatalogEnablerLookupSessionForCatalog(Id catalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the catalog enabler lookup service for the given catalog.- Parameters:
catalogId- theIdof theCatalog- Returns:
- a
CatalogEnablerLookupSession - Throws:
NotFoundException- noCatalogfound by the givenIdNullArgumentException-catalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCatalogEnablerQuerySession
Gets theOsidSessionassociated with the catalog enabler query service.- Returns:
- a
CatalogEnablerQuerySession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerQuery()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerQuery()} is {@code true} .
-
getCatalogEnablerQuerySessionForCatalog
CatalogEnablerQuerySession getCatalogEnablerQuerySessionForCatalog(Id catalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the catalog enabler query service for the given catalog.- Parameters:
catalogId- theIdof theCatalog- Returns:
- a
CatalogEnablerQuerySession - Throws:
NotFoundException- noCatalogfound by the givenIdNullArgumentException-catalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerQuery()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerQuery()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCatalogEnablerSearchSession
Gets theOsidSessionassociated with the catalog enabler search service.- Returns:
- a
CatalogEnablerSearchSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerSearch()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerSearch()} is {@code true} .
-
getCatalogEnablerSearchSessionForCatalog
CatalogEnablerSearchSession getCatalogEnablerSearchSessionForCatalog(Id catalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the catalog enablers earch service for the given catalog.- Parameters:
catalogId- theIdof theCatalog- Returns:
- a
CatalogEnablerSearchSession - Throws:
NotFoundException- noCatalogfound by the givenIdNullArgumentException-catalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerSearch()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerSearch()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCatalogEnablerAdminSession
Gets theOsidSessionassociated with the catalog enabler administration service.- Returns:
- a
CatalogEnablerAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerAdmin()} is {@code true} .
-
getCatalogEnablerAdminSessionForCatalog
CatalogEnablerAdminSession getCatalogEnablerAdminSessionForCatalog(Id catalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the catalog enabler administration service for the given catalog.- Parameters:
catalogId- theIdof theCatalog- Returns:
- a
CatalogEnablerAdminSession - Throws:
NotFoundException- noCatalogfound by the givenIdNullArgumentException-catalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCatalogEnablerNotificationSession
CatalogEnablerNotificationSession getCatalogEnablerNotificationSession(CatalogEnablerReceiver catalogEnablerReceiver) throws OperationFailedException Gets theOsidSessionassociated with the catalog enabler notification service.- Parameters:
catalogEnablerReceiver- the notification callback- Returns:
- a
CatalogEnablerNotificationSession - Throws:
NullArgumentException-catalogEnablerReceiverisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerNotification()} is {@code true} .
-
getCatalogEnablerNotificationSessionForCatalog
CatalogEnablerNotificationSession getCatalogEnablerNotificationSessionForCatalog(CatalogEnablerReceiver catalogEnablerReceiver, Id catalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the catalog enabler notification service for the given catalog.- Parameters:
catalogEnablerReceiver- the notification callbackcatalogId- theIdof theCatalog- Returns:
- a
CatalogEnablerNotificationSession - Throws:
NotFoundException- no catalog found by the givenIdNullArgumentException-catalogEnablerReceiverorcatalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCatalogEnablerCatalogSession
Gets theOsidSessionto lookup catalog enabler/catalog mappings for cataloging enablers.- Returns:
- a
CatalogEnablerCatalogSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerCatalog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerCatalog()} is {@code true} .
-
getCatalogEnablerCatalogAssignmentSession
CatalogEnablerCatalogAssignmentSession getCatalogEnablerCatalogAssignmentSession() throws OperationFailedExceptionGets theOsidSessionassociated with assigning catalog enablers to catalogs for cataloging.- Returns:
- a
CatalogEnablerCatalogAssignmentSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerCatalogAssignment()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerCatalogAssignment()} is {@code true} .
-
getCatalogEnablerSmartCatalogSession
CatalogEnablerSmartCatalogSession getCatalogEnablerSmartCatalogSession(Id catalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionto manage catalog enabler smart catalogs.- Parameters:
catalogId- theIdof theCatalog- Returns:
- a
CatalogEnablerSmartCatalogSession - Throws:
NotFoundException- noCatalogfound by the givenIdNullArgumentException-catalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerSmartCatalog()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerSmartCatalog()} is {@code true} .
-
getCatalogEnablerRuleLookupSession
CatalogEnablerRuleLookupSession getCatalogEnablerRuleLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the catalog enabler mapping lookup service for looking up the rules applied to the catalog.- Returns:
- a
CatalogEnablerRuleLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerRuleLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerRuleLookup()} is {@code true} .
-
getCatalogEnablerRuleLookupSessionForCatalog
CatalogEnablerRuleLookupSession getCatalogEnablerRuleLookupSessionForCatalog(Id catalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the catalog enabler mapping lookup service for the given catalog for looking up rules applied to a catalog.- Parameters:
catalogId- theIdof theCatalog- Returns:
- a
CatalogEnablerRuleLookupSession - Throws:
NotFoundException- noCatalogfound by the givenIdNullArgumentException-catalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerRuleLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerRuleLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getCatalogEnablerRuleApplicationSession
CatalogEnablerRuleApplicationSession getCatalogEnablerRuleApplicationSession() throws OperationFailedExceptionGets theOsidSessionassociated with the catalog enabler assignment service to apply enablers to catalogs.- Returns:
- a
CatalogEnablerRuleApplicationSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerRuleApplication()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerRuleApplication()} is {@code true} .
-
getCatalogEnablerRuleApplicationSessionForCatalog
CatalogEnablerRuleApplicationSession getCatalogEnablerRuleApplicationSessionForCatalog(Id catalogId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the catalog enabler assignment service for the given catalog to apply enablers to catalogs.- Parameters:
catalogId- theIdof theCatalog- Returns:
- a
CatalogEnablerRuleApplicationSession - Throws:
NotFoundException- noCatalogfound by the givenIdNullArgumentException-catalogIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsCatalogEnablerRuleApplication()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsCatalogEnablerRuleApplication()} and {@code supportsVisibleFederation()} are {@code true} .
-