Interface QueueConstrainerEnablerRuleApplicationSession

All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession

public interface QueueConstrainerEnablerRuleApplicationSession extends OsidSession

This session provides methods to apply QueueConstrainerEnablers to QueueConstrainers . a QueueConstrainer with multiple QueueConstrainerEnablers means any positive rule evaluation across the enablers result in an effective QueueConstrainer .

  • Method Details

    • getFrontOfficeId

      Id getFrontOfficeId()
      Gets the FrontOffice Id associated with this session.
      Returns:
      the FrontOffice Id associated with this session
      Compliance:
      mandatory - This method must be implemented.
    • getFrontOffice

      Gets the FrontOffice associated with this session.
      Returns:
      the office
      Throws:
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      Compliance:
      mandatory - This method must be implemented.
    • canAssignQueueConstrainerEnablers

      boolean canAssignQueueConstrainerEnablers()
      Tests if this user can alter queue constrainer enabler/queue constrainer 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 a PERMISSION_DENIED . This is intended as a hint to an application that may opt not to offer lookup operations to unauthorized users.
      Returns:
      false if mapping is not authorized, true otherwise
      Compliance:
      mandatory - This method must be implemented.
    • assignQueueConstrainerEnablerToQueueConstrainer

      void assignQueueConstrainerEnablerToQueueConstrainer(Id queueConstrainerEnablerId, Id queueConstrainerId) throws AlreadyExistsException, NotFoundException, OperationFailedException, PermissionDeniedException
      Adds an existing QueueConstrainerEnabler to a QueueConstrainer .
      Parameters:
      queueConstrainerEnablerId - the Id of the QueueConstrainerEnabler
      queueConstrainerId - the Id of the QueueConstrainer
      Throws:
      AlreadyExistsException - queueConstrainerEnablerId is already applied to queueConstrainerId
      NotFoundException - queueConstrainerEnablerId or queueConstrainerId not found
      NullArgumentException - queueConstrainerEnablerId or queueConstrainerId is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      Compliance:
      mandatory - This method must be implemented.
    • unassignQueueConstrainerEnablerFromQueueConstrainer

      void unassignQueueConstrainerEnablerFromQueueConstrainer(Id queueConstrainerEnablerId, Id queueConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
      Removes a QueueConstrainerEnabler from a QueueConstrainer .
      Parameters:
      queueConstrainerEnablerId - the Id of the QueueConstrainerEnabler
      queueConstrainerId - the Id of the QueueConstrainer
      Throws:
      NotFoundException - queueConstrainerEnablerId or queueConstrainerId not found or queueConstrainerEnablerId not applied to queueConstrainerId
      NullArgumentException - queueConstrainerEnablerId or queueConstrainerId is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      Compliance:
      mandatory - This method must be implemented.
    • canSequenceQueueConstrainerEnablers

      boolean canSequenceQueueConstrainerEnablers()
      Tests if this user can order QueueConstrainerEnablers . 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.
      Returns:
      false if QueueConstrainerEnabler ordering is not authorized, true otherwise
      Compliance:
      mandatory - This method must be implemented.
    • moveQueueConstrainerEnablerAhead

      void moveQueueConstrainerEnablerAhead(Id queueConstrainerEnablerId, Id queueConstrainerId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
      Reorders queue constrainer enablers for a queue constrainer by moving the specified queue constrainer enabler in front of a reference queue constrainer enabler.
      Parameters:
      queueConstrainerEnablerId - the Id of a QueueConstrainerEnabler
      queueConstrainerId - the Id of a QueueConstrainer
      referenceId - the reference queue constrainer enabler Id
      Throws:
      NotFoundException - queueConstrainerEnablerId, queueConstrainerId , or referenceId not found or, queueConstrainerEnablerId or referenceId not related to queueConstrainerId
      NullArgumentException - queueConstrainerEnablerId, queueConstrainerId , or referenceId is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      Compliance:
      mandatory - This method must be implemented.
    • moveQueueConstrainerEnablerBehind

      void moveQueueConstrainerEnablerBehind(Id queueConstrainerEnablerId, Id queueConstrainerId, Id referenceId) throws NotFoundException, OperationFailedException, PermissionDeniedException
      Reorders queue constrainer enablers for a queue constrainer by moving the specified queue constrainer enabler behind a reference queue constrainer enabler.
      Parameters:
      queueConstrainerEnablerId - the Id of a QueueConstrainerEnabler
      queueConstrainerId - the Id of a QueueConstrainer
      referenceId - the reference queue constrainer enabler Id
      Throws:
      NotFoundException - queueConstrainerEnablerId, queueConstrainerId , or referenceId not found or, queueConstrainerEnablerId or referenceId not related to queueConstrainerId
      NullArgumentException - queueConstrainerEnablerId, queueConstrainerId , or referenceId is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      Compliance:
      mandatory - This method must be implemented.
    • orderQueueConstrainerEnablers

      void orderQueueConstrainerEnablers(Id[] queueConstrainerEnablerIds, Id queueConstrainerId) throws NotFoundException, OperationFailedException, PermissionDeniedException
      Reorders a set of queue constrainer enablers for a queue constrainer.
      Parameters:
      queueConstrainerEnablerIds - the Ids for a set of QueueConstrainerEnablers
      queueConstrainerId - the Id of a QueueConstrainer
      Throws:
      NotFoundException - queueConstrainerId not found or, an queueConstrainerEnablerId not related to queueConstrainerId
      NullArgumentException - queueConstrainerEnablerIds or queueConstrainerId is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure
      Compliance:
      mandatory - This method must be implemented.