Exemplo n.º 1
0
 /**
  * Support for Public Render Parameters in Portal. In a Servlet environment, this will be the same
  * as the session.
  *
  * @param key The key for the parameter.
  * @param value The value of the parameter.
  * @since 1.0.0
  * @deprecated portal specific. user {@link #setSessionAttribute(String, Serializable)}
  */
 public void setRenderParameter(final String key, final Serializable value) {
   setSessionAttribute(key, value);
 }
Exemplo n.º 2
0
 /**
  * Note that this mock request just maps to the global session.
  *
  * @param key the session attribute key
  * @param value the value of the session attribute
  */
 public void setAppSessionAttribute(final String key, final Serializable value) {
   setSessionAttribute(key, value);
 }