|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface CourseIntegrationManager
Course-related integration methods.
| Method Summary | |
|---|---|
CourseLmsIntegration |
getCourseIntegration(Id courseId)
Retrieves a course-integration mapping based on the provided courseId if the integration is active. |
CourseLmsIntegration |
getCourseIntegrationBySourcedId(java.lang.String sourcedidSource,
java.lang.String sourcedidId)
Retrieves a course-integration mapping based on the provided LMS sourcedid |
boolean |
isCourseIntegrated(Id courseId)
Determines if a course is integrated (i.e hosted within an external LMS) Note: Do not use this function if you're going to load the course integration afterwards. |
boolean |
isCourseOwnedByIntegration(Id courseId)
Determines if a course is owned by the integration. |
void |
saveCourseIntegration(CourseLmsIntegration courseIntegration)
Saves a course-integration mapping |
| Method Detail |
|---|
boolean isCourseOwnedByIntegration(Id courseId)
courseId - Id of the Courseboolean isCourseIntegrated(Id courseId)
Note: Do not use this function if you're going to load the course
integration afterwards. Instead, just load the course integration with
getCourseIntegration(blackboard.persist.Id) and treat a null response as a "No,
the course is not integrated"
Also note that converted courses are still considered integrated, as the connection
to the LMS is retained in order to handle SIS event proxying. Use
CourseLmsIntegration.isConverted() to determine whether the course
has been converted to AS.
courseId - Id of the CourseCourseLmsIntegration getCourseIntegration(Id courseId)
Note that converted courses are still considered integrated, as the connection
to the LMS is retained in order to handle SIS event proxying. Use
CourseLmsIntegration.isConverted() to determine whether the course
has been converted to AS.
courseId - Id of the Course
CourseLmsIntegration getCourseIntegrationBySourcedId(java.lang.String sourcedidSource,
java.lang.String sourcedidId)
sourcedidSource - IMS SourcedId.Source from the LMSsourcedidId - IMS SourcedId.Id from the LMSvoid saveCourseIntegration(CourseLmsIntegration courseIntegration)
PersistenceRuntimeException - If a failure occurs
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||