Nuxeo ECM Projects 5.6-RC1

org.nuxeo.ecm.platform.ui.web.component
Class VariableManager

java.lang.Object
  extended by org.nuxeo.ecm.platform.ui.web.component.VariableManager

public class VariableManager
extends Object

Helper class with static methods to remove/add variables to the request during a component rendering.

Since:
5.5

Constructor Summary
VariableManager()
           
 
Method Summary
static void putVariableToRequestParam(String var, Object object)
           
static void removeVariableFromRequestParam(String var)
           
static void restoreRequestMapVarValue(String var, Object value)
          Restores the given value in the request map for the var name.
static Object saveRequestMapVarValue(String var)
          Returns the value exposed in request map for the var name.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VariableManager

public VariableManager()
Method Detail

saveRequestMapVarValue

public static final Object saveRequestMapVarValue(String var)
Returns the value exposed in request map for the var name.

This is useful for restoring this value in the request map.


restoreRequestMapVarValue

public static final void restoreRequestMapVarValue(String var,
                                                   Object value)
Restores the given value in the request map for the var name.


putVariableToRequestParam

public static final void putVariableToRequestParam(String var,
                                                   Object object)

removeVariableFromRequestParam

public static final void removeVariableFromRequestParam(String var)

Nuxeo ECM Projects 5.6-RC1

Copyright © 2012 Nuxeo SA. All Rights Reserved.