public interface CalendarEvent extends WorkflowAwareAmetysObject
Modifier and Type | Method and Description |
---|---|
Date |
getCreationDate()
Retrieves the creation date.
|
UserIdentity |
getCreator()
Retrieves the the creator.
|
String |
getDescription()
Get the description of the event
|
Date |
getEndDate()
Get the date of the end of the event
|
List<Date> |
getExcludedOccurences()
Retrieves the list of excluded event date.
|
Date |
getFirstOccurrence(Date date)
Retrieves the start date of the first Event which end after the date
|
Boolean |
getFullDay()
Get if the event last all the day
|
String[] |
getKeywords()
Returns the keywords of this event, as a String array.
|
UserIdentity |
getLastContributor()
Retrieves the last contributor.
|
Date |
getLastModified()
Retrieves the last modification date.
|
Date |
getLastValidated()
Retrieves the last validation date.
|
UserIdentity |
getLastValidator()
Retrieves the last validator.
|
String |
getLocation()
Get the location of the event
|
Date |
getNextOccurrence(Date date)
Retrieves the date of the next event after the date
|
List<Date> |
getOccurrences(Date startDate,
Date endDate)
Retrieves the list of all event date between startDate and endDate.
|
UserIdentity |
getOrganiser()
Retrieves the organiser.
|
EventRecurrenceTypeEnum |
getRecurrenceType()
Retrieves the recurrence type.
|
Date |
getRepeatUntil()
Retrieves the end date of the frequency.
|
Date |
getStartDate()
Get the date of the begin of the event
|
String |
getTitle()
Get the title of the event
|
Boolean |
isRecurrent()
Retrieves if the event is recurrent.
|
getCurrentStepId, getWorkflowId, setCurrentStepId, setWorkflowId
getNode
getMetadataHolder
needsSave, rename, revertChanges, saveChanges
equals, getId, getName, getParent, getParentPath, getPath, hashCode
remove
String getDescription()
String getLocation()
Date getStartDate()
Date getEndDate()
Boolean getFullDay()
UserIdentity getCreator() throws UnknownMetadataException, AmetysRepositoryException
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.Date getCreationDate() throws UnknownMetadataException, AmetysRepositoryException
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.UserIdentity getLastContributor() throws UnknownMetadataException, AmetysRepositoryException
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.Date getLastModified() throws UnknownMetadataException, AmetysRepositoryException
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.UserIdentity getLastValidator() throws UnknownMetadataException, AmetysRepositoryException
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.Date getLastValidated() throws UnknownMetadataException, AmetysRepositoryException
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.String[] getKeywords() throws AmetysRepositoryException
AmetysRepositoryException
- if an error occurs.EventRecurrenceTypeEnum getRecurrenceType()
Boolean isRecurrent()
Date getRepeatUntil()
List<Date> getExcludedOccurences()
List<Date> getOccurrences(Date startDate, Date endDate)
startDate
- the start dateendDate
- the end dateDate getFirstOccurrence(Date date)
date
- the dateDate getNextOccurrence(Date date)
date
- the dateUserIdentity getOrganiser() throws UnknownMetadataException, AmetysRepositoryException
UnknownMetadataException
- if this property does not exists.AmetysRepositoryException
- if an error occurs.