Interface PoolForm

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

public interface PoolForm extends OsidGovernatorForm, OsidSubjugateableForm

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

  • Method Details

    • getSuppliersMetadata

      Metadata getSuppliersMetadata()
      Gets the metadata for the suppliers.
      Returns:
      metadata for the suppliers
      Compliance:
      mandatory - This method must be implemented.
    • setSuppliers

      void setSuppliers(IdList supplierIds)
      Sets the suppliers.
      Parameters:
      supplierIds - the supplier Ids
      Throws:
      InvalidArgumentException - supplierIds is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - supplierIds is null
      Compliance:
      mandatory - This method must be implemented.
    • clearSuppliers

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

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