public interface CalInfo
Modifier and Type | Method and Description |
---|---|
default String |
getArguments()
Return some argument string, if in one CalInfo implementation you want to distinguish different behaviours (return different event lists).
|
default List<Pair<String,String>> |
getCaptions()
Return all possible captions for this
CalInfo . |
default String |
getClassName()
return the classname of the cal-source - should be getClass().getName();
|
String |
getName()
Returns the name of this
CalInfo . |
default List<Pair<String,String>> |
getPossibleViews(User u)
Get all possible views for this user.
|
default CalView |
getView(String id,
User u)
Returns the view with the given id for the user.
|
default MultiMap<Persistent,CalEvent> |
listEvents(List<Persistent> objects,
Date startDate,
Date endDate)
This function returns a bunch of dates for each passed object
|
default void |
setArguments(String arguments)
The arguments defined in getArguments are set to the instance.
|
default MultiMap<Persistent,CalEvent> listEvents(List<Persistent> objects, Date startDate, Date endDate)
objects
- the objects the dates should be forstartDate
- range startdateendDate
- range endtimeMultiMap
of dates occuring in the range of timedefault String getClassName()
default List<Pair<String,String>> getCaptions()
CalInfo
.default CalView getView(String id, User u)
id
- the view's idu
- the current userdefault List<Pair<String,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 namedefault String getArguments()
default void setArguments(String arguments)
arguments
- @enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.