org.olat.commons.calendar.ui.components
Class KalendarRenderWrapper
java.lang.Object
org.olat.commons.calendar.ui.components.KalendarRenderWrapper
public class KalendarRenderWrapper
- extends java.lang.Object
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CALENDAR_COLOR_BLUE
public static final java.lang.String CALENDAR_COLOR_BLUE
- These CSS classes must be defined in the calendar.css file.
- See Also:
- Constant Field Values
CALENDAR_COLOR_ORANGE
public static final java.lang.String CALENDAR_COLOR_ORANGE
- See Also:
- Constant Field Values
CALENDAR_COLOR_GREEN
public static final java.lang.String CALENDAR_COLOR_GREEN
- See Also:
- Constant Field Values
CALENDAR_COLOR_YELLOW
public static final java.lang.String CALENDAR_COLOR_YELLOW
- See Also:
- Constant Field Values
CALENDAR_COLOR_RED
public static final java.lang.String CALENDAR_COLOR_RED
- See Also:
- Constant Field Values
ACCESS_READ_WRITE
public static final int ACCESS_READ_WRITE
- These are the access restrictions on this calendar.
- See Also:
- Constant Field Values
ACCESS_READ_ONLY
public static final int ACCESS_READ_ONLY
- See Also:
- Constant Field Values
KalendarRenderWrapper
public KalendarRenderWrapper(Kalendar kalendar)
- Configure a calendar for rendering. Set default values
for calendar color (BLUE) and access (READ_ONLY).
- Parameters:
kalendar - calendarColor - access -
KalendarRenderWrapper
public KalendarRenderWrapper(Kalendar kalendar,
KalendarConfig config,
int access)
- Configure a calendar for rendering.
- Parameters:
kalendar - calendarColor - access -
setAccess
public void setAccess(int access)
getAccess
public int getAccess()
setImported
public void setImported(boolean imported)
isImported
public boolean isImported()
isSubscribed
public boolean isSubscribed()
setSubscribed
public void setSubscribed(boolean subscribed)
getKalendar
public Kalendar getKalendar()
reloadKalendar
public Kalendar reloadKalendar()
getKalendarConfig
public KalendarConfig getKalendarConfig()
setKalendarConfig
public void setKalendarConfig(KalendarConfig calendarConfig)
getLinkProvider
public LinkProvider getLinkProvider()
- Returns:
- Returns the linkProvider.
setLinkProvider
public void setLinkProvider(LinkProvider linkProvider)
- Parameters:
linkProvider - The linkProvider to set.
hasIcalFeed
public boolean hasIcalFeed(Identity identity)