|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.common.invocation.Invocation org.jboss.portal.portlet.invocation.PortletInvocation
Nested Class Summary | |
static interface |
PortletInvocation.Dispatcher
A dispatcher for the portlet invocation. |
Field Summary | |
protected PortletInvocation.Dispatcher |
dispatcher
The dispatcher called at the end of the stack. |
protected javax.servlet.http.HttpServletRequest |
dreq
The dispatched request. |
protected javax.servlet.http.HttpServletResponse |
dresp
The dispatched response. |
protected PortletInfo |
info
The portlet info we want to invoke. |
static java.lang.String |
INSTANCE_ID_ATTRIBUTE
The attribute name under which the instance id can be accessed. |
protected InstanceContext |
instanceContext
The instance context. |
protected InvocationContext |
invocationContext
The invocation context. |
protected PortalContext |
portalContext
The portal context. |
static java.lang.String |
PORTLET_ID_ATTRIBUTE
The attribute name under which the portlet id can be accessed. |
static java.lang.String |
PORTLET_INVOKER
The attribute name under which the registry can be accessed. |
static java.lang.String |
PREFERENCES_ATTRIBUTE
The attribute name under which the preferences can be accessed. |
protected Properties |
properties
The request properties. |
protected RequestContext |
requestContext
The request context. |
protected Result |
result
The result. |
protected SecurityContext |
securityContext
The security context. |
static java.lang.String |
STATE_STORE_ATTRIBUTE
The attribute name under which the state store can be accessed. |
protected java.util.Set |
supportedModes
The modes this portlet can accept. |
protected java.util.Set |
supportedWindowStates
The window states this portlet can accept. |
protected UserContext |
userContext
The user context. |
protected WindowContext |
windowContext
The window context. |
Constructor Summary | |
protected |
PortletInvocation(InvocationContext invocationContext)
Create an invocation to a portlet. |
Method Summary | |
protected void |
dispatch()
Deliver call to the container. |
InvocationContext |
getContext()
Return the invocation context. |
javax.servlet.http.HttpServletRequest |
getDispatchedRequest()
Return the dispatched http servlet request. |
javax.servlet.http.HttpServletResponse |
getDispatchedResponse()
Return the dispatched http servlet request. |
PortletInvocation.Dispatcher |
getDispatcher()
Return the dispatcher of this invocation. |
PortletInfo |
getInfo()
|
InstanceContext |
getInstanceContext()
|
PortalContext |
getPortalContext()
|
Properties |
getProperties()
|
RequestContext |
getRequestContext()
|
Result |
getResult()
Return the outcome of this request. |
SecurityContext |
getSecurityContext()
|
java.util.Set |
getSupportedModes()
|
java.util.Set |
getSupportedWindowStates()
|
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 |
setDispatcher(PortletInvocation.Dispatcher dispatcher)
Set the dispatcher of this invocation. |
void |
setInfo(PortletInfo info)
|
void |
setInstanceContext(InstanceContext instanceContext)
|
void |
setPortalContext(PortalContext portalContext)
|
void |
setProperties(Properties properties)
|
void |
setRequestContext(RequestContext requestContext)
|
void |
setResult(Result result)
Set the outcome of this request. |
void |
setSecurityContext(SecurityContext securityContext)
|
void |
setSupportedModes(java.util.Set supportedModes)
|
void |
setSupportedWindowStates(java.util.Set supportedWindowStates)
|
void |
setUserContext(UserContext userContext)
|
void |
setWindowContext(WindowContext windowContext)
|
Methods inherited from class org.jboss.portal.common.invocation.Invocation |
getAttribute, invoke, invokeNext, removeAttribute, setAttribute |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String PORTLET_ID_ATTRIBUTE
public static final java.lang.String STATE_STORE_ATTRIBUTE
public static final java.lang.String PORTLET_INVOKER
public static final java.lang.String PREFERENCES_ATTRIBUTE
public static final java.lang.String INSTANCE_ID_ATTRIBUTE
protected InvocationContext invocationContext
protected PortalContext portalContext
protected RequestContext requestContext
protected SecurityContext securityContext
protected UserContext userContext
protected InstanceContext instanceContext
protected WindowContext windowContext
protected Properties properties
protected PortletInfo info
protected java.util.Set supportedWindowStates
protected java.util.Set supportedModes
protected javax.servlet.http.HttpServletRequest dreq
protected javax.servlet.http.HttpServletResponse dresp
protected PortletInvocation.Dispatcher dispatcher
protected Result result
Constructor Detail |
protected PortletInvocation(InvocationContext invocationContext)
Method Detail |
public PortletInvocation.Dispatcher getDispatcher()
public void setDispatcher(PortletInvocation.Dispatcher dispatcher)
public InvocationContext getContext()
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 PortletInfo getInfo()
public void setInfo(PortletInfo info)
public Properties getProperties()
public void setProperties(Properties properties)
public void setResult(Result result)
public Result getResult()
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)
protected void dispatch() throws java.lang.Exception, InvocationException
dispatch
in class Invocation
java.lang.Exception
InvocationException
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 |