Liferay 7.0-ce-b4

com.liferay.portal.kernel.portlet
Class SettingsConfigurationAction

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by com.liferay.portal.kernel.portlet.LiferayPortlet
          extended by com.liferay.portal.kernel.portlet.SettingsConfigurationAction
All Implemented Interfaces:
ConfigurationAction, ResourceServingConfigurationAction, EventPortlet, Portlet, PortletConfig, ResourceServingPortlet
Direct Known Subclasses:
BaseJSPSettingsConfigurationAction

public abstract class SettingsConfigurationAction
extends LiferayPortlet
implements ConfigurationAction, ResourceServingConfigurationAction


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
SettingsConfigurationAction()
           
 
Method Summary
 String getLocalizedParameter(PortletRequest portletRequest, String name)
           
 String getLocalizedParameter(PortletRequest portletRequest, String name, String languageId)
           
 String getParameter(PortletRequest portletRequest, String name)
           
protected  PortletConfig getSelPortletConfig(javax.servlet.http.HttpServletRequest request)
           
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, getJSONContentType, getRedirect, getResourceMethod, getServletContext, getTitle, init, isAlwaysSendRedirect, isEmptySessionMessages, isProcessActionRequest, isProcessPortletRequest, isProcessRenderRequest, isProcessResourceRequest, isSessionErrorException, processAction, sendRedirect, serveResource, translate, translate, writeJSON, writeJSON
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doEdit, doHeaders, doHelp, doView, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, init, processEvent, render
 
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 Detail

SettingsConfigurationAction

public SettingsConfigurationAction()
Method Detail

getLocalizedParameter

public String getLocalizedParameter(PortletRequest portletRequest,
                                    String name)

getLocalizedParameter

public String getLocalizedParameter(PortletRequest portletRequest,
                                    String name,
                                    String languageId)

getParameter

public String getParameter(PortletRequest portletRequest,
                           String name)

processAction

public void processAction(PortletConfig portletConfig,
                          ActionRequest actionRequest,
                          ActionResponse actionResponse)
                   throws Exception
Specified by:
processAction in interface ConfigurationAction
Throws:
Exception

serveResource

public void serveResource(PortletConfig portletConfig,
                          ResourceRequest resourceRequest,
                          ResourceResponse resourceResponse)
                   throws Exception
Specified by:
serveResource in interface ResourceServingConfigurationAction
Throws:
Exception

setPreference

public void setPreference(PortletRequest portletRequest,
                          String name,
                          String value)

setPreference

public void setPreference(PortletRequest portletRequest,
                          String name,
                          String[] values)

getSelPortletConfig

protected PortletConfig getSelPortletConfig(javax.servlet.http.HttpServletRequest request)

getSettings

protected Settings getSettings(ActionRequest actionRequest)
                        throws PortalException
Throws:
PortalException

getSettingsId

protected String getSettingsId(ActionRequest actionRequest)

postProcess

protected void postProcess(long companyId,
                           PortletRequest portletRequest,
                           Settings settings)
                    throws PortalException
Throws:
PortalException

setParameterNamePrefix

protected void setParameterNamePrefix(String parameterNamePrefix)

updateMultiValuedKeys

protected void updateMultiValuedKeys(ActionRequest actionRequest)

validateEmail

protected void validateEmail(ActionRequest actionRequest,
                             String emailParam)

validateEmailFrom

protected void validateEmailFrom(ActionRequest actionRequest)

Liferay 7.0-ce-b4