Interface QueueConstrainerEnablerSmartFrontOfficeSession

All Superinterfaces:
AutoCloseable, Closeable, OsidSession, OsidSession

public interface QueueConstrainerEnablerSmartFrontOfficeSession extends OsidSession

This session manages queries and sequencing to create "smart" dynamic front office. a QueueConstrainerEnablerQuery can be retrieved from this session and mapped to this FrontOffice to create a virtual collection of queue constrainer enablers. The queue constrainer enablers may be sequenced using the QueueConstrainerEnablerSearchOrder from this session.

This FrontOffice has a default query that matches any queue constrainer enabler and a default search order that specifies no sequencing. The queries may be examined using a QueueConstrainerEnablerQueryInspector . The query may be modified by converting the inspector back to a QueueConstrainerEnablerQuery .

  • 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.
    • canManageSmartFrontOffices

      boolean canManageSmartFrontOffices()
      Tests if this user can manage smart front office. A return of true does not guarantee successful authorization. A return of false indicates that it is known 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 operations to unauthorized users.
      Returns:
      false if smart front office management is not authorized, true otherwise
      Compliance:
      mandatory - This method must be implemented.
    • getQueueConstrainerEnablerQuery

      QueueConstrainerEnablerQuery getQueueConstrainerEnablerQuery()
      Gets a queue constrainer enabler query.
      Returns:
      the queue constrainer enabler query
      Compliance:
      mandatory - This method must be implemented.
    • getQueueConstrainerEnablerSearchOrder

      QueueConstrainerEnablerSearchOrder getQueueConstrainerEnablerSearchOrder()
      Gets a queue constrainer enabler search order.
      Returns:
      the queue constrainer enabler search order
      Compliance:
      mandatory - This method must be implemented.
    • applyQueueConstrainerEnablerQuery

      void applyQueueConstrainerEnablerQuery(QueueConstrainerEnablerQuery queueConstrainerEnablerQuery) throws OperationFailedException, PermissionDeniedException
      Applies a queue constrainer enabler query to this front office.
      Parameters:
      queueConstrainerEnablerQuery - the queue constrainer enabler query
      Throws:
      NullArgumentException - queueConstrainerEnablerQuery is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure occurred
      UnsupportedException - queueConstrainerEnablerQuery not of this service
      Compliance:
      mandatory - This method must be implemented.
    • inspectQueueConstrainerEnablerQuery

      Gets a queue constrainer enabler query inspector for this front office.
      Returns:
      the queue constrainer enabler query inspector
      Throws:
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure occurred
      Compliance:
      mandatory - This method must be implemented.
    • applyQueueConstrainerEnablerSequencing

      void applyQueueConstrainerEnablerSequencing(QueueConstrainerEnablerSearchOrder queueConstrainerEnablerSearchOrder) throws OperationFailedException, PermissionDeniedException
      Applies a queue constrainer enabler search order to this front office.
      Parameters:
      queueConstrainerEnablerSearchOrder - the queue constrainer enabler search order
      Throws:
      NullArgumentException - queueConstrainerEnablerSearchOrder is null
      OperationFailedException - unable to complete request
      PermissionDeniedException - authorization failure occurred
      UnsupportedException - queueConstrainerEnablerSearchOrder not of this service
      Compliance:
      mandatory - This method must be implemented.
    • getQueueConstrainerEnablerQueryFromInspector

      QueueConstrainerEnablerQuery getQueueConstrainerEnablerQueryFromInspector(QueueConstrainerEnablerQueryInspector queueConstrainerEnablerQueryInspector)
      Gets a queue constrainer enabler query from an inspector.
      Parameters:
      queueConstrainerEnablerQueryInspector - a queue constrainer enabler query inspector
      Returns:
      the queue constrainer enabler query
      Throws:
      NullArgumentException - queueConstrainerEnablerQueryInspector is null
      UnsupportedException - queueConstrainerEnablerQueryInspector is not of this service
      Compliance:
      mandatory - This method must be implemented.