Class CalendarEventAttendeeEntity
- java.lang.Object
-
- org.silverpeas.core.webapi.calendar.CalendarEventAttendeeEntity
-
- All Implemented Interfaces:
Serializable
,WebEntity
- Direct Known Subclasses:
CalendarEventAttendeeAnswerEntity
public class CalendarEventAttendeeEntity extends Object implements WebEntity
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
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
CalendarEventAttendeeEntity()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected CalendarEventAttendeeEntity
decorate(Attendee attendee)
static CalendarEventAttendeeEntity
from(Attendee attendee)
String
getFullName()
String
getId()
Attendee.ParticipationStatus
getParticipationStatus()
Attendee.PresenceStatus
getPresenceStatus()
URI
getURI()
Gets the URI at which this web entity is published and can be accessed.void
setFullName(String fullName)
void
setId(String id)
void
setParticipationStatus(Attendee.ParticipationStatus participationStatus)
void
setPresenceStatus(Attendee.PresenceStatus presenceStatus)
void
setUri(URI uri)
String
toString()
<T extends CalendarEventAttendeeEntity>
TwithURI(URI uri)
Sets a URI to this entity.
-
-
-
Method Detail
-
from
public static CalendarEventAttendeeEntity from(Attendee attendee)
-
withURI
public <T extends CalendarEventAttendeeEntity> T withURI(URI uri)
Sets a URI to this entity. With this URI, it can then be accessed through the Web.- Parameters:
uri
- the web entity URI.- Returns:
- itself.
-
getURI
public URI getURI()
Description copied from interface:WebEntity
Gets the URI at which this web entity is published and can be accessed.
-
setUri
public void setUri(URI uri)
-
getId
public String getId()
-
setId
public void setId(String id)
-
getFullName
public String getFullName()
-
setFullName
public void setFullName(String fullName)
-
getParticipationStatus
public Attendee.ParticipationStatus getParticipationStatus()
-
setParticipationStatus
public void setParticipationStatus(Attendee.ParticipationStatus participationStatus)
-
getPresenceStatus
public Attendee.PresenceStatus getPresenceStatus()
-
setPresenceStatus
public void setPresenceStatus(Attendee.PresenceStatus presenceStatus)
-
decorate
protected CalendarEventAttendeeEntity decorate(Attendee attendee)
-
-