org.dominokit.domino.ui.datatable.events.TableDataUpdatedEvent Maven / Gradle / Ivy
package org.dominokit.domino.ui.datatable.events;
import java.util.List;
public class TableDataUpdatedEvent implements TableEvent {
public static final String DATA_UPDATED = "table-data-updated";
private final List data;
private final int totalCount;
public TableDataUpdatedEvent(List data, int totalCount) {
this.data = data;
this.totalCount = totalCount;
}
@Override
public String getType() {
return DATA_UPDATED;
}
public List getData() {
return data;
}
public int getTotalCount() {
return totalCount;
}
}