Interface ModifiableCalendar
-
- All Superinterfaces:
AmetysObject
,Calendar
,ExplorerNode
,ModifiableAmetysObject
,ModifiableExplorerNode
,ModifiableTraversableAmetysObject
,RemovableAmetysObject
,TraversableAmetysObject
- All Known Implementing Classes:
JCRCalendar
public interface ModifiableCalendar extends Calendar, ModifiableTraversableAmetysObject, RemovableAmetysObject, ModifiableExplorerNode
Modifiable Calendar Interface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.plugins.explorer.calendars.Calendar
Calendar.CalendarVisibility
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setColor(String color)
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 calendarvoid
setWorkflowName(String workflowName)
set the name of the workflow of the calendar-
Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
-
Methods inherited from interface org.ametys.plugins.explorer.calendars.Calendar
getColor, getEvents, getIcsUrlToken, getTemplateDescription, getVisibility, getWorkflowName
-
Methods inherited from interface org.ametys.plugins.explorer.ExplorerNode
getApplicationId, getDescription, getExplorerPath, getIconCls, hasChildExplorerNodes
-
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
-
Methods inherited from interface org.ametys.plugins.repository.ModifiableTraversableAmetysObject
createChild
-
Methods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
remove
-
Methods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChild, getChildAt, getChildPosition, getChildren, hasChild
-
-
-
-
Method Detail
-
setDescription
void setDescription(String desc)
set the description of the calendar- Specified by:
setDescription
in interfaceModifiableExplorerNode
- Parameters:
desc
- The description
-
setColor
void setColor(String color)
set the color of the calendar- Parameters:
color
- The color to set
-
setVisibility
void setVisibility(Calendar.CalendarVisibility visibility)
Set the visibility of the calendar- Parameters:
visibility
- The visibility
-
setWorkflowName
void setWorkflowName(String workflowName)
set the name of the workflow of the calendar- Parameters:
workflowName
- The workflow name
-
setTemplateDescription
void setTemplateDescription(String templateDesc)
set the template description of the calendar- Parameters:
templateDesc
- The template description
-
setIcsUrlToken
void setIcsUrlToken(String token)
Set the token used by the ICS public URL- Parameters:
token
- The token, or null to delete the existing token
-
-