Class CalendarEventRecurrenceEntity.FrequencyEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.calendar.CalendarEventRecurrenceEntity.FrequencyEntity
-
- Enclosing class:
- CalendarEventRecurrenceEntity
public static class CalendarEventRecurrenceEntity.FrequencyEntity extends Object
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
FrequencyEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CalendarEventRecurrenceEntity.FrequencyEntity
decorate(RecurrencePeriod recurrencePeriod)
static CalendarEventRecurrenceEntity.FrequencyEntity
from(RecurrencePeriod recurrencePeriod)
int
getInterval()
RecurrencePeriod
getModel()
Get the model representation of a recurrence period with the entity data.TimeUnit
getTimeUnit()
void
setInterval(int interval)
void
setTimeUnit(TimeUnit timeUnit)
String
toString()
-
-
-
Method Detail
-
from
public static CalendarEventRecurrenceEntity.FrequencyEntity from(RecurrencePeriod recurrencePeriod)
-
getInterval
public int getInterval()
-
setInterval
public void setInterval(int interval)
-
getTimeUnit
public TimeUnit getTimeUnit()
-
setTimeUnit
public void setTimeUnit(TimeUnit timeUnit)
-
getModel
public RecurrencePeriod getModel()
Get the model representation of a recurrence period with the entity data.- Returns:
- a
CalendarEvent
instance.
-
decorate
protected CalendarEventRecurrenceEntity.FrequencyEntity decorate(RecurrencePeriod recurrencePeriod)
-
-