OSID Logo
OSID Specifications
configuration rules package
Version 3.1.0
Interfaceosid.configuration.rules.ParameterProcessorEnablerAdminSession
Implementsosid.OsidSession
Used Byosid.configuration.rules.ConfigurationRulesManager
osid.configuration.rules.ConfigurationRulesProxyManager
Description

This session creates and removes parameter processor enablers. The data for create and update is provided via the ParameterProcessorEnablerForm.

MethodgetConfigurationId
Description

Gets the Configuration Id associated with this session.

Returnosid.id.Id the Configuration Id associated with this session
Compliancemandatory This method must be implemented.
MethodgetConfiguration
Description

Gets the Configuration associated with this session.

Returnosid.configuration.Configuration the configuration
ErrorsOPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanCreateParameterProcessorEnabler
Description

Tests if this user can create parameter processor enablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known creating a ParameterProcessorEnabler will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer create operations to an unauthorized user.

Returnboolean false if ParameterProcessorEnabler creation is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodcanCreateParameterProcessorEnablerWithRecordTypes
Description

Tests if this user can create a single ParameterProcessorEnabler using the desired record types. While ConfigurationRulesManager.getParameterProcessorEnablerRecordTypes() can be used to examine which records are supported, this method tests which record(s) are required for creating a specific ParameterProcessorEnabler. Providing an empty array tests if a ParameterProcessorEnabler can be created with no records.

Parametersosid.type.Type[]parameterProcessorEnablerRecordTypes array of parameter processor enabler record types
Returnboolean true if ParameterProcessorEnabler creation using the specified record Types is supported, false otherwise
ErrorsNULL_ARGUMENT parameterProcessorEnablerRecordTypes is null
Compliancemandatory This method must be implemented.
MethodgetParameterProcessorEnablerFormForCreate
Description

Gets the parameter processor enabler form for creating new parameter processor enablers. A new form should be requested for each create transaction.

Parametersosid.type.Type[]parameterProcessorEnablerRecordTypes array of parameter processor enabler record types
Returnosid.configuration.rules.ParameterProcessorEnablerForm the parameter processor enabler form
ErrorsNULL_ARGUMENT parameterProcessorEnablerRecordTypes is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED unable to get form for requested record types
Compliancemandatory This method must be implemented.
MethodcreateParameterProcessorEnabler
Description

Creates a new ParameterProcessorEnabler.

Parametersosid.configuration.rules.ParameterProcessorEnablerFormparameterProcessorEnablerForm the form for this ParameterProcessorEnabler
Returnosid.configuration.rules.ParameterProcessorEnabler the new ParameterProcessorEnabler
ErrorsILLEGAL_STATE parameterProcessorEnablerForm already used in a create transaction
INVALID_ARGUMENT one or more of the form elements is invalid
NULL_ARGUMENT parameterProcessorEnablerForm is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED parameterProcessorEnablerForm did not originate from getParameterProcessorEnablerFormForCreate()
Compliancemandatory This method must be implemented.
MethodcanUpdateParameterProcessorEnablers
Description

Tests if this user can update parameter processor enablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known updating a ParameterProcessorEnabler will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer update operations to an unauthorized user.

Returnboolean false if ParameterProcessorEnabler modification is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodgetParameterProcessorEnablerFormForUpdate
Description

Gets the parameter processor enabler form for updating an existing parameter processor enabler. A new parameter processor enabler form should be requested for each update transaction.

Parametersosid.id.IdparameterProcessorEnablerId the Id of the ParameterProcessorEnabler
Returnosid.configuration.rules.ParameterProcessorEnablerForm the parameter processor enabler form
ErrorsNOT_FOUND parameterProcessorEnablerId is not found
NULL_ARGUMENT parameterProcessorEnablerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodupdateParameterProcessorEnabler
Description

Updates an existing parameter processor enabler.

Parametersosid.configuration.rules.ParameterProcessorEnablerFormparameterProcessorEnablerForm the form containing the elements to be updated
ErrorsILLEGAL_STATE parameterProcessorEnablerForm already used in an update transaction
INVALID_ARGUMENT the form contains an invalid value
NULL_ARGUMENT parameterProcessorEnablerForm is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
UNSUPPORTED parameterProcessorEnablerForm did not originate from getParameterProcessorEnablerFormForUpdate()
Compliancemandatory This method must be implemented.
MethodcanDeleteParameterProcessorEnablers
Description

Tests if this user can delete parameter processor enablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known deleting a ParameterProcessorEnabler will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer delete operations to an unauthorized user.

Returnboolean false if ParameterProcessorEnabler deletion is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethoddeleteParameterProcessorEnabler
Description

Deletes a ParameterProcessorEnabler.

Parametersosid.id.IdparameterProcessorEnablerId the Id of the ParameterProcessorEnabler to remove
ErrorsNOT_FOUND parameterProcessorEnablerId not found
NULL_ARGUMENT parameterProcessorEnablerId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.
MethodcanManageParameterProcessorEnablerAliases
Description

Tests if this user can manage Id aliases for parameter processor enablers. A return of true does not guarantee successful authorization. A return of false indicates that it is known changing an alias will result in a PERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer alias operations to an unauthorized user.

Returnboolean false if ParameterProcessorEnabler aliasing is not authorized, true otherwise
Compliancemandatory This method must be implemented.
MethodaliasParameterProcessorEnabler
Description

Adds an Id to a ParameterProcessorEnabler for the purpose of creating compatibility. The primary Id of the ParameterProcessorEnabler is determined by the provider. The new Id performs as an alias to the primary Id. If the alias is a pointer to another parameter processor enabler. it is reassigned to the given parameter processor enabler Id.

Parametersosid.id.IdparameterProcessorEnablerId the Id of a ParameterProcessorEnabler
osid.id.IdaliasId the alias Id
ErrorsALREADY_EXISTS aliasId is already assigned
NOT_FOUND parameterProcessorEnablerId not found
NULL_ARGUMENT parameterProcessorEnablerId or aliasId is null
OPERATION_FAILED unable to complete request
PERMISSION_DENIED authorization failure
Compliancemandatory This method must be implemented.