Package org.chenile.query.model
Class SearchResponse
java.lang.Object
org.chenile.query.model.SearchResponse
-
Field Summary
Modifier and TypeFieldDescriptionprivate List<CannedReport>
private String
private Map<String,
ColumnMetadata> private int
private ResponseRow
private int
Changed from Collectionto Set because the array was adding the old values again while updating. private List<ResponseRow>
private int
private int
private int
private int
private int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
getData()
int
getList()
int
int
int
int
int
void
setAvailableCannedReports
(List<CannedReport> cannedReportNames) void
setCannedReportName
(String cannedReportName) void
setColumnMetadata
(Map<String, ColumnMetadata> metadata) void
setCurrentPage
(int currentPage) void
setData
(ResponseRow data) void
setEndRow
(int endRow) void
setHiddenColumns
(Set<String> hiddenColumns) void
setList
(List<ResponseRow> list) void
setMaxPages
(int maxPages) void
setMaxRows
(int maxRows) void
setNumRowsInPage
(int numRows) void
setNumRowsReturned
(int numRowsReturned) void
setStartRow
(int startRow)
-
Field Details
-
numRowsReturned
private int numRowsReturned -
currentPage
private int currentPage -
maxPages
private int maxPages -
numRowsInPage
private int numRowsInPage -
startRow
private int startRow -
endRow
private int endRow -
data
-
list
-
columnMetadata
-
maxRows
private int maxRows -
cannedReportName
-
availableCannedReports
-
-
Constructor Details
-
SearchResponse
public SearchResponse()
-
-
Method Details
-
getCannedReportName
-
setCannedReportName
-
getAvailableCannedReports
-
setAvailableCannedReports
-
getHiddenColumns
-
setHiddenColumns
-
getNumRowsReturned
public int getNumRowsReturned()- Returns:
- the numRowsReturned
-
setNumRowsReturned
public void setNumRowsReturned(int numRowsReturned) - Parameters:
numRowsReturned
- the numRowsReturned to set
-
getCurrentPage
public int getCurrentPage()- Returns:
- the currentPage
-
setCurrentPage
public void setCurrentPage(int currentPage) - Parameters:
currentPage
- the currentPage to set
-
getMaxPages
public int getMaxPages()- Returns:
- the maxPages
-
setMaxPages
public void setMaxPages(int maxPages) - Parameters:
maxPages
- the maxPages to set
-
getNumRowsInPage
public int getNumRowsInPage()- Returns:
- the numRows
-
setNumRowsInPage
public void setNumRowsInPage(int numRows) - Parameters:
numRows
- the numRows to set
-
getStartRow
public int getStartRow()- Returns:
- the startRow
-
setStartRow
public void setStartRow(int startRow) - Parameters:
startRow
- the startRow to set
-
getEndRow
public int getEndRow()- Returns:
- the endRow
-
setEndRow
public void setEndRow(int endRow) - Parameters:
endRow
- the endRow to set
-
getList
- Returns:
- the list
-
setList
- Parameters:
list
- the list to set
-
getColumnMetadata
-
setColumnMetadata
-
setMaxRows
public void setMaxRows(int maxRows) -
getMaxRows
public int getMaxRows() -
getData
-
setData
-