Interface QueueConstrainerEnablerFrontOfficeAssignmentSession
- All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession
This session provides methods to re-assign
QueueConstrainerEnabler to FrontOffice mappings. a
QueueConstrainerEnabler may appear in multiple FrontOffice
objects and removing the last reference to a
QueueConstrainerEnabler 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 QueueConstrainerEnabler to another
FrontOffice is not a copy operation (eg: does not change its
Id ).
-
Method Summary
Modifier and TypeMethodDescriptionvoidassignQueueConstrainerEnablerToFrontOffice(Id queueConstrainerEnablerId, Id frontOfficeId) Adds an existingQueueConstrainerEnablerto aFrontFront Office.booleanTests if this user can alter queue constrainer enabler/office mappings.booleancanAssignQueueConstrainerEnablersToFrontOffice(Id frontOfficeId) Tests if this user can alter queue constrainer enabler/office mappings.getAssignableFrontOfficeIds(Id frontOfficeId) Gets a list of front office including and under the given front office node in which any queue constrainer enabler can be assigned.getAssignableFrontOfficeIdsForQueueConstrainerEnabler(Id frontOfficeId, Id queueConstrainerEnablerId) Gets a list of front office including and under the given front office node in which a specific queue constrainer enabler can be assigned.voidreassignQueueConstrainerEnablerToFrontOffice(Id queueConstrainerEnablerId, Id fromFrontOfficeId, Id toFrontOfficeId) Moves aQueueConstrainerEnablerfrom oneFrontOfficeto another.voidunassignQueueConstrainerEnablerFromFrontOffice(Id queueConstrainerEnablerId, Id frontOfficeId) Removes aQueueConstrainerEnablerfrom aFrontFront Office.Methods inherited from interface OsidSession
closeMethods inherited from interface OsidSession
getAuthenticatedAgent, getAuthenticatedAgentId, getClockRate, getDate, getEffectiveAgent, getEffectiveAgentId, getFormatType, getLocale, isAuthenticated, startTransaction, supportsTransactionsModifier and TypeMethodDescriptionGets the agent authenticated to this session.Gets theIdof the agent authenticated to this session.Gets the rate of the service clock.getDate()Gets the service date which may be the current date or the effective date in which this session exists.Gets the effective agent in use by this session.Gets theIdof the effective agent in use by this session.Gets theDisplayTextformatTypepreference in effect for this session.Gets the locale indicating the localization preferences in effect for this session.booleanTests if an agent is authenticated to this session.Starts a new transaction for this sesson.booleanTests for the availability of transactions.
-
Method Details
-
canAssignQueueConstrainerEnablers
boolean canAssignQueueConstrainerEnablers()Tests if this user can alter queue constrainer enabler/office mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping methods in this session will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.- Returns:
falseif mapping is not authorized,trueotherwise- Compliance:
mandatory- This method must be implemented.
-
canAssignQueueConstrainerEnablersToFrontOffice
Tests if this user can alter queue constrainer enabler/office mappings. A return of true does not guarantee successful authorization. A return of false indicates that it is known mapping methods in this session will result in aPERMISSION_DENIED. This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.- Parameters:
frontOfficeId- theIdof theFrontOffice- Returns:
falseif mapping is not authorized,trueotherwise- Throws:
NullArgumentException-frontOfficeIdisnull- Compliance:
mandatory- This method must be implemented.
-
getAssignableFrontOfficeIds
Gets a list of front office including and under the given front office node in which any queue constrainer enabler can be assigned.- Parameters:
frontOfficeId- theIdof theFrontOffice- Returns:
- list of assignable front office
Ids - Throws:
NullArgumentException-frontOfficeIdisnullOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
getAssignableFrontOfficeIdsForQueueConstrainerEnabler
IdList getAssignableFrontOfficeIdsForQueueConstrainerEnabler(Id frontOfficeId, Id queueConstrainerEnablerId) throws OperationFailedException Gets a list of front office including and under the given front office node in which a specific queue constrainer enabler can be assigned.- Parameters:
frontOfficeId- theIdof theFrontOfficequeueConstrainerEnablerId- theIdof theQueueConstrainerEnabler- Returns:
- list of assignable front office
Ids - Throws:
NullArgumentException-frontOfficeIdorqueueConstrainerEnablerIdisnullOperationFailedException- unable to complete request- Compliance:
mandatory- This method must be implemented.
-
assignQueueConstrainerEnablerToFrontOffice
void assignQueueConstrainerEnablerToFrontOffice(Id queueConstrainerEnablerId, Id frontOfficeId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Adds an existingQueueConstrainerEnablerto aFrontFront Office.- Parameters:
queueConstrainerEnablerId- theIdof theQueueConstrainerEnablerfrontOfficeId- theIdof theFrontOffice- Throws:
AlreadyExistsException-queueConstrainerEnablerIdis already assigned tofrontOfficeIdNotFoundException-queueConstrainerEnablerIdorfrontOfficeIdnot foundNullArgumentException-queueConstrainerEnablerIdorfrontOfficeIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
unassignQueueConstrainerEnablerFromFrontOffice
void unassignQueueConstrainerEnablerFromFrontOffice(Id queueConstrainerEnablerId, Id frontOfficeId) throws NotFoundException, OperationFailedException, PermissionDeniedException Removes aQueueConstrainerEnablerfrom aFrontFront Office.- Parameters:
queueConstrainerEnablerId- theIdof theQueueConstrainerEnablerfrontOfficeId- theIdof theFrontOffice- Throws:
NotFoundException-queueConstrainerEnablerIdorfrontOfficeIdnot found orqueueConstrainerEnablerIdnot assigned tofrontOfficeIdNullArgumentException-queueConstrainerEnablerIdorfrontOfficeIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-
reassignQueueConstrainerEnablerToFrontOffice
void reassignQueueConstrainerEnablerToFrontOffice(Id queueConstrainerEnablerId, Id fromFrontOfficeId, Id toFrontOfficeId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException Moves aQueueConstrainerEnablerfrom oneFrontOfficeto another. Mappings to otherFrontOfficesare unaffected.- Parameters:
queueConstrainerEnablerId- theIdof theQueueConstrainerEnablerfromFrontOfficeId- theIdof the currentFrontOfficetoFrontOfficeId- theIdof the destinationFrontOffice- Throws:
AlreadyExistsException-queueConstrainerEnablerIdalready assigned totoFrontOfficeIdNotFoundException-queueConstrainerEnablerId, fromFrontOfficeId, ortoFrontOfficeIdnot found orqueueConstrainerEnablerIdnot mapped tofromFrontOfficeIdNullArgumentException-queueConstrainerEnablerId, fromFrontOfficeId, ortoFrontOfficeIdisnullOperationFailedException- unable to complete requestPermissionDeniedException- authorization failure- Compliance:
mandatory- This method must be implemented.
-