Class PortletInstanceLayoutStorage

java.lang.Object
io.meeds.layout.storage.PortletInstanceLayoutStorage

@Component public class PortletInstanceLayoutStorage extends Object
A plugin that is used to display a selected portlet instance in the context of the PortletEditor page until. This should be changed to use PortletInvoker to process 'view', 'edit' and 'serveResource' switch JSR-168 and JSR-286 requirements. But for now, to kkep WebUI based portlets working (which doesn't implement the JSRs portlet bridge), we will use this trick to allow displaying a portlet instance inside WebUI dynamic container.
  • Constructor Details

    • PortletInstanceLayoutStorage

      public PortletInstanceLayoutStorage()
  • Method Details

    • getPortletInstanceApplication

      public org.exoplatform.portal.config.model.Application<org.exoplatform.portal.pom.spi.portlet.Portlet> getPortletInstanceApplication(PortletInstance portletInstance, long applicationStorageId)
    • getOrCreatePortletInstanceApplication

      public org.exoplatform.portal.config.model.Application<org.exoplatform.portal.pom.spi.portlet.Portlet> getOrCreatePortletInstanceApplication(PortletInstance portletInstance)
    • getApplication

      public org.exoplatform.portal.config.model.Application<org.exoplatform.portal.pom.spi.portlet.Portlet> getApplication(long applicationId)
    • getApplicationPreferences

      public org.exoplatform.portal.pom.spi.portlet.Portlet getApplicationPreferences(long applicationId)
    • getApplicationPortletName

      public String getApplicationPortletName(org.exoplatform.portal.config.model.Application<org.exoplatform.portal.pom.spi.portlet.Portlet> application)
    • getApplicationPortletInstanceId

      public long getApplicationPortletInstanceId(long applicationId)
    • getPortletInstanceApplicationId

      public long getPortletInstanceApplicationId(long portletInstanceId)