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 Summary
FieldsModifier and TypeFieldDescriptionprotected AssetDisplayPageEntryLocalServiceprotected com.liferay.asset.kernel.service.AssetEntryServiceprotected com.liferay.info.item.InfoItemServiceRegistryprotected com.liferay.info.search.InfoSearchClassMapperRegistryprotected com.liferay.layout.display.page.LayoutDisplayPageProviderRegistryprotected com.liferay.portal.kernel.service.LayoutLocalServiceprotected com.liferay.layout.page.template.service.LayoutPageTemplateEntryServiceprotected com.liferay.layout.seo.template.LayoutSEOTemplateProcessorprotected com.liferay.portal.kernel.util.Portal -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetActualURL(long companyId, long groupId, boolean privateLayout, String mainPath, String friendlyURL, Map<String, String[]> params, Map<String, Object> requestContext) protected AssetDisplayPageEntrygetAssetDisplayPageEntry(long groupId, com.liferay.layout.display.page.LayoutDisplayPageObjectProvider<?> layoutDisplayPageObjectProvider) protected com.liferay.layout.display.page.LayoutDisplayPageObjectProvider<?>getLayoutDisplayPageObjectProvider(com.liferay.layout.display.page.LayoutDisplayPageProvider<?> layoutDisplayPageProvider, long groupId, String friendlyURL, Map<String, String[]> params) protected com.liferay.portal.kernel.model.LayoutgetLayoutDisplayPageObjectProviderLayout(long groupId, String friendlyURL, com.liferay.layout.display.page.LayoutDisplayPageObjectProvider<?> layoutDisplayPageObjectProvider, com.liferay.layout.display.page.LayoutDisplayPageProvider<?> layoutDisplayPageProvider) protected com.liferay.layout.display.page.LayoutDisplayPageProvider<?>getLayoutDisplayPageProvider(String friendlyURL) com.liferay.portal.kernel.model.LayoutFriendlyURLCompositegetLayoutFriendlyURLComposite(long companyId, long groupId, boolean privateLayout, String friendlyURL, Map<String, String[]> params, Map<String, Object> requestContext) protected Localeprotected booleanisSameFriendlyURL(String url1, String url2) protected booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.liferay.portal.kernel.portlet.FriendlyURLResolver
getDefaultURLSeparator, getKey, getLayoutFriendlyURLSeparatorComposite, isURLSeparatorConfigurable
-
Field Details
-
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, throws com.liferay.portal.kernel.exception.PortalExceptionObject> requestContext) - Specified by:
getActualURLin interfacecom.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, throws com.liferay.portal.kernel.exception.PortalExceptionObject> requestContext) - Specified by:
getLayoutFriendlyURLCompositein interfacecom.liferay.portal.kernel.portlet.FriendlyURLResolver- Throws:
com.liferay.portal.kernel.exception.PortalException
-
getURLSeparator
- Specified by:
getURLSeparatorin interfacecom.liferay.portal.kernel.portlet.FriendlyURLResolver
-
getAssetDisplayPageEntry
protected AssetDisplayPageEntry getAssetDisplayPageEntry(long groupId, com.liferay.layout.display.page.LayoutDisplayPageObjectProvider<?> layoutDisplayPageObjectProvider) -
getLayoutDisplayPageObjectProvider
-
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
-
isSameFriendlyURL
-
useOriginalFriendlyURL
protected boolean useOriginalFriendlyURL()
-