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, alwaysSendRedirect

    Fields inherited from class javax.portlet.GenericPortlet

    AUTOMATIC_RESOURCE_DISPATCH
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    processAction(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, updateMultiValuedKeys

    Methods inherited from class com.liferay.portal.kernel.portlet.BaseJSPSettingsConfigurationAction

    getJspPath, include, removeDefaultValue

    Methods inherited from class com.liferay.portal.kernel.portlet.SettingsConfigurationAction

    getLocalizedParameter, getLocalizedParameter, getParameter, getSelPortletConfig, getSettingsId, serveResource, setParameterNamePrefix, setPreference, setPreference, validateEmail, validateEmailFrom

    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

    Methods 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:
      processAction in interface com.liferay.portal.kernel.portlet.ConfigurationAction
      Overrides:
      processAction in class com.liferay.portal.kernel.portlet.SettingsConfigurationAction
      Throws:
      Exception