com.github.dandelion.datatables.core.ajax
Class DatatablesResponse<T>
java.lang.Object
com.github.dandelion.datatables.core.ajax.DatatablesResponse<T>
public class DatatablesResponse<T>
- extends Object
Bean that wraps a 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.
- Since:
- 0.8.2
- Author:
- Thibault Duchateau
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
getAaData
public List<T> getAaData()
getiTotalRecords
public Long getiTotalRecords()
getiTotalDisplayRecords
public Long getiTotalDisplayRecords()
getsEcho
public Integer getsEcho()
build
public static <T> DatatablesResponse<T> build(DataSet<T> dataSet,
DatatablesCriterias criterias)
Copyright © 2013–2014 Dandelion Project. All rights reserved.