2 * Copyright 2000-2018 Vaadin Ltd.
4 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
5 * use this file except in compliance with the License. You may obtain a copy of
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
12 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
13 * License for the specific language governing permissions and limitations under
16 package com.vaadin.v7.shared.ui.grid.selection;
18 import java.util.List;
20 import com.vaadin.shared.communication.ServerRpc;
23 * ServerRpc for MultiSelectionModel.
28 public interface MultiSelectionModelServerRpc extends ServerRpc {
31 * Select a list of rows based on their row keys on the server-side.
34 * list of row keys to select
36 public void select(List<String> rowKeys);
39 * Deselect a list of rows based on their row keys on the server-side.
42 * list of row keys to deselect
44 public void deselect(List<String> rowKeys);
47 * Selects all rows on the server-side.
49 public void selectAll();
52 * Deselects all rows on the server-side.
54 public void deselectAll();