Interface ModifiableCalendarEvent
-
- All Superinterfaces:
AmetysObject
,CalendarEvent
,DataAwareAmetysObject
,DataHolder
,JCRAmetysObject
,MetadataAwareAmetysObject
,ModelAwareDataAwareAmetysObject
,ModelAwareDataHolder
,ModifiableAmetysObject
,ModifiableDataHolder
,ModifiableMetadataAwareAmetysObject
,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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
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
setLastContributor(UserIdentity user)
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
setTitle(String title)
Set the title of the eventvoid
setZone(ZoneId dateZone)
Set the date zone of the event-
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.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, dataToSAX, dataToSAX
-
Methods inherited from interface org.ametys.plugins.repository.jcr.JCRAmetysObject
getNode
-
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.metadata.ModifiableMetadataAwareAmetysObject
getMetadataHolder
-
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.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 Detail
-
setDescription
void setDescription(String desc)
Set the description of the event- Parameters:
desc
- the description
-
setLocation
void setLocation(String location)
Set the location of the event- Parameters:
location
- the location
-
setStartDate
void setStartDate(ZonedDateTime startDate)
Set the startDate of the event- Parameters:
startDate
- the start date
-
setEndDate
void setEndDate(ZonedDateTime endDate)
Set the endDate of the event- Parameters:
endDate
- the end date
-
setZone
void setZone(ZoneId dateZone)
Set the date zone of the event- Parameters:
dateZone
- the date zone
-
setFullDay
void setFullDay(Boolean fullDay)
Set if the event last all the day- Parameters:
fullDay
- is a fullday event
-
setCreator
void setCreator(UserIdentity user)
Set the creator- Parameters:
user
- The creator
-
setCreationDate
void setCreationDate(ZonedDateTime date)
Set the creation date- Parameters:
date
- The creation date
-
setLastContributor
void setLastContributor(UserIdentity user)
Set the last contributor- Parameters:
user
- The last contributor
-
setLastModified
void setLastModified(ZonedDateTime date)
Set the last modified date- Parameters:
date
- The last modified date
-
setRecurrenceType
void setRecurrenceType(String recurrenceType)
Set the recurrence type.- Parameters:
recurrenceType
- the recurrence type
-
setRepeatUntil
void setRepeatUntil(ZonedDateTime untilDate)
Set the end date of the frequency.- Parameters:
untilDate
- the end date of the recurrence
-
setExcludedOccurrences
void setExcludedOccurrences(List<ZonedDateTime> excludedOccurrences)
Set the list of excluded event date.- Parameters:
excludedOccurrences
- excluded date
-
setOrganiser
void setOrganiser(UserIdentity user)
Set the oragniser- Parameters:
user
- The oragniser
-
setResources
void setResources(List<String> resources)
Set the resources- Parameters:
resources
- The resources
-
-