From 6a99af6b099e14af41a21c58b3d88e4551c06430 Mon Sep 17 00:00:00 2001 From: Rushdi Date: Tue, 17 Jan 2023 09:14:21 +0530 Subject: [PATCH] Add pagination sort by column --- .../wso2/carbon/device/mgt/common/PaginationRequest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/PaginationRequest.java b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/PaginationRequest.java index 9e50c51fe1..4967d66e37 100644 --- a/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/PaginationRequest.java +++ b/components/device-mgt/org.wso2.carbon.device.mgt.common/src/main/java/org/wso2/carbon/device/mgt/common/PaginationRequest.java @@ -174,6 +174,14 @@ public class PaginationRequest { this.filter = filter; } + public List getSortColumnList() { return sortColumnList; } + + public void setSortColumnList(List sortColumnList) { this.sortColumnList = sortColumnList; } + + public List getSortTypeList() { return sortTypeList; } + + public void setSortTypeList(List sortTypeList) { this.sortTypeList = sortTypeList; } + @Override public String toString() { return "Device type '" + this.deviceType + "' Device Name '" + this.deviceName + "' row count: " + this.rowCount