com.liferay.portal.kernel.portlet
Class SettingsConfigurationAction
java.lang.Object
javax.portlet.GenericPortlet
com.liferay.portal.kernel.portlet.LiferayPortlet
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
|
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 |
SettingsConfigurationAction
public SettingsConfigurationAction()
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)