Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.websody
Class FunctionResults  view FunctionResults download FunctionResults.java

java.lang.Object
  extended byorg.websody.FunctionResults

public class FunctionResults
extends java.lang.Object

Map of FunctionResults stored in the ServletRequest. If a portlet depends on another portlet on the same page it needs to access the other portlet's result. This can be done using this class.


Field Summary
static java.lang.String FUNCTION_RESULTS_ATTR
          The ServletRequest attribute key
private static org.apache.log4j.Category log
          The log4j category
private  java.util.Map map
          Map containing the result objects
 
Constructor Summary
FunctionResults()
           
 
Method Summary
static FunctionResults get(javax.servlet.http.HttpServletRequest request)
          Returns the instance associated with the request.
 java.lang.Object get(java.lang.String id)
          Returns the result object for an id
 void set(java.lang.String id, java.lang.Object result)
          Sets the result object for an id
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FUNCTION_RESULTS_ATTR

public static final java.lang.String FUNCTION_RESULTS_ATTR
The ServletRequest attribute key

See Also:
Constant Field Values

log

private static org.apache.log4j.Category log
The log4j category


map

private java.util.Map map
Map containing the result objects

Constructor Detail

FunctionResults

public FunctionResults()
Method Detail

get

public static FunctionResults get(javax.servlet.http.HttpServletRequest request)
Returns the instance associated with the request.


set

public void set(java.lang.String id,
                java.lang.Object result)
Sets the result object for an id


get

public java.lang.Object get(java.lang.String id)
Returns the result object for an id