aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--client/src/main/java/com/vaadin/client/communication/MessageHandler.java2
-rw-r--r--server/src/main/java/com/vaadin/data/provider/DataCommunicator.java22
-rw-r--r--server/src/main/java/com/vaadin/server/VaadinSession.java2
-rw-r--r--shared/src/main/java/com/vaadin/shared/ApplicationConstants.java5
-rw-r--r--testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java7
-rw-r--r--testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java7
6 files changed, 30 insertions, 15 deletions
diff --git a/client/src/main/java/com/vaadin/client/communication/MessageHandler.java b/client/src/main/java/com/vaadin/client/communication/MessageHandler.java
index 53af1b141a..6e13eb07eb 100644
--- a/client/src/main/java/com/vaadin/client/communication/MessageHandler.java
+++ b/client/src/main/java/com/vaadin/client/communication/MessageHandler.java
@@ -1702,7 +1702,7 @@ public class MessageHandler {
*
* @return the push connection identifier string
*
- * @since 8.1
+ * @since 8.0.6
*/
public String getPushId() {
return pushId;
diff --git a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java
index ffdd79f36e..ad95bfa592 100644
--- a/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java
+++ b/server/src/main/java/com/vaadin/data/provider/DataCommunicator.java
@@ -225,7 +225,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* Set the range of rows to push for next response.
*
* @param pushRows
- * @since 8.1
+ * @since 8.0.6
*/
protected void setPushRows(Range pushRows) {
this.pushRows = pushRows;
@@ -235,7 +235,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* Get the current range of rows to push in the next response.
*
* @return the range of rows to push
- * @since 8.1
+ * @since 8.0.6
*/
protected Range getPushRows() {
return pushRows;
@@ -245,7 +245,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* Get the object used for filtering in this data communicator.
*
* @return the filter object of this data communicator
- * @since 8.1
+ * @since 8.0.6
*/
protected Object getFilter() {
return filter;
@@ -255,7 +255,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* Get the client rpc interface for this data communicator.
*
* @return the client rpc interface for this data communicator
- * @since 8.1
+ * @since 8.0.6
*/
protected DataCommunicatorClientRpc getClientRpc() {
return rpc;
@@ -272,7 +272,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* the index of the first cached row
* @param cacheSize
* the number of cached rows
- * @since 8.1
+ * @since 8.0.6
*/
protected void onRequestRows(int firstRowIndex, int numberOfRows,
int firstCachedRowIndex, int cacheSize) {
@@ -285,7 +285,7 @@ public class DataCommunicator<T> extends AbstractExtension {
*
* @param keys
* the keys of the rows that have been dropped
- * @since 8.1
+ * @since 8.0.6
*/
protected void onDropRows(JsonArray keys) {
for (int i = 0; i < keys.length(); ++i) {
@@ -309,7 +309,7 @@ public class DataCommunicator<T> extends AbstractExtension {
*
* @param initial
* {@code true} if initial data load, {@code false} if not
- * @since 8.1
+ * @since 8.0.6
*/
protected void sendDataToClient(boolean initial) {
if (getDataProvider() == null) {
@@ -437,7 +437,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* Returns the active data handler.
*
* @return the active data handler
- * @since 8.1
+ * @since 8.0.6
*/
protected ActiveDataHandler getActiveDataHandler() {
return handler;
@@ -508,7 +508,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* Returns the currently set updated data.
*
* @return the set of data that should be updated on the next response
- * @since 8.1
+ * @since 8.0.6
*/
protected Set<T> getUpdatedData() {
return updatedData;
@@ -529,7 +529,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* Returns the {@link Comparator} to use with in-memory sorting.
*
* @return comparator used to sort data
- * @since 8.1
+ * @since 8.0.6
*/
public Comparator<T> getInMemorySorting() {
return inMemorySorting;
@@ -551,7 +551,7 @@ public class DataCommunicator<T> extends AbstractExtension {
* Returns the {@link QuerySortOrder} to use with backend sorting.
*
* @return list of sort order information to pass to a query
- * @since 8.1
+ * @since 8.0.6
*/
public List<QuerySortOrder> getBackEndSorting() {
return backEndSorting;
diff --git a/server/src/main/java/com/vaadin/server/VaadinSession.java b/server/src/main/java/com/vaadin/server/VaadinSession.java
index ac22e80601..c1995516de 100644
--- a/server/src/main/java/com/vaadin/server/VaadinSession.java
+++ b/server/src/main/java/com/vaadin/server/VaadinSession.java
@@ -1425,7 +1425,7 @@ public class VaadinSession implements HttpSessionBindingListener, Serializable {
*
* @return the push connection identifier string
*
- * @since 8.1
+ * @since 8.0.6
*/
public String getPushId() {
assert hasLock();
diff --git a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java
index 963353dcd8..bb6ec330f7 100644
--- a/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java
+++ b/shared/src/main/java/com/vaadin/shared/ApplicationConstants.java
@@ -64,6 +64,9 @@ public class ApplicationConstants implements Serializable {
public static final String UIDL_SECURITY_TOKEN_ID = "Vaadin-Security-Key";
+ /**
+ * @since 8.0.6
+ */
public static final String UIDL_PUSH_ID = "Vaadin-Push-ID";
@Deprecated
@@ -147,6 +150,8 @@ public class ApplicationConstants implements Serializable {
/**
* Name of the parameter used to transmit the push connection identifier.
+ *
+ * @since 8.0.6
*/
public static final String PUSH_ID_PARAMETER = "v-pushId";
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java
index 945678ac2d..5371d81273 100644
--- a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java
+++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java
@@ -444,6 +444,13 @@ public class GridElement extends AbstractComponentElement {
return getSubPart("#details[" + rowIndex + "]");
}
+ /**
+ * Toggles the column visibility. Column is identified by its hiding toggle
+ * caption.
+ *
+ * @param toggleCaption
+ * @since 8.0.6
+ */
public void toggleColumnHidden(String toggleCaption) {
if (!isElementPresent(By.className("v-grid-sidebar-content"))) {
// Open sidebar menu
diff --git a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java
index 4f3106356a..395f6d1af9 100644
--- a/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java
+++ b/testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java
@@ -25,7 +25,8 @@ public class GridLayoutElement extends AbstractLayoutElement {
/**
* Gets the total number of rows in the layout.
*
- * @return the number of rows in the layout,
+ * @return the number of rows in the layout
+ * @since 8.0.6
*/
public long getRowCount() {
Long res = (Long) getCommandExecutor()
@@ -40,7 +41,8 @@ public class GridLayoutElement extends AbstractLayoutElement {
/**
* Gets the total number of columns in the layout.
*
- * @return the number of columns in the layout,
+ * @return the number of columns in the layout
+ * @since 8.0.6
*/
public long getColumnCount() {
Long res = (Long) getCommandExecutor()
@@ -62,6 +64,7 @@ public class GridLayoutElement extends AbstractLayoutElement {
* @return the cell element at the given position
* @throws NoSuchElementException
* if no cell was found at the given position
+ * @since 8.0.6
*/
public WebElement getCell(int row, int column) {
WebElement res = (WebElement) getCommandExecutor().executeScript(