Interface CalendarEvent
- All Superinterfaces:
AmetysObject
,JCRAmetysObject
,MetadataAwareAmetysObject
,ModifiableAmetysObject
,ModifiableMetadataAwareAmetysObject
,RemovableAmetysObject
,TagAwareAmetysObject
,TaggableAmetysObject
,WorkflowAwareAmetysObject
- All Known Subinterfaces:
ModifiableCalendarEvent
- All Known Implementing Classes:
JCRCalendarEvent
Calendar event interface
-
Method Summary
Modifier and TypeMethodDescriptionRetrieves the creation date.Retrieves the the creator.Get the description of the eventGet the date of the end of the eventRetrieves the list of excluded event date.Retrieves the start date of the first Event which end after the dateGet if the event last all the dayRetrieves the last contributor.Retrieves the last modification date.Get the location of the eventgetNextOccurrence
(CalendarEventOccurrence occurrence) Retrieves the date of the next event after the dategetOccurrences
(ZonedDateTime startDate, ZonedDateTime endDate) Retrieves the list of all event date between startDate and endDate.Retrieves the organiser.Retrieves the recurrence type.Retrieves the end date of the frequency.Retrieves the resource list.Get the date of the begin of the eventgetTitle()
Get the title of the eventgetZone()
Get the date zone of the eventRetrieves if the event is recurrent.Methods inherited from interface org.ametys.plugins.repository.AmetysObject
equals, getId, getName, getParent, getParentPath, getPath, hashCode
Methods inherited from interface org.ametys.plugins.repository.jcr.JCRAmetysObject
getNode
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.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
-
getTitle
Get the title of the event- Returns:
- the title of the event
-
getDescription
Get the description of the event- Returns:
- the description of the event
-
getLocation
Get the location of the event- Returns:
- the location of the event
-
getStartDate
Get the date of the begin of the event- Returns:
- the date of the event
-
getEndDate
Get the date of the end of the event- Returns:
- the date of the event
-
getZone
Get the date zone of the event- Returns:
- the date zone of the event
-
getFullDay
Get if the event last all the day- Returns:
- true if the event last all the day
-
getCreator
Retrieves the the creator.- Returns:
- the creator.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getCreationDate
Retrieves the creation date.- Returns:
- the creation date.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getLastContributor
Retrieves the last contributor.- Returns:
- the last contributor.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getLastModified
Retrieves the last modification date.- Returns:
- the last modification date.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getRecurrenceType
Retrieves the recurrence type.- Returns:
- the recurrence type.
-
isRecurrent
Retrieves if the event is recurrent.- Returns:
- true if the event is recurrent.
-
getRepeatUntil
Retrieves the end date of the frequency.- Returns:
- the end date of the frequency.
-
getExcludedOccurences
Retrieves the list of excluded event date.- Returns:
- the list of excluded event date.
-
getOccurrences
Retrieves the list of all event date between startDate and endDate.- Parameters:
startDate
- the start dateendDate
- the end date- Returns:
- the list of all event date between startDate and endDate.
-
getFirstOccurrence
Retrieves the start date of the first Event which end after the date- Parameters:
date
- the date- Returns:
- the start date of the first Event which end after the date
-
getNextOccurrence
Retrieves the date of the next event after the date- Parameters:
occurrence
- the current occurrence- Returns:
- the occurrence of the next event after the date
-
getOrganiser
Retrieves the organiser.- Returns:
- the organiser.
- Throws:
AmetysRepositoryException
- if an error occurs.
-
getResources
Retrieves the resource list.- Returns:
- the resource list.
-