Interface ModifiableCalendarEvent
- All Superinterfaces:
AmetysObject
,CalendarEvent
,DataAwareAmetysObject
,DataHolder
,IndexableDataHolder
,JCRAmetysObject
,MetadataAwareAmetysObject
,ModelAwareDataAwareAmetysObject
,ModelAwareDataAwareAmetysObject
,ModelAwareDataHolder
,ModifiableAmetysObject
,ModifiableDataHolder
,ModifiableIndexableDataHolder
,ModifiableMetadataAwareAmetysObject
,ModifiableModelAwareDataAwareAmetysObject
,ModifiableModelAwareDataAwareAmetysObject
,ModifiableModelAwareDataHolder
,RemovableAmetysObject
,TagAwareAmetysObject
,TaggableAmetysObject
,WorkflowAwareAmetysObject
- All Known Implementing Classes:
JCRCalendarEvent
public interface ModifiableCalendarEvent
extends CalendarEvent, ModifiableModelAwareDataAwareAmetysObject
Modifiable Calendar Event Interface
-
Field Summary
Fields inherited from interface org.ametys.plugins.repository.data.holder.ModelAwareDataHolder
ALTERNATIVE_SUFFIX, COMMENTS_SUFFIX, STATUS_SUFFIX
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setCreationDate
(ZonedDateTime date) Set the creation datevoid
setCreator
(UserIdentity user) Set the creatorvoid
setDescription
(String desc) Set the description of the eventvoid
setEndDate
(ZonedDateTime endDate) Set the endDate of the eventvoid
setExcludedOccurrences
(List<ZonedDateTime> excludedOccurrences) Set the list of excluded event date.void
setFullDay
(Boolean fullDay) Set if the event last all the dayvoid
Set the last contributorvoid
setLastModified
(ZonedDateTime date) Set the last modified datevoid
setLocation
(String location) Set the location of the eventvoid
setOrganiser
(UserIdentity user) Set the oragniservoid
setRecurrenceType
(String recurrenceType) Set the recurrence type.void
setRepeatUntil
(ZonedDateTime untilDate) Set the end date of the frequency.void
setResources
(List<String> resources) Set the resourcesvoid
setStartDate
(ZonedDateTime startDate) Set the startDate of the eventvoid
Set the title of the eventvoid
Set the date zone of the eventMethods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.plugins.workspaces.calendars.events.CalendarEvent
getCreationDate, getCreator, getDescription, getEndDate, getExcludedOccurences, getFirstOccurrence, getFullDay, getLastContributor, getLastModified, getLocation, getNextOccurrence, getOccurrences, getOrganiser, getRecurrenceType, getRepeatUntil, getResources, getStartDate, getTitle, getZone, isRecurrent
Methods inherited from interface org.ametys.plugins.repository.data.ametysobject.DataAwareAmetysObject
copyTo, copyTo, dataToJSON, dataToJSON, dataToSAX, dataToSAX
Methods inherited from interface org.ametys.plugins.repository.jcr.JCRAmetysObject
getNode
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.plugins.repository.metadata.ModifiableMetadataAwareAmetysObject
getMetadataHolder
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.RemovableAmetysObject
remove
Methods inherited from interface org.ametys.plugins.repository.tag.TagAwareAmetysObject
getTags
Methods inherited from interface org.ametys.plugins.repository.tag.TaggableAmetysObject
tag, untag
Methods inherited from interface org.ametys.plugins.workflow.repository.WorkflowAwareAmetysObject
getCurrentStepId, getWorkflowId, setCurrentStepId, setWorkflowId
-
Method Details
-
setTitle
Set the title of the event- Parameters:
title
- the title
-
setDescription
Set the description of the event- Parameters:
desc
- the description
-
setLocation
Set the location of the event- Parameters:
location
- the location
-
setStartDate
Set the startDate of the event- Parameters:
startDate
- the start date
-
setEndDate
Set the endDate of the event- Parameters:
endDate
- the end date
-
setZone
Set the date zone of the event- Parameters:
dateZone
- the date zone
-
setFullDay
Set if the event last all the day- Parameters:
fullDay
- is a fullday event
-
setCreator
Set the creator- Parameters:
user
- The creator
-
setCreationDate
Set the creation date- Parameters:
date
- The creation date
-
setLastContributor
Set the last contributor- Parameters:
user
- The last contributor
-
setLastModified
Set the last modified date- Parameters:
date
- The last modified date
-
setRecurrenceType
Set the recurrence type.- Parameters:
recurrenceType
- the recurrence type
-
setRepeatUntil
Set the end date of the frequency.- Parameters:
untilDate
- the end date of the recurrence
-
setExcludedOccurrences
Set the list of excluded event date.- Parameters:
excludedOccurrences
- excluded date
-
setOrganiser
Set the oragniser- Parameters:
user
- The oragniser
-
setResources
Set the resources- Parameters:
resources
- The resources
-