fr.ifremer.wao.ui.data
Class SampleRowDataSource

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

public class SampleRowDataSource
extends AbstractMappedGridDataSource<String,SampleRow>


Field Summary
protected  SamplingFilter filter
           
protected  ServiceSampling serviceSampling
           
 
Constructor Summary
SampleRowDataSource(SamplingFilter filter, ServiceSampling serviceSampling)
           
 
Method Summary
protected  int count()
           
protected  Map<String,SampleRow> 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
 

Field Detail

filter

protected SamplingFilter filter

serviceSampling

protected ServiceSampling serviceSampling
Constructor Detail

SampleRowDataSource

public SampleRowDataSource(SamplingFilter filter,
                           ServiceSampling serviceSampling)
Method Detail

execute

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

count

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

getRowType

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


Copyright © 2009-2011 Ifremer. All Rights Reserved.