[Building Sakai] Course Management API

Sam Chow samchow at ln.edu.hk
Sun Nov 1 23:50:04 PST 2009


Dear Sir,

I have create a sakai project appliction by using the Sakai App Builder, and i try to retrieve the information of the Acacdemic term. I have import this 2 package: 

org.sakaiproject.coursemanagement.api.AcademicSession
org.sakaiproject.coursemanagement.api.CourseManagementServices;

And use this to get the information:

protected CourseManagementService cmService;
public void setCmService(CourseManagementService cmService){
    this.cmService = cmService;
}

And try this in the funciton fillComponents:

List<AcademicSession> existingAcademicSessions = cmService.getAcademicSessions();


But when i build the project, it have compilation error about the "package org.sakaiproject.coursemanagement.api does not exist".
Are they are configurmation i need to make to use the Coursemangment API?

Many Thanks!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/sakai-dev/attachments/20091102/8cfa0578/attachment.html 


More information about the sakai-dev mailing list