1 18 19 package cowsultants.itracker.ejb.client.interfaces; 20 21 import java.util.HashMap ; 22 import javax.ejb.EJBLocalObject ; 23 24 import cowsultants.itracker.ejb.client.exceptions.*; 25 import cowsultants.itracker.ejb.client.models.*; 26 27 public interface SchedulerHandler extends EJBLocalObject { 28 public static final String JNDI_NAME = "ejb/SchedulerHandler"; 29 30 public ScheduledTaskModel getTask(Integer id); 31 public ScheduledTaskModel[] getAllTasks(); 32 33 public ScheduledTaskModel createTask(ScheduledTaskModel model); 34 public ScheduledTaskModel updateTask(ScheduledTaskModel model); 35 public boolean removeTask(Integer taskId); 36 } | Popular Tags |