|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.moremotion.adom.ADOMManager
public class ADOMManager
Constructor Summary | |
---|---|
ADOMManager()
|
Method Summary | |
---|---|
static ADOM |
getApplicationADOM(javax.servlet.ServletContext context,
java.lang.String name)
Finds the ADOM saved in the servlet context by the given name and returns it. |
static ADOM |
getRequestADOM(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Finds the ADOM saved in the request by the given name and returns it. |
static ADOM |
getSessionADOM(javax.servlet.http.HttpSession session,
java.lang.String name)
Finds the ADOM saved in the session by the given name and returns it. |
static ADOM |
newApplicationADOM(javax.servlet.ServletContext context,
java.lang.String name)
Creates a new Application ADOM and saves it in the servlet context. |
static ADOM |
newRequestADOM(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Creates a new Request ADOM and saves it in the request. |
static ADOM |
newSessionADOM(javax.servlet.http.HttpSession session,
java.lang.String name)
Creates a new Session ADOM and saves it in the session. |
static void |
removeApplicationADOM(javax.servlet.ServletContext context,
java.lang.String name)
Finds the ADOM in the servlet context by given name and removes it. |
static void |
removeRequestADOM(javax.servlet.http.HttpServletRequest request,
java.lang.String name)
Finds the ADOM in the request by given name and removes it. |
static void |
removeSessionADOM(javax.servlet.http.HttpSession session,
java.lang.String name)
Finds the ADOM in the session by given name and removes it. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ADOMManager()
Method Detail |
---|
public static ADOM newRequestADOM(javax.servlet.http.HttpServletRequest request, java.lang.String name)
request
- Where the ADOM is saved.name
- Name of the ADOM.
public static ADOM newSessionADOM(javax.servlet.http.HttpSession session, java.lang.String name)
session
- Where the ADOM is saved.name
- Name of the ADOM.
public static ADOM newApplicationADOM(javax.servlet.ServletContext context, java.lang.String name)
context
- Where the ADOM is saved.name
- Name of the ADOM.
public static ADOM getRequestADOM(javax.servlet.http.HttpServletRequest request, java.lang.String name)
request
- Where the ADOM is searchedname
- The name of the ADOM
null
if ADOM cannot be found.public static ADOM getSessionADOM(javax.servlet.http.HttpSession session, java.lang.String name)
null
if ADOM cannot be found.public static ADOM getApplicationADOM(javax.servlet.ServletContext context, java.lang.String name)
null
if ADOM cannot be found.public static void removeRequestADOM(javax.servlet.http.HttpServletRequest request, java.lang.String name)
public static void removeSessionADOM(javax.servlet.http.HttpSession session, java.lang.String name)
public static void removeApplicationADOM(javax.servlet.ServletContext context, java.lang.String name)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |