OSID Logo
OSID Specifications
cataloging rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.cataloging.rules.CatalogingRulesManager
Implementsosid.OsidManager
osid.cataloging.rules.CatalogingRulesProfile
Description

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
MethodgetCatalogEnablerLookupSession
Description

Gets the OsidSession associated with the catalog enabler lookup service.

Returnosid.cataloging.rules.CatalogEnablerLookupSessiona CatalogEnablerLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerLookup() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerLookup() is true.
MethodgetCatalogEnablerLookupSessionForCatalog
Description

Gets the OsidSession associated with the catalog enabler lookup service for the given catalog.

Parametersosid.id.IdcatalogIdthe Id of the Catalog
Returnosid.cataloging.rules.CatalogEnablerLookupSessiona CatalogEnablerLookupSession
ErrorsNOT_FOUNDno Catalog found by the given Id
NULL_ARGUMENT catalogId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerLookup() and supportsVisibleFederation() are true.
MethodgetCatalogEnablerQuerySession
Description

Gets the OsidSession associated with the catalog enabler query service.

Returnosid.cataloging.rules.CatalogEnablerQuerySessiona CatalogEnablerQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerQuery() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerQuery() is true.
MethodgetCatalogEnablerQuerySessionForCatalog
Description

Gets the OsidSession associated with the catalog enabler query service for the given catalog.

Parametersosid.id.IdcatalogIdthe Id of the Catalog
Returnosid.cataloging.rules.CatalogEnablerQuerySessiona CatalogEnablerQuerySession
ErrorsNOT_FOUNDno Catalog found by the given Id
NULL_ARGUMENT catalogId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerQuery() and supportsVisibleFederation() are true.
MethodgetCatalogEnablerSearchSession
Description

Gets the OsidSession associated with the catalog enabler search service.

Returnosid.cataloging.rules.CatalogEnablerSearchSessiona CatalogEnablerSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerSearch() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerSearch() is true.
MethodgetCatalogEnablerSearchSessionForCatalog
Description

Gets the OsidSession associated with the catalog enablers earch service for the given catalog.

Parametersosid.id.IdcatalogIdthe Id of the Catalog
Returnosid.cataloging.rules.CatalogEnablerSearchSessiona CatalogEnablerSearchSession
ErrorsNOT_FOUNDno Catalog found by the given Id
NULL_ARGUMENT catalogId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerSearch() and supportsVisibleFederation() are true.
MethodgetCatalogEnablerAdminSession
Description

Gets the OsidSession associated with the catalog enabler administration service.

Returnosid.cataloging.rules.CatalogEnablerAdminSessiona CatalogEnablerAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerAdmin() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerAdmin() is true.
MethodgetCatalogEnablerAdminSessionForCatalog
Description

Gets the OsidSession associated with the catalog enabler administration service for the given catalog.

Parametersosid.id.IdcatalogIdthe Id of the Catalog
Returnosid.cataloging.rules.CatalogEnablerAdminSessiona CatalogEnablerAdminSession
ErrorsNOT_FOUNDno Catalog found by the given Id
NULL_ARGUMENT catalogId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerAdmin() and supportsVisibleFederation() are true.
MethodgetCatalogEnablerNotificationSession
Description

Gets the OsidSession associated with the catalog enabler notification service.

Parametersosid.cataloging.rules.CatalogEnablerReceivercatalogEnablerReceiverthe notification callback
Returnosid.cataloging.rules.CatalogEnablerNotificationSessiona CatalogEnablerNotificationSession
ErrorsNULL_ARGUMENT catalogEnablerReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerNotification() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerNotification() is true.
MethodgetCatalogEnablerNotificationSessionForCatalog
Description

Gets the OsidSession associated with the catalog enabler notification service for the given catalog.

Parametersosid.cataloging.rules.CatalogEnablerReceivercatalogEnablerReceiverthe notification callback
osid.id.IdcatalogIdthe Id of the Catalog
Returnosid.cataloging.rules.CatalogEnablerNotificationSessiona CatalogEnablerNotificationSession
ErrorsNOT_FOUNDno catalog found by the given Id
NULL_ARGUMENT catalogEnablerReceiver or catalogId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerNotification() and supportsVisibleFederation() are true.
MethodgetCatalogEnablerCatalogSession
Description

Gets the OsidSession to lookup catalog enabler/catalog mappings for cataloging enablers.

Returnosid.cataloging.rules.CatalogEnablerCatalogSessiona CatalogEnablerCatalogSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerCatalog() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerCatalog() is true.
MethodgetCatalogEnablerCatalogAssignmentSession
Description

Gets the OsidSession associated with assigning catalog enablers to catalogs for cataloging.

Returnosid.cataloging.rules.CatalogEnablerCatalogAssignmentSessiona CatalogEnablerCatalogAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerCatalogAssignment() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerCatalogAssignment() is true.
MethodgetCatalogEnablerSmartCatalogSession
Description

Gets the OsidSession to manage catalog enabler smart catalogs.

Parametersosid.id.IdcatalogIdthe Id of the Catalog
Returnosid.cataloging.rules.CatalogEnablerSmartCatalogSessiona CatalogEnablerSmartCatalogSession
ErrorsNOT_FOUNDno Catalog found by the given Id
NULL_ARGUMENT catalogId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerSmartCatalog() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerSmartCatalog() is true.
MethodgetCatalogEnablerRuleLookupSession
Description

Gets the OsidSession associated with the catalog enabler mapping lookup service for looking up the rules applied to the catalog.

Returnosid.cataloging.rules.CatalogEnablerRuleLookupSessiona CatalogEnablerRuleLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerRuleLookup() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerRuleLookup() is true.
MethodgetCatalogEnablerRuleLookupSessionForCatalog
Description

Gets the OsidSession associated with the catalog enabler mapping lookup service for the given catalog for looking up rules applied to a catalog.

Parametersosid.id.IdcatalogIdthe Id of the Catalog
Returnosid.cataloging.rules.CatalogEnablerRuleLookupSessiona CatalogEnablerRuleLookupSession
ErrorsNOT_FOUNDno Catalog found by the given Id
NULL_ARGUMENT catalogId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerRuleLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerRuleLookup() and supportsVisibleFederation() are true.
MethodgetCatalogEnablerRuleApplicationSession
Description

Gets the OsidSession associated with the catalog enabler assignment service to apply enablers to catalogs.

Returnosid.cataloging.rules.CatalogEnablerRuleApplicationSessiona CatalogEnablerRuleApplicationSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerRuleApplication() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerRuleApplication() is true.
MethodgetCatalogEnablerRuleApplicationSessionForCatalog
Description

Gets the OsidSession associated with the catalog enabler assignment service for the given catalog to apply enablers to catalogs.

Parametersosid.id.IdcatalogIdthe Id of the Catalog
Returnosid.cataloging.rules.CatalogEnablerRuleApplicationSessiona CatalogEnablerRuleApplicationSession
ErrorsNOT_FOUNDno Catalog found by the given Id
NULL_ARGUMENT catalogId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCatalogEnablerRuleApplication() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCatalogEnablerRuleApplication() and supportsVisibleFederation() are true.