Interface ConversationRegistryEntry
- All Known Subinterfaces:
ConversationRegistryEntryEntity
- All Known Implementing Classes:
ConversationRegistryEntryEntityImpl
public interface ConversationRegistryEntry
An entry of a conversation participant registry.
- Author:
- Filip Hrisafov
-
Method Summary
Modifier and TypeMethodDescriptionThe id of the conversation that this participant is part ofTimestamp whenever the entry was created (has no impact on permissions, just for auditing)The id of the group participating in the conversationgetId()
The id of the registry entryThe time where the participant joined the conversation (might be even in the past, if past messages should become visible)The (optional) time where the participant left the conversation (empty means they didn't left yet)The type of the participant (e.g.Timestamp of when this entry was changed the last time (has no impact on permissions, just for auditing)The id of the user participating in the conversation
-
Method Details
-
getId
String getId()The id of the registry entry- Returns:
- the id
-
getConversationId
String getConversationId()The id of the conversation that this participant is part of- Returns:
- the converastion id
-
getUserId
String getUserId()The id of the user participating in the conversation- Returns:
- the participating user id
-
getGroupId
String getGroupId()The id of the group participating in the conversation- Returns:
- the participating group id
-
getParticipantType
String getParticipantType()The type of the participant (e.g. owner, candidate user, assignee, etc)- Returns:
- the type of the participant
-
getCreationTime
Date getCreationTime()Timestamp whenever the entry was created (has no impact on permissions, just for auditing)- Returns:
- the time of the creation of the registry entry
-
getUpdateTime
Date getUpdateTime()Timestamp of when this entry was changed the last time (has no impact on permissions, just for auditing)- Returns:
- the time of the update of the registry entry
-
getJoiningTime
Date getJoiningTime()The time where the participant joined the conversation (might be even in the past, if past messages should become visible)- Returns:
- the time the participant joined the conversation
-
getLeavingTime
Date getLeavingTime()The (optional) time where the participant left the conversation (empty means they didn't left yet)- Returns:
- the time the participant left the conversation, or
null
if the participant is still part of it
-