Interface ModifiableCalendar
- All Superinterfaces:
Calendar
- All Known Subinterfaces:
WorkflowAwareCalendar
- All Known Implementing Classes:
JCRCalendar
,TaskCalendar
Modifiable Calendar Interface
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.ametys.plugins.workspaces.calendars.Calendar
Calendar.CalendarVisibility
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Set the calendar namevoid
set the color of the calendarvoid
setDescription
(String desc) set the description of the calendarvoid
setIcsUrlToken
(String token) Set the token used by the ICS public URLvoid
setTemplateDescription
(String templateDesc) set the template description of the calendarvoid
setVisibility
(Calendar.CalendarVisibility visibility) Set the visibility of the calendarMethods inherited from interface org.ametys.plugins.workspaces.calendars.Calendar
getAllEvents, getChildCalendars, getColor, getDescription, getEvents, getIcsUrlToken, getId, getName, getProject, getTemplateDescription, getVisibility
-
Method Details
-
rename
Set the calendar name- Parameters:
name
- The name
-
setDescription
set the description of the calendar- Parameters:
desc
- The description
-
setColor
set the color of the calendar- Parameters:
color
- The color to set
-
setVisibility
Set the visibility of the calendar- Parameters:
visibility
- The visibility
-
setTemplateDescription
set the template description of the calendar- Parameters:
templateDesc
- The template description
-
setIcsUrlToken
Set the token used by the ICS public URL- Parameters:
token
- The token, or null to delete the existing token
-