org.kuali.rice.kew.docsearch
Interface DocumentSearchGenerator
- All Known Implementing Classes:
- DataDictionaryDocumentSearchCustomizer, StandardDocumentSearchGenerator
public interface DocumentSearchGenerator
TODO delyea - documentation
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
DEFAULT_SEARCH_RESULT_CAP
static final int DEFAULT_SEARCH_RESULT_CAP
- See Also:
- Constant Field Values
setSearchingUser
void setSearchingUser(String principalId)
performPreSearchConditions
List<WorkflowServiceError> performPreSearchConditions(String principalId,
DocSearchCriteriaDTO searchCriteria)
validateSearchableAttributes
List<WorkflowServiceError> validateSearchableAttributes(DocSearchCriteriaDTO searchCriteria)
generateSearchSql
String generateSearchSql(DocSearchCriteriaDTO searchCriteria)
processResultSet
List<DocSearchDTO> processResultSet(Statement searchAttributeStatement,
ResultSet resultSet,
DocSearchCriteriaDTO searchCriteria)
throws SQLException
- Deprecated. Removed as of version 0.9.3. Use
processResultSet(java.sql.Statement, java.sql.ResultSet, DocSearchCriteriaDTO, String)
- Throws:
SQLException
processResultSet
List<DocSearchDTO> processResultSet(Statement searchAttributeStatement,
ResultSet resultSet,
DocSearchCriteriaDTO searchCriteria,
String principalId)
throws SQLException
- This method processes search results in the given
resultSet
into DocSearchDTO
objects
- Parameters:
searchAttributeStatement
- - statement to use when fetching search attributesresultSet
- - resultSet containing data from document search main tablessearchCriteria
- - criteria used to perform the searchprincipalId
- - user who performed the search
- Returns:
- a list of DocSearchDTO objects (one for each route header id)
- Throws:
SQLException
clearSearch
DocSearchCriteriaDTO clearSearch(DocSearchCriteriaDTO searchCriteria)
getDocumentSearchResultSetLimit
int getDocumentSearchResultSetLimit()
isProcessResultSet
boolean isProcessResultSet()
- This method returns if processResultSet should be called.
- Returns:
setProcessResultSet
void setProcessResultSet(boolean isProcessResultSet)
getMessageMap
MessageMap getMessageMap(DocSearchCriteriaDTO searchCriteria)
Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.