Interface GradingBatchManager
- All Superinterfaces:
AutoCloseable, Closeable, GradingBatchProfile, OsidManager, OsidManager, OsidProfile, Sourceable
The grading batch manager provides access to grading batch sessions and provides interoperability tests for various aspects of this service. The sessions included in this manager are:
-
GradeBatchAdminSession: a session to create, modify and delete grades in bulk -
GradeSystemBatchAdminSession: a session to create, modify and delete grade systems in bulk -
GradeEntryBatchSession: a session to create, modify and delete grade entries in bulk -
GradebookColumnBatchAdminSession: a session to create, modify and delete gradebook columns in bulk -
GradebookBatchAdminSession: a session to create, modify and delete gradebooks in bulk
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the bulk grade administration service.getGradeBatchAdminSessionForGradebook(Id gradebookId) Gets theOsidSessionassociated with the bulk grade administration service for the given gradebook.Gets theOsidSessionassociated with the bulk gradebook administration service.Gets theOsidSessionassociated with the bulk gradebook columnadministration service.getGradebookColumnBatchAdminSessionForGradebook(Id gradebookId) Gets theOsidSessionassociated with the bulk gradebook columnadministration service for the given gradebook.Gets theOsidSessionassociated with the bulk grade entry administration service.getGradeEntryBatchAdminSessionForGradebook(Id gradebookId) Gets theOsidSessionassociated with the bulk grade entry administration service for the given gradebook.Gets theOsidSessionassociated with the bulk grade system administration service.getGradeSystemBatchAdminSessionForGradebook(Id gradebookId) Gets theOsidSessionassociated with the bulk grade system administration service for the given gradebook.Methods inherited from interface GradingBatchProfile
supportsGradeBatchAdmin, supportsGradebookBatchAdmin, supportsGradebookColumnBatchAdmin, supportsGradeEntryBatchAdmin, supportsGradeSystemBatchAdmin, supportsVisibleFederationModifier and TypeMethodDescriptionbooleanTests if bulk administration of grades is available.booleanTests if bulk administration of gradebooks is available.booleanTests if bulk administration of gradebook columns is available.booleanTests if bulk administration of grade entries is available.booleanTests if bulk administration of grade systems is available.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
-
getGradeBatchAdminSession
Gets theOsidSessionassociated with the bulk grade administration service.- Returns:
- a
GradeBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGradeBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeBatchAdmin()} is {@code true} .
-
getGradeBatchAdminSessionForGradebook
GradeBatchAdminSession getGradeBatchAdminSessionForGradebook(Id gradebookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk grade administration service for the given gradebook.- Parameters:
gradebookId- theIdof theGradebook- Returns:
- a
GradeBatchAdminSession - Throws:
NotFoundException- noGradebookfound by the givenIdNullArgumentException-gradebookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGradeBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getGradeSystemBatchAdminSession
Gets theOsidSessionassociated with the bulk grade system administration service.- Returns:
- a
GradeSystemBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGradeSystemBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSystemBatchAdmin()} is {@code true} .
-
getGradeSystemBatchAdminSessionForGradebook
GradeSystemBatchAdminSession getGradeSystemBatchAdminSessionForGradebook(Id gradebookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk grade system administration service for the given gradebook.- Parameters:
gradebookId- theIdof theGradebook- Returns:
- a
GradeSystemBatchAdminSession - Throws:
NotFoundException- noGradebookfound by the givenIdNullArgumentException-gradebookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGradeSystemBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSystemBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getGradeEntryBatchAdminSession
Gets theOsidSessionassociated with the bulk grade entry administration service.- Returns:
- a
GradeEntryBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGradeEntryBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeEntryBatchAdmin()} is {@code true} .
-
getGradeEntryBatchAdminSessionForGradebook
GradeEntryBatchAdminSession getGradeEntryBatchAdminSessionForGradebook(Id gradebookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk grade entry administration service for the given gradebook.- Parameters:
gradebookId- theIdof theGradebook- Returns:
- a
GradeEntryBatchAdminSession - Throws:
NotFoundException- noGradebookfound by the givenIdNullArgumentException-gradebookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGradeEntryBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeEntryBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getGradebookColumnBatchAdminSession
GradebookColumnBatchAdminSession getGradebookColumnBatchAdminSession() throws OperationFailedExceptionGets theOsidSessionassociated with the bulk gradebook columnadministration service.- Returns:
- a
GradebookColumnBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGradebookColumnBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradebookColumnBatchAdmin()} is {@code true} .
-
getGradebookColumnBatchAdminSessionForGradebook
GradebookColumnBatchAdminSession getGradebookColumnBatchAdminSessionForGradebook(Id gradebookId) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the bulk gradebook columnadministration service for the given gradebook.- Parameters:
gradebookId- theIdof theGradebook- Returns:
- a
GradebookColumnBatchAdminSession - Throws:
NotFoundException- noGradebookfound by the givenIdNullArgumentException-gradebookIdisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGradebookColumnBatchAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradebookColumnBatchAdmin()} and {@code supportsVisibleFederation()} are {@code true}
-
getGradebookBatchAdminSession
Gets theOsidSessionassociated with the bulk gradebook administration service.- Returns:
- a
GradebookBatchAdminSession - Throws:
OperationFailedException- unable to complete requestUnimplementedException-supportsGradebookBatchAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradebookBatchAdmin()} is {@code true} .
-