public class DatatablesResponse<T> extends Object
Wrapper object the response that must be sent back to Datatables to update the table when server-side processing is enabled.
Since Datatables only support JSON at the moment, this bean must be converted to JSON by the server.
Modifier and Type | Method and Description |
---|---|
static <T> DatatablesResponse<T> |
build(DataSet<T> dataSet,
DatatablesCriterias criterias) |
List<T> |
getData() |
Integer |
getDraw() |
Long |
getRecordsFiltered() |
Long |
getRecordsTotal() |
public Long getRecordsTotal()
public Long getRecordsFiltered()
public Integer getDraw()
public static <T> DatatablesResponse<T> build(DataSet<T> dataSet, DatatablesCriterias criterias)
Copyright © 2013–2015 Dandelion Project. All rights reserved.