OSID Logo
OSID Specifications
configuration package
Version 3.0.0
Release Candidate Preview
Interfaceosid.configuration.ConfigurationManager
Implementsosid.OsidManager
osid.configuration.ConfigurationProfile
Description

The configuration manager provides access sessions to retrieve and manage configurations. A manager may support federation in that values can be accessed in a specified configuration and parameters may be defined in a specified registry. The sessions included in this manager are:

  • ValueRetrievalSession: a basic session for retrieving configuration values
  • ValueLookupSession: a basic session for looking up configuration values
  • ValueQuerySession: a basic session for querying configuration values
  • ValueSearchSession: a basic session for searching configuration values
  • ValueAdminSession: a session for setting and changing configuration values
  • ValueNotificationSession: a session for subscribing to changes of configuration values
  • ParameterLookupSession: a session for retrieving defined parameters
  • ParameterQuerySession: a session for querying defined parameters
  • ParameterSearchSession: a session for searching defined parameters
  • ParameterAdminSession: a session for creating, updating and deleting parameter definitions
  • ParameterNoitificationSession: a session for subscribing to adds and changes of parameters
  • ParamaterRegistrySession: a session for examining mappings of parameters to registries
  • ParamaterRegistryAssignmentSession: a session for making mappings of parameters to registries
  • ParameterConfigurationSession: a session for examining mappings of parameters to configurations
  • ParameterConfigurationAssignmentSession: a session for mapping parameters to configurations
  • ParameterSmartConfigurationSession: a session for managing smart configurations of parameters
  • ConfigurationLookupSession: a session for retrieving configurations
  • ConfigurationQuerySession: a session for querying configurations
  • ConfigurationSearchSession: a session for searching configurations
  • ConfigurationAdminSession: a session for creating and updating configurations
  • ConfigurationNotificationSession: a session for subscribing to adds and changes to configurations
  • ConfigurationHierarchySession: a session for traversing a hierarchy of configurations
  • ConfigurationHierarchyDesignSession: a session for managing a hierarchy of configurations
MethodgetValueRetrievalSession
Description

Gets a configuration value retrieval session.

Returnosid.configuration.ValueRetrievalSessiona ValueRetrievalSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueRetrieval() is false
ComplianceoptionalThis method must be implemented if supportsValueRetrieval() is true.
MethodgetValueRetrievalSessionForConfiguration
Description

Gets a configuration value retrieval session using the supplied configuration.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ValueRetrievalSessiona ValueRetrievalSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueRetrieval() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsValueRetrieval() are true.
MethodgetValueLookupSession
Description

Gets a configuration value lookup session.

Returnosid.configuration.ValueLookupSessiona ValueLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueLookup() is false
ComplianceoptionalThis method must be implemented if supportsValueLookup() is true.
MethodgetValueLookupSessionForConfiguration
Description

Gets a configuration value lookup session using the supplied configuration.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ValueLookupSessiona ValueLookupSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsValueLookup() are true.
MethodgetValueQuerySession
Description

Gets a configuration value query session.

Returnosid.configuration.ValueQuerySessiona ValueQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueQuery() is false
ComplianceoptionalThis method must be implemented if supportsValueQuery() is true.
MethodgetValueQuerySessionForConfiguration
Description

Gets a configuration value query session using the supplied configuration.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ValueQuerySessiona ValueQuerySession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsValueQuery() are true.
MethodgetValueSearchSession
Description

Gets a configuration value search session

Returnosid.configuration.ValueSearchSessiona ValueSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueSearch() is false
ComplianceoptionalThis method must be implemented if supportsValueSearch() is true.
MethodgetValueSearchSessionForConfiguration
Description

Gets a configuration value search session using the supplied configuration.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ValueSearchSessiona ValueSearchSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsValueSearch() are true.
MethodgetValueAdminSession
Description

Gets a configuration value administration session.

Returnosid.configuration.ValueAdminSessiona ValueAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueAdmin() is false
ComplianceoptionalThis method must be implemented if supportsValueAdmin() is true.
MethodgetValueAdminSessionForConfiguration
Description

Gets a value administration session using the supplied configuration.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ValueAdminSessiona ValueAdminSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILED supportsValueAdmin() or supportsVisibleFederation() is false
UNIMPLEMENTED supportsValueAdmin() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsValueAdmin() are true.
MethodgetValueNotificationSession
Description

Gets a value notification session.

Parametersosid.configuration.ValueReceivervalueReceiverthe notification callback
Returnosid.configuration.ValueNotificationSessiona ValueNotificationSession
ErrorsNULL_ARGUMENT valueReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueNotification() is false
ComplianceoptionalThis method must be implemented if supportsValueNotification() is true.
MethodgetValueNotificationSessionForConfiguration
Description

Gets a value notification session using the specified configuration

Parametersosid.configuration.ValueReceivervalueReceiverthe notification callback
osid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ValueNotificationSessiona ValueNotificationSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT valueReceiver or configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsValueNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsValueNotification() are true.
MethodgetParameterLookupSession
Description

Gets a parameter lookup session

Returnosid.configuration.ParameterLookupSessiona ParameterLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterLookup() is false
ComplianceoptionalThis method must be implemented if supportsParameterLookup() is true.
MethodgetParameterLookupSessionForConfiguration
Description

Gets a parameter lookup session using the supplied configuration.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ParameterLookupSessiona ParamaterLookupSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterLookup() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsParameterLookup() are true.
MethodgetParameterQuerySession
Description

Gets a parameter query session

Returnosid.configuration.ParameterQuerySessiona ParameterQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterQuery() is false
ComplianceoptionalThis method must be implemented if supportsParameterQuery() is true.
MethodgetParameterQuerySessionForConfiguration
Description

Gets a parameter search session using the supplied configuration.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ParameterQuerySessiona ParamaterQuerySession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterQuery() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsParameterQuery() are true.
MethodgetParameterSearchSession
Description

Gets a parameter search session

Returnosid.configuration.ParameterSearchSessiona ParameterSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterSearch() is false
ComplianceoptionalThis method must be implemented if supportsParameterSearch() is true.
MethodgetParameterSearchSessionForConfiguration
Description

Gets a parameter search session using the supplied configuration.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ParameterSearchSessiona ParamaterSearchSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsParameterSearch() are true.
MethodgetParameterAdminSession
Description

Gets a parameter administration session.

Returnosid.configuration.ParameterAdminSessiona ParameterAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterAdmin() is false
ComplianceoptionalThis method must be implemented if supportsParameterAdmin() is true.
MethodgetParameterAdminSessionForConfiguration
Description

Gets a parameter administration session using the supplied configuration.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ParameterAdminSessiona ParameterAdminSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterSearch() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsParameterAdmin() are true.
MethodgetParameterNotificationSession
Description

Gets a parameter notification session.

Parametersosid.configuration.ParameterReceiverparameterReceiverthe notification callback
Returnosid.configuration.ParameterNotificationSessiona ParameterNotificationSession
ErrorsNULL_ARGUMENT parameterReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterNotification() is false
ComplianceoptionalThis method must be implemented if supportsParameterNotification() is true.
MethodgetParameterNotificationSessionForConfiguration
Description

Gets a parameter notification session using the specified configuration.

Parametersosid.configuration.ParameterReceiverparameterReceiverthe notification callback
osid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ParameterNotificationSessiona ParameterNotificationSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT parameterReceiver or configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterNotification() or supportsVisibleFederation() is false
ComplianceoptionalThis method must be implemented if supportsVisibleFederation() and supportsParameterNotification() are true.
MethodgetParameterConfigurationSession
Description

Gets a session for looking up mappings of parameters to configurations.

Returnosid.configuration.ParameterConfigurationSessiona ParameterConfigurationSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterConfiguration() is false
ComplianceoptionalThis method must be implemented if supportsParameterConfiguration() is true.
MethodgetParameterConfigurationAssignmentSession
Description

Gets a session for managing mappings of parameters to configurations.

Returnosid.configuration.ParameterConfigurationAssignmentSessiona ParameterConfigurationAssignmentSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterConfigurationAssignment() is false
ComplianceoptionalThis method must be implemented if supportsParameterConfigurationAssignment() is true.
MethodgetParameterSmartConfigurationSession
Description

Gets a session for managing smart configurations.

Parametersosid.id.IdconfigurationIdthe Id of the Configuration to use
Returnosid.configuration.ParameterSmartConfigurationSessiona ParameterSmartConfigurationSession
ErrorsNOT_FOUND configurationId is not found
NULL_ARGUMENT configurationId is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsParameterSmartConfiguration() is false
ComplianceoptionalThis method must be implemented if supportsParameterSmartConfiguration() is true.
MethodgetConfigurationLookupSession
Description

Gets a configuration lookup session.

Returnosid.configuration.ConfigurationLookupSessiona ConfigurationLookupSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsConfigurationLookup() is false
ComplianceoptionalThis method must be implemented if supportsConfigurationLookup() is true.
MethodgetConfigurationQuerySession
Description

Gets a configuration query session.

Returnosid.configuration.ConfigurationQuerySessiona ConfigurationQuerySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsConfigurationQuery() is false
ComplianceoptionalThis method must be implemented if supportsConfigurationQuery() is true.
MethodgetConfigurationSearchSession
Description

Gets a configuration search session.

Returnosid.configuration.ConfigurationSearchSessiona ConfigurationSearchSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsConfigurationSearch() is false
ComplianceoptionalThis method must be implemented if supportsConfigurationSearch() is true.
MethodgetConfigurationAdminSession
Description

Gets a configuration administration session.

Returnosid.configuration.ConfigurationAdminSessiona ConfigurationAdminSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsConfigurationAdmin() is false
ComplianceoptionalThis method must be implemented if supportsConfigurationAdmin() is true.
MethodgetConfigurationNotificationSession
Description

Gets the notification session for subscribing to changes to configurations.

Parametersosid.configuration.ConfigurationReceiverconfigurationReceiverthe notification callback
Returnosid.configuration.ConfigurationNotificationSessiona ConfigurationNotificationSession
ErrorsNULL_ARGUMENT configurationReceiver is null
OPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsConfigurationNotification() is false
ComplianceoptionalThis method must be implemented if supportsConfigurationNotification() is true.
MethodgetConfigurationHierarchySession
Description

Gets a hierarchy traversal service for configurations.

Returnosid.configuration.ConfigurationHierarchySessiona ConfigurationHierarchySession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsConfigurationHierarchy() is false
ComplianceoptionalThis method must be implemented if supportsConfigurationHierarchy() is true.
MethodgetConfigurationHierarchyDesignSession
Description

Gets a hierarchy design service for configurations.

Returnosid.configuration.ConfigurationHierarchyDesignSessiona ConfigurationHierarchyDesignSession
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsConfigurationHierarchyDesign() is false
ComplianceoptionalThis method must be implemented if supportsConfigurationHierarchyDesign() is true.
MethodgetConfigurationBatchManager
Description

Gets a ConfigurationBatchManager.

Returnosid.configuration.batch.ConfigurationBatchManagera ConfigurationBatchManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsConfigurationBatch() is false
ComplianceoptionalThis method must be implemented if supportsConfigurationBatch() is true.
MethodgetConfigurationRulesManager
Description

Gets a ConfigurationRulesManager.

Returnosid.configuration.rules.ConfigurationRulesManagera ConfigurationRulesManager
ErrorsOPERATION_FAILEDunable to complete request
UNIMPLEMENTED supportsConfigurationRules() is false
ComplianceoptionalThis method must be implemented if supportsConfigurationRules() is true.