Class MyApplicationsPortletInstancePreferencePlugin

java.lang.Object
io.meeds.appcenter.plugin.MyApplicationsPortletInstancePreferencePlugin
All Implemented Interfaces:
io.meeds.layout.plugin.PortletInstancePreferencePlugin

@Component @Profile("layout") public class MyApplicationsPortletInstancePreferencePlugin extends Object implements io.meeds.layout.plugin.PortletInstancePreferencePlugin
Computes the preferences of a copy of a Shortcuts portlet window, which layout asks for when it duplicates a section, saves a page or a section as a template, creates a site or a space from a template, or exports one: see MyApplicationsCopyService.getCopyPreferences(Map, boolean, String).
  • Field Details

  • Constructor Details

    • MyApplicationsPortletInstancePreferencePlugin

      public MyApplicationsPortletInstancePreferencePlugin()
  • Method Details

    • init

      @PostConstruct public void init()
    • getPortletName

      public String getPortletName()
      Specified by:
      getPortletName in interface io.meeds.layout.plugin.PortletInstancePreferencePlugin
    • generatePreferences

      public List<io.meeds.layout.model.PortletInstancePreference> generatePreferences(org.exoplatform.portal.config.model.Application application, org.exoplatform.portal.pom.spi.portlet.Portlet preferences, io.meeds.layout.model.PortletInstanceContext portletInstanceContext)
      Specified by:
      generatePreferences in interface io.meeds.layout.plugin.PortletInstancePreferencePlugin