public interface QueueConstrainerEnablerRuleLookupSession extends OsidSession
This session provides methods to retrieve
QueueConstrainerEnabler to QueueConstrainer
mappings. a Queue with multiple
QueueConstrainerEnablers means any positive rule evaluation across
the enablers result in an effective QueueConstrainer.
This lookup session defines several views:
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupQueueConstrainerEnablerRules()
Tests if this user can perform lookups of queue constrainer
enabler/queue constrainer mappings.
|
FrontOffice |
getFrontOffice()
Gets the
FrontOffice associated with this session. |
Id |
getFrontOfficeId()
Gets the
FrontOffice Id associated with
this session. |
IdList |
getQueueConstrainerEnablerIdsForQueueConstrainer(Id queueConstrainerId)
Gets the
QueueConstrainerEnabler Id associated with a
QueueConstrainer. |
QueueConstrainerEnablerList |
getQueueConstrainerEnablersForQueueConstrainer(Id queueConstrainerId)
Gets the
QueueConstrainerEnablers associated with a
QueueConstrainer. |
IdList |
getQueueConstrainerIdsForQueueConstrainerEnabler(Id queueConstrainerEnablerId)
Gets the
QueueConstrainer Ids mapped to
a QueueConstrainerEnabler. |
QueueConstrainerList |
getQueueConstrainersForQueueConstrainerEnabler(Id queueConstrainerEnablerId)
Gets the
QueueConstrainers mapped to a
QueueConstrainerEnabler. |
void |
useComparativeQueueConstrainerEnablerRuleView()
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 |
useFederatedFrontOfficeView()
Federates the view for methods in this session.
|
void |
useIsolatedFrontOfficeView()
Isolates the view for methods in this session.
|
void |
usePlenaryQueueConstrainerEnablerRuleView()
A complete view of the
QueueConstrainerEnabler and
QueueConstrainer returns is desired. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionscloseId getFrontOfficeId()
FrontOffice Id associated with
this session. FrontOffice Id associated with this sessionmandatory - This method must be implemented. FrontOffice getFrontOffice() throws OperationFailedException, PermissionDeniedException
FrontOffice associated with this session.OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canLookupQueueConstrainerEnablerRules()
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 useComparativeQueueConstrainerEnablerRuleView()
mandatory - This method is must be implemented. void usePlenaryQueueConstrainerEnablerRuleView()
QueueConstrainerEnabler and
QueueConstrainer 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 useFederatedFrontOfficeView()
mandatory - This method is must be implemented. void useIsolatedFrontOfficeView()
mandatory - This method is must be implemented. IdList getQueueConstrainerEnablerIdsForQueueConstrainer(Id queueConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueConstrainerEnabler Id associated with a
QueueConstrainer. queueConstrainerId - Id of the
QueueConstrainer Ids NotFoundException - queueConstrainerId
is not foundNullArgumentException - queueConstrainerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. QueueConstrainerEnablerList getQueueConstrainerEnablersForQueueConstrainer(Id queueConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueConstrainerEnablers associated with a
QueueConstrainer. queueConstrainerId - Id of the
QueueConstrainer NotFoundException - queueConstrainerId
is not foundNullArgumentException - queueConstrainerId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. IdList getQueueConstrainerIdsForQueueConstrainerEnabler(Id queueConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueConstrainer Ids mapped to
a QueueConstrainerEnabler. queueConstrainerEnablerId - Id of a
QueueConstrainerEnabler Ids NotFoundException - queueConstrainerEnablerId
is not foundNullArgumentException -
queueConstrainerEnablerId is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. QueueConstrainerList getQueueConstrainersForQueueConstrainerEnabler(Id queueConstrainerEnablerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueConstrainers 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.