public interface QueueProcessorEnablerRuleLookupSession extends OsidSession
This session provides methods to retrieve QueueProcessorEnabler
to QueueProcessor
mappings. a QueueProcessor
with multiple QueueProcessorEnablers
means any
positive rule evaluation across the enablers result in an effective
QueueProcessor.
This lookup session defines several views:
Modifier and Type | Method and Description |
---|---|
boolean |
canLookupQueueProcessorEnablerRules()
Tests if this user can perform lookups of queue processor
enabler/queue processor mappings.
|
Distributor |
getDistributor()
Gets the
Distributor associated with this session. |
Id |
getDistributorId()
Gets the
Distributor Id associated with
this session. |
IdList |
getQueueProcessorEnablerIdsForQueueProcessor(Id queueProcessorId)
Gets the
QueueProcessorEnabler Id associated with a
QueueProcessor. |
QueueProcessorEnablerList |
getQueueProcessorEnablersForQueueProcessor(Id queueProcessorId)
Gets the
QueueProcessorEnabler associated with a
QueueProcessor. |
IdList |
getQueueProcessorIdsForQueueProcessorEnabler(Id queueProcessorEnablerId)
Gets the
QueueProcessor Ids mapped to a
QueueProcessorEnabler. |
QueueProcessorList |
getQueueProcessorsForQueueProcessorEnabler(Id queueProcessorEnablerId)
Gets the
QueueProcessors mapped to a
QueueProcessorEnabler. |
void |
useComparativeQueueProcessorEnablerRuleView()
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 |
usePlenaryQueueProcessorEnablerRuleView()
A complete view of the
QueueProcessorEnabler and
QueueProcessor 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 canLookupQueueProcessorEnablerRules()
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 useComparativeQueueProcessorEnablerRuleView()
mandatory
- This method is must be implemented. void usePlenaryQueueProcessorEnablerRuleView()
QueueProcessorEnabler
and
QueueProcessor
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 getQueueProcessorEnablerIdsForQueueProcessor(Id queueProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessorEnabler Id
associated with a
QueueProcessor.
queueProcessorId
- Id
of the
QueueProcessor
Ids
NotFoundException
- queueProcessorId
is
not foundNullArgumentException
- queueProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. QueueProcessorEnablerList getQueueProcessorEnablersForQueueProcessor(Id queueProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessorEnabler
associated with a
QueueProcessor.
queueProcessorId
- Id
of the
QueueProcessor
NotFoundException
- queueProcessorId
is
not foundNullArgumentException
- queueProcessorId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. IdList getQueueProcessorIdsForQueueProcessorEnabler(Id queueProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessor
Ids
mapped to a
QueueProcessorEnabler.
queueProcessorEnablerId
- Id
of a
QueueProcessorEnabler
Ids
NotFoundException
- queueProcessorEnablerId
is not foundNullArgumentException
- queueProcessorEnablerId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. QueueProcessorList getQueueProcessorsForQueueProcessorEnabler(Id queueProcessorEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessors
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.