Browse Source

Add since tags for 8.0.6

tags/8.1.0.alpha7
Teemu Suo-Anttila 7 years ago
parent
commit
87e7887bc0

+ 1
- 1
client/src/main/java/com/vaadin/client/communication/MessageHandler.java View File

@@ -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;

+ 11
- 11
server/src/main/java/com/vaadin/data/provider/DataCommunicator.java View File

@@ -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;

+ 1
- 1
server/src/main/java/com/vaadin/server/VaadinSession.java View File

@@ -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();

+ 5
- 0
shared/src/main/java/com/vaadin/shared/ApplicationConstants.java View File

@@ -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";


+ 7
- 0
testbench-api/src/main/java/com/vaadin/testbench/elements/GridElement.java View File

@@ -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

+ 5
- 2
testbench-api/src/main/java/com/vaadin/testbench/elements/GridLayoutElement.java View File

@@ -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(

Loading…
Cancel
Save