Interface GradingCalculationManager

All Superinterfaces:
AutoCloseable, Closeable, GradingCalculationProfile, OsidManager, OsidManager, OsidProfile, Sourceable

public interface GradingCalculationManager extends OsidManager, GradingCalculationProfile

The grading manager provides access to grading sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:

  • GradebookColumnCalculationLookupSession : a session to retrieve gradebook column calculations
  • GradebookColumnCalculationAdminSession : a session to manage gradebook column calculations
  • Method Details

    • getGradebookColumnCalculationLookupSession

      GradebookColumnCalculationLookupSession getGradebookColumnCalculationLookupSession() throws OperationFailedException
      Gets the OsidSession associated with the gradebook column calculation lookup service.
      Returns:
      a GradebookColumnCalculationLookupSession
      Throws:
      OperationFailedException - unable to complete request
      UnimplementedException - supportsGradebookColumnLookup() is false
      Compliance:
      optional - This method must be implemented if {@code supportsGradebookColumnLookup()} is {@code true} .
    • getGradebookColumnCalculationLookupSessionForGradebook

      GradebookColumnCalculationLookupSession getGradebookColumnCalculationLookupSessionForGradebook(Id gradebookId) throws NotFoundException, OperationFailedException
      Gets the OsidSession associated with the gradebook column calculation lookup service for the given gradebook.
      Parameters:
      gradebookId - the Id of the gradebook
      Returns:
      a GradebookColumnCalculationLookupSession
      Throws:
      NotFoundException - gradebookId not found
      NullArgumentException - gradebookId is null
      OperationFailedException - unable to complete request
      UnimplementedException - supportsGradebookColumnCalculationLookup() or supportsVisibleFederation() is false
      Compliance:
      optional - This method must be implemented if {@code supportsGradebookColumnCalculationLookup()} and {@code supportsVisibleFederation()} are {@code true} .
    • getGradebookColumnCalculationAdminSession

      GradebookColumnCalculationAdminSession getGradebookColumnCalculationAdminSession() throws OperationFailedException
      Gets the OsidSession associated with the gradebook column calculation administrative service.
      Returns:
      a GradebookColumnCalculationAdminSession
      Throws:
      OperationFailedException - unable to complete request
      UnimplementedException - supportsGradebookColumnAdmin() is false
      Compliance:
      optional - This method must be implemented if {@code supportsGradebookColumnAdmin()} is {@code true} .
    • getGradebookColumnCalculationAdminSessionForGradebook

      GradebookColumnCalculationAdminSession getGradebookColumnCalculationAdminSessionForGradebook(Id gradebookId) throws NotFoundException, OperationFailedException
      Gets the OsidSession associated with the gradebook column calculation administrative service for the given gradebook.
      Parameters:
      gradebookId - the Id of the gradebook
      Returns:
      a GradebookColumnCalculationAdminSession
      Throws:
      NotFoundException - gradebookId not found
      NullArgumentException - gradebookId is null
      OperationFailedException - unable to complete request
      UnimplementedException - supportsGradebookColumnCalculationAdmin() or supportsVisibleFederation() is false
      Compliance:
      optional - This method must be implemented if {@code supportsGradebookColumnCalculationAdmin()} and {@code supportsVisibleFederation()} are {@code true} .