Package org.chenile.query.model
Class SearchResponse
java.lang.Object
org.chenile.query.model.SearchResponse
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate List<CannedReport>private Stringprivate Map<String,ColumnMetadata> private intprivate ResponseRowprivate intChanged from Collectionto Set because the array was adding the old values again while updating. private List<ResponseRow>private intprivate intprivate intprivate intprivate int -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintgetData()intgetList()intintintintintvoidsetAvailableCannedReports(List<CannedReport> cannedReportNames) voidsetCannedReportName(String cannedReportName) voidsetColumnMetadata(Map<String, ColumnMetadata> metadata) voidsetCurrentPage(int currentPage) voidsetData(ResponseRow data) voidsetEndRow(int endRow) voidsetHiddenColumns(Set<String> hiddenColumns) voidsetList(List<ResponseRow> list) voidsetMaxPages(int maxPages) voidsetMaxRows(int maxRows) voidsetNumRowsInPage(int numRows) voidsetNumRowsReturned(int numRowsReturned) voidsetStartRow(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
-