org.seasar.tuigwaa.util
クラス TgwContext
java.lang.Object
org.seasar.tuigwaa.util.TgwContext
- public class TgwContext
- extends Object
クラス java.lang.Object から継承したメソッド |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TgwContext
public TgwContext()
getRequest
public static final javax.servlet.http.HttpServletRequest getRequest()
getResponse
public static final javax.servlet.http.HttpServletResponse getResponse()
getServletContext
public static final javax.servlet.ServletContext getServletContext()
getSessionId
public static final String getSessionId()
getPrincipal
public static final Principal getPrincipal()
getRoles
public static final String[] getRoles()
setRequestAttribute
public static final void setRequestAttribute(String name,
Object obj)
getRequestAttribute
public static final Object getRequestAttribute(String name)
setAdmin
public static final void setAdmin()
getSiteConfig
public static final SiteConfig getSiteConfig()
getSiteName
public static final String getSiteName()
getPageName
public static final String getPageName()
bindPageName
public static final void bindPageName(String pageName)
getEntityName
public static final String getEntityName()
bindEntityName
public static final void bindEntityName(String entityName)
bindContextPath
public static final void bindContextPath()
getContextPath
public static final String getContextPath()
getRealPath
public static final String getRealPath(String path)
isFullMode
public static final boolean isFullMode()
createNewCmsRequest
public static final CmsRequest createNewCmsRequest()
relayToCmsParameter
public static final void relayToCmsParameter(String includePrefix)
relayToCmsParameter
public static final void relayToCmsParameter(String[] includePrefixes)
relayEntity
public static final void relayEntity(org.apache.commons.beanutils.DynaBean bean)
relayEntityByRequestParameter
public static final void relayEntityByRequestParameter(javax.servlet.http.HttpServletRequest request)
relayToCmsParameter
public static final void relayToCmsParameter(List includePrefixList)
setCmsParameter
public static final void setCmsParameter(String key,
String value)
setCmsAttribute
public static final void setCmsAttribute(String key,
Object value)
getCmsRequest
public static final CmsRequest getCmsRequest()
getCmsResponse
public static final CmsResponse getCmsResponse()
setSessionAttribute
public static final void setSessionAttribute(String key,
Object value)
isUserInRole
public static final boolean isUserInRole(String role)
initPageName
public static final void initPageName()
bindPageSettings
public static final void bindPageSettings()
isAdminUser
public static final boolean isAdminUser()
getRemoteUser
public static final String getRemoteUser()
getServerName
public static final String getServerName()
getScheme
public static final String getScheme()
getPort
public static final int getPort()
getDomainName
public static final String getDomainName()
Copyright © 2005-2006 The Seasar Foundation and the others.. All Rights Reserved.