public interface BrokerProcessorEnablerRuleApplicationSession extends OsidSession
This session provides methods to apply BrokerProcessorEnablers
to BrokerProcessors. A BrokerProcessor
with multiple BrokerProcessorEnablers means any
positive rule evaluation across the enablers result in an effective
BrokerProcessor.
| Modifier and Type | Method and Description |
|---|---|
void |
assignBrokerProcessorEnablerToBrokerProcessor(Id brokerProcessorEnablerId,
Id brokerProcessorId)
Adds an existing
BrokerProcessorEnabler to a
BrokerProcessor. |
boolean |
canAssignBrokerProcessorEnablers()
Tests if this user can alter broker processor enabler/broker processor
mappings.
|
boolean |
canSequenceBrokerProcessorEnablers()
Tests if this user can order
BrokerProcessorEnablers. |
Distributor |
getDistributor()
Gets the
Distributor associated with this session. |
Id |
getDistributorId()
Gets the
Distributor Id associated with
this session. |
void |
moveBrokerProcessorEnablerAhead(Id brokerProcessorEnablerId,
Id brokerProcessorId,
Id referenceId)
Reorders broker processor enablers for a broker processor by moving
the specified broker processor enabler in front of a reference broker
processor enabler.
|
void |
moveBrokerProcessorEnablerBehind(Id brokerProcessorEnablerId,
Id brokerProcessorId,
Id referenceId)
Reorders broker processor enablers for a broker processor by moving
the specified broker processor enabler behind a reference broker
processor enabler.
|
void |
orderBrokerProcessorEnablers(Id[] brokerProcessorEnablerIds,
Id brokerProcessorId)
Reorders a set of broker processor enablers for a broker processor.
|
void |
unassignBrokerProcessorEnablerFromBrokerProcessor(Id brokerProcessorEnablerId,
Id brokerProcessorId)
Removes a
BrokerProcessorEnabler from a
BrokerProcessor. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId 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 canAssignBrokerProcessorEnablers()
PERMISSION_DENIED.
This is intended as a hint to an application that may opt not
to offer lookup operations to unauthorized users. false if mapping is not authorized, true
otherwisemandatory - This method must be implemented. void assignBrokerProcessorEnablerToBrokerProcessor(Id brokerProcessorEnablerId, Id brokerProcessorId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
BrokerProcessorEnabler to a
BrokerProcessor. brokerProcessorEnablerId - the Id of the
BrokerProcessorEnabler brokerProcessorId - the Id of the
BrokerProcessor AlreadyExistsException -
brokerProcessorEnablerId is already applied to
brokerProcessorId NotFoundException - brokerProcessorEnablerId
or brokerProcessorId not foundNullArgumentException - brokerProcessorEnablerId
or brokerProcessorId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void unassignBrokerProcessorEnablerFromBrokerProcessor(Id brokerProcessorEnablerId, Id brokerProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
BrokerProcessorEnabler from a
BrokerProcessor. brokerProcessorEnablerId - the Id of the
BrokerProcessorEnabler brokerProcessorId - the Id of the
BrokerProcessor NotFoundException - brokerProcessorEnablerId
or brokerProcessorId not found or
brokerProcessorEnablerId not applied to
brokerProcessorId NullArgumentException - brokerProcessorEnablerId
or brokerProcessorId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canSequenceBrokerProcessorEnablers()
BrokerProcessorEnablers. A
return of true does not guarantee successful authorization. A return
of false indicates that it is known sequencing operations will result
in a PERMISSION_DENIED. This is intended as a hint to
an application that may opt not to offer sequencing operations to an
unauthorized user. false if BrokerProcessorEnabler
ordering is not authorized, true otherwisemandatory - This method must be implemented. void moveBrokerProcessorEnablerAhead(Id brokerProcessorEnablerId, Id brokerProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
brokerProcessorEnablerId - the Id of a
BrokerProcessorEnabler brokerProcessorId - the Id of a
BrokerProcessor referenceId - the reference broker processor enabler Id
NotFoundException - brokerProcessorEnablerId,
brokerProcessorId, or referenceId not
found or, brokerProcessorEnablerId or
referenceId not related to brokerProcessorId
NullArgumentException -
brokerProcessorEnablerId, brokerProcessorId, or
referenceId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void moveBrokerProcessorEnablerBehind(Id brokerProcessorEnablerId, Id brokerProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
brokerProcessorEnablerId - the Id of a
BrokerProcessorEnabler brokerProcessorId - the Id of a
BrokerProcessor referenceId - the reference broker processor enabler Id
NotFoundException - brokerProcessorEnablerId,
brokerProcessorId, or referenceId not
found or, brokerProcessorEnablerId or
referenceId not related to brokerProcessorId
NullArgumentException -
brokerProcessorEnablerId, brokerProcessorId, or
referenceId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void orderBrokerProcessorEnablers(Id[] brokerProcessorEnablerIds, Id brokerProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
brokerProcessorEnablerIds - the Ids for a set of
BrokerProcessorEnablers brokerProcessorId - the Id of a
BrokerProcessor NotFoundException - brokerProcessorId
not found or, a brokerProcessorEnablerId not
related to brokerProcessorId NullArgumentException -
brokerProcessorEnablerIds or brokerProcessorId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.