public class DatatableRequest extends Object
HttpServletRequest
with parseRequest(HttpServletRequest)
.Constructor and Description |
---|
DatatableRequest() |
Modifier and Type | Method and Description |
---|---|
Boolean |
getbRegex()
True if the global filter should be treated as a regular expression for advanced filtering,
false if not.
|
Boolean[] |
getbRegexCol()
True if the individual column filter should be treated as a regular expression for advanced
filtering, false if not.
|
Boolean[] |
getbSearchableCol()
Indicator for if a column is flagged as searchable or not on the client-side.
|
Boolean[] |
getbSortableCol()
Indicator for if a column is flagged as sortable or not on the client-side.
|
Integer |
getiColumns()
Number of columns being displayed (useful for getting individual column search info).
|
Integer |
getiDisplayLength()
Number of records that the table can display in the current draw.
|
Integer |
getiDisplayStart()
Display start point in the current data set.
|
Integer[] |
getiSortCol()
Column being sorted on (you will need to decode this number for your database).
|
Integer |
getiSortingCols()
Number of columns to sort on.
|
String[] |
getmDataPropCol()
The value specified by mDataProp for each column.
|
Integer |
getsEcho()
Information for DataTables to use for rendering.
|
String |
getsSearch()
Global search field.
|
String[] |
getsSearchCol()
Individual column filter.
|
String[] |
getsSortDirCol()
Direction to be sorted - "desc" or "asc".
|
static DatatableRequest |
parseRequest(javax.servlet.http.HttpServletRequest request)
Creates
DatatableRequest from parameters found in the given request. |
void |
setbRegex(Boolean bRegex) |
void |
setbRegexCol(Boolean[] bRegexCol) |
void |
setbSearchableCol(Boolean[] bSearchableCol) |
void |
setbSortableCol(Boolean[] bSortableCol) |
void |
setiColumns(Integer iColumns) |
void |
setiDisplayLength(Integer iDisplayLength) |
void |
setiDisplayStart(Integer iDisplayStart) |
void |
setiSortCol(Integer[] iSortCol) |
void |
setiSortingCols(Integer iSortingCols) |
void |
setmDataPropCol(String[] mDataPropCol) |
void |
setsEcho(Integer sEcho) |
void |
setsSearch(String sSearch) |
void |
setsSearchCol(String[] sSearchCol) |
void |
setsSortDirCol(String[] sSortDirCol) |
public Integer getiDisplayStart()
public void setiDisplayStart(Integer iDisplayStart)
iDisplayStart
- the iDisplayStart to setgetiDisplayStart()
public Integer getiDisplayLength()
public void setiDisplayLength(Integer iDisplayLength)
iDisplayLength
- the iDisplayLength to setgetiDisplayLength()
public Integer getiColumns()
public void setiColumns(Integer iColumns)
iColumns
- the iColumns to setgetiColumns()
public String getsSearch()
public void setsSearch(String sSearch)
sSearch
- the sSearch to setgetsSearch()
public Boolean getbRegex()
public void setbRegex(Boolean bRegex)
bRegex
- the bRegex to setgetbRegex()
public Boolean[] getbSearchableCol()
public void setbSearchableCol(Boolean[] bSearchableCol)
bSearchableCol
- the bSearchable to setgetbSearchableCol()
public String[] getsSearchCol()
public void setsSearchCol(String[] sSearchCol)
sSearchCol
- the sSearchColumn to setgetsSearchCol()
public Boolean[] getbRegexCol()
public void setbRegexCol(Boolean[] bRegexCol)
bRegexCol
- the bRegexColumn to setgetbRegexCol()
public Boolean[] getbSortableCol()
public void setbSortableCol(Boolean[] bSortableCol)
bSortableCol
- the bSortable to setgetbSortableCol()
public Integer getiSortingCols()
public void setiSortingCols(Integer iSortingCols)
iSortingCols
- the iSortingCols to setgetiSortingCols()
public Integer[] getiSortCol()
public void setiSortCol(Integer[] iSortCol)
iSortCol
- the iSortCol to setgetiSortCol()
public String[] getsSortDirCol()
public void setsSortDirCol(String[] sSortDirCol)
sSortDirCol
- the sSortDir to setgetsSortDirCol()
public String[] getmDataPropCol()
public void setmDataPropCol(String[] mDataPropCol)
mDataPropCol
- the mDataProp to setgetmDataPropCol()
public Integer getsEcho()
public void setsEcho(Integer sEcho)
sEcho
- the sEcho to setgetsEcho()
public static DatatableRequest parseRequest(javax.servlet.http.HttpServletRequest request)
DatatableRequest
from parameters found in the given request.request
- DatatableRequest
Copyright © 2015 OpenMRS Inc.. All rights reserved.