Interface CalendarEvent
- All Superinterfaces:
AmetysObject
,JCRAmetysObject
,MetadataAwareAmetysObject
,ModifiableAmetysObject
,ModifiableMetadataAwareAmetysObject
,RemovableAmetysObject
,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.getFirstOccurrence
(Date date) Retrieves the start date of the first Event which end after the dateGet if the event last all the dayString[]
Returns the keywords of this event, as a String array.Retrieves the last contributor.Retrieves the last modification date.Retrieves the last validation date.Retrieves the last validator.Get the location of the eventgetNextOccurrence
(Date date) Retrieves the date of the next event after the dategetOccurrences
(Date startDate, Date 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.Get the date of the begin of the eventgetTitle()
Get the title 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.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
-
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:
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.
-
getCreationDate
Retrieves the creation date.- Returns:
- the creation date.
- Throws:
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.
-
getLastContributor
Retrieves the last contributor.- Returns:
- the last contributor.
- Throws:
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.
-
getLastModified
Retrieves the last modification date.- Returns:
- the last modification date.
- Throws:
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.
-
getLastValidator
Retrieves the last validator.- Returns:
- the last validator.
- Throws:
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.
-
getLastValidated
Retrieves the last validation date.- Returns:
- the last validation date.
- Throws:
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.
-
getKeywords
Returns the keywords of this event, as a String array.- Returns:
- the keywords of this event.
- 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:
date
- the date- Returns:
- the date of the next event after the date
-
getOrganiser
Retrieves the organiser.- Returns:
- the organiser.
- Throws:
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.
-