public interface StepConstrainerEnablerSmartOfficeSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
office. a StepConstrainerEnablerQuery
can be retrieved from
this session and mapped to this Office
to create a virtual
collection of step constrainer enablers. The step constrainer enablers may
be sequenced using the StepConstrainerEnablerSearchOrder
from this session.
This Office
has a default query that matches any step
constrainer enabler and a default search order that specifies no
sequencing. The queries may be examined using a
StepConstrainerEnablerQueryInspector.
The query may be modified by
converting the inspector back to a StepConstrainerEnablerQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyStepConstrainerEnablerQuery(StepConstrainerEnablerQuery stepConstrainerEnablerQuery)
Applies a step constrainer enabler query to this office.
|
void |
applyStepConstrainerEnablerSequencing(StepConstrainerEnablerSearchOrder stepConstrainerEnablerSearchOrder)
Applies a step constrainer 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. |
StepConstrainerEnablerQuery |
getStepConstrainerEnablerQuery()
Gets a step constrainer enabler query.
|
StepConstrainerEnablerQuery |
getStepConstrainerEnablerQueryFromInspector(StepConstrainerEnablerQueryInspector stepConstrainerEnablerQueryInspector)
Gets a step constrainer enabler query from an inspector.
|
StepConstrainerEnablerSearchOrder |
getStepConstrainerEnablerSearchOrder()
Gets a step constrainer enabler search order.
|
StepConstrainerEnablerQueryInspector |
inspectStepConstrainerEnablerQuery()
Gets a step constrainer enabler query inspector for this office.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id 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. StepConstrainerEnablerQuery getStepConstrainerEnablerQuery()
mandatory
- This method must be implemented. StepConstrainerEnablerSearchOrder getStepConstrainerEnablerSearchOrder()
mandatory
- This method must be implemented. void applyStepConstrainerEnablerQuery(StepConstrainerEnablerQuery stepConstrainerEnablerQuery) throws OperationFailedException, PermissionDeniedException
stepConstrainerEnablerQuery
- the step constrainer enabler queryNullArgumentException
-
stepConstrainerEnablerQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
stepConstrainerEnablerQuery
not of this servicemandatory
- This method must be implemented. StepConstrainerEnablerQueryInspector inspectStepConstrainerEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyStepConstrainerEnablerSequencing(StepConstrainerEnablerSearchOrder stepConstrainerEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
stepConstrainerEnablerSearchOrder
- the step constrainer enabler
search orderNullArgumentException
-
stepConstrainerEnablerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
stepConstrainerEnablerSearchOrder
not of this servicemandatory
- This method must be implemented. StepConstrainerEnablerQuery getStepConstrainerEnablerQueryFromInspector(StepConstrainerEnablerQueryInspector stepConstrainerEnablerQueryInspector)
stepConstrainerEnablerQueryInspector
- a step constrainer
enabler query inspectorNullArgumentException
-
stepConstrainerEnablerQueryInspector
is null
UnsupportedException
-
stepConstrainerEnablerQueryInspector
is not of this
servicemandatory
- This method must be implemented.