public class FragmentToolRenderService extends Object implements ToolRenderService
| Constructor and Description |
|---|
FragmentToolRenderService() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
accept(Portal portal,
ToolConfiguration configuration,
HttpServletRequest request,
HttpServletResponse response,
ServletContext context)
This is called during render to accept the request into this tool.
|
protected void |
doTool(ToolConfiguration toolConfiguration,
HttpServletRequest req,
HttpServletResponse res,
Session session,
String placementId,
String toolContextPath,
String toolPathInfo) |
protected void |
forwardTool(ActiveTool tool,
HttpServletRequest req,
HttpServletResponse res,
Placement p,
String skin,
String toolContextPath,
String toolPathInfo)
Taken from Charon, should be in a service
|
boolean |
preprocess(Portal portal,
HttpServletRequest request,
HttpServletResponse response,
ServletContext context) |
RenderResult |
render(Portal portal,
ToolConfiguration toolConfiguration,
HttpServletRequest request,
HttpServletResponse response,
ServletContext context) |
void |
reset(ToolConfiguration configuration) |
void |
setPortalService(PortalService portal) |
public boolean accept(Portal portal, ToolConfiguration configuration, HttpServletRequest request, HttpServletResponse response, ServletContext context)
accept in interface ToolRenderServicepublic boolean preprocess(Portal portal, HttpServletRequest request, HttpServletResponse response, ServletContext context) throws IOException
preprocess in interface ToolRenderServiceIOExceptionpublic RenderResult render(Portal portal, ToolConfiguration toolConfiguration, HttpServletRequest request, HttpServletResponse response, ServletContext context) throws IOException, ToolRenderException
render in interface ToolRenderServiceIOExceptionToolRenderExceptionprotected void doTool(ToolConfiguration toolConfiguration, HttpServletRequest req, HttpServletResponse res, Session session, String placementId, String toolContextPath, String toolPathInfo) throws ToolException, IOException
ToolExceptionIOExceptionprotected void forwardTool(ActiveTool tool, HttpServletRequest req, HttpServletResponse res, Placement p, String skin, String toolContextPath, String toolPathInfo) throws ToolException
tool - req - res - p - skin - toolContextPath - toolPathInfo - ToolExceptionpublic void setPortalService(PortalService portal)
public void reset(ToolConfiguration configuration)
reset in interface ToolRenderServiceCopyright © 2003–2017 Sakai Project. All rights reserved.