|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
oracle.stellent.wcm.common.servlet.ServletAttribute
public class ServletAttribute
Set an attribute on a given scope. Handles restoring previous value if already set.
| Constructor Summary | |
|---|---|
ServletAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name) |
|
ServletAttribute(javax.servlet.http.HttpServletRequest request, java.lang.String name, int scope) |
|
| Method Summary | |
|---|---|
java.lang.String |
getName() |
java.lang.Object |
getPreviousValue() |
javax.servlet.http.HttpServletRequest |
getRequest() |
int |
getScope() |
java.lang.Object |
getValue()Retrieve the attribute value stored at the given name and scope. |
void |
restorePreviousValue()Restore the previous value of the object at the current scope if a previous value existed. |
void |
setValue(java.lang.Object value)Set the value. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServletAttribute(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
public ServletAttribute(javax.servlet.http.HttpServletRequest request,
java.lang.String name,
int scope)
| Method Detail |
|---|
public javax.servlet.http.HttpServletRequest getRequest()
public java.lang.String getName()
public java.lang.Object getPreviousValue()
public int getScope()
public java.lang.Object getValue()
public void setValue(java.lang.Object value)
value - the value to set at the current scope.public void restorePreviousValue()
|
Oracle® WebCenter Content Site Studio for External Applications Java API Reference 11g Release 1 (11.1.1) E17273-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||