|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<Scope>
com.acsinet_solutions.cetia4.controller.Scope
public enum Scope
Attribute scopes that represent the places where attributes may be stored.
RequestContext.setAttribute(Scope,String,Object),
RequestContext.getAttribute(Scope,String),
RequestContext.removeAttribute(Scope,String)| Enum Constant Summary | |
|---|---|
APPLICATION_SCOPE
Standard application scope |
|
COMPONENT_SCOPE
Special component scope that equals portlet session scope in portlet environments. |
|
PAGE_SCOPE
Standard page scope |
|
REQUEST_SCOPE
Standard request scope |
|
SESSION_SCOPE
Standard session scope |
|
| Method Summary | |
|---|---|
static Scope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Scope[] |
values()
Returns an array containing the constants of this enum type, in the order they're declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final Scope APPLICATION_SCOPE
public static final Scope SESSION_SCOPE
public static final Scope COMPONENT_SCOPE
Portlet implementations are still not provided in this version of the framework, because there are currently no portlet implementations for J2EE 1.4 / J2SE 5.0. Previous versions of the framework did provide that support, and it will be integrated also here when the porlet API evolves so it can be used in these versions ( Portlet 2.0 is currently in early stages of development ). In this implementation, real portlet scoped attributes are copied under request scope before calling view, so they can be called using standard EL and JSP facilities with no need to use portlet-specific tags and API.
public static final Scope REQUEST_SCOPE
public static final Scope PAGE_SCOPE
| Method Detail |
|---|
public static final Scope[] values()
for(Scope c : Scope.values())
System.out.println(c);
public static Scope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||