Interface GradebookColumnCalculationForm

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

public interface GradebookColumnCalculationForm extends OsidObjectForm

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

  • Method Details

    • getInputGradebookColumnsMetadata

      Metadata getInputGradebookColumnsMetadata()
      Gets the metadata for the input gradebook columns.
      Returns:
      metadata for the input gradebook columns
      Compliance:
      mandatory - This method must be implemented.
    • setInputGradebookColumns

      void setInputGradebookColumns(Id[] gradebookColumnIds)
      Sets the input gradebook columns.
      Parameters:
      gradebookColumnIds - the new input gradebook columns
      Throws:
      InvalidArgumentException - gradebookColumnIds is invalid
      NoAccessException - gradebookColumnIds cannot be modified
      NullArgumentException - gradebookColumnIds is null
      Compliance:
      mandatory - This method must be implemented.
    • clearInputGradebookColumns

      void clearInputGradebookColumns()
      Clears the Input gradebook columns.
      Compliance:
      mandatory - This method must be implemented.
    • getOperationMetadata

      Metadata getOperationMetadata()
      Gets the metadata for the calculation operation.
      Returns:
      metadata for the calculation operation
      Compliance:
      mandatory - This method must be implemented.
    • setOperation

      void setOperation(CalculationOperation operation)
      Sets the operation.
      Parameters:
      operation - the new calculation operation
      Throws:
      InvalidArgumentException - operation is invalid
      NoAccessException - operation cannot be modified
      Compliance:
      mandatory - This method must be implemented.
    • getTweakedCenterMetadata

      Metadata getTweakedCenterMetadata()
      Gets the metadata for the tweaked center.
      Returns:
      metadata for the tweaked center
      Compliance:
      mandatory - This method must be implemented.
    • setTweakedCenter

      void setTweakedCenter(BigDecimal center)
      Sets the tweaked center.
      Parameters:
      center - the new tweaked center
      Throws:
      InvalidArgumentException - center is invalid
      NoAccessException - center cannot be modified
      Compliance:
      mandatory - This method must be implemented.
    • clearTweakedCenter

      void clearTweakedCenter()
      Clears the tweaked center.
      Compliance:
      mandatory - This method must be implemented.
    • getTweakedStandardDeviation

      Metadata getTweakedStandardDeviation()
      Gets the metadata for the tweaked standard deviation.
      Returns:
      metadata for the standard deviation
      Compliance:
      mandatory - This method must be implemented.
    • setTweakedStandardDeviation

      void setTweakedStandardDeviation(BigDecimal standardDeviation)
      Sets the tweaked standard deviation.
      Parameters:
      standardDeviation - the new tweaked standard deviation
      Throws:
      InvalidArgumentException - standardDeviation is invalid
      NoAccessException - standardDeviation cannot be modified
      Compliance:
      mandatory - This method must be implemented.
    • clearTweakedStandarDeviation

      void clearTweakedStandarDeviation()
      Clears the tweaked standard deviation.
      Compliance:
      mandatory - This method must be implemented.
    • getGradebookColumnCalculationFormRecord

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