public interface QueueConstrainerEnablerDistributorSession extends OsidSession
This session provides methods to retrieve
QueueConstrainerEnabler to Distributor mappings. a
QueueConstrainerEnabler 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 |
canLookupQueueConstrainerEnablerDistributorMappings()
Tests if this user can perform lookups of queue constrainer
enabler/distributor mappings.
|
IdList |
getDistributorIdsByQueueConstrainerEnabler(Id queueConstrainerEnablerId)
Gets the
Distributor Ids mapped to a
QueueConstrainerEnabler. |
DistributorList |
getDistributorsByQueueConstrainerEnabler(Id queueConstrainerEnablerId)
Gets the
Distributors mapped to a
QueueConstrainerEnabler. |
IdList |
getQueueConstrainerEnablerIdsByDistributor(Id distributorId)
Gets the list of
QueueConstrainerEnablerIds associated
with a Distributor. |
IdList |
getQueueConstrainerEnablerIdsByDistributors(IdList distributorIds)
Gets the list of
QueueConstrainerEnabler Ids
corresponding to a list of Distributors. |
QueueConstrainerEnablerList |
getQueueConstrainerEnablersByDistributor(Id distributorId)
Gets the list of queue constrainer enablers associated with a
Distributor. |
QueueConstrainerEnablerList |
getQueueConstrainerEnablersByDistributors(IdList distributorIds)
Gets the list of queue constrainer enablers corresponding to a list of
Distributors. |
void |
useComparativeQueueConstrainerEnablerDistributorView()
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 |
usePlenaryQueueConstrainerEnablerDistributorView()
A complete view of the
QueueConstrainerEnabler and
Distributor returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseboolean canLookupQueueConstrainerEnablerDistributorMappings()
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 useComparativeQueueConstrainerEnablerDistributorView()
mandatory - This method is must be implemented. void usePlenaryQueueConstrainerEnablerDistributorView()
QueueConstrainerEnabler 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 getQueueConstrainerEnablerIdsByDistributor(Id distributorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueConstrainerEnablerIds 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. QueueConstrainerEnablerList getQueueConstrainerEnablersByDistributor(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 getQueueConstrainerEnablerIdsByDistributors(IdList distributorIds) throws OperationFailedException, PermissionDeniedException
QueueConstrainerEnabler 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. QueueConstrainerEnablerList getQueueConstrainerEnablersByDistributors(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 getDistributorIdsByQueueConstrainerEnabler(Id queueConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Distributor Ids mapped to a
QueueConstrainerEnabler. queueConstrainerEnablerId - Id of a
QueueConstrainerEnabler NotFoundException - queueConstrainerEnablerId
is not foundNullArgumentException -
queueConstrainerEnablerId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. DistributorList getDistributorsByQueueConstrainerEnabler(Id queueConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Distributors mapped to a
QueueConstrainerEnabler. queueConstrainerEnablerId - Id of a
QueueConstrainerEnabler NotFoundException - queueConstrainerEnablerId
is not foundNullArgumentException -
queueConstrainerEnablerId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.