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 Type Method Description java.lang.String
getConversationId()
The id of the conversation that this participant is part ofjava.util.Date
getCreationTime()
Timestamp whenever the entry was created (has no impact on permissions, just for auditing)java.lang.String
getGroupId()
The id of the group participating in the conversationjava.lang.String
getId()
The id of the registry entryjava.util.Date
getJoiningTime()
The time where the participant joined the conversation (might be even in the past, if past messages should become visible)java.util.Date
getLeavingTime()
The (optional) time where the participant left the conversation (empty means they didn't left yet)java.lang.String
getParticipantType()
The type of the participant (e.g.java.util.Date
getUpdateTime()
Timestamp of when this entry was changed the last time (has no impact on permissions, just for auditing)java.lang.String
getUserId()
The id of the user participating in the conversation
-
Method Details
-
getId
java.lang.String getId()The id of the registry entry- Returns:
- the id
-
getConversationId
java.lang.String getConversationId()The id of the conversation that this participant is part of- Returns:
- the converastion id
-
getUserId
java.lang.String getUserId()The id of the user participating in the conversation- Returns:
- the participating user id
-
getGroupId
java.lang.String getGroupId()The id of the group participating in the conversation- Returns:
- the participating group id
-
getParticipantType
java.lang.String getParticipantType()The type of the participant (e.g. owner, candidate user, assignee, etc)- Returns:
- the type of the participant
-
getCreationTime
java.util.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
java.util.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
java.util.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
java.util.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
-