Interface GradingTransformProxyManager
- All Superinterfaces:
AutoCloseable, Closeable, GradingTransformProfile, OsidProfile, OsidProxyManager, OsidProxyManager, Sourceable
The grading transform manager provides access to grading transform
sessions and provides interoperability tests for various aspects of this
service. Methods in this manager accept a Proxy interface for
passing information from server environments.The sessions included in this
manager are:
-
GradeSystemTransformationSession: a session to convert grades among grade systems -
GradeSystemTransformLookupSession: a session to examine grade system transformation rules -
GradeSystemTransformAdminSession: a session to manage grade system transformation rules -
GradeSystemTransformNotiicationSession: a session to subscribe to grade system transformation notifications
-
Method Summary
Modifier and TypeMethodDescriptionGets theOsidSessionassociated with the grade system transform admin service.getGradeSystemTransformAdminSessionForGradebook(Id gradebookId, Proxy proxy) Gets theOsidSessionassociated with the grade system transform admin service for the given gradebook.getGradeSystemTransformationSession(Id sourceGradeSystemId, Id targetGradeSystemId, Proxy proxy) Gets the session for transforming grades among grade systems.Gets theOsidSessionassociated with the grade system transform lookup service.getGradeSystemTransformLookupSessionForGradebook(Id gradebookId, Proxy proxy) Gets theOsidSessionassociated with the grade system transform lookup service for the given gradebook.getGradeSystemTransformNotificationSession(GradeSystemTransformReceiver gradeSystemTransformReceiver, Proxy proxy) Gets the notification session for notifications pertaining to grade system transform changes.getGradeSystemTransformNotificationSessionForGradebook(GradeSystemTransformReceiver gradeSystemTransformReceiver, Id gradebookId, Proxy proxy) Gets theOsidSessionassociated with the grade system transform notification service for the given gradebook.Methods inherited from interface GradingTransformProfile
getGradeSystemTransformRecordTypes, supportsGradeSystemTransformAdmin, supportsGradeSystemTransformation, supportsGradeSystemTransformLookup, supportsGradeSystemTransformNotification, supportsGradeSystemTransformRecordType, supportsVisibleFederationModifier and TypeMethodDescriptionGets the supportedGradeSystemTransformrecord types.booleanTests if a grade system transform admin service is supported.booleanTests if a grade system transformation service is supported.booleanTests if a grade system transform lookup service is supported.booleanTests if a grade system transform notification service is supported.booleansupportsGradeSystemTransformRecordType(Type gradeSystemTransformRecordType) Tests if the givenGradeSystemTransformrecord type is supported.booleanTests if federation is visible.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 OsidProxyManager
closeMethods inherited from interface OsidProxyManager
changeBranch, initialize, rollbackServiceModifier and TypeMethodDescriptionvoidchangeBranch(Id branchId, Proxy proxy) Changes the service branch.voidinitialize(OsidRuntimeManager runtime) Initializes this manager.rollbackService(Date rollbackTime, Proxy proxy) Rolls back this service to a point in time.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
-
getGradeSystemTransformationSession
GradeSystemTransformationSession getGradeSystemTransformationSession(Id sourceGradeSystemId, Id targetGradeSystemId, Proxy proxy) throws NotFoundException, OperationFailedException Gets the session for transforming grades among grade systems. The available transformations can be examined through theGradeSystemTransformLookupSession.- Parameters:
sourceGradeSystemId- theIdof the source grade systemtargetGradeSystemId- theIdof the target grade systemproxy- a proxy- Returns:
- a
GradeSystemTransformationSession - Throws:
NotFoundException- no transform exists betweensouceGradebookIdandtargetGradeSystemIdNullArgumentException-sourceGradeSystemId, targetGradeSystemIdIdorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGradeSystemTransformation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSystemTransformation()} is {@code true} .
-
getGradeSystemTransformLookupSession
GradeSystemTransformLookupSession getGradeSystemTransformLookupSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the grade system transform lookup service.- Parameters:
proxy- a proxy- Returns:
- a
GradeSystemTransformLookupSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGradeSystemTransformLookup()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSystemTransformLookup()} is {@code true} .
-
getGradeSystemTransformLookupSessionForGradebook
GradeSystemTransformLookupSession getGradeSystemTransformLookupSessionForGradebook(Id gradebookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the grade system transform lookup service for the given gradebook.- Parameters:
gradebookId- theIdof the gradebookproxy- a proxy- Returns:
- a
GradeSystemTransformLookupSession - Throws:
NotFoundException-gradebookIdnot foundNullArgumentException-gradebookIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsGradeSystemTransformLookup()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSystemTransformLookup()} and {@code supportsVisibleFederation()} are {@code true} .
-
getGradeSystemTransformAdminSession
GradeSystemTransformAdminSession getGradeSystemTransformAdminSession(Proxy proxy) throws OperationFailedException Gets theOsidSessionassociated with the grade system transform admin service.- Parameters:
proxy- a proxy- Returns:
- a
GradeSystemTransformAdminSession - Throws:
NullArgumentException-proxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGradeSystemTransformAdmin()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSystemTransformAdmin()} is {@code true} .
-
getGradeSystemTransformAdminSessionForGradebook
GradeSystemTransformAdminSession getGradeSystemTransformAdminSessionForGradebook(Id gradebookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the grade system transform admin service for the given gradebook.- Parameters:
gradebookId- theIdof the gradebookproxy- a proxy- Returns:
- a
GradeSystemTransformAdminSession - Throws:
NotFoundException-gradebookIdnot foundNullArgumentException-gradebookIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsGradeSystemTransformAdmin()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSystemTransformAdmin()} and {@code supportsVisibleFederation()} are {@code true} .
-
getGradeSystemTransformNotificationSession
GradeSystemTransformNotificationSession getGradeSystemTransformNotificationSession(GradeSystemTransformReceiver gradeSystemTransformReceiver, Proxy proxy) throws OperationFailedException Gets the notification session for notifications pertaining to grade system transform changes.- Parameters:
gradeSystemTransformReceiver- the grade system transform receiver interfaceproxy- a proxy- Returns:
- a
GradeSystemTransformNotificationSession - Throws:
NullArgumentException-gradeSystemReceiverorproxyisnullOperationFailedException- unable to complete requestUnimplementedException-supportsGradeSystemTransformNotification()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSystemTransformNotification()} is {@code true} .
-
getGradeSystemTransformNotificationSessionForGradebook
GradeSystemTransformNotificationSession getGradeSystemTransformNotificationSessionForGradebook(GradeSystemTransformReceiver gradeSystemTransformReceiver, Id gradebookId, Proxy proxy) throws NotFoundException, OperationFailedException Gets theOsidSessionassociated with the grade system transform notification service for the given gradebook.- Parameters:
gradeSystemTransformReceiver- the grade system transform receiver interfacegradebookId- theIdof the gradebookproxy- a proxy- Returns:
- a
GradeSystemTransformNotificationSession - Throws:
NotFoundException-gradebookIdnot foundNullArgumentException-gradeSystemReceiver, gradebookIdorproxyisnullOperationFailedException-unable to complete requestUnimplementedException-supportsGradeSystemTransformNotification()orsupportsVisibleFederation()isfalse- Compliance:
optional- This method must be implemented if {@code supportsGradeSystemTransformNotification()} and {@code supportsVisibleFederation()} are {@code true} .
-