Class DocumentSearchDAOJdbcImpl
java.lang.Object
org.kuali.rice.kew.docsearch.dao.impl.DocumentSearchDAOJdbcImpl
- All Implemented Interfaces:
DocumentSearchDAO
Spring JdbcTemplate implementation of DocumentSearchDAO
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindDocuments(DocumentSearchGenerator documentSearchGenerator, DocumentSearchCriteria criteria, boolean criteriaModified, List<RemotableAttributeField> searchFields) intintgetMaxResultCap(DocumentSearchCriteria criteria) Returns the maximum number of results that should be returned from the document search.voidsetDataSource(DataSource dataSource)
-
Field Details
-
LOG
public static final org.apache.logging.log4j.Logger LOG
-
-
Constructor Details
-
DocumentSearchDAOJdbcImpl
public DocumentSearchDAOJdbcImpl()
-
-
Method Details
-
setDataSource
-
findDocuments
public DocumentSearchResults.Builder findDocuments(DocumentSearchGenerator documentSearchGenerator, DocumentSearchCriteria criteria, boolean criteriaModified, List<RemotableAttributeField> searchFields) - Specified by:
findDocumentsin interfaceDocumentSearchDAO
-
getMaxResultCap
Returns the maximum number of results that should be returned from the document search.- Specified by:
getMaxResultCapin interfaceDocumentSearchDAO- 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
public int getFetchMoreIterationLimit()- Specified by:
getFetchMoreIterationLimitin interfaceDocumentSearchDAO
-