| hu.netmind.persistence.LazyListHooks
All known Subclasses: hu.netmind.persistence.ListImpl,
LazyListHooks | public interface LazyListHooks (Code) | | Implement this interface to plug in hooks into the LazyList.
author: Brautigam Robert version: CVS Revision: $Revision$ |
postSelect | boolean postSelect(Map session, List list, Limits limits)(Code) | | Called after selecting. Note: if the method should not modify
the result list size!
|
preIndexing | int preIndexing(Map session, int startIndex)(Code) | | Called before selecting the statement index to use.
|
preSelect | QueryStatement preSelect(Map session, QueryStatement stmt, List previousList, Limits limits, Limits pageLimits)(Code) | | Called before selecting the result set. Note: if method
modifies the statement, it should copy the statement first.
Parameters: stmt - The statement that is about to be executed. Parameters: previousList - The previous page of the whole list, thismay be null, which means the previous page is not known. Parameters: limits - The limits as determined by the automatic algorithm ofthe sub-page to be selected. Parameters: pageLimits - The limits of the page to be selected. |
|
|