Class CalendarEventRecurrenceEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.calendar.CalendarEventRecurrenceEntity
-
- All Implemented Interfaces:
Serializable
public class CalendarEventRecurrenceEntity extends Object implements Serializable
It represents the state of a recurrence in a calendar event as transmitted within the body of an HTTP response or an HTTP request.- Author:
- Yohann Chastagnier
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
CalendarEventRecurrenceEntity.DayOfWeekOccurrenceEntity
static class
CalendarEventRecurrenceEntity.FrequencyEntity
-
Constructor Summary
Constructors Modifier Constructor Description protected
CalendarEventRecurrenceEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CalendarEventRecurrenceEntity
decorate(CalendarEvent event, ZoneId zoneId)
static CalendarEventRecurrenceEntity
from(CalendarEvent event, ZoneId zoneId)
int
getCount()
List<CalendarEventRecurrenceEntity.DayOfWeekOccurrenceEntity>
getDaysOfWeek()
String
getEndDate()
CalendarEventRecurrenceEntity.FrequencyEntity
getFrequency()
void
setCount(int count)
void
setDaysOfWeek(List<CalendarEventRecurrenceEntity.DayOfWeekOccurrenceEntity> daysOfWeek)
void
setEndDate(String endDate)
void
setFrequency(CalendarEventRecurrenceEntity.FrequencyEntity frequency)
String
toString()
-
-
-
Method Detail
-
from
public static CalendarEventRecurrenceEntity from(CalendarEvent event, ZoneId zoneId)
-
getFrequency
public CalendarEventRecurrenceEntity.FrequencyEntity getFrequency()
-
setFrequency
public void setFrequency(CalendarEventRecurrenceEntity.FrequencyEntity frequency)
-
getCount
public int getCount()
-
setCount
public void setCount(int count)
-
getEndDate
public String getEndDate()
-
setEndDate
public void setEndDate(String endDate)
-
getDaysOfWeek
public List<CalendarEventRecurrenceEntity.DayOfWeekOccurrenceEntity> getDaysOfWeek()
-
setDaysOfWeek
public void setDaysOfWeek(List<CalendarEventRecurrenceEntity.DayOfWeekOccurrenceEntity> daysOfWeek)
-
decorate
protected CalendarEventRecurrenceEntity decorate(CalendarEvent event, ZoneId zoneId)
-
-