public interface StepConstrainerSmartOfficeSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
office. a StepConstrainerQuery
can be retrieved from this
session and mapped to this Office
to create a virtual
collection of step constrainers. The step constrainer may be sequenced
using the StepConstrainerSearchOrder
from this session.
This Office
has a default query that matches any step
constrainer and a default search order that specifies no sequencing. The
queries may be examined using a StepConstrainerQueryInspector.
The query may be modified by converting the inspector back to a
StepConstrainerQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyStepConstrainerQuery(StepConstrainerQuery stepConstrainerQuery)
Applies a step constrainer query to this office.
|
void |
applyStepConstrainerSequencing(StepConstrainerSearchOrder stepConstrainerSearchOrder)
Applies a step constrainer 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. |
StepConstrainerQuery |
getStepConstrainerQuery()
Gets a step constrainer query.
|
StepConstrainerQuery |
getStepConstrainerQueryFromInspector(StepConstrainerQueryInspector stepConstrainerQueryInspector)
Gets a step constrainer query from an inspector.
|
StepConstrainerSearchOrder |
getStepConstrainerSearchOrder()
Gets a step constrainer search order.
|
StepConstrainerQueryInspector |
inspectStepConstrainerQuery()
Gets a step constrainer 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. StepConstrainerQuery getStepConstrainerQuery()
mandatory
- This method must be implemented. StepConstrainerSearchOrder getStepConstrainerSearchOrder()
mandatory
- This method must be implemented. void applyStepConstrainerQuery(StepConstrainerQuery stepConstrainerQuery) throws OperationFailedException, PermissionDeniedException
stepConstrainerQuery
- the step constrainer queryNullArgumentException
- stepConstrainerQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
- stepConstrainerQuery
not of this servicemandatory
- This method must be implemented. StepConstrainerQueryInspector inspectStepConstrainerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyStepConstrainerSequencing(StepConstrainerSearchOrder stepConstrainerSearchOrder) throws OperationFailedException, PermissionDeniedException
stepConstrainerSearchOrder
- the step constrainer search orderNullArgumentException
-
stepConstrainerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
stepConstrainerSearchOrder
not of this servicemandatory
- This method must be implemented. StepConstrainerQuery getStepConstrainerQueryFromInspector(StepConstrainerQueryInspector stepConstrainerQueryInspector)
stepConstrainerQueryInspector
- a step constrainer query
inspectorNullArgumentException
-
stepConstrainerQueryInspector
is null
UnsupportedException
-
stepConstrainerQueryInspector
is not of this servicemandatory
- This method must be implemented.