|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.groiss.cal.CalInfoAdapter
public abstract class CalInfoAdapter
default CalInfo implementation
| Constructor Summary | |
|---|---|
CalInfoAdapter()
|
|
| Method Summary | |
|---|---|
List<Pair<String,String>> |
getCaptions()
return all possible captions for this CalInfo |
List<Pair<String,String>> |
getPossibleViews(User u)
get all possible views for this users |
CalView |
getView(String id,
User u)
returns the view with the given id for the user |
MultiMap<Persistent,CalEvent> |
listEvents(List<Persistent> objects,
Date startDate,
Date endDate)
this function returns a bunch of dates for each passed object |
List<CalEvent> |
listEvents(Persistent object,
Date startDate,
Date endDate)
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.groiss.cal.CalInfo |
|---|
getName |
| Constructor Detail |
|---|
public CalInfoAdapter()
| Method Detail |
|---|
public List<Pair<String,String>> getCaptions()
CalInfo
getCaptions in interface CalInfopublic List<Pair<String,String>> getPossibleViews(User u)
getPossibleViews in interface CalInfou - the current user
Pair.first the view's id - CalInfo.getView(String, User) should be able to handle this id
Pair.second the view's name
public CalView getView(String id,
User u)
getView in interface CalInfoid - the view's idu - the current user
@Deprecated
public List<CalEvent> listEvents(Persistent object,
Date startDate,
Date endDate)
listEvents(List, Date, Date) instead
object - the object, the dates should be fetched forstartDate - enddateendDate - startdate
public MultiMap<Persistent,CalEvent> listEvents(List<Persistent> objects,
Date startDate,
Date endDate)
listEvents in interface CalInfoobjects - the objects the dates should be forstartDate - range startdateendDate - range endtime
MultiMap of dates occuring in the range of time
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||