public interface ParameterSmartConfigurationSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A ParameterQuery can be retrieved from this
session and mapped to this Configuration to create a
virtual collection of Parameters. The parameters may be
sequenced using the ParameterSearchOrder from this session.
This Configuration has a default query that matches any
parameter and a default search order that specifies no sequencing. The
queries may be examined using a ParameterQueryInspector.
The query may be modified by converting the inspector back to a
ParameterQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyParameterQuery(ParameterQuery parameterQuery)
Applies a parameter query to this configuration.
|
void |
applyParameterSequencing(ParameterSearchOrder parameterSearchOrder)
Applies a parameter search order to this configuration.
|
boolean |
canManageSmartConfigurations()
Tests if this user can manage smart configurations.
|
Configuration |
getConfiguration()
Gets the
Configuration associated with this session. |
Id |
getConfigurationId()
Gets the
Configuration Id associated
with this session. |
ParameterQuery |
getParameterQuery()
Gets a parameter query.
|
ParameterQuery |
getParameterQueryFromInspector(ParameterQueryInspector parameterQueryInspector)
Gets a parameter query from an inspector.
|
ParameterSearchOrder |
getParameterSearchOrder()
Gets a parameter search order.
|
ParameterQueryInspector |
inspecParameterQuery()
Gets a parameter query inspector for this configuration.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getConfigurationId()
Configuration Id associated
with this session. Configuration Id associated with this
sessionmandatory - This method must be implemented. Configuration getConfiguration() throws OperationFailedException, PermissionDeniedException
Configuration associated with this session. Configuration associated with this sessionOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartConfigurations()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart cobfiguration management is not
authorized, true otherwisemandatory - This method must be implemented. ParameterQuery getParameterQuery()
mandatory - This method must be implemented. ParameterSearchOrder getParameterSearchOrder()
mandatory - This method must be implemented. void applyParameterQuery(ParameterQuery parameterQuery) throws OperationFailedException, PermissionDeniedException
parameterQuery - the parameter queryNullArgumentException - parameterQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - parameterQuery
not of this servicemandatory - This method must be implemented. ParameterQueryInspector inspecParameterQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyParameterSequencing(ParameterSearchOrder parameterSearchOrder) throws OperationFailedException, PermissionDeniedException
parameterSearchOrder - the parameter search orderNullArgumentException - parameterSearchOrder
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - parameterSearchOrder
not of this servicemandatory - This method must be implemented. ParameterQuery getParameterQueryFromInspector(ParameterQueryInspector parameterQueryInspector)
parameterQueryInspector - a parameter query inspectorNullArgumentException - parameterQueryInspector
is null UnsupportedException - parameterQueryInspector
is not of this servicemandatory - This method must be implemented.