Interface ModifiableCalendar
-
- All Superinterfaces:
AmetysObject
,Calendar
,DataAwareAmetysObject
,DataHolder
,ExplorerNode
,ModelAwareDataAwareAmetysObject
,ModelAwareDataHolder
,ModifiableAmetysObject
,ModifiableDataHolder
,ModifiableExplorerNode
,ModifiableModelAwareDataAwareAmetysObject
,ModifiableModelAwareDataHolder
,ModifiableTraversableAmetysObject
,RemovableAmetysObject
,TraversableAmetysObject
- All Known Implementing Classes:
JCRCalendar
public interface ModifiableCalendar extends Calendar, ModifiableTraversableAmetysObject, ModifiableModelAwareDataAwareAmetysObject, RemovableAmetysObject, ModifiableExplorerNode
Modifiable Calendar Interface
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.ametys.plugins.workspaces.calendars.Calendar
Calendar.CalendarVisibility
-
-
Field Summary
-
Fields inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
ALTERNATIVE_SUFFIX, COMMENTS_SUFFIX, STATUS_SUFFIX
-
-
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.workspaces.calendars.Calendar
getColor, getEvents, getIcsUrlToken, getTemplateDescription, getVisibility, getWorkflowName
-
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToSAX, dataToSAX
-
Methods inherited from interface org.ametys.plugins.explorer.ExplorerNode
getApplicationId, getDescription, getExplorerPath, getIconCls, hasChildExplorerNodes
-
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
getComments, getDataNames, getDefinition, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasComments, hasDefinition, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmpty
-
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
commentsToSAX, dataToMap, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, dataToSAX, dataToSAXForEdition, getDataNames, getType, getValue, hasValue, hasValueOrEmpty, isMultiple
-
Methods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChanges
-
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRepositoryData, getRootDataHolder, removeExternalizableMetadataIfExists, removeExternalValue, removeLocalValue, removeValue, setComments, setExternalValue, setLocalValue, setStatus, setValue, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValues
-
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
-
-