|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.portal.common.invocation.Invocation
org.jboss.portal.portlet.invocation.PortletInvocation
public abstract class PortletInvocation
Field Summary | |
---|---|
protected PortletInvocationContext |
ctx
The invocation context. |
protected javax.servlet.http.HttpServletRequest |
dreq
The dispatched request. |
protected javax.servlet.http.HttpServletResponse |
dresp
The dispatched response. |
protected InstanceContext |
instanceContext
The instance context. |
static Scope |
INVOCATION_SCOPE
The request scope. |
protected PortalContext |
portalContext
The portal context. |
static Scope |
PRINCIPAL_SCOPE
The portal principal scope. |
static Scope |
REQUEST_PROPERTIES_SCOPE
The request properties . |
static Scope |
REQUEST_SCOPE
The request scope. |
protected RequestContext |
requestContext
The request context. |
static Scope |
RESPONSE_PROPERTIES_SCOPE
The response properties. |
protected SecurityContext |
securityContext
The security context. |
protected java.util.Set |
supportedModes
The modes this portlet can accept. |
protected java.util.Set |
supportedWindowStates
The window states this portlet can accept. |
protected PortletContext |
target
The target portlet. |
protected UserContext |
userContext
The user context. |
protected WindowContext |
windowContext
The window context. |
Fields inherited from class org.jboss.portal.common.invocation.Invocation |
---|
EMPTY_STACK |
Constructor Summary | |
---|---|
protected |
PortletInvocation(PortletInvocationContext ctx)
Create an invocation to a portlet. |
Method Summary | |
---|---|
InvocationContext |
getContext()
Return the invocation context or throw IllegalStateException. |
javax.servlet.http.HttpServletRequest |
getDispatchedRequest()
Return the dispatched http servlet request. |
javax.servlet.http.HttpServletResponse |
getDispatchedResponse()
Return the dispatched http servlet request. |
InstanceContext |
getInstanceContext()
|
PortalContext |
getPortalContext()
|
PortletInvocationContext |
getPortletContext()
|
RequestContext |
getRequestContext()
|
SecurityContext |
getSecurityContext()
|
java.util.Set |
getSupportedModes()
|
java.util.Set |
getSupportedWindowStates()
|
PortletContext |
getTarget()
|
UserContext |
getUserContext()
|
WindowContext |
getWindowContext()
|
void |
setDispatchedRequest(javax.servlet.http.HttpServletRequest dreq)
Set the dispatched http servlet request. |
void |
setDispatchedResponse(javax.servlet.http.HttpServletResponse dresp)
Set the dispatched http servlet request. |
void |
setInstanceContext(InstanceContext instanceContext)
|
void |
setPortalContext(PortalContext portalContext)
|
void |
setRequestContext(RequestContext requestContext)
|
void |
setSecurityContext(SecurityContext securityContext)
|
void |
setSupportedModes(java.util.Set supportedModes)
|
void |
setSupportedWindowStates(java.util.Set supportedWindowStates)
|
void |
setTarget(PortletContext target)
|
void |
setUserContext(UserContext userContext)
|
void |
setWindowContext(WindowContext windowContext)
|
Methods inherited from class org.jboss.portal.common.invocation.Invocation |
---|
getAttribute, getHandler, invoke, invokeNext, removeAttribute, setAttribute, setHandler |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final Scope PRINCIPAL_SCOPE
public static final Scope REQUEST_SCOPE
public static final Scope INVOCATION_SCOPE
public static final Scope REQUEST_PROPERTIES_SCOPE
public static final Scope RESPONSE_PROPERTIES_SCOPE
protected PortletContext target
protected PortalContext portalContext
protected RequestContext requestContext
protected SecurityContext securityContext
protected UserContext userContext
protected InstanceContext instanceContext
protected WindowContext windowContext
protected java.util.Set supportedWindowStates
protected java.util.Set supportedModes
protected javax.servlet.http.HttpServletRequest dreq
protected javax.servlet.http.HttpServletResponse dresp
protected PortletInvocationContext ctx
Constructor Detail |
---|
protected PortletInvocation(PortletInvocationContext ctx) throws java.lang.IllegalArgumentException
ctx
- the portlet invocation context
java.lang.IllegalArgumentException
Method Detail |
---|
public InvocationContext getContext()
Invocation
getContext
in class Invocation
public PortletInvocationContext getPortletContext()
public PortletContext getTarget()
public void setTarget(PortletContext target)
public java.util.Set getSupportedWindowStates()
public void setSupportedWindowStates(java.util.Set supportedWindowStates)
public java.util.Set getSupportedModes()
public void setSupportedModes(java.util.Set supportedModes)
public javax.servlet.http.HttpServletResponse getDispatchedResponse()
public void setDispatchedResponse(javax.servlet.http.HttpServletResponse dresp)
public javax.servlet.http.HttpServletRequest getDispatchedRequest()
public void setDispatchedRequest(javax.servlet.http.HttpServletRequest dreq)
public PortalContext getPortalContext()
public void setPortalContext(PortalContext portalContext)
public RequestContext getRequestContext()
public void setRequestContext(RequestContext requestContext)
public SecurityContext getSecurityContext()
public void setSecurityContext(SecurityContext securityContext)
public UserContext getUserContext()
public void setUserContext(UserContext userContext)
public InstanceContext getInstanceContext()
public void setInstanceContext(InstanceContext instanceContext)
public WindowContext getWindowContext()
public void setWindowContext(WindowContext windowContext)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |