|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.esri.adf.web.data.results.ResultsUtil
public class ResultsUtil
The ResultsUtil has utility methods useful while working with WebResults.
| Method Summary | |
|---|---|
static ResultNode |
generateGroupTaskResultNodes(java.lang.String groupHeader,
java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.util.Map<java.lang.String,java.lang.String> actionMethodNames)
Generates a ResultNode for the group of results with the actual List of results as its
children nodes. |
static ResultNode |
generateGroupTaskResultNodes(java.lang.String groupHeader,
java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.util.Map<java.lang.String,java.lang.String> actionMethodNames,
java.lang.String onRemoveMethodName)
Generates a ResultNode for the group of results with the actual List of results as its
children nodes. |
static java.util.List<ResultNode> |
generateTaskResultNodesWithActionArray(java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.lang.String[] actionMethodNames)
Returns a List of ResultNodes for all the results included in the results
argument. |
static java.util.List<ResultNode> |
generateTaskResultNodesWithActionArray(java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.lang.String[] actionMethodNames,
java.lang.String onRemoveMethodName)
Returns a List of ResultNodes for all the results included in the results
argument. |
static java.util.List<ResultNode> |
generateTaskResultNodesWithActionMap(java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.util.Map<java.lang.String,java.lang.String> actionMethodNames)
Returns a List of ResultNodes for all the results included in the results
argument. |
static java.util.List<ResultNode> |
generateTaskResultNodesWithActionMap(java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.util.Map<java.lang.String,java.lang.String> actionMethodNames,
java.lang.String onRemoveMethodName)
Returns a List of ResultNodes for all the results included in the results
argument. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static ResultNode generateGroupTaskResultNodes(java.lang.String groupHeader,
java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.util.Map<java.lang.String,java.lang.String> actionMethodNames,
java.lang.String onRemoveMethodName)
Generates a ResultNode for the group of results with the actual List of results as its
children nodes.
groupHeader - the header for this List of resultsresults - the List of results for which the ResultNodes are to be generateddisplayNameMethodName - the name of the method which returns the display text for the resultdetailsMethodName - the name of the method which returns the result details as a java.util.Map
of name-value pairsactionMethodNames - a java.util.Map of <action display name>-<action method name>
pairsonRemoveMethodName - the name of the method to be called when the result is removed
ResultNode for the node representing this set of results
public static ResultNode generateGroupTaskResultNodes(java.lang.String groupHeader,
java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.util.Map<java.lang.String,java.lang.String> actionMethodNames)
Generates a ResultNode for the group of results with the actual List of results as its
children nodes.
groupHeader - the header for this List of resultsresults - the List of results for which the ResultNodes are to be generateddisplayNameMethodName - the name of the method which returns the display text for the resultdetailsMethodName - the name of the method which returns the result details as a java.util.Map
of name-value pairsactionMethodNames - a java.util.Map of <action display name>-<action method name>
pairs
ResultNode for the node representing this set of results
public static java.util.List<ResultNode> generateTaskResultNodesWithActionArray(java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.lang.String[] actionMethodNames)
Returns a List of ResultNodes for all the results included in the results
argument.
results - the List of results for which the ResultNodes are to be generateddisplayNameMethodName - the name of the method which returns the display text for the resultdetailsMethodName - the name of the method which returns the result details as a java.util.Map
of name-value pairsactionMethodNames - an array of names of methods for performing actions on the result
List of ResultNodes for all the results included in the results
argument
public static java.util.List<ResultNode> generateTaskResultNodesWithActionArray(java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.lang.String[] actionMethodNames,
java.lang.String onRemoveMethodName)
Returns a List of ResultNodes for all the results included in the results
argument.
results - the List of results for which the ResultNodes are to be generateddisplayNameMethodName - the name of the method which returns the display text for the resultdetailsMethodName - the name of the method which returns the result details as a java.util.Map
of name-value pairsactionMethodNames - an array of names of methods for performing actions on the resultonRemoveMethodName - the name of the method to be called when the result is removed
List of ResultNodes for all the results included in the results
argument
public static java.util.List<ResultNode> generateTaskResultNodesWithActionMap(java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.util.Map<java.lang.String,java.lang.String> actionMethodNames)
Returns a List of ResultNodes for all the results included in the results
argument.
results - the List of results for which the ResultNodes are to be generateddisplayNameMethodName - the name of the method which returns the display text for the resultdetailsMethodName - the name of the method which returns the result details as a java.util.Map
of name-value pairsactionMethodNames - a java.util.Map of <action display name>-<action method name>
pairs
List of ResultNodes for all the results included in the results
argument
public static java.util.List<ResultNode> generateTaskResultNodesWithActionMap(java.util.List<?> results,
java.lang.String displayNameMethodName,
java.lang.String detailsMethodName,
java.util.Map<java.lang.String,java.lang.String> actionMethodNames,
java.lang.String onRemoveMethodName)
Returns a List of ResultNodes for all the results included in the results
argument.
results - the List of results for which the ResultNodes are to be generateddisplayNameMethodName - the name of the method which returns the display text for the resultdetailsMethodName - the name of the method which returns the result details as a java.util.Map
of name-value pairsactionMethodNames - a java.util.Map of <action display name>-<action method name>
pairsonRemoveMethodName - the name of the method to be called when the result is removed
List of ResultNodes for all the results included in the results
argument
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||