Class VREAppConfigurationAction
java.lang.Object
javax.portlet.GenericPortlet
com.liferay.portal.kernel.portlet.LiferayPortlet
com.liferay.portal.kernel.portlet.SettingsConfigurationAction
com.liferay.portal.kernel.portlet.BaseJSPSettingsConfigurationAction
com.liferay.portal.kernel.portlet.DefaultConfigurationAction
org.gcube.portlets.user.vreappintegration.action.VREAppConfigurationAction
- All Implemented Interfaces:
com.liferay.portal.kernel.portlet.ConfigurationAction,com.liferay.portal.kernel.portlet.ResourceServingConfigurationAction,javax.portlet.EventPortlet,javax.portlet.HeaderPortlet,javax.portlet.Portlet,javax.portlet.PortletConfig,javax.portlet.ResourceServingPortlet
public class VREAppConfigurationAction
extends com.liferay.portal.kernel.portlet.DefaultConfigurationAction
Configuration Action for VRE App Integration Portlet
📌 6.2 Code Analysis:
Original class extended DefaultConfigurationAction and used basic preference handling
🔄 Differences in Liferay 7.4:
- Uses OSGi @Component annotation for service registration
- Must register as ConfigurationAction service, not DefaultConfigurationAction
- Enhanced parameter validation and error handling
- Updated to use ParamUtil for parameter extraction
- Improved logging with structured messages
-
Field Summary
Fields inherited from class com.liferay.portal.kernel.portlet.LiferayPortlet
addProcessActionSuccessMessage, alwaysSendRedirectFields inherited from class javax.portlet.GenericPortlet
AUTOMATIC_RESOURCE_DISPATCH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidprocessAction(javax.portlet.PortletConfig portletConfig, javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse) Methods inherited from class com.liferay.portal.kernel.portlet.DefaultConfigurationAction
getSettings, postProcess, postProcess, removeDefaultValue, updateMultiValuedKeysMethods inherited from class com.liferay.portal.kernel.portlet.BaseJSPSettingsConfigurationAction
getJspPath, include, removeDefaultValueMethods inherited from class com.liferay.portal.kernel.portlet.SettingsConfigurationAction
getLocalizedParameter, getLocalizedParameter, getParameter, getSelPortletConfig, getSettingsId, serveResource, setParameterNamePrefix, setPreference, setPreference, validateEmail, validateEmailFromMethods 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, writeJSONMethods 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, renderHeadersMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.portlet.ConfigurationAction
includeMethods inherited from interface com.liferay.portal.kernel.portlet.ResourceServingConfigurationAction
serveResource
-
Constructor Details
-
VREAppConfigurationAction
public VREAppConfigurationAction()
-
-
Method Details
-
processAction
public void processAction(javax.portlet.PortletConfig portletConfig, javax.portlet.ActionRequest actionRequest, javax.portlet.ActionResponse actionResponse) throws Exception - Specified by:
processActionin interfacecom.liferay.portal.kernel.portlet.ConfigurationAction- Overrides:
processActionin classcom.liferay.portal.kernel.portlet.SettingsConfigurationAction- Throws:
Exception
-