org.shept.persistence.provider.hibernate
Class HibernateAssociationProvider

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.HibernateAssociationProvider
All Implemented Interfaces:
ScrollingListProvider

public class HibernateAssociationProvider
extends AbstractHibernateListProvider

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

Field Summary
 
Fields inherited from class org.shept.persistence.provider.AbstractScrollingListProvider
dao, eol, filterDefinition, loaded, loadSize, logger, sortDefinition
 
Constructor Summary
HibernateAssociationProvider()
           
 
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
 

Constructor Detail

HibernateAssociationProvider

public HibernateAssociationProvider()
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.