Interface GradingCalculationManager
- All Superinterfaces:
AutoCloseable, Closeable, GradingCalculationProfile, OsidManager, OsidManager, OsidProfile, Sourceable
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 Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the gradebook column calculation administrative service.getGradebookColumnCalculationAdminSessionForGradebook(Id gradebookId) Gets theOsidSessionassociated with the gradebook column calculation administrative service for the given gradebook.Gets theOsidSessionassociated with the gradebook column calculation lookup service.getGradebookColumnCalculationLookupSessionForGradebook(Id gradebookId) Gets theOsidSessionassociated with the gradebook column calculation lookup service for the given gradebook.Methods inherited from interface GradingCalculationProfile
getGradebookColumnCalculationRecordTypes, supportsGradebookColumnCalculationAdmin, supportsGradebookColumnCalculationLookup, supportsGradebookColumnCalculationRecordType, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedGradebookColumnCalculationrecord types.booleanTests if a gradebook column calculation administrative service is supported.booleanTests if a gradebook column calculation lookup service is supported.booleansupportsGradebookColumnCalculationRecordType(Type gradebookColumnCalculationRecordType) Tests if the givenGradebookColumnCalculationrecord type is supported.booleanTests if federation is visible.Methods inherited from interface OsidManager
closeMethods inherited from interface OsidManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime) Rolls back this service to a point in time.Methods inherited from interface OsidProfile
getBranch, getBranchId, getDescription, getDisplayName, getId, getLocales, getProxyRecordTypes, getReleaseDate, getVersion, supportsJournalBranching, supportsJournalRollback, supportsOSIDVersion, supportsProxyRecordTypeModifier and TypeMethodDescriptionGets this service branch.Gets theBranch Idrepresenting this service branch.Gets a description of this service implementation.Gets a display name for this service implementation.getId()Gets an identifier for this service implementation.Gets the locales supported in this service.Gets the proxy recordTypessupported in this service.Gets the date this service implementation was released.Gets the version of this service implementation.booleanTest for support of a journal branching service.booleanTest for support of a journaling rollback service.booleansupportsOSIDVersion(Version version) Test for support of an OSID specification version.booleansupportsProxyRecordType(Type proxyRecordType) Test for support of a proxy type.Methods inherited from interface Sourceable
getBranding, getBrandingIds, getLicense, getProvider, getProviderIdModifier and TypeMethodDescriptionGets a branding, such as an image or logo, expressed using theAssetinterface.Gets the branding assetIds.Gets the terms of usage.Gets theResourcerepresenting the provider.Gets theIdof the provider.
-
Method Details
-
getGradebookColumnCalculationLookupSession
GradebookColumnCalculationLookupSession getGradebookColumnCalculationLookupSession() throws OperationFailedExceptionGets theOsidSessionassociated with the gradebook column calculation lookup service.- Returns:
- a
GradebookColumnCalculationLookupSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGradebookColumnLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradebookColumnLookup()} is {@code true} .
-
getGradebookColumnCalculationLookupSessionForGradebook
GradebookColumnCalculationLookupSession getGradebookColumnCalculationLookupSessionForGradebook(Id gradebookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the gradebook column calculation lookup service for the given gradebook.- Parameters:
gradebookId- theIdof the gradebook- Returns:
- a
GradebookColumnCalculationLookupSession - Throws:
NotFoundException-gradebookIdnot foundNullArgumentException-gradebookIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsGradebookColumnCalculationLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradebookColumnCalculationLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getGradebookColumnCalculationAdminSession
GradebookColumnCalculationAdminSession getGradebookColumnCalculationAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the gradebook column calculation administrative service.- Returns:
- a
GradebookColumnCalculationAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGradebookColumnAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradebookColumnAdmin()} is {@code true} .
-
getGradebookColumnCalculationAdminSessionForGradebook
GradebookColumnCalculationAdminSession getGradebookColumnCalculationAdminSessionForGradebook(Id gradebookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the gradebook column calculation administrative service for the given gradebook.- Parameters:
gradebookId- theIdof the gradebook- Returns:
- a
GradebookColumnCalculationAdminSession - Throws:
NotFoundException-gradebookIdnot foundNullArgumentException-gradebookIdisnullOperationFailedException-unable to complete requestUnimplementedException-supportsGradebookColumnCalculationAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradebookColumnCalculationAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-