com.github.dandelion.datatables.core.ajax
Class DataSet<T>

java.lang.Object
  extended by com.github.dandelion.datatables.core.ajax.DataSet<T>

public final class DataSet<T>
extends Object

Wrapping bean that must be sent back to Datatables when server-side processing is enabled.

Since:
0.8.2
Author:
Thibault Duchateau

Constructor Summary
DataSet(List<T> rows, Long totalRecords, Long totalDisplayRecords)
           
 
Method Summary
 List<T> getRows()
           
 Long getTotalDisplayRecords()
           
 Long getTotalRecords()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSet

public DataSet(List<T> rows,
               Long totalRecords,
               Long totalDisplayRecords)
Method Detail

getRows

public List<T> getRows()

getTotalDisplayRecords

public Long getTotalDisplayRecords()

getTotalRecords

public Long getTotalRecords()


Copyright © 2013–2014 Dandelion Project. All rights reserved.