public interface ActionGroupSmartSystemSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. An ActionGroupQuery
can be retrieved from this
session and mapped to this System
to create a virtual
collection of ActionGroups.
The action groups may be
sequenced using the ActionGroupSearchOrder
from this
session.
This System
has a default query that matches any action
group and a default search order that specifies no sequencing. The queries
may be examined using an ActionGroupQueryInspector.
The
query may be modified by converting the inspector back to an
ActionGroupQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyActionGroupQuery(ActionGroupQuery actuionGroupQuery)
Applies an action group query to this system.
|
void |
applyActionGroupSequencing(ActionGroupSearchOrder actionGroupSearchOrder)
Applies an action group search order to this system.
|
boolean |
canManageSmartSystems()
Tests if this user can manage smart systems.
|
ActionGroupQuery |
getActionGroupQuery()
Gets an action group query.
|
ActionGroupQuery |
getActionGroupQueryFromInspector(ActionGroupQueryInspector actuionGroupQueryInspector)
Gets an action group query from an inspector.
|
ActionGroupSearchOrder |
getActionGroupSearchOrder()
Gets an action group search order.
|
System |
getSystem()
Gets the
System associated with this session. |
Id |
getSystemId()
Gets the
System Id associated with this
session. |
ActionGroupQueryInspector |
inspectActionGroupQuery()
Gets an action group 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. ActionGroupQuery getActionGroupQuery()
mandatory
- This method must be implemented. ActionGroupSearchOrder getActionGroupSearchOrder()
mandatory
- This method must be implemented. void applyActionGroupQuery(ActionGroupQuery actuionGroupQuery) throws OperationFailedException, PermissionDeniedException
actuionGroupQuery
- the action group queryNullArgumentException
- actuionGroupQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- actuionGroupQuery
not of this servicemandatory
- This method must be implemented. ActionGroupQueryInspector inspectActionGroupQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyActionGroupSequencing(ActionGroupSearchOrder actionGroupSearchOrder) throws OperationFailedException, PermissionDeniedException
actionGroupSearchOrder
- the action group search orderNullArgumentException
- actionGroupSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- actionGroupSearchOrder
not of this servicemandatory
- This method must be implemented. ActionGroupQuery getActionGroupQueryFromInspector(ActionGroupQueryInspector actuionGroupQueryInspector)
actuionGroupQueryInspector
- an action group query inspectorNullArgumentException
-
actuionGroupQueryInspector
is null
UnsupportedException
-
actuionGroupQueryInspector
is not of this servicemandatory
- This method must be implemented.