Package io.meeds.layout.plugin.renderer
Class ImagePortletInstancePreferencePlugin
java.lang.Object
io.meeds.layout.plugin.renderer.ImagePortletInstancePreferencePlugin
- All Implemented Interfaces:
PortletInstancePreferencePlugin
@Service
public class ImagePortletInstancePreferencePlugin
extends Object
implements PortletInstancePreferencePlugin
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongeneratePreferences(org.exoplatform.portal.config.model.Application application, org.exoplatform.portal.pom.spi.portlet.Portlet preferences) Computes the list of preferences to have the same view as the designated application instancereturn the portlet name for which the plugin can generate its preferences
-
Constructor Details
-
ImagePortletInstancePreferencePlugin
public ImagePortletInstancePreferencePlugin()
-
-
Method Details
-
getPortletName
Description copied from interface:PortletInstancePreferencePluginreturn the portlet name for which the plugin can generate its preferences- Specified by:
getPortletNamein interfacePortletInstancePreferencePlugin
-
generatePreferences
public List<PortletInstancePreference> generatePreferences(org.exoplatform.portal.config.model.Application application, org.exoplatform.portal.pom.spi.portlet.Portlet preferences) Description copied from interface:PortletInstancePreferencePluginComputes the list of preferences to have the same view as the designated application instance- Specified by:
generatePreferencesin interfacePortletInstancePreferencePlugin- Parameters:
application-Applicationdesignated to extract its preferencespreferences- currentPortletpreferences- Returns:
-