public interface TriggerSmartSystemSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A TriggerQuery
can be retrieved from this session
and mapped to this System
to create a virtual collection of
Triggers.
The triggers may be sequenced using the
TriggerSearchOrder
from this session.
This System
has a default query that matches any
trigger and a default search order that specifies no sequencing. The
queries may be examined using a TriggerQueryInspector.
The
query may be modified by converting the inspector back to a
TriggerQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyTriggerQuery(TriggerQuery triggerQuery)
Applies a trigger query to this system.
|
void |
applyTriggerSequencing(TriggerSearchOrder triggerSearchOrder)
Applies a trigger search order to this system.
|
boolean |
canManageSmartSystems()
Tests if this user can manage smart systems.
|
System |
getSystem()
Gets the
System associated with this session. |
Id |
getSystemId()
Gets the
System Id associated with this
session. |
TriggerQuery |
getTriggerQuery()
Gets a trigger query.
|
TriggerQuery |
getTriggerQueryFromInspector(TriggerQueryInspector triggerQueryInspector)
Gets a trigger query from an inspector.
|
TriggerSearchOrder |
getTriggerSearchOrder()
Gets a trigger search order.
|
TriggerQueryInspector |
inspectTriggerQuery()
Gets a trigger 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. TriggerQuery getTriggerQuery()
mandatory
- This method must be implemented. TriggerSearchOrder getTriggerSearchOrder()
mandatory
- This method must be implemented. void applyTriggerQuery(TriggerQuery triggerQuery) throws OperationFailedException, PermissionDeniedException
triggerQuery
- the trigger queryNullArgumentException
- triggerQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- triggerQuery
not
of this servicemandatory
- This method must be implemented. TriggerQueryInspector inspectTriggerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyTriggerSequencing(TriggerSearchOrder triggerSearchOrder) throws OperationFailedException, PermissionDeniedException
triggerSearchOrder
- the trigger search orderNullArgumentException
- triggerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- triggerSearchOrder
not of this servicemandatory
- This method must be implemented. TriggerQuery getTriggerQueryFromInspector(TriggerQueryInspector triggerQueryInspector)
triggerQueryInspector
- a trigger query inspectorNullArgumentException
- triggerQueryInspector
is null
UnsupportedException
- triggerQueryInspector
is not of this servicemandatory
- This method must be implemented.