Class BaseAssetDisplayPageFriendlyURLResolver

java.lang.Object
com.liferay.asset.display.page.portlet.BaseAssetDisplayPageFriendlyURLResolver
All Implemented Interfaces:
com.liferay.portal.kernel.portlet.FriendlyURLResolver

public abstract class BaseAssetDisplayPageFriendlyURLResolver extends Object implements com.liferay.portal.kernel.portlet.FriendlyURLResolver
  • Field Details

    • assetDisplayPageEntryLocalService

      protected AssetDisplayPageEntryLocalService assetDisplayPageEntryLocalService
    • assetEntryLocalService

      protected com.liferay.asset.kernel.service.AssetEntryService assetEntryLocalService
    • infoItemServiceRegistry

      protected com.liferay.info.item.InfoItemServiceRegistry infoItemServiceRegistry
    • infoSearchClassMapperRegistry

      protected com.liferay.info.search.InfoSearchClassMapperRegistry infoSearchClassMapperRegistry
    • layoutDisplayPageProviderRegistry

      protected com.liferay.layout.display.page.LayoutDisplayPageProviderRegistry layoutDisplayPageProviderRegistry
    • layoutLocalService

      protected com.liferay.portal.kernel.service.LayoutLocalService layoutLocalService
    • layoutPageTemplateEntryService

      protected com.liferay.layout.page.template.service.LayoutPageTemplateEntryService layoutPageTemplateEntryService
    • layoutSEOTemplateProcessor

      protected com.liferay.layout.seo.template.LayoutSEOTemplateProcessor layoutSEOTemplateProcessor
    • portal

      protected com.liferay.portal.kernel.util.Portal portal
  • Constructor Details

    • BaseAssetDisplayPageFriendlyURLResolver

      public BaseAssetDisplayPageFriendlyURLResolver()
  • Method Details

    • getActualURL

      public String getActualURL(long companyId, long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getActualURL in interface com.liferay.portal.kernel.portlet.FriendlyURLResolver
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLayoutFriendlyURLComposite

      public com.liferay.portal.kernel.model.LayoutFriendlyURLComposite getLayoutFriendlyURLComposite(long companyId, long groupId, boolean privateLayout, String friendlyURL, Map<String,String[]> params, Map<String,Object> requestContext) throws com.liferay.portal.kernel.exception.PortalException
      Specified by:
      getLayoutFriendlyURLComposite in interface com.liferay.portal.kernel.portlet.FriendlyURLResolver
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getURLSeparator

      public String getURLSeparator()
      Specified by:
      getURLSeparator in interface com.liferay.portal.kernel.portlet.FriendlyURLResolver
    • getAssetDisplayPageEntry

      protected AssetDisplayPageEntry getAssetDisplayPageEntry(long groupId, com.liferay.layout.display.page.LayoutDisplayPageObjectProvider<?> layoutDisplayPageObjectProvider)
    • getLayoutDisplayPageObjectProvider

      protected com.liferay.layout.display.page.LayoutDisplayPageObjectProvider<?> getLayoutDisplayPageObjectProvider(com.liferay.layout.display.page.LayoutDisplayPageProvider<?> layoutDisplayPageProvider, long groupId, String friendlyURL, Map<String,String[]> params)
    • getLayoutDisplayPageObjectProviderLayout

      protected com.liferay.portal.kernel.model.Layout getLayoutDisplayPageObjectProviderLayout(long groupId, String friendlyURL, com.liferay.layout.display.page.LayoutDisplayPageObjectProvider<?> layoutDisplayPageObjectProvider, com.liferay.layout.display.page.LayoutDisplayPageProvider<?> layoutDisplayPageProvider)
    • getLayoutDisplayPageProvider

      protected com.liferay.layout.display.page.LayoutDisplayPageProvider<?> getLayoutDisplayPageProvider(String friendlyURL) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getLocale

      protected Locale getLocale(Map<String,Object> requestContext)
    • isSameFriendlyURL

      protected boolean isSameFriendlyURL(String url1, String url2)
    • useOriginalFriendlyURL

      protected boolean useOriginalFriendlyURL()