Package com.jalios.jcms.ajax
Class JcmsJspAjaxContext
- java.lang.Object
-
- com.jalios.jcms.context.AbstractJcmsAjaxContext
-
- com.jalios.jcms.ajax.JcmsJspAjaxContext
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
InsertionContext
public class JcmsJspAjaxContext extends AbstractJcmsAjaxContext
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
ajaxReqId
protected java.util.Map<java.lang.String,java.lang.Object>
attributeMap
protected java.lang.Boolean
displayServlet
protected java.lang.String
fwdContextPath
protected java.lang.String
fwdPathInfo
protected java.lang.String
fwdQueryString
protected java.lang.String
fwdRequestURI
protected java.lang.String
fwdServletPath
protected java.lang.String
reqContextPath
protected java.lang.String
reqPathInfo
protected java.lang.String
reqPathTranslated
protected java.lang.String
reqQueryString
protected java.lang.String
reqRequestURI
protected java.lang.String
reqServletPath
-
Fields inherited from class com.jalios.jcms.context.AbstractJcmsAjaxContext
baseUrl, caddy, channel, contextPath, ctxCategories, currentCategory, debug, isAdmin, isIE, isInFrontOffice, isLogged, isWindows, loggedMember, method, parameterMap, portal, portalCategory, pub, resourcePath, url, userCountry, userLang, userLocale, userZoneId, workspace, zone
-
-
Constructor Summary
Constructors Constructor Description JcmsJspAjaxContext()
JcmsJspAjaxContext(JcmsJspContext ctxt)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
debug(java.lang.String key)
java.lang.Object
getAttribute(java.lang.String key)
protected void
readObject(java.util.Map<java.lang.String,java.lang.Object> map, javax.servlet.http.HttpServletRequest request)
java.lang.Object
removeAttribute(java.lang.String key)
void
setAttribute(java.lang.String key, java.lang.Object value)
void
setJcmsContext(JcmsJspContext jcmsContext)
Sets the following values from values found in the specified JcmsJspContext.
Values are not retrieved from context if they have already been set through their setter.protected void
writeObject(java.util.Map<java.lang.String,java.lang.Object> map)
-
Methods inherited from class com.jalios.jcms.context.AbstractJcmsAjaxContext
checkAccess, checkAccess, deflate, getBaseUrl, getCaddy, getContextPath, getCtxCategories, getCurrentCategory, getLoggedMember, getMethod, getParameterMap, getPortal, getPortalCategory, getPublication, getResourcePath, getUrl, getUserCountry, getUserLang, getUserLocale, getUserZoneId, getWorkspace, getZone, glp, inflate, isAdmin, isInFrontOffice, isLogged, setBaseUrl, setContextPath, setCtxCategories, setCurrentCategory, setLoggedMember, setMethod, setParameterMap, setPortal, setPortalCategory, setPublication, setResourcePath, setUrl, setUserCountry, setUserLang, setUserLocale, setUserZoneId, setWorkspace
-
-
-
-
Field Detail
-
reqRequestURI
protected transient java.lang.String reqRequestURI
-
reqContextPath
protected transient java.lang.String reqContextPath
-
reqPathInfo
protected transient java.lang.String reqPathInfo
-
reqPathTranslated
protected transient java.lang.String reqPathTranslated
-
reqQueryString
protected transient java.lang.String reqQueryString
-
reqServletPath
protected transient java.lang.String reqServletPath
-
fwdRequestURI
protected transient java.lang.String fwdRequestURI
-
fwdContextPath
protected transient java.lang.String fwdContextPath
-
fwdPathInfo
protected transient java.lang.String fwdPathInfo
-
fwdQueryString
protected transient java.lang.String fwdQueryString
-
fwdServletPath
protected transient java.lang.String fwdServletPath
-
ajaxReqId
protected transient java.lang.String ajaxReqId
-
attributeMap
protected transient java.util.Map<java.lang.String,java.lang.Object> attributeMap
-
displayServlet
protected transient java.lang.Boolean displayServlet
-
-
Constructor Detail
-
JcmsJspAjaxContext
public JcmsJspAjaxContext()
-
JcmsJspAjaxContext
public JcmsJspAjaxContext(JcmsJspContext ctxt)
-
-
Method Detail
-
setJcmsContext
public void setJcmsContext(JcmsJspContext jcmsContext)
Description copied from class:AbstractJcmsAjaxContext
Sets the following values from values found in the specified JcmsJspContext.
Values are not retrieved from context if they have already been set through their setter.- Logged Member
- User Lang
- Workspace
- Ctx Categories
- Resource Path
- Parameter Map
- Redirect
- forceAdminIcon and printview
- Overrides:
setJcmsContext
in classAbstractJcmsAjaxContext
- Parameters:
jcmsContext
- the JcmsJspContext
-
setAttribute
public void setAttribute(java.lang.String key, java.lang.Object value)
-
getAttribute
public java.lang.Object getAttribute(java.lang.String key)
-
removeAttribute
public java.lang.Object removeAttribute(java.lang.String key)
-
writeObject
protected void writeObject(java.util.Map<java.lang.String,java.lang.Object> map)
- Overrides:
writeObject
in classAbstractJcmsAjaxContext
-
readObject
protected void readObject(java.util.Map<java.lang.String,java.lang.Object> map, javax.servlet.http.HttpServletRequest request)
- Overrides:
readObject
in classAbstractJcmsAjaxContext
-
debug
public boolean debug(java.lang.String key)
- Overrides:
debug
in classAbstractJcmsAjaxContext
-
-