public interface ProcessSmartOfficeSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
catalogs. A ProcessQuery can be retrieved from this session
and mapped to this Office to create a virtual collection of
Processes. The process may be sequenced using the
ProcessSearchOrder from this session.
This Office has a default query that matches any
process and a default search order that specifies no sequencing. The
queries may be examined using a ProcessQueryInspector. The
query may be modified by converting the inspector back to a
ProcessQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyProcessQuery(ProcessQuery processQuery)
Applies a process query to this office.
|
void |
applyProcessSequencing(ProcessSearchOrder processSearchOrder)
Applies a process 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. |
ProcessQuery |
getProcessQuery()
Gets a process query.
|
ProcessQuery |
getProcessQueryFromInspector(ProcessQueryInspector processQueryInspector)
Gets a process query from an inspector.
|
ProcessSearchOrder |
getProcessSearchOrder()
Gets a process search order.
|
ProcessQueryInspector |
inspectProcessQuery()
Gets a process 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. ProcessQuery getProcessQuery()
mandatory - This method must be implemented. ProcessSearchOrder getProcessSearchOrder()
mandatory - This method must be implemented. void applyProcessQuery(ProcessQuery processQuery) throws OperationFailedException, PermissionDeniedException
processQuery - the process queryNullArgumentException - processQuery is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - processQuery not
of this servicemandatory - This method must be implemented. ProcessQueryInspector inspectProcessQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyProcessSequencing(ProcessSearchOrder processSearchOrder) throws OperationFailedException, PermissionDeniedException
processSearchOrder - the process search orderNullArgumentException - processSearchOrder
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - processSearchOrder
not of this servicemandatory - This method must be implemented. ProcessQuery getProcessQueryFromInspector(ProcessQueryInspector processQueryInspector)
processQueryInspector - a process query inspectorNullArgumentException - processQueryInspector
is null UnsupportedException - processQueryInspector
is not of this servicemandatory - This method must be implemented.