Interface PortletInstancePreferencePlugin

All Known Implementing Classes:
ImagePortletInstancePreferencePlugin, LinkPortletInstancePreferencePlugin

public interface PortletInstancePreferencePlugin
A plugin that can be extended in order to inject a specific behavior for some portlets to let export preferences that allow to duplicate behavior from one application instance to another.
  • Method Summary

    Modifier and Type
    Method
    Description
    generatePreferences(org.exoplatform.portal.config.model.Application<org.exoplatform.portal.pom.spi.portlet.Portlet> application, org.exoplatform.portal.pom.spi.portlet.Portlet preferences)
    Computes the list of preferences to have the same view as the designated application instance
    return the portlet name for which the plugin can generate its preferences
  • Method Details

    • getPortletName

      String getPortletName()
      return the portlet name for which the plugin can generate its preferences
    • generatePreferences

      List<PortletInstancePreference> generatePreferences(org.exoplatform.portal.config.model.Application<org.exoplatform.portal.pom.spi.portlet.Portlet> application, org.exoplatform.portal.pom.spi.portlet.Portlet preferences)
      Computes the list of preferences to have the same view as the designated application instance
      Parameters:
      application - Application designated to extract its preferences
      preferences - current Portlet preferences
      Returns: