Interface ModifiableCalendar
- All Superinterfaces:
AmetysObject
,Calendar
,DataAwareAmetysObject
,DataHolder
,ExplorerNode
,IndexableDataHolder
,ModelAwareDataAwareAmetysObject
,ModelAwareDataAwareAmetysObject
,ModelAwareDataHolder
,ModifiableAmetysObject
,ModifiableDataHolder
,ModifiableExplorerNode
,ModifiableIndexableDataHolder
,ModifiableModelAwareDataAwareAmetysObject
,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
Modifier and TypeMethodDescriptionvoid
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 calendarMethods 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, copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX
Methods inherited from interface org.ametys.plugins.explorer.ExplorerNode
getApplicationId, getDescription, getExplorerPath, getIconCls, hasChildExplorerNodes
Methods inherited from interface org.ametys.cms.data.ametysobject.ModelAwareDataAwareAmetysObject
getSystemPropertyExtensionPoint, indexData, indexData
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
dataToJSON, dataToJSONForEdition, dataToMap, dataToSAX, dataToSAXForEdition, getComments, getDataNames, getDefinition, getDifferences, getDifferences, getDifferences, getDifferences, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasComments, hasDefinition, hasDifferences, hasDifferences, hasDifferences, hasDifferences, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmpty
Methods inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
commentsToSAX, dataToJSON, dataToJSON, dataToJSON, dataToMap, dataToMap, dataToMap, dataToSAX, dataToSAX, dataToSAX, 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.holder.ModifiableDataHolder
getRepositoryData
Methods inherited from interface org.ametys.cms.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRootDataHolder
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getRepositoryData, 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 Details
-
setDescription
set the description of the calendar- Specified by:
setDescription
in interfaceModifiableExplorerNode
- 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
-
setWorkflowName
set the name of the workflow of the calendar- Parameters:
workflowName
- The workflow name
-
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
-