public abstract class BaseTransactionalMVCResourceCommand extends Object implements MVCResourceCommand
EMPTY
Constructor and Description |
---|
BaseTransactionalMVCResourceCommand() |
Modifier and Type | Method and Description |
---|---|
protected abstract void |
doTransactionalCommand(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse) |
boolean |
serveResource(javax.portlet.ResourceRequest resourceRequest,
javax.portlet.ResourceResponse resourceResponse)
Invoked by
MVCPortlet to allow the portlet to serve a resource. |
public boolean serveResource(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) throws javax.portlet.PortletException
MVCResourceCommand
MVCPortlet
to allow the portlet to serve a resource.serveResource
in interface MVCResourceCommand
resourceRequest
- the resource requestresourceResponse
- the resource responsetrue
if an error occurs in serving the resource;
false
otherwisejavax.portlet.PortletException
protected abstract void doTransactionalCommand(javax.portlet.ResourceRequest resourceRequest, javax.portlet.ResourceResponse resourceResponse) throws Exception
Exception