public interface CalInfo
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getArguments() |
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
|
void |
setArguments(java.lang.String arguments) |
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 endtimeMultiMap
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 userjava.util.List<Pair<java.lang.String,java.lang.String>> getPossibleViews(User u)
u
- the current userPair.first
the view's id - getView(String, User)
should be able to handle this id
Pair.second
the view's namejava.lang.String getArguments()
void setArguments(java.lang.String arguments)
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.