public interface QueueProcessorEnablerSmartDistributorSession extends OsidSession
This session manages queries and sequencing to create "smart" dynamic
distributors. a QueueProcessorEnablerQuery
can be retrieved
from this session and mapped to this Distributor
to create
a virtual collection of queue processor enablers. The queue processor
enablers may be sequenced using the
QueueProcessorEnablerSearchOrder
from this session.
This Distributor
has a default query that matches any
queue processor enabler and a default search order that specifies no
sequencing. The queries may be examined using a
QueueProcessorEnablerQueryInspector.
The query may be modified by
converting the inspector back to a QueueProcessorEnablerQuery.
Modifier and Type | Method and Description |
---|---|
void |
applyQueueProcessorEnablerQuery(QueueProcessorEnablerQuery queueProcessorEnablerQuery)
Applies a queue processor enabler query to this distributor.
|
void |
applyQueueProcessorEnablerSequencing(QueueProcessorEnablerSearchOrder queueProcessorEnablerSearchOrder)
Applies a queue processor enabler search order to this distributor.
|
boolean |
canManageSmartDistributors()
Tests if this user can manage smart distributors.
|
Distributor |
getDistributor()
Gets the
Distributor associated with this session. |
Id |
getDistributorId()
Gets the
Distributor Id associated with
this session. |
QueueProcessorEnablerQuery |
getQueueProcessorEnablerQuery()
Gets a queue processor enabler query.
|
QueueProcessorEnablerQuery |
getQueueProcessorEnablerQueryFromInspector(QueueProcessorEnablerQueryInspector queueProcessorEnablerQueryInspector)
Gets a queue processor enabler query from an inspector.
|
QueueProcessorEnablerSearchOrder |
getQueueProcessorEnablerSearchOrder()
Gets a queue processor enabler search order.
|
QueueProcessorEnablerQueryInspector |
inspectQueueProcessorEnablerQuery()
Gets a queue processor enabler query inspector for this distributor.
|
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
Id getDistributorId()
Distributor
Id
associated with
this session. Distributor Id
associated with this sessionmandatory
- This method must be implemented. Distributor getDistributor() throws OperationFailedException, PermissionDeniedException
Distributor
associated with this session.OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. boolean canManageSmartDistributors()
PERMISSION_DENIED.
This is intended as a hint to an
application that may opt not to offer operations to unauthorized
users. false
if smart distributor management is not
authorized, true
otherwisemandatory
- This method must be implemented. QueueProcessorEnablerQuery getQueueProcessorEnablerQuery()
mandatory
- This method must be implemented. QueueProcessorEnablerSearchOrder getQueueProcessorEnablerSearchOrder()
mandatory
- This method must be implemented. void applyQueueProcessorEnablerQuery(QueueProcessorEnablerQuery queueProcessorEnablerQuery) throws OperationFailedException, PermissionDeniedException
queueProcessorEnablerQuery
- the queue processor enabler queryNullArgumentException
-
queueProcessorEnablerQuery
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
queueProcessorEnablerQuery
not of this servicemandatory
- This method must be implemented. QueueProcessorEnablerQueryInspector inspectQueueProcessorEnablerQuery() throws OperationFailedException, PermissionDeniedException
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredmandatory
- This method must be implemented. void applyQueueProcessorEnablerSequencing(QueueProcessorEnablerSearchOrder queueProcessorEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
queueProcessorEnablerSearchOrder
- the queue processor enabler
search orderNullArgumentException
-
queueProcessorEnablerSearchOrder
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failure
occurredUnsupportedException
-
queueProcessorEnablerSearchOrder
not of this servicemandatory
- This method must be implemented. QueueProcessorEnablerQuery getQueueProcessorEnablerQueryFromInspector(QueueProcessorEnablerQueryInspector queueProcessorEnablerQueryInspector)
queueProcessorEnablerQueryInspector
- a queue processor enabler
query inspectorNullArgumentException
-
queueProcessorEnablerQueryInspector
is null
UnsupportedException
-
queueProcessorEnablerQueryInspector
is not of this
servicemandatory
- This method must be implemented.