org.kuali.rice.kew.docsearch.dao.impl
Class DocumentSearchDAOJdbcImpl

java.lang.Object
  extended by org.kuali.rice.kew.docsearch.dao.impl.DocumentSearchDAOJdbcImpl
All Implemented Interfaces:
DocumentSearchDAO

public class DocumentSearchDAOJdbcImpl
extends Object
implements DocumentSearchDAO

Spring JdbcTemplate implementation of DocumentSearchDAO

Author:
Kuali Rice Team (rice.collab@kuali.org)

Field Summary
static org.apache.log4j.Logger LOG
           
 
Constructor Summary
DocumentSearchDAOJdbcImpl()
           
 
Method Summary
 DocumentSearchResults.Builder findDocuments(DocumentSearchGenerator documentSearchGenerator, DocumentSearchCriteria criteria, boolean criteriaModified, List<RemotableAttributeField> searchFields)
           
protected  int getFetchMoreIterationLimit()
           
protected  int getMaxResultCap(DocumentSearchCriteria criteria)
          Returns the maximum number of results that should be returned from the document search.
 void setDataSource(DataSource dataSource)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG
Constructor Detail

DocumentSearchDAOJdbcImpl

public DocumentSearchDAOJdbcImpl()
Method Detail

setDataSource

public void setDataSource(DataSource dataSource)

findDocuments

public DocumentSearchResults.Builder findDocuments(DocumentSearchGenerator documentSearchGenerator,
                                                   DocumentSearchCriteria criteria,
                                                   boolean criteriaModified,
                                                   List<RemotableAttributeField> searchFields)
Specified by:
findDocuments in interface DocumentSearchDAO

getMaxResultCap

protected int getMaxResultCap(DocumentSearchCriteria criteria)
Returns the maximum number of results that should be returned from the document search.

Parameters:
criteria - the criteria in which to check for a max results value
Returns:
the maximum number of results that should be returned from a document search

getFetchMoreIterationLimit

protected int getFetchMoreIterationLimit()


Copyright © 2005-2012 The Kuali Foundation. All Rights Reserved.