Class ParticipantCalendarEventOccurrencesEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.calendar.ParticipantCalendarEventOccurrencesEntity
-
public class ParticipantCalendarEventOccurrencesEntity extends Object
It represents the occurrences of a participant.- Author:
- Yohann Chastagnier
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ParticipantCalendarEventOccurrencesEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canBeDeleted()
boolean
canBeModified()
protected <T extends ParticipantCalendarEventOccurrencesEntity>
Tdecorate(User user)
static ParticipantCalendarEventOccurrencesEntity
from(User user)
String
getId()
List<CalendarEventOccurrenceEntity>
getOccurrences()
String
getTitle()
String
getUserId()
void
setId(String id)
void
setOccurrences(List<CalendarEventOccurrenceEntity> occurrences)
protected void
setTitle(String title)
void
setUserId(String userId)
String
toString()
<T extends ParticipantCalendarEventOccurrencesEntity>
TwithOccurrences(List<CalendarEventOccurrenceEntity> occurrences)
-
-
-
Method Detail
-
from
public static ParticipantCalendarEventOccurrencesEntity from(User user)
-
withOccurrences
public <T extends ParticipantCalendarEventOccurrencesEntity> T withOccurrences(List<CalendarEventOccurrenceEntity> occurrences)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getUserId
public String getUserId()
-
setUserId
public void setUserId(String userId)
-
getTitle
public String getTitle()
-
setTitle
protected void setTitle(String title)
-
getOccurrences
public List<CalendarEventOccurrenceEntity> getOccurrences()
-
setOccurrences
public void setOccurrences(List<CalendarEventOccurrenceEntity> occurrences)
-
canBeModified
public boolean canBeModified()
-
canBeDeleted
public boolean canBeDeleted()
-
decorate
protected <T extends ParticipantCalendarEventOccurrencesEntity> T decorate(User user)
-
-