|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PortletRenderer
This service process all portlet rendering requests and interfaces with the portlet container to generate the resulting markup
Method Summary | |
---|---|
void |
addTitleToHeader(org.apache.pluto.om.window.PortletWindow portletWindow,
ContentFragment fragment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
ContentDispatcherCtrl dispatcher,
boolean isCacheTitle)
Set title of portlet window. |
RenderingJob |
createRenderingJob(ContentFragment fragment,
RequestContext request)
Create a rendering job for the specified Page fragment. |
ContentDispatcher |
getDispatcher(RequestContext request,
boolean isParallel)
Retrieve the ContentDispatcher for the specified request |
PortletTrackingManager |
getPortletTrackingManager()
|
void |
notifyContentComplete(PortletContent content)
Notify that content completed by worker jobs So that renderer can update its state |
void |
processRenderingJob(RenderingJob job)
Render the specified rendering job. |
RenderingJob |
render(ContentFragment fragment,
RequestContext request)
Deprecated. |
void |
renderNow(ContentFragment fragment,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Render the specified Page fragment. |
void |
renderNow(ContentFragment fragment,
RequestContext request)
Render the specified Page fragment. |
void |
waitForRenderingJobs(List renderingJobs)
Wait for all rendering jobs in the collection to finish successfully or otherwise. |
Method Detail |
---|
void renderNow(ContentFragment fragment, RequestContext request)
FailedToRenderFragmentException
FailedToRetrievePortletWindow
UnknownPortletDefinitionException
PortletAccessDeniedException
void renderNow(ContentFragment fragment, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
FailedToRenderFragmentException
FailedToRetrievePortletWindow
UnknownPortletDefinitionException
PortletAccessDeniedException
RenderingJob render(ContentFragment fragment, RequestContext request)
RenderingJob createRenderingJob(ContentFragment fragment, RequestContext request)
FailedToRetrievePortletWindow
UnknownPortletDefinitionException
PortletAccessDeniedException
void processRenderingJob(RenderingJob job)
FailedToRenderFragmentException
void waitForRenderingJobs(List renderingJobs)
renderingJobs
- the Collection of rendering job objects to wait for.ContentDispatcher getDispatcher(RequestContext request, boolean isParallel)
void notifyContentComplete(PortletContent content)
content
- void addTitleToHeader(org.apache.pluto.om.window.PortletWindow portletWindow, ContentFragment fragment, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, ContentDispatcherCtrl dispatcher, boolean isCacheTitle)
portletWindow
- fragment
- request
- response
- dispatcher
- isCacheTitle
- PortletTrackingManager getPortletTrackingManager()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |