org.kuali.rice.kew.docsearch
Class DocumentLookupCriteriaBuilder

java.lang.Object
  extended by org.kuali.rice.kew.docsearch.DocumentLookupCriteriaBuilder

public class DocumentLookupCriteriaBuilder
extends Object

Helper class Used for building a Document Search criteria for the lookup

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

Constructor Summary
DocumentLookupCriteriaBuilder()
           
 
Method Summary
static void addSearchableAttributesToCriteria(DocSearchCriteriaDTO criteria, Map<String,String[]> propertyFields)
          TODO: Chris, Should be reevaluated in whole after released for KFS This method ...
private static String getValidDocumentTypeName(String docTypeName)
           
static DocSearchCriteriaDTO populateCriteria(Map<String,String[]> fieldsForLookup)
          This method populates the criteria given a map of fields from the lookup
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentLookupCriteriaBuilder

public DocumentLookupCriteriaBuilder()
Method Detail

populateCriteria

public static DocSearchCriteriaDTO populateCriteria(Map<String,String[]> fieldsForLookup)
This method populates the criteria given a map of fields from the lookup

Parameters:
fieldsForLookup - map of fields
Returns:
constructed criteria

addSearchableAttributesToCriteria

public static void addSearchableAttributesToCriteria(DocSearchCriteriaDTO criteria,
                                                     Map<String,String[]> propertyFields)
TODO: Chris, Should be reevaluated in whole after released for KFS This method ...

Parameters:
criteria -
propertyFields -

getValidDocumentTypeName

private static String getValidDocumentTypeName(String docTypeName)


Copyright © 2004-2011 The Kuali Foundation. All Rights Reserved.