|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ow2.opensuit.core.session.PageContext
public abstract class PageContext
Holds the page context.
Field Summary | |
---|---|
protected java.lang.String |
pagePath
|
Constructor Summary | |
---|---|
PageContext(java.lang.String pagePath,
org.ow2.opensuit.xml.base.page.ctx.IPageContextDef contextDef,
PageContext parent)
|
Method Summary | |
---|---|
void |
addListener(IPageContextListener listener)
Registers a listener to this page context. |
protected abstract void |
doLoad(javax.servlet.http.HttpServletRequest request)
|
protected abstract void |
doQuit(javax.servlet.http.HttpServletRequest request)
|
java.lang.Object |
getAttribute(java.lang.String iName)
Retrieves an attribute attached to this page context. |
java.util.Set<java.lang.String> |
getAttributeNames()
Returns all attribute names. |
org.ow2.opensuit.xml.base.page.ctx.IPageContextDef |
getContextDefinition()
Returns the context definition of this page context. |
PageContext |
getParent()
|
void |
load(javax.servlet.http.HttpServletRequest request)
Loads this page context. |
void |
quit(javax.servlet.http.HttpServletRequest request)
Quits this page context. |
void |
removeAttribute(java.lang.String iName)
Removes the attribute with given name. |
void |
setAttribute(java.lang.String iName,
java.lang.Object iValue)
Sets an attribute attached to this page context. |
void |
setCurrent(javax.servlet.http.HttpServletRequest request)
Sets this page context as the current one in the open SUIT session. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.lang.String pagePath
Constructor Detail |
---|
public PageContext(java.lang.String pagePath, org.ow2.opensuit.xml.base.page.ctx.IPageContextDef contextDef, PageContext parent)
Method Detail |
---|
public PageContext getParent()
public java.lang.Object getAttribute(java.lang.String iName)
iName
- Attribute name.
public java.util.Set<java.lang.String> getAttributeNames()
public void removeAttribute(java.lang.String iName)
iName
- Attribute name to remove.public void setAttribute(java.lang.String iName, java.lang.Object iValue)
iName
- Attribute name.iValue
- Attribute value.public org.ow2.opensuit.xml.base.page.ctx.IPageContextDef getContextDefinition()
public void addListener(IPageContextListener listener)
listener
- public void setCurrent(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
request
-
java.lang.Exception
public void load(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
request
-
java.lang.Exception
public void quit(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
request
-
java.lang.Exception
protected abstract void doLoad(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
java.lang.Exception
protected abstract void doQuit(javax.servlet.http.HttpServletRequest request) throws java.lang.Exception
java.lang.Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |