remove date parameter form table

This commit is contained in:
Jörg Prante 2024-06-06 11:17:17 +02:00
parent 0dd8138237
commit 07b20d8188
2 changed files with 3 additions and 23 deletions

View file

@ -1,3 +1,3 @@
group = org.xbib
name = database
version = 2.0.3
version = 2.1.0

View file

@ -1,6 +1,5 @@
package org.xbib.jdbc.query;
import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
@ -15,10 +14,6 @@ public class Table extends ArrayList<List<Object>> implements List<List<Object>>
private String search;
private LocalDateTime from;
private LocalDateTime to;
private Integer offset;
private Integer size;
@ -29,11 +24,12 @@ public class Table extends ArrayList<List<Object>> implements List<List<Object>>
private String groupByClause;
private final List<Map.Entry<String, Boolean>> sort = new ArrayList<>();
private final List<Map.Entry<String, Boolean>> sort;
private long total;
public Table() {
this.sort = new ArrayList<>();
}
public void setStatement(String statement) {
@ -60,22 +56,6 @@ public class Table extends ArrayList<List<Object>> implements List<List<Object>>
return search;
}
public void setFromDate(LocalDateTime from) {
this.from = from;
}
public LocalDateTime getFromDate() {
return from;
}
public void setToDate(LocalDateTime to) {
this.to = to;
}
public LocalDateTime getToDate() {
return to;
}
public void setOffset(Integer offset) {
this.offset = offset;
}