Package org.kuali.rice.krad.uif.field
Class AttributeQueryResult
java.lang.Object
org.kuali.rice.krad.uif.field.AttributeQueryResult
- All Implemented Interfaces:
Serializable,Cloneable,Copyable
Object that is returned for Ajax attribute queries and exposed
as JSON
- Author:
- Kuali Rice Team (rice.collab@kuali.org)
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()OverrideObject.clone()to assign the public modifier.Result of an attribute query that will be sent back to the clientReturns data for multiple fields as a Map where key is the field name and map value is the field valueMessage text that should display (if non empty) with the results.CSS Style classes that should be applied to the result message textvoidsetResultData(List<Object> resultData) Setter for the attribute query result datavoidsetResultFieldData(Map<String, String> resultFieldData) Setter for the map field datavoidsetResultMessage(String resultMessage) Setter for the result message textvoidsetResultMessageStyleClasses(String resultMessageStyleClasses) Setter for the CSS style classes to use for the return message
-
Constructor Details
-
AttributeQueryResult
public AttributeQueryResult()
-
-
Method Details
-
getResultMessage
Message text that should display (if non empty) with the results. Can be used to given messages such as data not found- Returns:
- text to display with results
-
setResultMessage
Setter for the result message text- Parameters:
resultMessage-
-
getResultMessageStyleClasses
CSS Style classes that should be applied to the result message text- Returns:
- CSS style classes
-
setResultMessageStyleClasses
Setter for the CSS style classes to use for the return message- Parameters:
resultMessageStyleClasses-
-
getResultFieldData
Returns data for multiple fields as a Map where key is the field name and map value is the field value- Returns:
- result field data
-
setResultFieldData
Setter for the map field data- Parameters:
resultFieldData-
-
getResultData
Result of an attribute query that will be sent back to the client- Returns:
- result data
-
setResultData
Setter for the attribute query result data- Parameters:
resultData-
-
clone
Description copied from interface:CopyableOverrideObject.clone()to assign the public modifier.- Specified by:
clonein interfaceCopyable- Overrides:
clonein classObject- Returns:
Object.clone()- Throws:
CloneNotSupportedException- IfCloneableis not implemented. This should not be possible when using this interface.- See Also:
-