Package de.iritgo.aktera.scheduler.entity

Examples of de.iritgo.aktera.scheduler.entity.Schedule


  public void deletePersistent(ModelRequest request, ModelResponse response, Object id, Persistent persistent,
          boolean systemDelete) throws ModelException, PersistenceException
  {
    synchronized (Schedule.class)
    {
      Schedule schedule = scheduleDAO.findScheduleById(persistent.getFieldInt("id"));

      scheduleDAO.deleteAllActionsOfSchedule(schedule);
      scheduleDAO.moveScheduleToEnd(schedule);
      super.deletePersistent(request, response, id, persistent, systemDelete);
    }
View Full Code Here


   * @throws ModelException
   */
  protected boolean moveScheduleUp(ModelRequest request, String id) throws ModelException
  {
    ScheduleDAO scheduleDAO = (ScheduleDAO) request.getSpringBean(ScheduleDAO.ID);
    Schedule schedule = scheduleDAO.findScheduleById(NumberTools.toIntInstance(id));

    if (schedule != null)
    {
      return scheduleDAO.moveScheduleUp(schedule);
    }
View Full Code Here

   * @throws ModelException
   */
  protected boolean moveScheduleDown(ModelRequest request, String id) throws ModelException
  {
    ScheduleDAO scheduleDAO = (ScheduleDAO) request.getSpringBean(ScheduleDAO.ID);
    Schedule schedule = scheduleDAO.findScheduleById(NumberTools.toIntInstance(id));

    if (schedule != null)
    {
      return scheduleDAO.moveScheduleDown(schedule);
    }
View Full Code Here

TOP

Related Classes of de.iritgo.aktera.scheduler.entity.Schedule

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.