public class LiferayPortlet extends GenericPortlet
Modifier and Type | Field and Description |
---|---|
protected boolean |
addProcessActionSuccessMessage |
protected boolean |
alwaysSendRedirect |
protected Set<String> |
validPaths
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
AUTOMATIC_RESOURCE_DISPATCH
Constructor and Description |
---|
LiferayPortlet() |
Modifier and Type | Method and Description |
---|---|
protected void |
addSuccessMessage(ActionRequest actionRequest,
ActionResponse actionResponse) |
protected boolean |
callActionMethod(ActionRequest actionRequest,
ActionResponse actionResponse) |
protected boolean |
callResourceMethod(ResourceRequest resourceRequest,
ResourceResponse resourceResponse) |
protected void |
checkPath(String path)
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
protected void |
doAbout(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
doConfig(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
doDispatch(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
doEditDefaults(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
doEditGuest(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
doPreview(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected void |
doPrint(RenderRequest renderRequest,
RenderResponse renderResponse) |
protected Method |
getActionMethod(String actionName) |
protected String |
getJSONContentType(PortletRequest portletRequest) |
protected Set<String> |
getPaths(String path,
String extension)
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
protected String |
getRedirect(ActionRequest actionRequest,
ActionResponse actionResponse) |
protected Method |
getResourceMethod(String actionName) |
protected javax.servlet.ServletContext |
getServletContext() |
protected String |
getTitle(RenderRequest renderRequest) |
void |
init() |
protected void |
initValidPaths(String rootPath,
String extension)
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
protected boolean |
isAddSuccessMessage(ActionRequest actionRequest) |
protected boolean |
isAlwaysSendRedirect() |
protected boolean |
isEmptySessionMessages(ActionRequest actionRequest) |
protected boolean |
isProcessActionRequest(ActionRequest actionRequest)
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
protected boolean |
isProcessPortletRequest(PortletRequest portletRequest)
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
protected boolean |
isProcessRenderRequest(RenderRequest renderRequest)
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
protected boolean |
isProcessResourceRequest(ResourceRequest resourceRequest)
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
protected boolean |
isSessionErrorException(Throwable throwable) |
protected boolean |
isValidPath(String path)
Deprecated.
As of Mueller (7.2.x), with no direct replacement
|
void |
processAction(ActionRequest actionRequest,
ActionResponse actionResponse) |
protected void |
sendRedirect(ActionRequest actionRequest,
ActionResponse actionResponse) |
void |
serveResource(ResourceRequest resourceRequest,
ResourceResponse resourceResponse) |
protected String |
translate(PortletRequest portletRequest,
String key) |
protected String |
translate(PortletRequest portletRequest,
String key,
Object... arguments) |
protected void |
writeJSON(PortletRequest portletRequest,
ActionResponse actionResponse,
Object object) |
protected void |
writeJSON(PortletRequest portletRequest,
MimeResponse mimeResponse,
Object object) |
destroy, dispatchAnnotatedActionMethod, dispatchAnnotatedEventMethod, dispatchAnnotatedRenderMethod, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletModes, getPortletName, getProcessingEventQNames, getPublicRenderParameterDefinitions, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getWindowStates, init, processEvent, render, renderHeaders
protected boolean addProcessActionSuccessMessage
protected boolean alwaysSendRedirect
@Deprecated protected Set<String> validPaths
public void init() throws PortletException
init
in class GenericPortlet
PortletException
public void processAction(ActionRequest actionRequest, ActionResponse actionResponse) throws IOException, PortletException
processAction
in interface Portlet
processAction
in class GenericPortlet
IOException
PortletException
public void serveResource(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws IOException, PortletException
serveResource
in interface ResourceServingPortlet
serveResource
in class GenericPortlet
IOException
PortletException
protected void addSuccessMessage(ActionRequest actionRequest, ActionResponse actionResponse)
protected boolean callActionMethod(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException
PortletException
protected boolean callResourceMethod(ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws PortletException
PortletException
@Deprecated protected void checkPath(String path) throws PortletException
PortletException
protected void doAbout(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
IOException
PortletException
protected void doConfig(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
IOException
PortletException
protected void doDispatch(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
doDispatch
in class GenericPortlet
IOException
PortletException
protected void doEditDefaults(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
IOException
PortletException
protected void doEditGuest(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
IOException
PortletException
protected void doPreview(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
IOException
PortletException
protected void doPrint(RenderRequest renderRequest, RenderResponse renderResponse) throws IOException, PortletException
IOException
PortletException
protected Method getActionMethod(String actionName) throws NoSuchMethodException
NoSuchMethodException
protected String getJSONContentType(PortletRequest portletRequest)
@Deprecated protected Set<String> getPaths(String path, String extension)
protected String getRedirect(ActionRequest actionRequest, ActionResponse actionResponse)
protected Method getResourceMethod(String actionName) throws NoSuchMethodException
NoSuchMethodException
protected javax.servlet.ServletContext getServletContext()
protected String getTitle(RenderRequest renderRequest)
getTitle
in class GenericPortlet
@Deprecated protected void initValidPaths(String rootPath, String extension)
protected boolean isAddSuccessMessage(ActionRequest actionRequest)
protected boolean isAlwaysSendRedirect()
protected boolean isEmptySessionMessages(ActionRequest actionRequest)
@Deprecated protected boolean isProcessActionRequest(ActionRequest actionRequest)
@Deprecated protected boolean isProcessPortletRequest(PortletRequest portletRequest)
@Deprecated protected boolean isProcessRenderRequest(RenderRequest renderRequest)
@Deprecated protected boolean isProcessResourceRequest(ResourceRequest resourceRequest)
protected boolean isSessionErrorException(Throwable throwable)
@Deprecated protected boolean isValidPath(String path)
protected void sendRedirect(ActionRequest actionRequest, ActionResponse actionResponse) throws IOException
IOException
protected String translate(PortletRequest portletRequest, String key)
protected String translate(PortletRequest portletRequest, String key, Object... arguments)
protected void writeJSON(PortletRequest portletRequest, ActionResponse actionResponse, Object object) throws IOException
IOException
protected void writeJSON(PortletRequest portletRequest, MimeResponse mimeResponse, Object object) throws IOException
IOException