public interface QueueProcessorEnablerFrontOfficeAssignmentSession extends OsidSession
This session provides methods to re-assign QueueProcessorEnabler
to FrontOffice
mappings. A
QueueProcessorEnabler
may appear in multiple FrontOffice
objects and removing the last reference to a
QueueProcessorEnabler
is the equivalent of deleting it. Each
FrontOffice
may have its own authorizations governing who
is allowed to operate on it.
Adding a reference of a QueueProcessorEnabler
to
another FrontOffice
is not a copy operation (eg: does not
change its Id
).
Modifier and Type | Method and Description |
---|---|
void |
assignQueueProcessorEnablerToFrontOffice(Id queueProcessorEnablerId,
Id frontOfficeId)
Adds an existing
QueueProcessorEnabler to an
FrontFront Office. |
boolean |
canAssignQueueProcessorEnablers()
Tests if this user can alter queue processor enabler/office mappings.
|
boolean |
canAssignQueueProcessorEnablersToFrontOffice(Id frontOfficeId)
Tests if this user can alter queue processor enabler/office mappings.
|
IdList |
getAssignableFrontOfficeIds(Id frontOfficeId)
Gets a list of front office including and under the given front office
node in which any queue processor enabler can be assigned.
|
IdList |
getAssignableFrontOfficeIdsForQueueProcessorEnabler(Id frontOfficeId,
Id queueProcessorEnablerId)
Gets a list of front office including and under the given front office
node in which a specific queue processor enabler can be assigned.
|
void |
unassignQueueProcessorEnablerFromFrontOffice(Id queueProcessorEnablerId,
Id frontOfficeId)
Removes a
QueueProcessorEnabler from an
FrontFront Office. |
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactions
close
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. boolean canAssignQueueProcessorEnablersToFrontOffice(Id frontOfficeId)
PERMISSION_DENIED.
This is intended as
a hint to an application that may opt not to offer lookup operations
to unauthorized users.frontOfficeId
- the Id
of the FrontOffice
false
if mapping is not authorized, true
otherwiseNullArgumentException
- frontOfficeId
is
null
mandatory
- This method must be implemented. IdList getAssignableFrontOfficeIds(Id frontOfficeId) throws OperationFailedException
frontOfficeId
- the Id
of the FrontOffice
Ids
NullArgumentException
- frontOfficeId
is
null
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. IdList getAssignableFrontOfficeIdsForQueueProcessorEnabler(Id frontOfficeId, Id queueProcessorEnablerId) throws OperationFailedException
frontOfficeId
- the Id
of the FrontOffice
queueProcessorEnablerId
- the Id
of the
QueueProcessorEnabler
Ids
NullArgumentException
- frontOfficeId
or
queueProcessorEnablerId
is null
OperationFailedException
- unable to complete requestmandatory
- This method must be implemented. void assignQueueProcessorEnablerToFrontOffice(Id queueProcessorEnablerId, Id frontOfficeId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessorEnabler
to an
FrontFront Office.
queueProcessorEnablerId
- the Id
of the
QueueProcessorEnabler
frontOfficeId
- the Id
of the FrontOffice
AlreadyExistsException
- queueProcessorEnablerId
is already assigned to frontOfficeId
NotFoundException
- queueProcessorEnablerId
or frontOfficeId
not foundNullArgumentException
- queueProcessorEnablerId
or frontOfficeId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented. void unassignQueueProcessorEnablerFromFrontOffice(Id queueProcessorEnablerId, Id frontOfficeId) throws NotFoundException, OperationFailedException, PermissionDeniedException
QueueProcessorEnabler
from an
FrontFront Office.
queueProcessorEnablerId
- the Id
of the
QueueProcessorEnabler
frontOfficeId
- the Id
of the FrontOffice
NotFoundException
- queueProcessorEnablerId
or frontOfficeId
not found or
queueProcessorEnablerId
not assigned to
frontOfficeId
NullArgumentException
- queueProcessorEnablerId
or frontOfficeId
is null
OperationFailedException
- unable to complete requestPermissionDeniedException
- authorization failuremandatory
- This method must be implemented.