/* * To change this template, choose Tools | Templates * and open the template in the editor. */ package ee.tlu.htk.dippler.course; import ee.tlu.htk.dippler.entities.Course; import ee.tlu.htk.dippler.entities.Organization; import ee.tlu.htk.dippler.entities.User; import javax.ejb.Local; /** * * @author metz */ @Local public interface CourseManagerLocal { String manageCourse(String action, String data, User user, Organization org); public Course findById(Long id); public Course findByData(String data); public Boolean isLearner(User user, Course course); public String marshalCourse(Course course); }