/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ee.tlu.htk.dippler.course; import javax.ejb.Local; /** * * @author metz */ @Local public interface ActivityManagerLocal { public java.lang.String loadActivities(ee.tlu.htk.dippler.entities.Course course); public java.lang.String manageActivity(java.lang.String action, java.lang.String data, ee.tlu.htk.dippler.entities.User user); public void addActivity(java.lang.String event, ee.tlu.htk.dippler.entities.Course course, ee.tlu.htk.dippler.entities.User user, java.lang.Long object_id, java.lang.String object_title, java.lang.String object_type); public java.lang.String marshal(ee.tlu.htk.dippler.entities.Activity activity); public java.lang.Long getUserCourseActivityCount(java.lang.Long user_id, java.lang.Long course_id); public java.lang.String getUserCourseActivityLastDate(java.lang.Long user_id, java.lang.Long course_id); }