public class CalendarExceptionRenderer implements ListitemRenderer {
@Override
public void render(Listitem item, Object data) {
CalendarException calendarException = (CalendarException) data;
item.setValue(calendarException);
appendDayListcell(item, calendarException);
appendExceptionTypeListcell(item, calendarException);
appendStandardEffortListcell(item, calendarException.getCapacity());
appendExtraEffortListcell(item, calendarException.getCapacity());
appendCodeListcell(item, calendarException);
appendOriginListcell(item, calendarException);
appendOperationsListcell(item, calendarException);
markAsSelected(item, calendarException);