br.com.arsmachina.tapestrycrud.grid
Class ControllerGridDataSource<T,K extends Serializable>
java.lang.Object
br.com.arsmachina.tapestrycrud.grid.PagedSearchGridDataSource<T>
br.com.arsmachina.tapestrycrud.grid.ControllerGridDataSource<T,K>
- Type Parameters:
T - the entity class related to this controller.K - the type of the field that represents the entity class' primary key.
- All Implemented Interfaces:
- GridDataSource
public class ControllerGridDataSource<T,K extends Serializable>
- extends PagedSearchGridDataSource<T>
GridDataSource implementation using a Controller instance, specifically its
ReadableController.findAll(int, int, SortCriterion[]) method.
- Author:
- Thiago H. de Paula Figueiredo
|
Constructor Summary |
ControllerGridDataSource(Class<T> clasz,
br.com.arsmachina.controller.ReadableController<T,K> controller)
Single construtctor of this class. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ControllerGridDataSource
public ControllerGridDataSource(Class<T> clasz,
br.com.arsmachina.controller.ReadableController<T,K> controller)
- Single construtctor of this class.
- Parameters:
controller - a Controller. It cannot be null.
Copyright © 2008-2009 Thiago H. de Paula Figueiredo. All Rights Reserved.