/* * 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.Assignment; import ee.tlu.htk.dippler.entities.Organization; import ee.tlu.htk.dippler.entities.User; import javax.ejb.Local; /** * * @author metz */ @Local public interface AssignmentManagerLocal { public String manageAssignment(String action, String data, User user, Organization org); public ee.tlu.htk.dippler.entities.Assignment unMarshal(java.lang.String data); public java.lang.String marshal(ee.tlu.htk.dippler.entities.Assignment assignment); public ee.tlu.htk.dippler.entities.Assignment findById(java.lang.Long id); public java.util.Collection editTargetGroup(ee.tlu.htk.dippler.entities.Assignment a); public String marshal(Assignment assignment, User user); public java.lang.String loadLatestInfo(ee.tlu.htk.dippler.entities.Course course); public java.lang.String answerXML(ee.tlu.htk.dippler.entities.Course course, ee.tlu.htk.dippler.entities.Assignment assignment, java.util.List learners); }