Interface GradebookColumnForm

All Superinterfaces:
Extensible, Identifiable, OsidBrowsableForm, OsidExtensibleForm, OsidForm, OsidIdentifiableForm, OsidObjectForm, Suppliable
All Known Subinterfaces:
GradebookColumnBatchForm

public interface GradebookColumnForm extends OsidObjectForm

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

  • Method Details

    • getGradeSystemMetadata

      Metadata getGradeSystemMetadata()
      Gets the metadata for a grade system.
      Returns:
      metadata for the grade system
      Compliance:
      mandatory - This method must be implemented.
    • setGradeSystem

      void setGradeSystem(Id gradeSystemId)
      Sets the grade system.
      Parameters:
      gradeSystemId - the new grade system
      Throws:
      InvalidArgumentException - gradeSystemId is invalid
      NoAccessException - gradeSystemId cannot be modified
      NullArgumentException - gradeSystemId is null
      Compliance:
      mandatory - This method must be implemented.
    • clearGradeSystem

      void clearGradeSystem()
      Clears the grade system
      Throws:
      NoAccessException - Metadata.isRequired() or Metadata.isReadOnly() is true
      Compliance:
      mandatory - This method must be implemented.
    • getGradebookColumnFormRecord

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