Interface Participant
-
- All Known Implementing Classes:
ParticipantImpl
public interface Participant
Holds the information for a single participant within a conversation or a recipient of a message.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getId()
Returns the id of the participant (equals the user id).Collection<String>
getParticipantTypes()
Returns the participant types of the user.
-
-
-
Method Detail
-
getId
String getId()
Returns the id of the participant (equals the user id).- Returns:
- the id of the participant user
-
getParticipantTypes
Collection<String> getParticipantTypes()
Returns the participant types of the user. As the user might be included in more than one type, this method returns a collection of types (e.g. if the user is both owner and assignee, it would return two values in the collection).- Returns:
- the collection of types for this participant
-
-