|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MigrationProvider
Provides methods used to convert users and courses from the external LMS into native AS records.
Implementation of this provider is optional.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface blackboard.platform.integration.provider.IntegrationProvider |
|---|
IntegrationProvider.ProviderType |
| Method Summary | |
|---|---|
CourseContentPackageXO |
convertCourse(CourseLmsIntegration courseIntegration)
Initiates conversion of LMS course to AS. |
UserPasswordXO |
convertPassword(java.lang.String lmsPassword)
Converts an LMS password into a standard AS password. |
CourseContentPackageXO |
exportCourse(CourseLmsIntegration courseIntegration)
Initiates a course content export. |
CourseLmsIntegration |
extractCourseFromUrl(java.lang.String url)
Given a URL pointing to a location on the remote LMS, determine whether it points to a course. |
java.util.List<java.lang.String> |
getPotentialRoleCombinations()
Some LMS systems allow memberships in multiple roles. |
java.util.Map<java.lang.String,java.lang.String> |
getRoleLabels(java.util.Locale locale)
When generating the UI to configure the role mapping rules for the connector, this method can be used to generate source-system-specific role names. |
java.util.Map<java.lang.String,UserPasswordXO> |
getUserPasswords(java.util.Set<java.lang.String> lmsUserNames,
Log auditLog)
Gets the encrypted passwords for a set of LMS users. |
boolean |
isPublisherCourse(CourseLmsIntegration courseIntegration)
Confirms whether this is an ePack publisher course. |
java.util.Map<java.lang.String,java.lang.Boolean> |
markUsersConverted(java.util.Set<java.lang.String> lmsUserNames,
boolean isConverted,
Log auditLog)
Notifies the LMS that a set of users has been converted to native Academic Suite accounts. |
void |
undoCourseConversion(CourseLmsIntegration courseIntegration)
Used to notify the LMS that conversion failed. |
| Methods inherited from interface blackboard.platform.integration.provider.IntegrationProvider |
|---|
initializeProvider |
| Method Detail |
|---|
java.util.Map<java.lang.String,UserPasswordXO> getUserPasswords(java.util.Set<java.lang.String> lmsUserNames,
Log auditLog)
throws IntegrationException
This method will only be called if SupportProvider.Feature.ConvertUser is supported.
lmsUserNames - Users to get passwords for, specified using the target LMS's usernamesauditLog - Log where per-user auditing information should be recorded
IntegrationException - if a problem occurs
java.util.Map<java.lang.String,java.lang.Boolean> markUsersConverted(java.util.Set<java.lang.String> lmsUserNames,
boolean isConverted,
Log auditLog)
throws IntegrationException
This method will only be called if SupportProvider.Feature.ConvertUser is supported.
lmsUserNames - Users to get passwords for, specified using the target LMS's usernamesisConverted - Indicates whether the user has been convertedauditLog - Log where per-user auditing information should be recorded
IntegrationException - if a problem occursUserPasswordXO convertPassword(java.lang.String lmsPassword)
CourseContentPackageXO convertCourse(CourseLmsIntegration courseIntegration)
throws IntegrationException
Operates in the following manner:
This method will only be called if SupportProvider.Feature.ConvertCourse is supported.
courseIntegration - Integrated course record to operate on
IntegrationException - if a problem occursvoid undoCourseConversion(CourseLmsIntegration courseIntegration)
This method will only be called if SupportProvider.Feature.ConvertCourse is supported.
courseIntegration - Integrated course record to operate onboolean isPublisherCourse(CourseLmsIntegration courseIntegration)
This method will only be called if SupportProvider.Feature.ConvertCourse is supported.
courseIntegration - Integrated course record to operate on
CourseContentPackageXO exportCourse(CourseLmsIntegration courseIntegration)
throws IntegrationException
This method will only be called if SupportProvider.Feature.ConvertCourse is supported.
courseIntegration - Integrated course record to operate on
IntegrationException - if something major goes wrongCourseLmsIntegration extractCourseFromUrl(java.lang.String url)
This method is used by the incoming SSO handler. The URL provided by the LMS will be passed through this method. We will then determine whether the referenced course has been converted, and if so we will override the redirect to ensure that the converted course is loaded.
url - Relative URL, with the target hostname stripped off. e.g. /courses/eng101/homepage.do
java.util.List<java.lang.String> getPotentialRoleCombinations()
java.util.Map<java.lang.String,java.lang.String> getRoleLabels(java.util.Locale locale)
locale - - the user's current locale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||