当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
ComponentRequest - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.server.app
Class ComponentRequest
java.lang.Object
org.jboss.portal.server.app.ComponentRequest
- public class ComponentRequest
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
context
protected ComponentRequestContext context
dreq
protected javax.servlet.http.HttpServletRequest dreq
properties
protected Properties properties
component
protected Component component
supportedWindowStates
protected java.util.Set supportedWindowStates
supportedModes
protected java.util.Set supportedModes
portalContext
protected PortalContext portalContext
sessionContext
protected SessionContext sessionContext
requestContext
protected RequestContext requestContext
securityContext
protected SecurityContext securityContext
userContext
protected UserContext userContext
instanceContext
protected InstanceContext instanceContext
preferencesContext
protected PreferencesContext preferencesContext
ComponentRequest
public ComponentRequest()
getSupportedWindowStates
public java.util.Set getSupportedWindowStates()
setSupportedWindowStates
public void setSupportedWindowStates(java.util.Set supportedWindowStates)
getSupportedModes
public java.util.Set getSupportedModes()
setSupportedModes
public void setSupportedModes(java.util.Set supportedModes)
getContext
public ComponentRequestContext getContext()
setContext
public void setContext(ComponentRequestContext context)
getComponent
public Component getComponent()
setComponent
public void setComponent(Component component)
getProperties
public Properties getProperties()
setProperties
public void setProperties(Properties properties)
getDispatchedRequest
public javax.servlet.http.HttpServletRequest getDispatchedRequest()
- Return the dispatched http servlet request.
setDispatchedRequest
public void setDispatchedRequest(javax.servlet.http.HttpServletRequest dreq)
- Set the dispatched http servlet request.
getSupportedModes
public java.util.Collection getSupportedModes(java.lang.String contentType)
- Return the set portlet modes allowed by this portlet window.
isSupportedMode
public boolean isSupportedMode(Mode mode)
- Return true if the given content type is supported for the given mode.
- Throws:
java.lang.IllegalArgumentException
- if the content type or the mode is null
isSupportedWindowState
public boolean isSupportedWindowState(WindowState windowState)
- Throws:
java.lang.IllegalArgumentException
- if the window state is null
getDreq
public javax.servlet.http.HttpServletRequest getDreq()
setDreq
public void setDreq(javax.servlet.http.HttpServletRequest dreq)
getPortalContext
public PortalContext getPortalContext()
setPortalContext
public void setPortalContext(PortalContext portalContext)
getSessionContext
public SessionContext getSessionContext()
setSessionContext
public void setSessionContext(SessionContext sessionContext)
getRequestContext
public RequestContext getRequestContext()
setRequestContext
public void setRequestContext(RequestContext requestContext)
getSecurityContext
public SecurityContext getSecurityContext()
setSecurityContext
public void setSecurityContext(SecurityContext securityContext)
getUserContext
public UserContext getUserContext()
setUserContext
public void setUserContext(UserContext userContext)
getInstanceContext
public InstanceContext getInstanceContext()
setInstanceContext
public void setInstanceContext(InstanceContext instanceContext)
getPreferencesContext
public PreferencesContext getPreferencesContext()
setPreferencesContext
public void setPreferencesContext(PreferencesContext preferencesContext)