Interface QueueForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidGovernatorForm, OsidIdentifiableForm, OsidObjectForm, OsidOperableForm, OsidSourceableForm, Suppliable
All Known Subinterfaces:
QueueBatchForm

public interface QueueForm extends OsidGovernatorForm

This is the form for creating and updating Queues .Like all OsidForm objects, various data elements may be set here for use in the create and update methods in the QueueAdminSession . For each data element that may be set, metadata may be examined to provide display hints or data constraints.

  • Method Details

    • getManagersMetadata

      Metadata getManagersMetadata()
      Gets the metadata for the managers.
      Returns:
      metadata for the managers
      Compliance:
      mandatory - This method must be implemented.
    • setManagers

      void setManagers(IdList managerIds)
      Sets the managers.
      Parameters:
      managerIds - the new managers
      Throws:
      InvalidArgumentException - managerIds is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - managerIds is null
      Compliance:
      mandatory - This method must be implemented.
    • clearManagers

      void clearManagers()
      Removes the managers.
      Throws:
      NoAccessException - Metadata.isRequired() is true or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getQueueFormRecord

      QueueFormRecord getQueueFormRecord(Type queueRecordType) throws OperationFailedException
      Gets the QueueFormRecord corresponding to the given queue record Type .
      Parameters:
      queueRecordType - a queue record type
      Returns:
      the queue form record
      Throws:
      NullArgumentException - queueRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(queueRecordType) is false
      Compliance:
      mandatory - This method must be implemented.