public Collection<PropertyCalendar> getPropertyCalendarList() { try { propertyCalendarList = propertyCalendarEJB.getPropertyCalendarList(); } catch (Exception ex) { Logger.getLogger(this.getClass().getName()).log(Level.SEVERE, null, ex); } return propertyCalendarList; }
public boolean deletePropertyCalendar(PropertyCalendar propertyCalendar) { boolean status = false; try { status = propertyCalendarEJB.deletePropertyCalendar(propertyCalendar); } catch (Exception ex) { Logger.getLogger(this.getClass().getName()).log(Level.SEVERE, null, ex); } return status; }
public PropertyCalendar getPropertyCalendarById(Long propertyCalendarId) { PropertyCalendar propertyCalendar = null; try { propertyCalendar = propertyCalendarEJB.getPropertyCalendarById(propertyCalendarId); } catch (Exception ex) { Logger.getLogger(this.getClass().getName()).log(Level.SEVERE, null, ex); } return propertyCalendar; }