public interface QueueProcessorLookupSession extends OsidSession
This session provides methods for retrieving QueueProcessors.
This session defines views that offer differing behaviors when retrieving multiple objects.
QueueProcessors with the
QueueProcessorAdminSession. Generally, the comparative view should be used for most applications
as it permits operation even if there is data that cannot be accessed. The
methods useFederatedFrontOfficeView() and
useIsolatedFrontOfficeView() behave as a radio group and one
should be selected before invoking the methods in this session.
| Modifier and Type | Method and Description |
|---|---|
boolean |
canLookupQueueProcessors()
Tests if this user can perform
QueueProcessors lookups. |
FrontOffice |
getFrontOffice()
Gets the
FrontOffice associated with this session. |
Id |
getFrontOfficeId()
Gets the
FrontOffice Id associated with
this session. |
QueueProcessor |
getQueueProcessor(Id queueProcessorId)
Gets the
QueueProcessor specified by its Id. |
QueueProcessorList |
getQueueProcessors()
Gets all
QueueProcessors. |
QueueProcessorList |
getQueueProcessorsByGenusType(Type queueProcessorGenusType)
Gets a
QueueProcessorList corresponding to the given
queue processor genus Type which does not include queue
processor of genus types derived from the specified Type. |
QueueProcessorList |
getQueueProcessorsByIds(IdList queueProcessorIds)
Gets a
QueueProcessorList corresponding to the given
IdList. |
QueueProcessorList |
getQueueProcessorsByParentGenusType(Type queueProcessorGenusType)
Gets a
QueueProcessorList corresponding to the given
queue processor genus Type and include any additional
queue processor with genus types derived from the specified
Type. |
QueueProcessorList |
getQueueProcessorsByRecordType(Type queueProcessorRecordType)
Gets a
QueueProcessorList containing the given queue
processor record Type. |
void |
useActiveQueueProcessorView()
Only active queue processors are returned by methods in this session.
|
void |
useAnyStatusQueueProcessorView()
All active and inactive queue processors are returned by methods in
this session.
|
void |
useComparativeQueueProcessorView()
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 |
usePlenaryQueueProcessorView()
A complete view of the
QueueProcessor 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 canLookupQueueProcessors()
QueueProcessors lookups.
A return of true does not guarantee successful authorization. A return
of false indicates that it is known all methods in this session will
result in a PERMISSION_DENIED. This is intended as a
hint to an application that may opt not to offer lookup operations to
unauthorized users. false if lookup methods are not authorized,
true otherwisemandatory - This method must be implemented. void useComparativeQueueProcessorView()
mandatory - This method is must be implemented. void usePlenaryQueueProcessorView()
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 useFederatedFrontOfficeView()
mandatory - This method is must be implemented. void useIsolatedFrontOfficeView()
mandatory - This method is must be implemented. void useActiveQueueProcessorView()
mandatory - This method is must be implemented. void useAnyStatusQueueProcessorView()
mandatory - This method is must be implemented. QueueProcessor getQueueProcessor(Id queueProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessor specified by its Id.
In plenary mode, the exact Id is found
or a NOT_FOUND results. Otherwise, the returned
QueueProcessor may have a different Id than
requested, such as the case where a duplicate Id was
assigned to a QueueProcessor and retained for
compatibility.
In active mode, queue processors are returned that are currently
active. In any status mode, active and inactive queue processors are
returned.queueProcessorId - Id of the
QueueProcessor NotFoundException - queueProcessorId not
foundNullArgumentException - queueProcessorId
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method is must be implemented. QueueProcessorList getQueueProcessorsByIds(IdList queueProcessorIds) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessorList corresponding to the given
IdList.
In plenary mode, the returned list contains all of the
queue processor specified in the Id list, in the order
of the list, including duplicates, or an error results if a Id
in the supplied list is not found or inaccessible. Otherwise,
inaccessible QueueProcessors may be omitted from the
list and may present the elements in any order including returning a
unique set.
In active mode, queue processors are returned that are currently
active. In any status mode, active and inactive queue processors are
returned.queueProcessorIds - the list of Ids to retrieve QueueProcessor listNotFoundException - a Id was not foundNullArgumentException - queueProcessorIds
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. QueueProcessorList getQueueProcessorsByGenusType(Type queueProcessorGenusType) throws OperationFailedException, PermissionDeniedException
QueueProcessorList corresponding to the given
queue processor genus Type which does not include queue
processor of genus types derived from the specified Type.
In plenary mode, the returned list contains all known
queue processor or an error results. Otherwise, the returned list may
contain only those queue processor that are accessible through this
session.
In active mode, queue processors are returned that are currently
active. In any status mode, active and inactive queue processors are
returned.queueProcessorGenusType - a queue processor genus type QueueProcessor listNullArgumentException - queueProcessorGenusType
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. QueueProcessorList getQueueProcessorsByParentGenusType(Type queueProcessorGenusType) throws OperationFailedException, PermissionDeniedException
QueueProcessorList corresponding to the given
queue processor genus Type and include any additional
queue processor with genus types derived from the specified
Type.
In plenary mode, the returned list contains all known
queue processor or an error results. Otherwise, the returned list may
contain only those queue processor that are accessible through this
session.
In active mode, queue processors are returned that are currently
active. In any status mode, active and inactive queue processors are
returned.queueProcessorGenusType - a queue processor genus type QueueProcessor listNullArgumentException - queueProcessorGenusType
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. QueueProcessorList getQueueProcessorsByRecordType(Type queueProcessorRecordType) throws OperationFailedException, PermissionDeniedException
QueueProcessorList containing the given queue
processor record Type.
In plenary mode, the returned list contains all known
queue processor or an error results. Otherwise, the returned list may
contain only those queue processor that are accessible through this
session.
In active mode, queue processors are returned that are currently
active. In any status mode, active and inactive queue processors are
returned.queueProcessorRecordType - a queue processor record type QueueProcessor listNullArgumentException - queueProcessorRecordType
is null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. QueueProcessorList getQueueProcessors() throws OperationFailedException, PermissionDeniedException
QueueProcessors.
In plenary mode, the returned list contains all known queue processor
or an error results. Otherwise, the returned list may contain only
those queue processor that are accessible through this session.
In active mode, queue processors are returned that are currently
active. In any status mode, active and inactive queue processors are
returned. QueueProcessor listOperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.