com.atlassian.crowd.embedded.hibernate2.batch
Class Hibernate2BatchFinder

java.lang.Object
  extended by com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder
      extended by com.atlassian.crowd.embedded.hibernate2.batch.Hibernate2BatchFinder
All Implemented Interfaces:
com.atlassian.crowd.util.persistence.hibernate.batch.BatchFinder

public class Hibernate2BatchFinder
extends com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder

Hibernate 2 implementation of the batch finder.


Constructor Summary
Hibernate2BatchFinder(net.sf.hibernate.SessionFactory sessionFactory)
           
 
Method Summary
protected  void afterFind()
           
protected  void beforeFind()
           
protected
<E> Collection<E>
processBatchFind(long directoryID, Collection<String> names, Class<E> persistentClass)
           
 
Methods inherited from class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder
find, setBatchSize
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Hibernate2BatchFinder

public Hibernate2BatchFinder(net.sf.hibernate.SessionFactory sessionFactory)
Method Detail

beforeFind

protected void beforeFind()
Overrides:
beforeFind in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder

afterFind

protected void afterFind()
Overrides:
afterFind in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder

processBatchFind

protected <E> Collection<E> processBatchFind(long directoryID,
                                             Collection<String> names,
                                             Class<E> persistentClass)
Specified by:
processBatchFind in class com.atlassian.crowd.util.persistence.hibernate.batch.AbstractBatchFinder


Copyright © 2003–2015 Atlassian. All rights reserved.