org.shept.persistence.provider.hibernate
Class HibernateExampleListProviderImpl

java.lang.Object
  extended by org.shept.persistence.provider.AbstractScrollingListProvider
      extended by org.shept.persistence.provider.hibernate.AbstractHibernateListProvider
          extended by org.shept.persistence.provider.hibernate.HibernateExampleListProviderImpl
All Implemented Interfaces:
ScrollingListProvider

public class HibernateExampleListProviderImpl
extends AbstractHibernateListProvider

Version:
$$Id: HibernateExampleListProviderImpl.java 34 2010-08-20 16:46:49Z aha $$
Author:
Andi

Field Summary
private  Object example
           
private  org.springframework.beans.support.SortDefinition sortDef
           
 
Fields inherited from class org.shept.persistence.provider.AbstractScrollingListProvider
dao, eol, filterDefinition, loaded, loadSize, logger, sortDefinition
 
Constructor Summary
HibernateExampleListProviderImpl()
           
 
Method Summary
 List<?> loadListFirst()
          Read the first chunk of elements from the underlying datasource.
 List<?> loadListNext()
          Read a subsequent portion of elements from the underlying datasource
 
Methods inherited from class org.shept.persistence.provider.hibernate.AbstractHibernateListProvider
getHibernateTemplate
 
Methods inherited from class org.shept.persistence.provider.AbstractScrollingListProvider
getDao, getFilterDefinition, getLoadSize, getSortDefinition, incrementLoadSizeAfterFetch, isEol, setDao, setFilterDefinition, setLoadSize, setSortDefinition
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

example

private Object example

sortDef

private org.springframework.beans.support.SortDefinition sortDef
Constructor Detail

HibernateExampleListProviderImpl

public HibernateExampleListProviderImpl()
Method Detail

loadListFirst

public List<?> loadListFirst()
Description copied from interface: ScrollingListProvider
Read the first chunk of elements from the underlying datasource.

Specified by:
loadListFirst in interface ScrollingListProvider
Specified by:
loadListFirst in class AbstractScrollingListProvider
Returns:
the resulting list of elements

loadListNext

public List<?> loadListNext()
Description copied from interface: ScrollingListProvider
Read a subsequent portion of elements from the underlying datasource

Specified by:
loadListNext in interface ScrollingListProvider
Specified by:
loadListNext in class AbstractScrollingListProvider
Returns:
the resulting list of elements


Copyright © 2011. All Rights Reserved.