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 TypeMethodDescriptionvoidSet the calendar namevoidset the color of the calendarvoidsetDescription(String desc) set the description of the calendarvoidsetIcsUrlToken(String token) Set the token used by the ICS public URLvoidsetTemplateDescription(String templateDesc) set the template description of the calendarvoidsetVisibility(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
-