public interface ProcessEnablerSmartOfficeSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
offices. A ProcessEnablerQuery can be retrieved from this
session and mapped to this Office to create a virtual
collection of process enablers. The process enabler may be sequenced using
the ProcessEnablerSearchOrder from this session.
This Office has a default query that matches any
process enabler and a default search order that specifies no sequencing.
The queries may be examined using a ProcessEnablerQueryInspector.
The query may be modified by converting the inspector back to a
ProcessEnablerQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyProcessEnablerQuery(ProcessEnablerQuery processEnablerQuery)
Applies a process enabler query to this office.
|
void |
applyProcessEnablerSequencing(ProcessEnablerSearchOrder processEnablerSearchOrder)
Applies a process enabler search order to this office.
|
boolean |
canManageSmartOffices()
Tests if this user can manage smart offices.
|
Office |
getOffice()
Gets the
Office associated with this session. |
Id |
getOfficeId()
Gets the
Office Id associated with this
session. |
ProcessEnablerQuery |
getProcessEnablerQuery()
Gets a process enabler query.
|
ProcessEnablerQuery |
getProcessEnablerQueryFromInspector(ProcessEnablerQueryInspector processEnablerQueryInspector)
Gets a process enabler query from an inspector.
|
ProcessEnablerSearchOrder |
getProcessEnablerSearchOrder()
Gets a process enabler search order.
|
ProcessEnablerQueryInspector |
inspectProcessEnablerQuery()
Gets a process 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. ProcessEnablerQuery getProcessEnablerQuery()
mandatory - This method must be implemented. ProcessEnablerSearchOrder getProcessEnablerSearchOrder()
mandatory - This method must be implemented. void applyProcessEnablerQuery(ProcessEnablerQuery processEnablerQuery) throws OperationFailedException, PermissionDeniedException
processEnablerQuery - the process enabler queryNullArgumentException - processEnablerQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - processEnablerQuery
not of this servicemandatory - This method must be implemented. ProcessEnablerQueryInspector inspectProcessEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyProcessEnablerSequencing(ProcessEnablerSearchOrder processEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
processEnablerSearchOrder - the process enabler search orderNullArgumentException -
processEnablerSearchOrder is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - processEnablerSearchOrder
not of this servicemandatory - This method must be implemented. ProcessEnablerQuery getProcessEnablerQueryFromInspector(ProcessEnablerQueryInspector processEnablerQueryInspector)
processEnablerQueryInspector - a process enabler query inspectorNullArgumentException -
processEnablerQueryInspector is null UnsupportedException -
processEnablerQueryInspector is not of this servicemandatory - This method must be implemented.