org.kuali.rice.krad.uif.field
Class AttributeQueryResult

java.lang.Object
  extended by org.kuali.rice.krad.uif.field.AttributeQueryResult
All Implemented Interfaces:
Serializable

public class AttributeQueryResult
extends Object
implements Serializable

Object that is returned for Ajax attribute queries and exposed as JSON

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

Constructor Summary
AttributeQueryResult()
           
 
Method Summary
 List<Object> getResultData()
          Result of an attribute query that will be sent back to the client
 Map<String,String> getResultFieldData()
          Returns data for multiple fields as a Map where key is the field name and map value is the field value
 String getResultMessage()
          Message text that should display (if non empty) with the results.
 String getResultMessageStyleClasses()
          CSS Style classes that should be applied to the result message text
 void setResultData(List<Object> resultData)
          Setter for the attribute query result data
 void setResultFieldData(Map<String,String> resultFieldData)
          Setter for the map field data
 void setResultMessage(String resultMessage)
          Setter for the result message text
 void setResultMessageStyleClasses(String resultMessageStyleClasses)
          Setter for the CSS style classes to use for the return message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeQueryResult

public AttributeQueryResult()
Method Detail

getResultMessage

public String getResultMessage()
Message text that should display (if non empty) with the results. Can be used to given messages such as data not found

Returns:
String text to display with results

setResultMessage

public void setResultMessage(String resultMessage)
Setter for the result message text

Parameters:
resultMessage -

getResultMessageStyleClasses

public String getResultMessageStyleClasses()
CSS Style classes that should be applied to the result message text

Returns:
String of CSS style classes

setResultMessageStyleClasses

public void setResultMessageStyleClasses(String resultMessageStyleClasses)
Setter for the CSS style classes to use for the return message

Parameters:
resultMessageStyleClasses -

getResultFieldData

public Map<String,String> getResultFieldData()
Returns data for multiple fields as a Map where key is the field name and map value is the field value

Returns:
Map result field data

setResultFieldData

public void setResultFieldData(Map<String,String> resultFieldData)
Setter for the map field data

Parameters:
resultFieldData -

getResultData

public List<Object> getResultData()
Result of an attribute query that will be sent back to the client

Returns:
List result data

setResultData

public void setResultData(List<Object> resultData)
Setter for the attribute query result data

Parameters:
resultData -


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