@Override
protected void fromFacet(final GoogleCalendarEventFacet facet, final TimeInterval timeInterval, final GuestSettings settings) throws OutsideTimeBoundariesException {
try {
this.allDayEvent = facet.allDayEvent;
JacksonFactory jacksonFactory = new JacksonFactory();
if (facet.attendeesStorage!=null) {
this.attendees = new ArrayList<EventAttendee>();
String[] attendees = facet.attendeesStorage.split("\\|");
for (String attendee : attendees) {
final EventAttendee eventAttendee = jacksonFactory.fromString(attendee, EventAttendee.class);
eventAttendee.put("attendeeStatusClass", toCssClass(eventAttendee.getResponseStatus()));
this.attendees.add(eventAttendee);
}
}
if (facet.creatorStorage!=null)
creator = jacksonFactory.fromString(facet.creatorStorage, Event.Creator.class);
if (facet.organizerStorage!=null)
organizer = jacksonFactory.fromString(facet.organizerStorage, Event.Organizer.class);
this.description = facet.description;
this.summary = facet.summary;
this.apiKeyId = facet.apiKeyId;
this.calendarId = facet.calendarId;
if (facet.location!=null)