public interface BrokerProcessorRuleLookupSession extends OsidSession
This session provides methods to retrieve BrokerProcessor
to Broker
mappings.
This lookup session defines several views:
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupBrokerProcessorRules()
Tests if this user can perform lookups of broker processor/broker
mappings.
|
IdList |
getBrokerIdsForBrokerProcessor(Id brokerProcessorId)
Gets the
Broker Ids mapped to a
BrokerProcessor. |
IdList |
getBrokerProcessorIdsForBroker(Id brokerId)
Gets the
BrokerProcessor Id associated with a
Broker. |
BrokerProcessorList |
getBrokerProcessorsForBroker(Id brokerId)
Gets the
BrokerProcessor associated with a
Broker. |
BrokerList |
getBrokersForBrokerProcessor(Id brokerProcessorId)
Gets the
Brokers mapped to a BrokerProcessor. |
Distributor |
getDistributor()
Gets the
Distributor associated with this session. |
Id |
getDistributorId()
Gets the
Distributor Id associated with
this session. |
void |
useComparativeBrokerProcessorRuleView()
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 |
useFederatedDistributorView()
Federates the view for methods in this session.
|
void |
useIsolatedDistributorView()
Isolates the view for methods in this session.
|
void |
usePlenaryBrokerProcessorRuleView()
A complete view of the
BrokerProcessor and
Broker returns is desired. |
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 canLookupBrokerProcessorRules()
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 useComparativeBrokerProcessorRuleView()
mandatory
- This method is must be implemented. void usePlenaryBrokerProcessorRuleView()
BrokerProcessor
and
Broker
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. void useFederatedDistributorView()
mandatory
- This method is must be implemented. void useIsolatedDistributorView()
mandatory
- This method is must be implemented. IdList getBrokerProcessorIdsForBroker(Id brokerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
BrokerProcessor Id
associated with a
Broker.
brokerId
- Id
of the Broker
Ids
NotFoundException
- brokerId
is not
foundNullArgumentException
- brokerId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. BrokerProcessorList getBrokerProcessorsForBroker(Id brokerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
BrokerProcessor
associated with a
Broker.
brokerId
- Id
of the Auction
NotFoundException
- brokerId
is not
foundNullArgumentException
- brokerId
is
null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getBrokerIdsForBrokerProcessor(Id brokerProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Broker
Ids
mapped to a
BrokerProcessor.
brokerProcessorId
- Id
of a
BrokerProcessor
Ids
NotFoundException
- brokerProcessorId
is
not foundNullArgumentException
- brokerProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. BrokerList getBrokersForBrokerProcessor(Id brokerProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
Brokers
mapped to a BrokerProcessor.
brokerProcessorId
- Id
of a
BrokerProcessor
NotFoundException
- brokerProcessorId
is
not foundNullArgumentException
- brokerProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.