Class CalInfoAdapter

java.lang.Object
com.groiss.cal.CalInfoAdapter
All Implemented Interfaces:
CalInfo

@Deprecated public abstract class CalInfoAdapter extends Object implements CalInfo
Deprecated.
implement CalInfo instead
default CalInfo implementation
  • Constructor Details

    • CalInfoAdapter

      public CalInfoAdapter()
      Deprecated.
  • Method Details

    • listEvents

      @Deprecated public List<CalEvent> listEvents(Persistent object, Date startDate, Date endDate)
      Deprecated.
      compatibility method for the old API; new implementations should use listEvents(List, Date, Date) instead
      Parameters:
      object - the object, the dates should be fetched for
      startDate - enddate
      endDate - startdate
      Returns:
      list of events for this object
    • listEvents

      public MultiMap<Persistent,CalEvent> listEvents(List<Persistent> objects, Date startDate, Date endDate)
      Deprecated.
      This function returns a bunch of dates for each passed object
      Specified by:
      listEvents in interface CalInfo
      Parameters:
      objects - the objects the dates should be for
      startDate - range startdate
      endDate - range endtime
      Returns:
      MultiMap of dates occuring in the range of time