public interface InputSmartSystemSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A InputQuery
can be retrieved from this session
and systemped to this System
to create a virtual collection
of Inputs.
The inputs may be sequenced using the
InputSearchOrder
from this session.
This System
has a default query that matches any input
and a default search order that specifies no sequencing. The queries may
be examined using a InputQueryInspector.
The query may be
modified by converting the inspector back to a InputQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyInputQuery(InputQuery inputQuery)
Applies an input query to this system.
|
void |
applyInputSequencing(InputSearchOrder inputSearchOrder)
Applies an input search order to this system.
|
boolean |
canManageSmartSystems()
Tests if this user can manage smart systems.
|
InputQuery |
getInputQuery()
Gets an input query.
|
InputQuery |
getInputQueryFromInspector(InputQueryInspector inputQueryInspector)
Gets an input query from an inspector.
|
InputSearchOrder |
getInputSearchOrder()
Gets an input search order.
|
System |
getSystem()
Gets the
System associated with this session. |
Id |
getSystemId()
Gets the
System Id associated with this
session. |
InputQueryInspector |
inspectInputQuery()
Gets an input 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. InputQuery getInputQuery()
mandatory
- This method must be implemented. InputSearchOrder getInputSearchOrder()
mandatory
- This method must be implemented. void applyInputQuery(InputQuery inputQuery) throws OperationFailedException, PermissionDeniedException
inputQuery
- the input queryNullArgumentException
- inputQuery
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- inputQuery
not of
this servicemandatory
- This method must be implemented. InputQueryInspector inspectInputQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyInputSequencing(InputSearchOrder inputSearchOrder) throws OperationFailedException, PermissionDeniedException
inputSearchOrder
- the input search orderNullArgumentException
- inputSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- inputSearchOrder
not of this servicemandatory
- This method must be implemented. InputQuery getInputQueryFromInspector(InputQueryInspector inputQueryInspector)
inputQueryInspector
- an input query inspectorNullArgumentException
- inputQueryInspector
is null
UnsupportedException
- inputQueryInspector
is not of this servicemandatory
- This method must be implemented.