public interface QueueProcessorEnablerDistributorSession extends OsidSession
This session provides methods to retrieve QueueProcessorEnabler
to Distributor mappings. a
QueueProcessorEnabler may appear in multiple Distributor
objects. Each distributor may have its own authorizations
governing who is allowed to look at it.
This lookup session defines several views:
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupQueueProcessorEnablerDistributorMappings()
Tests if this user can perform lookups of queue processor
enabler/distributor mappings.
|
IdList |
getDistributorIdsByQueueProcessorEnabler(Id queueProcessorEnablerId)
Gets the
Distributor Ids mapped to a
QueueProcessorEnabler. |
DistributorList |
getDistributorsByQueueProcessorEnabler(Id queueProcessorEnablerId)
Gets the
Distributors mapped to a
QueueProcessorEnabler. |
IdList |
getQueueProcessorEnablerIdsByDistributor(Id distributorId)
Gets the list of
QueueProcessorEnablerIds associated
with a Distributor. |
IdList |
getQueueProcessorEnablerIdsByDistributors(IdList distributorIds)
Gets the list of
QueueProcessorEnabler Ids
corresponding to a list of Distributors. |
QueueProcessorEnablerList |
getQueueProcessorEnablersByDistributor(Id distributorId)
Gets the list of queue processor enablers associated with a
Distributor. |
QueueProcessorEnablerList |
getQueueProcessorEnablersByDistributors(IdList distributorIds)
Gets the list of queue processor enablers corresponding to a list of
Distributors. |
void |
useComparativeQueueProcessorEnablerDistributorView()
The returns from the lookup methods may omit or translate elements
based on this session, such as authorization, and not result in an
error.
|
void |
usePlenaryQueueProcessorEnablerDistributorView()
A complete view of the
QueueProcessorEnabler and
Distributor returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canLookupQueueProcessorEnablerDistributorMappings()
PERMISSION_DENIED. This is intended as a hint to an
application that may opt not to offer lookup operations to
unauthorized users. false if looking up mappings is not authorized,
true otherwisemandatory - This method must be implemented. void useComparativeQueueProcessorEnablerDistributorView()
mandatory - This method is must be implemented. void usePlenaryQueueProcessorEnablerDistributorView()
QueueProcessorEnabler and
Distributor returns is desired. Methods will return what is
requested or result in an error. This view is used when greater
precision is desired at the expense of interoperability.mandatory - This method is must be implemented. IdList getQueueProcessorEnablerIdsByDistributor(Id distributorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessorEnablerIds associated
with a Distributor. distributorId - Id of the Distributor
Ids NotFoundException - distributorId is not
foundNullArgumentException - distributorId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. QueueProcessorEnablerList getQueueProcessorEnablersByDistributor(Id distributorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Distributor. distributorId - Id of the Distributor
NotFoundException - distributorId is not
foundNullArgumentException - distributorId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getQueueProcessorEnablerIdsByDistributors(IdList distributorIds) throws OperationFailedException, PermissionDeniedException
QueueProcessorEnabler Ids
corresponding to a list of Distributors. distributorIds - list of distributor Ids Ids NullArgumentException - distributorIds
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. QueueProcessorEnablerList getQueueProcessorEnablersByDistributors(IdList distributorIds) throws OperationFailedException, PermissionDeniedException
Distributors. distributorIds - list of distributor Ids NullArgumentException - distributorIds
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getDistributorIdsByQueueProcessorEnabler(Id queueProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Distributor Ids mapped to a
QueueProcessorEnabler. queueProcessorEnablerId - Id of a
QueueProcessorEnabler NotFoundException - queueProcessorEnablerId
is not foundNullArgumentException - queueProcessorEnablerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. DistributorList getDistributorsByQueueProcessorEnabler(Id queueProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Distributors mapped to a
QueueProcessorEnabler. queueProcessorEnablerId - Id of a
QueueProcessorEnabler NotFoundException - queueProcessorEnablerId
is not foundNullArgumentException - queueProcessorEnablerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.