org.seasar.tuigwaa.util
クラス TgwContext

java.lang.Object
  拡張org.seasar.tuigwaa.util.TgwContext

public class TgwContext
extends Object


コンストラクタの概要
TgwContext()
           
 
メソッドの概要
static void bindContextPath()
           
static void bindEntityName(String entityName)
           
static void bindPageName(String pageName)
           
static void bindPageSettings()
           
static CmsRequest createNewCmsRequest()
           
static CmsRequest getCmsRequest()
           
static CmsResponse getCmsResponse()
           
static String getContextPath()
           
static String getDomainName()
           
static String getEntityName()
           
static String getPageName()
           
static int getPort()
           
static Principal getPrincipal()
           
static String getRealPath(String path)
           
static String getRemoteUser()
           
static javax.servlet.http.HttpServletRequest getRequest()
           
static Object getRequestAttribute(String name)
           
static javax.servlet.http.HttpServletResponse getResponse()
           
static String[] getRoles()
           
static String getScheme()
           
static String getServerName()
           
static javax.servlet.ServletContext getServletContext()
           
static String getSessionId()
           
static SiteConfig getSiteConfig()
           
static String getSiteName()
           
static void initPageName()
           
static boolean isAdminUser()
           
static boolean isFullMode()
           
static boolean isUserInRole(String role)
           
static void relayEntity(org.apache.commons.beanutils.DynaBean bean)
           
static void relayEntityByRequestParameter(javax.servlet.http.HttpServletRequest request)
           
static void relayToCmsParameter(List includePrefixList)
           
static void relayToCmsParameter(String includePrefix)
           
static void relayToCmsParameter(String[] includePrefixes)
           
static void setAdmin()
           
static void setCmsAttribute(String key, Object value)
           
static void setCmsParameter(String key, String value)
           
static void setRequestAttribute(String name, Object obj)
           
static void setSessionAttribute(String key, Object value)
           
 
クラス 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.