Add sort pagination by column

pull/47/head
Rushdi Mohamed 2 years ago
parent 790537773c
commit 04c7d5816f

@ -44,6 +44,8 @@ public class PaginationRequest {
private Map<String, Object> property = new HashMap<>();
private List<String> statusList = new ArrayList<>();
private OperationLogFilters operationLogFilters = new OperationLogFilters();
private List<String> sortColumnList = new ArrayList<>();
private List<String> sortTypeList = new ArrayList<>();
public OperationLogFilters getOperationLogFilters() {
return operationLogFilters;
}
@ -172,11 +174,20 @@ public class PaginationRequest {
this.filter = filter;
}
public List<String> getSortColumnList() { return sortColumnList; }
public void setSortColumnList(List<String> sortColumnList) { this.sortColumnList = sortColumnList; }
public List<String> getSortTypeList() { return sortTypeList; }
public void setSortTypeList(List<String> sortTypeList) { this.sortTypeList = sortTypeList; }
@Override
public String toString() {
return "Device type '" + this.deviceType + "' Device Name '" + this.deviceName + "' row count: " + this.rowCount
+ " Owner role '" + this.ownerRole + "' owner pattern '" + this.ownerPattern + "' ownership "
+ this.ownership + "' Status '" + this.statusList + "' owner '" + this.owner + "' groupId: " + this.groupId
+ " start index: " + this.startIndex;
+ " start index: " + this.startIndex + "' SortColumnList '" + this.sortColumnList + "' SortTypeList '"
+ this.sortTypeList;
}
}

Loading…
Cancel
Save