Interface PageUrlResolver


public interface PageUrlResolver
Extension point resolving a Page's navigation path (the first navigation node found pointing to it), so Social's generic page-content indexing connector can index it without depending on the Layout addon (routing primitives such as PortalRequestHandler/Router live in gatein-portal's webui module, which Social does not - and should not - depend on; Layout already does).

Implementations are plain Spring @Component beans, auto-detected the same way as PageContentBlockPlugin. If none is registered, indexed pages simply have no pagePath.

  • Method Summary

    Modifier and Type
    Method
    Description
    resolvePath(org.exoplatform.portal.mop.page.PageKey pageKey)
     
  • Method Details

    • resolvePath

      String resolvePath(org.exoplatform.portal.mop.page.PageKey pageKey)
      Parameters:
      pageKey - the page to resolve
      Returns:
      the page's portal path (e.g. /portal/site/home/section), or null if the page isn't reachable through any navigation node.