public interface StepProcessorEnablerSmartOfficeSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
office. a StepProcessorEnablerQuery can be retrieved from
this session and mapped to this Office to create a virtual
collection of step processor enablers. The step processor enablers may be
sequenced using the StepProcessorEnablerSearchOrder from
this session.
This Office has a default query that matches any step
processor enabler and a default search order that specifies no sequencing.
The queries may be examined using a
StepProcessorEnablerQueryInspector. The query may be modified by
converting the inspector back to a StepProcessorEnablerQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyStepProcessorEnablerQuery(StepProcessorEnablerQuery stepProcessorEnablerQuery)
Applies a step processor enabler query to this office.
|
void |
applyStepProcessorEnablerSequencing(StepProcessorEnablerSearchOrder stepProcessorEnablerSearchOrder)
Applies a step processor enabler search order to this office.
|
boolean |
canManageSmartOffices()
Tests if this user can manage smart office.
|
Office |
getOffice()
Gets the
Office associated with this session. |
Id |
getOfficeId()
Gets the
Office Id associated with this
session. |
StepProcessorEnablerQuery |
getStepProcessorEnablerQuery()
Gets a step processor enabler query.
|
StepProcessorEnablerQuery |
getStepProcessorEnablerQueryFromInspector(StepProcessorEnablerQueryInspector stepProcessorEnablerQueryInspector)
Gets a step processor enabler query from an inspector.
|
StepProcessorEnablerSearchOrder |
getStepProcessorEnablerSearchOrder()
Gets a step processor enabler search order.
|
StepProcessorEnablerQueryInspector |
inspectStepProcessorEnablerQuery()
Gets a step processor enabler query inspector for this office.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getOfficeId()
Office Id associated with this
session. Office Id associated with this sessionmandatory - This method must be implemented. Office getOffice() throws OperationFailedException, PermissionDeniedException
Office associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartOffices()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart office management is not
authorized, true otherwisemandatory - This method must be implemented. StepProcessorEnablerQuery getStepProcessorEnablerQuery()
mandatory - This method must be implemented. StepProcessorEnablerSearchOrder getStepProcessorEnablerSearchOrder()
mandatory - This method must be implemented. void applyStepProcessorEnablerQuery(StepProcessorEnablerQuery stepProcessorEnablerQuery) throws OperationFailedException, PermissionDeniedException
stepProcessorEnablerQuery - the step processor enabler queryNullArgumentException -
stepProcessorEnablerQuery is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - stepProcessorEnablerQuery
not of this servicemandatory - This method must be implemented. StepProcessorEnablerQueryInspector inspectStepProcessorEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyStepProcessorEnablerSequencing(StepProcessorEnablerSearchOrder stepProcessorEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
stepProcessorEnablerSearchOrder - the step processor enabler
search orderNullArgumentException -
stepProcessorEnablerSearchOrder is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
stepProcessorEnablerSearchOrder not of this servicemandatory - This method must be implemented. StepProcessorEnablerQuery getStepProcessorEnablerQueryFromInspector(StepProcessorEnablerQueryInspector stepProcessorEnablerQueryInspector)
stepProcessorEnablerQueryInspector - a step processor enabler
query inspectorNullArgumentException -
stepProcessorEnablerQueryInspector is null
UnsupportedException -
stepProcessorEnablerQueryInspector is not of this
servicemandatory - This method must be implemented.