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 TypeMethodDescriptionboolean
beforeSaveMovedSchedule
(Schedule originalSchedule, Date newStartDate, Date newEndDate) The method is called, when in aCalendar
component, the user moves a schedule object, and the component wants to save to the database.
-
Method Details
-
beforeSaveMovedSchedule
The method is called, when in aCalendar
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 movednewStartDate
- The schedule's new start datenewEndDate
- The schedule's new end date- Returns:
- If
true
, the save operation can proceed, the component saves the schedule automatically to the database. Iffalse
, the save will not proceed.
-