fr.ifremer.wao.ui.data
Class BoatDataSource

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

public class BoatDataSource
extends AbstractMappedGridDataSource<java.lang.Integer,Boat>

BoatDataSource Created: 19 janv. 2010

Author:
fdesbois

Constructor Summary
BoatDataSource(BoatFilter filter, ServiceBoat service)
           
 
Method Summary
protected  int count()
           
protected  java.util.Map<java.lang.Integer,Boat> execute(int startIndex, int endIndex, org.apache.tapestry5.grid.SortConstraint orderBy)
           
 java.lang.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 java.util.Map<java.lang.Integer,Boat> execute(int startIndex,
                                                        int endIndex,
                                                        org.apache.tapestry5.grid.SortConstraint orderBy)
                                                 throws WaoException
Specified by:
execute in class AbstractMappedGridDataSource<java.lang.Integer,Boat>
Throws:
WaoException

count

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

getRowType

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


Copyright © 2009-2010 Ifremer. All Rights Reserved.