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 TypeMethodDescriptionvoidset 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 calendarvoidsetWorkflowName(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, hashCodeMethods inherited from interface org.ametys.plugins.workspaces.calendars.Calendar
getColor, getEvents, getIcsUrlToken, getTemplateDescription, getVisibility, getWorkflowNameMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAXMethods inherited from interface org.ametys.plugins.explorer.ExplorerNode
getApplicationId, getDescription, getExplorerPath, getIconCls, hasChildExplorerNodesMethods inherited from interface org.ametys.cms.data.ametysobject.ModelAwareDataAwareAmetysObject
getSystemPropertyExtensionPoint, indexData, indexDataMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModelAwareDataAwareAmetysObject
dataToJSON, dataToJSONForEdition, dataToMap, dataToSAX, dataToSAXForEdition, getComments, getDataNames, getDefinition, getExternalValue, getLocalValue, getModel, getStatus, getValue, getValue, hasComments, hasDefinition, hasExternalValue, hasExternalValueOrEmpty, hasLocalValue, hasLocalValueOrEmpty, hasValue, hasValueOrEmptyMethods 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, isMultipleMethods inherited from interface org.ametys.plugins.repository.ModifiableAmetysObject
needsSave, rename, revertChanges, saveChangesMethods inherited from interface org.ametys.plugins.repository.data.holder.ModifiableDataHolder
getRepositoryDataMethods inherited from interface org.ametys.cms.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getComposite, getComposite, getDataHolder, getExternalComposite, getExternalComposite, getExternalRepeater, getExternalRepeater, getLocalComposite, getLocalComposite, getLocalRepeater, getLocalRepeater, getParentDataHolder, getRepeater, getRepeater, getRootDataHolderMethods inherited from interface org.ametys.plugins.repository.data.ametysobject.ModifiableModelAwareDataAwareAmetysObject
getRepositoryData, removeExternalizableMetadataIfExists, removeExternalValue, removeLocalValue, removeValue, setComments, setExternalValue, setLocalValue, setStatus, setValue, synchronizeValues, synchronizeValues, synchronizeValues, synchronizeValuesMethods inherited from interface org.ametys.plugins.repository.ModifiableTraversableAmetysObject
createChildMethods inherited from interface org.ametys.plugins.repository.RemovableAmetysObject
removeMethods inherited from interface org.ametys.plugins.repository.TraversableAmetysObject
getChild, getChildAt, getChildPosition, getChildren, hasChild
-
Method Details
-
setDescription
set the description of the calendar- Specified by:
setDescriptionin 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
-