public interface QueueProcessorEnablerRuleApplicationSession extends OsidSession
This session provides methods to apply QueueProcessorEnablers
to QueueProcessors. a QueueProcessor
with multiple QueueProcessorEnablers means any positive
rule evaluation across the enablers result in an effective
QueueProcessor.
| Modifier and Type | Method and Description |
|---|---|
void |
assignQueueProcessorEnablerToQueueProcessor(Id queueProcessorEnablerId,
Id queueProcessorId)
Adds an existing
QueueProcessorEnabler to a
QueueProcessor. |
boolean |
canAssignQueueProcessorEnablers()
Tests if this user can alter queue processor enabler/queue processor
mappings.
|
boolean |
canSequenceQueueProcessorEnablers()
Tests if this user can order
QueueProcessorEnablers. |
FrontOffice |
getFrontOffice()
Gets the
FrontOffice associated with this session. |
Id |
getFrontOfficeId()
Gets the
FrontOffice Id associated with
this session. |
void |
moveQueueProcessorEnablerAhead(Id queueProcessorEnablerId,
Id queueProcessorId,
Id referenceId)
Reorders queue processor enablers for a queue processor by moving the
specified queue processor enabler in front of a reference queue
processor enabler.
|
void |
moveQueueProcessorEnablerBehind(Id queueProcessorEnablerId,
Id queueProcessorId,
Id referenceId)
Reorders queue processor enablers for a queue processor by moving the
specified queue processor enabler behind a reference queue processor
enabler.
|
void |
orderQueueProcessorEnablers(Id[] queueProcessorEnablerIds,
Id queueProcessorId)
Reorders a set of queue processor enablers for a queue processor.
|
void |
unassignQueueProcessorEnablerFromQueueProcessor(Id queueProcessorEnablerId,
Id queueProcessorId)
Removes a
QueueProcessorEnabler from a
QueueProcessor. |
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 canAssignQueueProcessorEnablers()
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 assignQueueProcessorEnablerToQueueProcessor(Id queueProcessorEnablerId, Id queueProcessorId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessorEnabler to a
QueueProcessor. queueProcessorEnablerId - the Id of the
QueueProcessorEnabler queueProcessorId - the Id of the
QueueProcessor AlreadyExistsException - queueProcessorEnablerId
is already applied to queueProcessorId NotFoundException - queueProcessorEnablerId
or queueProcessorId not foundNullArgumentException - queueProcessorEnablerId
or queueProcessorId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void unassignQueueProcessorEnablerFromQueueProcessor(Id queueProcessorEnablerId, Id queueProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessorEnabler from a
QueueProcessor. queueProcessorEnablerId - the Id of the
QueueProcessorEnabler queueProcessorId - the Id of the
QueueProcessor NotFoundException - queueProcessorEnablerId
or queueProcessorId not found or
queueProcessorEnablerId not applied to
queueProcessorId NullArgumentException - queueProcessorEnablerId
or queueProcessorId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. boolean canSequenceQueueProcessorEnablers()
QueueProcessorEnablers. 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 QueueProcessorEnabler
ordering is not authorized, true otherwisemandatory - This method must be implemented. void moveQueueProcessorEnablerAhead(Id queueProcessorEnablerId, Id queueProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueProcessorEnablerId - the Id of a
QueueProcessorEnabler queueProcessorId - the Id of a
QueueProcessor referenceId - the reference queue processor enabler Id
NotFoundException - queueProcessorEnablerId,
queueProcessorId, or referenceId not
found or, queueProcessorEnablerId or
referenceId not related to queueProcessorId
NullArgumentException - queueProcessorEnablerId,
queueProcessorId, or referenceId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void moveQueueProcessorEnablerBehind(Id queueProcessorEnablerId, Id queueProcessorId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueProcessorEnablerId - the Id of a
QueueProcessorEnabler queueProcessorId - the Id of a
QueueProcessor referenceId - the reference queue processor enabler Id
NotFoundException - queueProcessorEnablerId,
queueProcessorId, or referenceId not
found or, queueProcessorEnablerId or
referenceId not related to queueProcessorId
NullArgumentException - queueProcessorEnablerId,
queueProcessorId, or referenceId is
null OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented. void orderQueueProcessorEnablers(Id[] queueProcessorEnablerIds, Id queueProcessorId) throws NotFoundException, OperationFailedException, PermissionDeniedException
queueProcessorEnablerIds - the Ids for a set of
QueueProcessorEnablers queueProcessorId - the Id of a
QueueProcessor NotFoundException - queueProcessorId not
found or, an queueProcessorEnablerId not
related to queueProcessorId NullArgumentException - queueProcessorEnablerIds
or queueProcessorId is null
OperationFailedException - unable to complete requestPermissionDeniedException - authorization failuremandatory - This method must be implemented.