Interface DispatchForm

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

public interface DispatchForm extends OsidGovernatorForm

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

  • Method Details

    • getEditorsMetadata

      Metadata getEditorsMetadata()
      Gets the metadata for the editors.
      Returns:
      metadata for the editors
      Compliance:
      mandatory - This method must be implemented.
    • setEditors

      void setEditors(IdList editorIds)
      Sets the editors.
      Parameters:
      editorIds - the new editors
      Throws:
      InvalidArgumentException - editorIds is invalid
      NoAccessException - Metadata.isReadOnly() is true
      NullArgumentException - editorIds is null
      Compliance:
      mandatory - This method must be implemented.
    • clearEditors

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

      DispatchFormRecord getDispatchFormRecord(Type dispatchRecordType) throws OperationFailedException
      Gets the DispatchFormRecord corresponding to the given dispatch record Type.
      Parameters:
      dispatchRecordType - the dispatch record type
      Returns:
      the dispatch form record
      Throws:
      NullArgumentException - dispatchRecordType is null
      OperationFailedException - unable to complete request
      UnsupportedException - hasRecordType(dispatchRecordType) is false
      Compliance:
      mandatory - This method must be implemented.