org.kuali.rice.kew.docsearch
Class DocumentSearchInternalUtils
java.lang.Object
org.kuali.rice.kew.docsearch.DocumentSearchInternalUtils
public class DocumentSearchInternalUtils
- extends Object
Defines various utilities for internal use in the reference implementation of the document search functionality.
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SEARCHABLE_ATTRIBUTE_BASE_CLASS_LIST
public static final List<Class<? extends SearchableAttributeValue>> SEARCHABLE_ATTRIBUTE_BASE_CLASS_LIST
DocumentSearchInternalUtils
public DocumentSearchInternalUtils()
isLookupCaseSensitive
public static boolean isLookupCaseSensitive(RemotableAttributeField remotableAttributeField)
getAttributeTableName
public static String getAttributeTableName(RemotableAttributeField attributeField)
getDataTypeClass
public static Class<?> getDataTypeClass(RemotableAttributeField attributeField)
getSearchableAttributeValueObjectTypes
public static List<SearchableAttributeValue> getSearchableAttributeValueObjectTypes()
getSearchableAttributeValueByDataTypeString
public static SearchableAttributeValue getSearchableAttributeValueByDataTypeString(String dataType)
getDisplayValueWithDateOnly
public static String getDisplayValueWithDateOnly(org.joda.time.DateTime value)
getDisplayValueWithDateOnly
public static String getDisplayValueWithDateOnly(Timestamp value)
getLowerDateTimeBound
public static org.joda.time.DateTime getLowerDateTimeBound(String dateRange)
throws ParseException
- Throws:
ParseException
getUpperDateTimeBound
public static org.joda.time.DateTime getUpperDateTimeBound(String dateRange)
throws ParseException
- Throws:
ParseException
parseRange
public static Range parseRange(String rangeString)
unmarshalDocumentSearchCriteria
public static DocumentSearchCriteria unmarshalDocumentSearchCriteria(String string)
throws IOException
- Unmarshals a DocumentSearchCriteria from JSON string
- Parameters:
string
- the JSON
- Returns:
- unmarshalled DocumentSearchCriteria
- Throws:
IOException
marshalDocumentSearchCriteria
public static String marshalDocumentSearchCriteria(DocumentSearchCriteria criteria)
throws IOException
- Marshals a DocumentSearchCriteria to JSON string
- Parameters:
criteria
- the criteria
- Returns:
- a JSON string
- Throws:
IOException
Copyright © 2005-2011 The Kuali Foundation. All Rights Reserved.