public interface ParameterProcessorEnablerConfigurationSession extends OsidSession
This session provides methods to retrieve
ParameterProcessorEnabler
to Configuration
mappings. A ParameterProcessorEnabler
may appear in
multiple Configuration
objects. Each configuration may have
its own authorizations governing who is allowed to look at it.
This lookup session defines several views:
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupParameterProcessorEnablerConfigurationMappings()
Tests if this user can perform lookups of parameter processor
enabler/configuration mappings.
|
IdList |
getConfigurationIdsByParameterProcessorEnabler(Id parameterProcessorEnablerId)
Gets the
Configuration Ids mapped to a
ParameterProcessorEnabler. |
ConfigurationList |
getConfigurationsByParameterProcessorEnabler(Id parameterProcessorEnablerId)
Gets the
Configurations mapped to a
ParameterProcessorEnabler. |
IdList |
getParameterProcessorEnablerIdsByConfiguration(Id configurationId)
Gets the list of
ParameterProcessorEnablerIds
associated with an Configuration. |
IdList |
getParameterProcessorEnablerIdsByConfigurations(IdList configurationIds)
Gets the list of
ParameterProcessorEnabler Ids
corresponding to a list of Configurations. |
ParameterProcessorEnablerList |
getParameterProcessorEnablersByConfiguration(Id configurationId)
Gets the list of parameter processor enablers associated with an
Configuration. |
ParameterProcessorEnablerList |
getParameterProcessorEnablersByConfigurations(IdList configurationIds)
Gets the list of parameter processor enablers corresponding to a list
of
Configurations. |
void |
useComparativeParameterProcessorEnablerConfigurationView()
The returns from the lookup methods may omit or translate elements
based on this session, such as authorization, and not result in an
error.
|
void |
usePlenaryParameterProcessorEnablerConfigurationView()
A complete view of the
ParameterProcessorEnabler and
Configuration returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
boolean canLookupParameterProcessorEnablerConfigurationMappings()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer lookup operations to
unauthorized users. false
if looking up mappings is not authorized,
true
otherwisemandatory
- This method must be implemented. void useComparativeParameterProcessorEnablerConfigurationView()
mandatory
- This method is must be implemented. void usePlenaryParameterProcessorEnablerConfigurationView()
ParameterProcessorEnabler
and
Configuration
returns is desired. Methods will return
what is requested or result in an error. This view is used when
greater precision is desired at the expense of interoperability.mandatory
- This method is must be implemented. IdList getParameterProcessorEnablerIdsByConfiguration(Id configurationId) throws NotFoundException, OperationFailedException, PermissionDeniedException
ParameterProcessorEnablerIds
associated with an Configuration.
configurationId
- Id
of the Configuration
Ids
NotFoundException
- configurationId
is
not foundNullArgumentException
- configurationId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. ParameterProcessorEnablerList getParameterProcessorEnablersByConfiguration(Id configurationId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Configuration.
configurationId
- Id
of the Configuration
NotFoundException
- configurationId
is
not foundNullArgumentException
- configurationId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getParameterProcessorEnablerIdsByConfigurations(IdList configurationIds) throws OperationFailedException, PermissionDeniedException
ParameterProcessorEnabler Ids
corresponding to a list of Configurations.
configurationIds
- list of configuration Ids
Ids
NullArgumentException
- configurationIds
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. ParameterProcessorEnablerList getParameterProcessorEnablersByConfigurations(IdList configurationIds) throws OperationFailedException, PermissionDeniedException
Configurations.
configurationIds
- list of configuration Ids
NullArgumentException
- configurationIds
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getConfigurationIdsByParameterProcessorEnabler(Id parameterProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Configuration
Ids
mapped to a
ParameterProcessorEnabler.
parameterProcessorEnablerId
- Id
of a
ParameterProcessorEnabler
NotFoundException
- parameterProcessorEnablerId
is not foundNullArgumentException
-
parameterProcessorEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. ConfigurationList getConfigurationsByParameterProcessorEnabler(Id parameterProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Configurations
mapped to a
ParameterProcessorEnabler.
parameterProcessorEnablerId
- Id
of a
ParameterProcessorEnabler
NotFoundException
- parameterProcessorEnablerId
is not foundNullArgumentException
-
parameterProcessorEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.