| Package | Description |
|---|---|
| com.vaadin.collaborationengine |
| Modifier and Type | Class and Description |
|---|---|
class |
SystemUserInfo
A
UserInfo for non-interaction thread. |
| Modifier and Type | Field and Description |
|---|---|
static com.fasterxml.jackson.core.type.TypeReference<List<UserInfo>> |
JsonUtil.LIST_USER_TYPE_REF |
| Modifier and Type | Method and Description |
|---|---|
UserInfo |
AbstractCollaborationManager.getLocalUser()
Gets the local user of this manager.
|
UserInfo |
PresenceHandler.PresenceContext.getUser()
Gets the user.
|
UserInfo |
CollaborationMessage.getUser()
Gets the message author user-info.
|
UserInfo |
TopicConnection.getUserInfo()
Gets the user who is related to this topic connection.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
CollaborationBinderUtil.addEditor(TopicConnection topicConnection,
String propertyName,
UserInfo user)
Signals that the user is currently editing the field that is bound to the
property.
|
static void |
CollaborationBinderUtil.addEditor(TopicConnection topicConnection,
String propertyName,
UserInfo user,
int fieldIndex)
Signals that the user is currently editing the field that is bound to the
property.
|
void |
CollaborationMessageList.MessageConfigurator.configureMessage(MessageListItem message,
UserInfo user)
Configures the provided message after the
CollaborationMessageList has generated it. |
AbstractStreamResource |
CollaborationAvatarGroup.ImageProvider.getImageResource(UserInfo user)
Gets a stream resource that provides the avatar image for the given
user.
|
int |
CollaborationEngine.getUserColorIndex(UserInfo userInfo)
Gets the color index of a user if different than -1, or let Collaboration
Engine provide one.
|
Registration |
NewUserHandler.handleNewUser(UserInfo user)
Deprecated.
Handles a user when it becomes present in a topic.
|
TopicConnectionRegistration |
CollaborationEngine.openTopicConnection(Component component,
String topicId,
UserInfo localUser,
SerializableFunction<TopicConnection,Registration> connectionActivationCallback)
Opens a connection to the collaboration topic with the provided id based
on a component instance.
|
TopicConnectionRegistration |
CollaborationEngine.openTopicConnection(ConnectionContext context,
String topicId,
UserInfo localUser,
SerializableFunction<TopicConnection,Registration> connectionActivationCallback)
Opens a connection to the collaboration topic with the provided id based
on a generic context definition.
|
static void |
CollaborationBinderUtil.removeEditor(TopicConnection topicConnection,
String propertyName,
UserInfo user)
Signals that the user is not editing the field that is bound to the
property.
|
void |
CollaborationEngine.requestAccess(ConnectionContext context,
UserInfo user,
Consumer<AccessResponse> requestCallback)
Requests access for a user to Collaboration Engine.
|
void |
CollaborationEngine.requestAccess(UserInfo user,
Consumer<AccessResponse> requestCallback)
Requests access for a user to Collaboration Engine.
|
void |
CollaborationMessage.setUser(UserInfo user)
Sets the message author user-info.
|
| Constructor and Description |
|---|
AbstractCollaborationManager(UserInfo localUser,
String topicId,
CollaborationEngine collaborationEngine)
Constructs a new manager instance.
|
CollaborationAvatarGroup(UserInfo localUser,
String topicId)
Creates a new collaboration avatar group component with the provided
local user and topic id.
|
CollaborationBinder(Class<BEAN> beanType,
UserInfo localUser)
Creates a new collaboration binder.
|
CollaborationMessage(UserInfo user,
String text,
Instant time)
Creates a new message with the specified
user as the message
author info, text as the message content and time as the
message timestamp. |
CollaborationMessageList(UserInfo localUser,
String topicId)
Creates a new collaboration message list component with the provided
topic id.
|
CollaborationMessageList(UserInfo localUser,
String topicId,
CollaborationMessagePersister persister)
Creates a new collaboration message list component with the provided
topic id and persister of
CollaborationMessage items from/to an
external source (e.g. |
MessageManager(Component component,
UserInfo localUser,
String topicId)
Creates a new manager for the given component.
|
MessageManager(Component component,
UserInfo localUser,
String topicId,
CollaborationMessagePersister persister)
Creates a new persisting manager for the given component.
|
MessageManager(ConnectionContext context,
UserInfo localUser,
String topicId,
CollaborationEngine collaborationEngine)
Creates a new manager for the given connection context.
|
MessageManager(ConnectionContext context,
UserInfo localUser,
String topicId,
CollaborationMessagePersister persister,
CollaborationEngine collaborationEngine)
Creates a new persisting manager for the given connection context.
|
PresenceManager(Component component,
UserInfo localUser,
String topicId)
Creates a new manager for the provided component.
|
PresenceManager(ConnectionContext context,
UserInfo localUser,
String topicId,
CollaborationEngine collaborationEngine)
Creates a new manager for the provided connection context.
|
Copyright © 2023. All rights reserved.