Interface CPDefinitionHelper


@ProviderType public interface CPDefinitionHelper
  • Method Details

    • getCPCatalogEntry

      CPCatalogEntry getCPCatalogEntry(com.liferay.portal.kernel.search.Document document, Locale locale)
    • getCPCatalogEntry

      CPCatalogEntry getCPCatalogEntry(long commerceAccountId, long groupId, long cpDefinitionId, Locale locale) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getDefaultImageFileURL

      String getDefaultImageFileURL(long commerceAccountId, long cpDefinitionId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getFriendlyURL

      String getFriendlyURL(long cpDefinitionId, com.liferay.portal.kernel.theme.ThemeDisplay themeDisplay) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • search

      CPDataSourceResult search(long groupId, com.liferay.portal.kernel.search.SearchContext searchContext, CPQuery cpQuery, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCount

      long searchCount(long groupId, com.liferay.portal.kernel.search.SearchContext searchContext, CPQuery cpQuery) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCount

      long searchCount(long[] groupIds, com.liferay.portal.kernel.search.SearchContext searchContext, CPQuery cpQuery) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCPDefinitions

      List<CPDefinition> searchCPDefinitions(long groupId, com.liferay.portal.kernel.search.SearchContext searchContext, CPQuery cpQuery, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCPDefinitions

      List<CPDefinition> searchCPDefinitions(long[] groupIds, com.liferay.portal.kernel.search.SearchContext searchContext, CPQuery cpQuery, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException