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