com.liferay.portal.dao.orm.hibernate
Class ScrollableResultsImpl

java.lang.Object
  extended by com.liferay.portal.dao.orm.hibernate.ScrollableResultsImpl
All Implemented Interfaces:
com.liferay.portal.kernel.dao.orm.ScrollableResults

public class ScrollableResultsImpl
extends java.lang.Object
implements com.liferay.portal.kernel.dao.orm.ScrollableResults

View Source

Author:
Brian Wing Shun Chan

Constructor Summary
ScrollableResultsImpl(org.hibernate.ScrollableResults scrollableResults)
           
 
Method Summary
 boolean first()
           
 java.lang.Object get(int i)
           
 boolean last()
           
 boolean next()
           
 boolean previous()
           
 boolean scroll(int i)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ScrollableResultsImpl

public ScrollableResultsImpl(org.hibernate.ScrollableResults scrollableResults)
Method Detail

first

public boolean first()
              throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
first in interface com.liferay.portal.kernel.dao.orm.ScrollableResults
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

get

public java.lang.Object get(int i)
                     throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
get in interface com.liferay.portal.kernel.dao.orm.ScrollableResults
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

last

public boolean last()
             throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
last in interface com.liferay.portal.kernel.dao.orm.ScrollableResults
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

next

public boolean next()
             throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
next in interface com.liferay.portal.kernel.dao.orm.ScrollableResults
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

previous

public boolean previous()
                 throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
previous in interface com.liferay.portal.kernel.dao.orm.ScrollableResults
Throws:
com.liferay.portal.kernel.dao.orm.ORMException

scroll

public boolean scroll(int i)
               throws com.liferay.portal.kernel.dao.orm.ORMException
Specified by:
scroll in interface com.liferay.portal.kernel.dao.orm.ScrollableResults
Throws:
com.liferay.portal.kernel.dao.orm.ORMException