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