OSID Logo
OSID Specifications
repository rules package
Version 3.0.0
Release Candidate Preview
Interfaceosid.repository.rules.RepositoryRulesProxyManager
Implementsosid.OsidProxyManager
osid.repository.rules.RepositoryRulesProfile
Description

The repository rules proxy manager provides access to repository rules sessions and provides interoperability tests for various aspects of this service. Methods in this manager pass a Proxy for passing information from server environments. The sessions included in this manager are:

  • CompositionEnablerLookupSession: a session to retrieve composition enablers
  • CompositionEnablerQuerySession: a session to query for composition enablers
  • CompositionEnablerSearchSession: a session to search for composition enablers
  • CompositionEnablerAdminSession: a session to create and delete composition enablers
  • CompositionEnablerNotificationSession: a session to receive notifications pertaining to composition enabler changes
  • CompositionEnablerRepositorySession: a session to look up composition enabler repository mappings
  • CompositionEnablerRepositoryAssignmentSession: a session to manage composition enabler to repository mappings
  • CompositionEnablerSmartRepositorySession: a session to manage dynamic repositories of composition enablers
  • CompositionEnablerRuleLookupSession: a session to look up composition enabler to composition mappings
  • CompositionEnablerRuleApplicationSession: a session to apply composition enablers to compositions
MethodgetCompositionEnablerLookupSession
Description

Gets the OsidSession associated with the composition enabler lookup service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerLookupSessiona CompositionEnablerLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerLookup() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerLookup() is true.
MethodgetCompositionEnablerLookupSessionForRepository
Description

Gets the OsidSession associated with the composition enabler lookup service for the given repository.

Parametersosid.id.IdrepositoryIdthe Id of the Repository
osid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerLookupSessiona CompositionEnablerLookupSession
ErrorsNOT_FOUNDno Repository found by the given Id
NULL_ARGUMENT repositoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerLookup() and supportsVisibleFederation() are true.
MethodgetCompositionEnablerQuerySession
Description

Gets the OsidSession associated with the composition enabler query service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerQuerySessiona CompositionEnablerQuerySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerQuery() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerQuery() is true.
MethodgetCompositionEnablerQuerySessionForRepository
Description

Gets the OsidSession associated with the composition enabler query service for the given repository.

Parametersosid.id.IdrepositoryIdthe Id of the Repository
osid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerQuerySessiona CompositionEnablerQuerySession
ErrorsNOT_FOUNDno Repository found by the given Id
NULL_ARGUMENT repositoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerQuery() and supportsVisibleFederation() are true.
MethodgetCompositionEnablerSearchSession
Description

Gets the OsidSession associated with the composition enabler search service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerSearchSessiona CompositionEnablerSearchSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerSearch() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerSearch() is true.
MethodgetCompositionEnablerSearchSessionForRepository
Description

Gets the OsidSession associated with the composition enablers earch service for the given repository.

Parametersosid.id.IdrepositoryIdthe Id of the Repository
osid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerSearchSessiona CompositionEnablerSearchSession
ErrorsNOT_FOUNDno Repository found by the given Id
NULL_ARGUMENT repositoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerSearch() and supportsVisibleFederation() are true.
MethodgetCompositionEnablerAdminSession
Description

Gets the OsidSession associated with the composition enabler administration service.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerAdminSessiona CompositionEnablerAdminSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerAdmin() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerAdmin() is true.
MethodgetCompositionEnablerAdminSessionForRepository
Description

Gets the OsidSession associated with the composition enabler administration service for the given repository.

Parametersosid.id.IdrepositoryIdthe Id of the Repository
osid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerAdminSessiona CompositionEnablerAdminSession
ErrorsNOT_FOUNDno Repository found by the given Id
NULL_ARGUMENT repositoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerAdmin() and supportsVisibleFederation() are true.
MethodgetCompositionEnablerNotificationSession
Description

Gets the OsidSession associated with the composition enabler notification service.

Parametersosid.repository.rules.CompositionEnablerReceivercompositionEnablerReceiverthe notification callback
osid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerNotificationSessiona CompositionEnablerNotificationSession
ErrorsNULL_ARGUMENT compositionEnablerReceiver or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerNotification() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerNotification() is true.
MethodgetCompositionEnablerNotificationSessionForRepository
Description

Gets the OsidSession associated with the composition enabler notification service for the given repository.

Parametersosid.repository.rules.CompositionEnablerReceivercompositionEnablerReceiverthe notification callback
osid.id.IdrepositoryIdthe Id of the Repository
osid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerNotificationSessiona CompositionEnablerNotificationSession
ErrorsNOT_FOUNDno repository found by the given Id
NULL_ARGUMENT compositionEnablerReceiver, repositoryId, or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerNotification() and supportsVisibleFederation() are true.
MethodgetCompositionEnablerRepositorySession
Description

Gets the OsidSession to lookup composition enabler/composition mappings for composition enablers.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerRepositorySessiona CompositionEnablerRepositorySession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerRepository() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerRepository() is true.
MethodgetCompositionEnablerRepositoryAssignmentSession
Description

Gets the OsidSession associated with assigning composition enablers to repositories.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerRepositoryAssignmentSessiona CompositionEnablerRepositoryAssignmentSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerCompositionAssignment() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerRepositoryAssignment() is true.
MethodgetCompositionEnablerSmartRepositorySession
Description

Gets the OsidSession to manage composition enabler smart repositories.

Parametersosid.id.IdrepositoryIdthe Id of the Repository
osid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerSmartRepositorySessiona CompositionEnablerSmartRepositorySession
ErrorsNOT_FOUNDno Repository found by the given Id
NULL_ARGUMENT repositoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerSmartRepository() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerSmartRepository() is true.
MethodgetCompositionEnablerRuleLookupSession
Description

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

Parametersosid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerRuleLookupSessiona CompositionEnablerRuleLookupSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerRuleLookup() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerRuleLookup() is true.
MethodgetCompositionEnablerRuleLookupSessionForRepository
Description

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

Parametersosid.id.IdrepositoryIdthe Id of the Repository
osid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerRuleLookupSessiona CompositionEnablerRuleLookupSession
ErrorsNOT_FOUNDno Repository found by the given Id
NULL_ARGUMENT repositoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerRuleLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerRuleLookup() and supportsVisibleFederation() are true.
MethodgetCompositionEnablerRuleApplicationSession
Description

Gets the OsidSession associated with the composition enabler assignment service to apply enablers to compositions.

Parametersosid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerRuleApplicationSessiona CompositionEnablerRuleApplicationSession
ErrorsNULL_ARGUMENT proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerRuleApplication() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerRuleApplication() is true.
MethodgetCompositionEnablerRuleApplicationSessionForRepository
Description

Gets the OsidSession associated with the composition enabler assignment service for the given composition to apply enablers to compositions.

Parametersosid.id.IdrepositoryIdthe Id of the Repository
osid.proxy.Proxyproxya proxy
Returnosid.repository.rules.CompositionEnablerRuleApplicationSessiona CompositionEnablerRuleApplicationSession
ErrorsNOT_FOUNDno Repository found by the given Id
NULL_ARGUMENT repositoryId or proxy is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsCompositionEnablerRuleApplication() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsCompositionEnablerRuleApplication() and supportsVisibleFederation() are true.