org.kuali.kfs.sys.document.workflow
Class DataDictionaryDocumentSearchCustomizer

java.lang.Object
  extended by org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer
      extended by org.kuali.kfs.sys.document.workflow.DataDictionaryDocumentSearchCustomizer
All Implemented Interfaces:
Serializable, org.kuali.rice.kew.docsearch.DocumentSearchGenerator, org.kuali.rice.kew.docsearch.DocumentSearchResultProcessor, org.kuali.rice.kew.docsearch.SearchableAttribute
Direct Known Subclasses:
PurchaseOrderWarningSearchGenerator

public class DataDictionaryDocumentSearchCustomizer
extends org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer
documentSearchGenerator, searchResultProcessor
 
Fields inherited from interface org.kuali.rice.kew.docsearch.SearchableAttribute
DATA_TYPE_DATE, DATA_TYPE_FLOAT, DATA_TYPE_LONG, DATA_TYPE_STRING, DEFAULT_RANGE_SEARCH_LOWER_BOUND_LABEL, DEFAULT_RANGE_SEARCH_UPPER_BOUND_LABEL, DEFAULT_SEARCHABLE_ATTRIBUTE_TYPE_NAME, RANGE_LOWER_BOUND_PROPERTY_PREFIX, RANGE_UPPER_BOUND_PROPERTY_PREFIX, SEARCH_WILDCARD_CHARACTER, SEARCH_WILDCARD_CHARACTER_REGEX_ESCAPED, SEARCHABLE_ATTRIBUTE_BASE_CLASS_LIST
 
Fields inherited from interface org.kuali.rice.kew.docsearch.DocumentSearchGenerator
DEFAULT_SEARCH_RESULT_CAP
 
Constructor Summary
DataDictionaryDocumentSearchCustomizer()
          Constructs a DataDictionaryDocumentSearchCustomizer.java.
 
Method Summary
 org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO clearSearch(org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO searchCriteria)
           
 String generateSearchSql(org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO searchCriteria)
           
protected  org.kuali.rice.kns.datadictionary.DocumentEntry getDocumentEntry(org.kuali.rice.kew.doctype.bo.DocumentType documentType)
          Retrieves the data dictionary entry for the document being operated on by the given route context
 String getSearchContent(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
           
 List<org.kuali.rice.kns.web.ui.Row> getSearchingRows(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
           
 List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> getSearchStorageValues(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
           
 List<org.kuali.rice.kew.rule.WorkflowAttributeValidationError> validateUserSearchInputs(Map<Object,Object> paramMap, org.kuali.rice.kew.docsearch.DocumentSearchContext searchContext)
           
 
Methods inherited from class org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer
getDocumentSearchGenerator, getDocumentSearchResultSetLimit, getMessageMap, getSearchableAttribute, getSearchResultProcessor, isProcessFinalResults, isProcessResultSet, performPreSearchConditions, processIntoFinalResults, processResultSet, processResultSet, setDocumentSearchGenerator, setProcessFinalResults, setProcessResultSet, setSearchableAttribute, setSearchableAttributes, setSearchingUser, setSearchResultProcessor, validateSearchableAttributes
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataDictionaryDocumentSearchCustomizer

public DataDictionaryDocumentSearchCustomizer()
Constructs a DataDictionaryDocumentSearchCustomizer.java.

Method Detail

getDocumentEntry

protected org.kuali.rice.kns.datadictionary.DocumentEntry getDocumentEntry(org.kuali.rice.kew.doctype.bo.DocumentType documentType)
Retrieves the data dictionary entry for the document being operated on by the given route context

Parameters:
context - the current route context
Returns:
the data dictionary document entry

generateSearchSql

public String generateSearchSql(org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO searchCriteria)
Specified by:
generateSearchSql in interface org.kuali.rice.kew.docsearch.DocumentSearchGenerator
Overrides:
generateSearchSql in class org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer

getSearchContent

public String getSearchContent(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
Specified by:
getSearchContent in interface org.kuali.rice.kew.docsearch.SearchableAttribute
Overrides:
getSearchContent in class org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer

getSearchingRows

public List<org.kuali.rice.kns.web.ui.Row> getSearchingRows(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
Specified by:
getSearchingRows in interface org.kuali.rice.kew.docsearch.SearchableAttribute
Overrides:
getSearchingRows in class org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer

getSearchStorageValues

public List<org.kuali.rice.kew.docsearch.SearchableAttributeValue> getSearchStorageValues(org.kuali.rice.kew.docsearch.DocumentSearchContext documentSearchContext)
Specified by:
getSearchStorageValues in interface org.kuali.rice.kew.docsearch.SearchableAttribute
Overrides:
getSearchStorageValues in class org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer

validateUserSearchInputs

public List<org.kuali.rice.kew.rule.WorkflowAttributeValidationError> validateUserSearchInputs(Map<Object,Object> paramMap,
                                                                                               org.kuali.rice.kew.docsearch.DocumentSearchContext searchContext)
Specified by:
validateUserSearchInputs in interface org.kuali.rice.kew.docsearch.SearchableAttribute
Overrides:
validateUserSearchInputs in class org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer

clearSearch

public org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO clearSearch(org.kuali.rice.kew.docsearch.DocSearchCriteriaDTO searchCriteria)
Specified by:
clearSearch in interface org.kuali.rice.kew.docsearch.DocumentSearchGenerator
Overrides:
clearSearch in class org.kuali.rice.kns.workflow.attribute.DataDictionaryDocumentSearchCustomizer


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