Interface BrokerForm

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

public interface BrokerForm extends OsidGovernatorForm

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

  • Method Details

    • getBrokeragesMetadata

      Metadata getBrokeragesMetadata()
      Gets the metadata for brokerages.
      Returns:
      metadata for the brokerages
      Compliance:
      mandatory - This method must be implemented.
    • setBrokerages

      void setBrokerages(IdList brokerageIds)
      Sets the brokerages.
      Parameters:
      brokerageIds - the brokerage Ids
      Throws:
      InvalidArgumentException - brokerageIds is not valid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - brokerageIds is null
      Compliance:
      mandatory - This method must be implemented.
    • clearBrokerages

      void clearBrokerages()
      Clears the brokerages.
      Throws:
      NoAccessException - Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getBrokerFormRecord

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