Class LayoutPageUrlResolver

java.lang.Object
io.meeds.layout.plugin.LayoutPageUrlResolver
All Implemented Interfaces:
io.meeds.social.cms.plugin.PageUrlResolver

@Component public class LayoutPageUrlResolver extends Object implements io.meeds.social.cms.plugin.PageUrlResolver
Resolves a Page's navigation path by walking its site's navigation tree for the first node found pointing to it, and building that node's portal URI. This is the concrete implementation of Social's generic PageUrlResolver extension point — Layout owns the routing primitives (NavigationLayoutService/Router) that Social deliberately doesn't depend on.
  • Constructor Details

    • LayoutPageUrlResolver

      public LayoutPageUrlResolver()
  • Method Details

    • init

      @PostConstruct public void init()
    • resolvePath

      public String resolvePath(org.exoplatform.portal.mop.page.PageKey pageKey)
      Specified by:
      resolvePath in interface io.meeds.social.cms.plugin.PageUrlResolver