|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CalInfo
source for calevents
Method Summary | |
---|---|
java.util.List<Pair<java.lang.String,java.lang.String>> |
getCaptions()
return all possible captions for this CalInfo |
java.lang.String |
getName()
returns the name of this CalInfo . |
java.util.List<Pair<java.lang.String,java.lang.String>> |
getPossibleViews(User u)
get all possible views for this users |
CalView |
getView(java.lang.String id,
User u)
returns the view with the given id for the user |
MultiMap<Persistent,CalEvent> |
listEvents(java.util.List<Persistent> objects,
java.util.Date startDate,
java.util.Date endDate)
this function returns a bunch of dates for each passed object |
Method Detail |
---|
MultiMap<Persistent,CalEvent> listEvents(java.util.List<Persistent> objects, java.util.Date startDate, java.util.Date endDate)
objects
- the objects the dates should be forstartDate
- range startdateendDate
- range endtime
MultiMap
of dates occuring in the range of timejava.lang.String getName()
CalInfo
.
java.util.List<Pair<java.lang.String,java.lang.String>> getCaptions()
CalInfo
CalView getView(java.lang.String id, User u)
id
- the view's idu
- the current user
java.util.List<Pair<java.lang.String,java.lang.String>> getPossibleViews(User u)
u
- the current user
Pair.first
the view's id - getView(String, User)
should be able to handle this id
Pair.second
the view's name
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |