public interface SettingSmartSystemSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A SettingQuery
can be retrieved from this session
and systemped to this System
to create a virtual collection
of Settings.
The settings may be sequenced using the
SettingSearchOrder
from this session.
This System
has a default query that matches any
setting and a default search order that specifies no sequencing. The
queries may be examined using a SettingQueryInspector.
The
query may be modified by converting the inspector back to a
SettingQuery.
Modifier and Type | Method and Description |
---|---|
void |
applySettingQuery(SettingQuery settingQuery)
Applies a setting query to this system.
|
void |
applySettingSequencing(SettingSearchOrder settingSearchOrder)
Applies a setting search order to this system.
|
boolean |
canManageSmartSystems()
Tests if this user can manage smart systems.
|
SettingQuery |
getSettingQuery()
Gets a setting query.
|
SettingQuery |
getSettingQueryFromInspector(SettingQueryInspector settingQueryInspector)
Gets a setting query from an inspector.
|
SettingSearchOrder |
getSettingSearchOrder()
Gets a setting search order.
|
System |
getSystem()
Gets the
System associated with this session. |
Id |
getSystemId()
Gets the
System Id associated with this
session. |
SettingQueryInspector |
inspectSettingQuery()
Gets a setting query inspector for this system.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getSystemId()
System
Id
associated with this
session. System Id
associated with this sessionmandatory
- This method must be implemented. System getSystem() throws OperationFailedException, PermissionDeniedException
System
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartSystems()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false
if smart system management is not
authorized, true
otherwisemandatory
- This method must be implemented. SettingQuery getSettingQuery()
mandatory
- This method must be implemented. SettingSearchOrder getSettingSearchOrder()
mandatory
- This method must be implemented. void applySettingQuery(SettingQuery settingQuery) throws OperationFailedException, PermissionDeniedException
settingQuery
- the setting queryNullArgumentException
- settingQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- settingQuery
not
of this servicemandatory
- This method must be implemented. SettingQueryInspector inspectSettingQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applySettingSequencing(SettingSearchOrder settingSearchOrder) throws OperationFailedException, PermissionDeniedException
settingSearchOrder
- the setting search orderNullArgumentException
- settingSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- settingSearchOrder
not of this servicemandatory
- This method must be implemented. SettingQuery getSettingQueryFromInspector(SettingQueryInspector settingQueryInspector)
settingQueryInspector
- a setting query inspectorNullArgumentException
- settingQueryInspector
is null
UnsupportedException
- settingQueryInspector
is not of this servicemandatory
- This method must be implemented.