Class CalendarColorsComponent
java.lang.Object
org.ametys.plugins.workspaces.calendars.CalendarColorsComponent
- All Implemented Interfaces:
Component
,Configurable
Component listing the available colors for a
Calendar
-
Nested Class Summary
Modifier and TypeClassDescriptionclass
Class representing a calendar color -
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
configure
(Configuration configuration) Get the colors of calendars including those restricted for resource calendarsGet the color by idGet the colors of calendars
-
Field Details
-
ROLE
The component role
-
-
Constructor Details
-
CalendarColorsComponent
public CalendarColorsComponent()
-
-
Method Details
-
configure
- Specified by:
configure
in interfaceConfigurable
- Throws:
ConfigurationException
-
getColors
Get the colors of calendars- Returns:
- colors
-
getAllColors
Get the colors of calendars including those restricted for resource calendars- Returns:
- colors
-
getColor
Get the color by id- Parameters:
id
- the id- Returns:
- the color
-