Uses of Class
com.vaadin.collaborationengine.TopicConnection

  • Uses of TopicConnection in com.vaadin.collaborationengine

    Modifier and Type
    Method
    Description
    CollaborationList.getConnection()
    Gets the topic connection which is used to propagate changes to this list.
    CollaborationMap.getConnection()
    Gets the topic connection which is used to propagate changes to this map.
    Methods in com.vaadin.collaborationengine with parameters of type TopicConnection
    Modifier and Type
    Method
    Description
    static void
    CollaborationBinderUtil.addEditor(TopicConnection topicConnection, String propertyName, UserInfo user)
    Deprecated, for removal: This API element is subject to removal in a future version.
    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)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Signals that the user is currently editing the field that is bound to the property.
    static void
    CollaborationBinderUtil.removeEditor(TopicConnection topicConnection, String propertyName, UserInfo user)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Signals that the user is not editing the field that is bound to the property.
    static void
    CollaborationBinderUtil.setFieldValue(TopicConnection topicConnection, String propertyName, Object value)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Sets the property value in the collaboration binders connected to the same topic, updating the fields which are bound to that property for all connected clients.
    Method parameters in com.vaadin.collaborationengine with type arguments of type TopicConnection
    Modifier and Type
    Method
    Description
    protected void
    AbstractCollaborationManager.openTopicConnection(ConnectionContext context, com.vaadin.flow.function.SerializableFunction<TopicConnection,com.vaadin.flow.shared.Registration> connectionActivationCallback)
    Opens a connection to the topic of this manager using the provided context and activation callback.
    CollaborationEngine.openTopicConnection(ConnectionContext context, String topicId, UserInfo localUser, com.vaadin.flow.function.SerializableFunction<TopicConnection,com.vaadin.flow.shared.Registration> connectionActivationCallback)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Opens a connection to the collaboration topic with the provided id based on a generic context definition.
    CollaborationEngine.openTopicConnection(com.vaadin.flow.component.Component component, String topicId, UserInfo localUser, com.vaadin.flow.function.SerializableFunction<TopicConnection,com.vaadin.flow.shared.Registration> connectionActivationCallback)
    Deprecated, for removal: This API element is subject to removal in a future version.
    Opens a connection to the collaboration topic with the provided id based on a component instance.