Uses of Class
com.vaadin.collaborationengine.UserInfo
-
Uses of UserInfo in com.vaadin.collaborationengine
Subclasses of UserInfo in com.vaadin.collaborationengineMethods in com.vaadin.collaborationengine that return UserInfoModifier and TypeMethodDescriptionAbstractCollaborationManager.getLocalUser()
Gets the local user of this manager.
CollaborationMessage.getUser()
Gets the message author user-info.
HighlightHandler.HighlightContext.getUser()
Gets the user.
PresenceHandler.PresenceContext.getUser()
Gets the user.
TopicConnection.getUserInfo()
Gets the user who is related to this topic connection.
Methods in com.vaadin.collaborationengine with parameters of type UserInfoModifier and TypeMethodDescriptionstatic 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.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 to -1, or let Collaboration Engine provide one.
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.
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.
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) Deprecated, for removal: This API element is subject to removal in a future version.
void
CollaborationEngine.requestAccess
(UserInfo user, Consumer<AccessResponse> requestCallback) Deprecated, for removal: This API element is subject to removal in a future version.
this method is deprecated and now the callback always receives a response that resolves totrue
void
Sets the message author user-info.
Constructors in com.vaadin.collaborationengine with parameters of type UserInfoModifierConstructorDescriptionprotected
AbstractCollaborationManager
(UserInfo localUser, String topicId, CollaborationEngine collaborationEngine) Deprecated, for removal: This API element is subject to removal in a future version.
This constructor is not compatible with serializationprotected
AbstractCollaborationManager
(UserInfo localUser, String topicId, SerializableSupplier<CollaborationEngine> ceSupplier) 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 andtime
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.FormManager
(ConnectionContext context, UserInfo localUser, String topicId, CollaborationEngine collaborationEngine) Deprecated, for removal: This API element is subject to removal in a future version.
This constructor is not compatible with serializationFormManager
(ConnectionContext context, UserInfo localUser, String topicId, SerializableSupplier<CollaborationEngine> ceSupplier) Creates a new manager for the provided connection context.
FormManager
(Component component, UserInfo localUser, String topicId) Creates a new manager for the provided component.
MessageManager
(ConnectionContext context, UserInfo localUser, String topicId, CollaborationEngine collaborationEngine) Deprecated, for removal: This API element is subject to removal in a future version.
This constructor is not compatible with serializationMessageManager
(ConnectionContext context, UserInfo localUser, String topicId, CollaborationMessagePersister persister, CollaborationEngine collaborationEngine) Deprecated, for removal: This API element is subject to removal in a future version.
This constructor is not compatible with serializationMessageManager
(ConnectionContext context, UserInfo localUser, String topicId, CollaborationMessagePersister persister, SerializableSupplier<CollaborationEngine> ceSupplier) Creates a new persisting manager for the given connection context.
MessageManager
(ConnectionContext context, UserInfo localUser, String topicId, SerializableSupplier<CollaborationEngine> ceSupplier) Creates a new manager for the given connection context.
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.
PresenceManager
(ConnectionContext context, UserInfo localUser, String topicId, CollaborationEngine collaborationEngine) Deprecated, for removal: This API element is subject to removal in a future version.
This constructor is not compatible with serializationPresenceManager
(ConnectionContext context, UserInfo localUser, String topicId, SerializableSupplier<CollaborationEngine> ceSupplier) Creates a new manager for the provided connection context.
PresenceManager
(Component component, UserInfo localUser, String topicId) Creates a new manager for the provided component.
true