org.kuali.rice.kew.docsearch
Class DocumentSearchResult

java.lang.Object
  extended by org.kuali.rice.kew.docsearch.DocumentSearchResult
All Implemented Interfaces:
Serializable

public class DocumentSearchResult
extends Object
implements Serializable

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Field Summary
static String PROPERTY_NAME_DATE_CREATED
          Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_DATE_CREATED INSTEAD
static String PROPERTY_NAME_DOC_TYPE_LABEL
          Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_TYPE_LABEL INSTEAD
static String PROPERTY_NAME_DOCUMENT_TITLE
          Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_DOCUMENT_TITLE INSTEAD
static String PROPERTY_NAME_INITIATOR
          Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_INITIATOR INSTEAD
static String PROPERTY_NAME_ROUTE_HEADER_ID
          Deprecated. - USE KEWPropertyConstants#DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_HEADER_ID INSTEAD
static String PROPERTY_NAME_ROUTE_LOG
          Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_LOG INSTEAD
static String PROPERTY_NAME_ROUTE_STATUS_DESC
          Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_STATUS_DESC INSTEAD
static Set<String> PROPERTY_NAME_SET
          Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_SET INSTEAD
private  List<KeyValueSort> resultContainers
           
private static long serialVersionUID
           
 
Constructor Summary
DocumentSearchResult()
           
 
Method Summary
 void addResultContainer(KeyValueSort result)
           
 KeyValueSort getResultContainer(String key)
          Method for the JSP to use to pull in a search result by name instead of by index location which is unreliable
 List<KeyValueSort> getResultContainers()
           
 void setResultContainers(List<KeyValueSort> resultContainers)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values

PROPERTY_NAME_ROUTE_HEADER_ID

public static final String PROPERTY_NAME_ROUTE_HEADER_ID
Deprecated. - USE KEWPropertyConstants#DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_HEADER_ID INSTEAD
See Also:
Constant Field Values

PROPERTY_NAME_DOC_TYPE_LABEL

public static final String PROPERTY_NAME_DOC_TYPE_LABEL
Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_DOC_TYPE_LABEL INSTEAD
See Also:
Constant Field Values

PROPERTY_NAME_DOCUMENT_TITLE

public static final String PROPERTY_NAME_DOCUMENT_TITLE
Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_DOCUMENT_TITLE INSTEAD
See Also:
Constant Field Values

PROPERTY_NAME_ROUTE_STATUS_DESC

public static final String PROPERTY_NAME_ROUTE_STATUS_DESC
Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_STATUS_DESC INSTEAD
See Also:
Constant Field Values

PROPERTY_NAME_INITIATOR

public static final String PROPERTY_NAME_INITIATOR
Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_INITIATOR INSTEAD
See Also:
Constant Field Values

PROPERTY_NAME_DATE_CREATED

public static final String PROPERTY_NAME_DATE_CREATED
Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_DATE_CREATED INSTEAD
See Also:
Constant Field Values

PROPERTY_NAME_ROUTE_LOG

public static final String PROPERTY_NAME_ROUTE_LOG
Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_ROUTE_LOG INSTEAD
See Also:
Constant Field Values

PROPERTY_NAME_SET

public static final Set<String> PROPERTY_NAME_SET
Deprecated. - USE KEWPropertyConstants.DOC_SEARCH_RESULT_PROPERTY_NAME_SET INSTEAD

resultContainers

private List<KeyValueSort> resultContainers
Constructor Detail

DocumentSearchResult

public DocumentSearchResult()
Method Detail

getResultContainers

public List<KeyValueSort> getResultContainers()
Returns:
the resultContainers

setResultContainers

public void setResultContainers(List<KeyValueSort> resultContainers)
Parameters:
resultContainers - the resultContainers to set

addResultContainer

public void addResultContainer(KeyValueSort result)
Parameters:
result - - a KeyValueSort object to add to the list

getResultContainer

public KeyValueSort getResultContainer(String key)
Method for the JSP to use to pull in a search result by name instead of by index location which is unreliable

Parameters:
key - - Key of KeyLabelSort trying to be retrieved
Returns:
the matching KeyLabelSort in list of searchable attributes or an empty KeyLabelSort


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