Class CommerceCatalogServiceUtil

java.lang.Object
com.liferay.commerce.product.service.CommerceCatalogServiceUtil

public class CommerceCatalogServiceUtil extends Object
Provides the remote service utility for CommerceCatalog. This utility wraps com.liferay.commerce.product.service.impl.CommerceCatalogServiceImpl and is an access point for service operations in application layer code running on a remote server. Methods of this service are expected to have security checks based on the propagated JAAS credentials because this service can be accessed remotely.
See Also:
Generated:
  • Constructor Details

    • CommerceCatalogServiceUtil

      public CommerceCatalogServiceUtil()
  • Method Details

    • addCommerceCatalog

      public static CommerceCatalog addCommerceCatalog(String externalReferenceCode, long accountEntryId, String name, String commerceCurrencyCode, String catalogDefaultLanguageId, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceCatalog

      public static CommerceCatalog deleteCommerceCatalog(long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceCatalog

      public static CommerceCatalog fetchCommerceCatalog(long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceCatalogByExternalReferenceCode

      public static CommerceCatalog fetchCommerceCatalogByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceCatalogByGroupId

      public static CommerceCatalog fetchCommerceCatalogByGroupId(long groupId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceCatalog

      public static CommerceCatalog getCommerceCatalog(long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceCatalogs

      public static List<CommerceCatalog> getCommerceCatalogs(long companyId, int start, int end)
    • getOSGiServiceIdentifier

      public static String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • search

      public static List<CommerceCatalog> search(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • searchCommerceCatalogsCount

      public static int searchCommerceCatalogsCount(long companyId, String keywords) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceCatalog

      public static CommerceCatalog updateCommerceCatalog(long commerceCatalogId, long accountEntryId, String name, String commerceCurrencyCode, String catalogDefaultLanguageId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommerceCatalogExternalReferenceCode

      public static CommerceCatalog updateCommerceCatalogExternalReferenceCode(String externalReferenceCode, long commerceCatalogId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CommerceCatalogService getService()