Class CalendarEventLabelReservationTask

java.lang.Object
ch.tocco.nice2.optional.reservation.impl.contributions.calendareventlabel.CalendarEventLabelReservationTask
All Implemented Interfaces:
CalendarEventLabelTask, OptionalTask<Entity,String>, PersistTask<Entity,String>

@Component public class CalendarEventLabelReservationTask extends Object implements CalendarEventLabelTask
this task resolves to a Reservation and Event and returns a label "Event.abbreviation / Event.label / Reservation.label" if the event is not set, the reservation has no label or the event has no abbreviation the missing part is left out. if all parts are missing (no event and no reservation label) this task will not return a label.
  • Constructor Details

    • CalendarEventLabelReservationTask

      public CalendarEventLabelReservationTask()
  • Method Details