public interface JobConstrainerEnablerSmartFoundrySession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
foundries. A JobConstrainerEnablerQuery can be retrieved
from this session and mapped to this Foundry to create a
virtual collection of job constrainer enablers. The job constrainer
enablers may be sequenced using the
JobConstrainerEnablerSearchOrder from this session.
This Foundry has a default query that matches any job
constrainer enabler and a default search order that specifies no
sequencing. The queries may be examined using a
JobConstrainerEnablerQueryInspector. The query may be modified by
converting the inspector back to a JobConstrainerEnablerQuery.
| Modifier and Type | Method and Description |
|---|---|
void |
applyJobConstrainerEnablerQuery(JobConstrainerEnablerQuery jobConstrainerEnablerQuery)
Applies a job constrainer enabler query to this foundry.
|
void |
applyJobConstrainerEnablerSequencing(JobConstrainerEnablerSearchOrder jobConstrainerEnablerSearchOrder)
Applies a job constrainer 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. |
JobConstrainerEnablerQuery |
getJobConstrainerEnablerQuery()
Gets a job constrainer enabler query.
|
JobConstrainerEnablerQuery |
getJobConstrainerEnablerQueryFromInspector(JobConstrainerEnablerQueryInspector jobConstrainerEnablerQueryInspector)
Gets a job constrainer enabler query from an inspector.
|
JobConstrainerEnablerSearchOrder |
getJobConstrainerEnablerSearchOrder()
Gets a job constrainer enabler search order.
|
JobConstrainerEnablerQueryInspector |
inspectJobConstrainerEnablerQuery()
Gets a job constrainer 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. JobConstrainerEnablerQuery getJobConstrainerEnablerQuery()
mandatory - This method must be implemented. JobConstrainerEnablerSearchOrder getJobConstrainerEnablerSearchOrder()
mandatory - This method must be implemented. void applyJobConstrainerEnablerQuery(JobConstrainerEnablerQuery jobConstrainerEnablerQuery) throws OperationFailedException, PermissionDeniedException
jobConstrainerEnablerQuery - the job constrainer enabler queryNullArgumentException -
jobConstrainerEnablerQuery is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
jobConstrainerEnablerQuery not of this servicemandatory - This method must be implemented. JobConstrainerEnablerQueryInspector inspectJobConstrainerEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredmandatory - This method must be implemented. void applyJobConstrainerEnablerSequencing(JobConstrainerEnablerSearchOrder jobConstrainerEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
jobConstrainerEnablerSearchOrder - the job constrainer enabler
search orderNullArgumentException -
jobConstrainerEnablerSearchOrder is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failure
occurredUnsupportedException -
jobConstrainerEnablerSearchOrder not of this servicemandatory - This method must be implemented. JobConstrainerEnablerQuery getJobConstrainerEnablerQueryFromInspector(JobConstrainerEnablerQueryInspector jobConstrainerEnablerQueryInspector)
jobConstrainerEnablerQueryInspector - a job constrainer enabler
query inspectorNullArgumentException -
jobConstrainerEnablerQueryInspector is null
UnsupportedException -
jobConstrainerEnablerQueryInspector is not of this
servicemandatory - This method must be implemented.