com.liferay.faces.bridge.scope
Enum BridgeRequestScope.Transport

java.lang.Object
  extended by java.lang.Enum<BridgeRequestScope.Transport>
      extended by com.liferay.faces.bridge.scope.BridgeRequestScope.Transport
All Implemented Interfaces:
Serializable, Comparable<BridgeRequestScope.Transport>
Enclosing interface:
BridgeRequestScope

public static enum BridgeRequestScope.Transport
extends Enum<BridgeRequestScope.Transport>

Author:
Neil Griffin

Enum Constant Summary
PORTLET_SESSION_ATTRIBUTE
          Indicates that the bridge request scope should be carried from the ACTION_PHASE/EVENT_PHASE into the RENDER_PHASE by setting a portlet session attribute.
RENDER_PARAMETER
          Indicates that the bridge request scope should be carried from the ACTION_PHASE/EVENT_PHASE into the RENDER_PHASE by setting a render parameter.
 
Method Summary
static BridgeRequestScope.Transport valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BridgeRequestScope.Transport[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

RENDER_PARAMETER

public static final BridgeRequestScope.Transport RENDER_PARAMETER
Indicates that the bridge request scope should be carried from the ACTION_PHASE/EVENT_PHASE into the RENDER_PHASE by setting a render parameter.


PORTLET_SESSION_ATTRIBUTE

public static final BridgeRequestScope.Transport PORTLET_SESSION_ATTRIBUTE
Indicates that the bridge request scope should be carried from the ACTION_PHASE/EVENT_PHASE into the RENDER_PHASE by setting a portlet session attribute.

Method Detail

values

public static BridgeRequestScope.Transport[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (BridgeRequestScope.Transport c : BridgeRequestScope.Transport.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static BridgeRequestScope.Transport valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2014 Liferay, Inc.. All Rights Reserved.