Interface BeforeMoveEvent


public interface BeforeMoveEvent
Before move event (a schedule object is moved, but not saved) handler interface
Since:
4.0
Author:
JBStrap
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    beforeSaveMovedSchedule(Schedule originalSchedule, Date newStartDate, Date newEndDate)
    The method is called, when in a Calendar component, the user moves a schedule object, and the component wants to save to the database.
  • Method Details

    • beforeSaveMovedSchedule

      boolean beforeSaveMovedSchedule(Schedule originalSchedule, Date newStartDate, Date newEndDate)
      The method is called, when in a Calendar component, the user moves a schedule object, and the component wants to save to the database. The method is called before the save.
      Parameters:
      originalSchedule - The original schedule object, which the user moved
      newStartDate - The schedule's new start date
      newEndDate - The schedule's new end date
      Returns:
      If true, the save operation can proceed, the component saves the schedule automatically to the database. If false, the save will not proceed.