public interface JobProcessorEnablerSmartFoundrySession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
foundries. A JobProcessorEnablerQuery can be retrieved from
this session and mapped to this Foundry to create a virtual
collection of job processor enablers. The job processor enablers may be
sequenced using the JobProcessorEnablerSearchOrder from
this session.
This Foundry has a default query that matches any job
processor enabler and a default search order that specifies no sequencing.
The queries may be examined using a
JobProcessorEnablerQueryInspector. The query may be modified by
converting the inspector back to a JobProcessorEnablerQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyJobProcessorEnablerQuery(JobProcessorEnablerQuery jobProcessorEnablerQuery)
Applies a job processor enabler query to this foundry.
|
void |
applyJobProcessorEnablerSequencing(JobProcessorEnablerSearchOrder jobProcessorEnablerSearchOrder)
Applies a job processor enabler search order to this foundry.
|
boolean |
canManageSmartFoundries()
Tests if this user can manage smart foundries.
|
Foundry |
getFoundry()
Gets the
Foundry associated with this session. |
Id |
getFoundryId()
Gets the
Foundry Id associated with this
session. |
JobProcessorEnablerQuery |
getJobProcessorEnablerQuery()
Gets a job processor enabler query.
|
JobProcessorEnablerQuery |
getJobProcessorEnablerQueryFromInspector(JobProcessorEnablerQueryInspector jobProcessorEnablerQueryInspector)
Gets a job processor enabler query from an inspector.
|
JobProcessorEnablerSearchOrder |
getJobProcessorEnablerSearchOrder()
Gets a job processor enabler search order.
|
JobProcessorEnablerQueryInspector |
inspectJobProcessorEnablerQuery()
Gets a job processor enabler query inspector for this foundry.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getFoundryId()
Foundry Id associated with this
session. Foundry Id associated with this sessionmandatory - This method must be implemented. Foundry getFoundry() throws OperationFailedException, PermissionDeniedException
Foundry associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canManageSmartFoundries()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false if smart foundry management is not
authorized, true otherwisemandatory - This method must be implemented. JobProcessorEnablerQuery getJobProcessorEnablerQuery()
mandatory - This method must be implemented. JobProcessorEnablerSearchOrder getJobProcessorEnablerSearchOrder()
mandatory - This method must be implemented. void applyJobProcessorEnablerQuery(JobProcessorEnablerQuery jobProcessorEnablerQuery) throws OperationFailedException, PermissionDeniedException
jobProcessorEnablerQuery - the job processor enabler queryNullArgumentException - jobProcessorEnablerQuery
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException - jobProcessorEnablerQuery
not of this servicemandatory - This method must be implemented. JobProcessorEnablerQueryInspector inspectJobProcessorEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyJobProcessorEnablerSequencing(JobProcessorEnablerSearchOrder jobProcessorEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
jobProcessorEnablerSearchOrder - the job processor enabler
search orderNullArgumentException -
jobProcessorEnablerSearchOrder is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
jobProcessorEnablerSearchOrder not of this servicemandatory - This method must be implemented. JobProcessorEnablerQuery getJobProcessorEnablerQueryFromInspector(JobProcessorEnablerQueryInspector jobProcessorEnablerQueryInspector)
jobProcessorEnablerQueryInspector - a job processor enabler
query inspectorNullArgumentException -
jobProcessorEnablerQueryInspector is null
UnsupportedException -
jobProcessorEnablerQueryInspector is not of this
servicemandatory - This method must be implemented.