Class SettingsConfigurationAction
Object
javax.portlet.GenericPortlet
com.liferay.portal.kernel.portlet.LiferayPortlet
com.liferay.portal.kernel.portlet.SettingsConfigurationAction
- All Implemented Interfaces:
ConfigurationAction
,ResourceServingConfigurationAction
,EventPortlet
,HeaderPortlet
,Portlet
,PortletConfig
,ResourceServingPortlet
- Direct Known Subclasses:
BaseJSPSettingsConfigurationAction
public abstract class SettingsConfigurationAction
extends LiferayPortlet
implements ConfigurationAction, ResourceServingConfigurationAction
- Author:
- Iván Zaera
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.portlet.LiferayPortlet
addProcessActionSuccessMessage, alwaysSendRedirect
Fields inherited from class javax.portlet.GenericPortlet
AUTOMATIC_RESOURCE_DISPATCH
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetLocalizedParameter
(PortletRequest portletRequest, String name) getLocalizedParameter
(PortletRequest portletRequest, String name, String languageId) getParameter
(PortletRequest portletRequest, String name) protected PortletConfig
getSelPortletConfig
(javax.servlet.http.HttpServletRequest httpServletRequest) protected Settings
getSettings
(ActionRequest actionRequest) protected String
getSettingsId
(ActionRequest actionRequest) protected void
postProcess
(long companyId, PortletRequest portletRequest, Settings settings) void
processAction
(PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse) void
serveResource
(PortletConfig portletConfig, ResourceRequest resourceRequest, ResourceResponse resourceResponse) protected void
setParameterNamePrefix
(String parameterNamePrefix) void
setPreference
(PortletRequest portletRequest, String name, String value) void
setPreference
(PortletRequest portletRequest, String name, String[] values) protected void
updateMultiValuedKeys
(ActionRequest actionRequest) protected void
validateEmail
(ActionRequest actionRequest, String emailParam) protected void
validateEmailFrom
(ActionRequest actionRequest) Methods inherited from class com.liferay.portal.kernel.portlet.LiferayPortlet
addSuccessMessage, callActionMethod, callResourceMethod, doAbout, doConfig, doDispatch, doEditDefaults, doEditGuest, doPreview, doPrint, getActionMethod, getRedirect, getResourceMethod, getServletContext, getTitle, init, isAddSuccessMessage, isAlwaysSendRedirect, isEmptySessionMessages, isSessionErrorException, processAction, sendRedirect, serveResource, translate, translate, writeJSON, writeJSON
Methods inherited from class javax.portlet.GenericPortlet
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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.liferay.portal.kernel.portlet.ConfigurationAction
include
-
Constructor Details
-
SettingsConfigurationAction
public SettingsConfigurationAction()
-
-
Method Details
-
getLocalizedParameter
-
getLocalizedParameter
-
getParameter
-
processAction
public void processAction(PortletConfig portletConfig, ActionRequest actionRequest, ActionResponse actionResponse) throws Exception - Specified by:
processAction
in interfaceConfigurationAction
- Throws:
Exception
-
serveResource
public void serveResource(PortletConfig portletConfig, ResourceRequest resourceRequest, ResourceResponse resourceResponse) throws Exception - Specified by:
serveResource
in interfaceResourceServingConfigurationAction
- Throws:
Exception
-
setPreference
-
setPreference
-
getSelPortletConfig
protected PortletConfig getSelPortletConfig(javax.servlet.http.HttpServletRequest httpServletRequest) -
getSettings
- Throws:
PortalException
-
getSettingsId
-
postProcess
protected void postProcess(long companyId, PortletRequest portletRequest, Settings settings) throws PortalException - Throws:
PortalException
-
setParameterNamePrefix
-
updateMultiValuedKeys
-
validateEmail
-
validateEmailFrom
-