fr.ifremer.wao.ui.data
Class BoatDataSource

java.lang.Object
  extended by fr.ifremer.wao.ui.data.AbstractMappedGridDataSource<Integer,Boat>
      extended by fr.ifremer.wao.ui.data.BoatDataSource
All Implemented Interfaces:
org.apache.tapestry5.grid.GridDataSource

public class BoatDataSource
extends AbstractMappedGridDataSource<Integer,Boat>

BoatDataSource Created: 19 janv. 2010

Author:
fdesbois

Constructor Summary
BoatDataSource(BoatFilter filter, ServiceBoat service)
           
 
Method Summary
protected  int count()
           
protected  Map<Integer,Boat> execute(int startIndex, int endIndex, org.apache.tapestry5.grid.SortConstraint orderBy)
           
 Class<?> getRowType()
           
 
Methods inherited from class fr.ifremer.wao.ui.data.AbstractMappedGridDataSource
contains, get, getAvailableRows, getRowValue, getSortConstraint, prepare, values
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BoatDataSource

public BoatDataSource(BoatFilter filter,
                      ServiceBoat service)
Method Detail

execute

protected Map<Integer,Boat> execute(int startIndex,
                                    int endIndex,
                                    org.apache.tapestry5.grid.SortConstraint orderBy)
                             throws WaoException
Specified by:
execute in class AbstractMappedGridDataSource<Integer,Boat>
Throws:
WaoException

count

protected int count()
             throws WaoException
Specified by:
count in class AbstractMappedGridDataSource<Integer,Boat>
Throws:
WaoException

getRowType

public Class<?> getRowType()
Specified by:
getRowType in interface org.apache.tapestry5.grid.GridDataSource
Specified by:
getRowType in class AbstractMappedGridDataSource<Integer,Boat>


Copyright © 2009-2011 Ifremer. All Rights Reserved.