public void fireCreateEvent(Appointment appointment) { boolean allow = CreateEvent.fire(this, appointment); if (!allow) { appointmentManager.rollback(); refresh(); } }
public HandlerRegistration addCreateHandler(CreateHandler<Appointment> handler) { return addHandler(handler, CreateEvent.getType()); }