public interface BrokerProcessorEnablerDistributorSession extends OsidSession
This session provides methods to retrieve BrokerProcessorEnabler
to Distributor
mappings. A
BrokerProcessorEnabler
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 |
canLookupBrokerProcessorEnablerDistributorMappings()
Tests if this user can perform lookups of broker processor
enabler/distributor mappings.
|
IdList |
getBrokerProcessorEnablerIdsByDistributor(Id distributorId)
Gets the list of
BrokerProcessorEnablerIds associated
with a Distributor. |
IdList |
getBrokerProcessorEnablerIdsByDistributors(IdList distributorIds)
Gets the list of
BrokerProcessorEnabler Ids
corresponding to a list of Distributors. |
BrokerProcessorEnablerList |
getBrokerProcessorEnablersByDistributor(Id distributorId)
Gets the list of broker processor enablers associated with a
Distributor. |
BrokerProcessorEnablerList |
getBrokerProcessorEnablersByDistributors(IdList distributorIds)
Gets the list of broker processor enablers corresponding to a list of
Distributors. |
IdList |
getDistributorIdsByBrokerProcessorEnabler(Id brokerProcessorEnablerId)
Gets the
Distributor Ids mapped to a
BrokerProcessorEnabler. |
DistributorList |
getDistributorsByBrokerProcessorEnabler(Id brokerProcessorEnablerId)
Gets the
Distributors mapped to a
BrokerProcessorEnabler. |
void |
useComparativeBrokerProcessorEnablerDistributorView()
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 |
usePlenaryBrokerProcessorEnablerDistributorView()
A complete view of the
BrokerProcessorEnabler and
Distributor returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
boolean canLookupBrokerProcessorEnablerDistributorMappings()
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 useComparativeBrokerProcessorEnablerDistributorView()
mandatory
- This method is must be implemented. void usePlenaryBrokerProcessorEnablerDistributorView()
BrokerProcessorEnabler
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 getBrokerProcessorEnablerIdsByDistributor(Id distributorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
BrokerProcessorEnablerIds
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. BrokerProcessorEnablerList getBrokerProcessorEnablersByDistributor(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 getBrokerProcessorEnablerIdsByDistributors(IdList distributorIds) throws OperationFailedException, PermissionDeniedException
BrokerProcessorEnabler 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. BrokerProcessorEnablerList getBrokerProcessorEnablersByDistributors(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 getDistributorIdsByBrokerProcessorEnabler(Id brokerProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Distributor
Ids
mapped to a
BrokerProcessorEnabler.
brokerProcessorEnablerId
- Id
of a
BrokerProcessorEnabler
NotFoundException
- brokerProcessorEnablerId
is not foundNullArgumentException
- brokerProcessorEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. DistributorList getDistributorsByBrokerProcessorEnabler(Id brokerProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Distributors
mapped to a
BrokerProcessorEnabler.
brokerProcessorEnablerId
- Id
of a
BrokerProcessorEnabler
NotFoundException
- brokerProcessorEnablerId
is not foundNullArgumentException
- brokerProcessorEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.