Class CPTaxCategoryServiceUtil

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

public class CPTaxCategoryServiceUtil extends Object
Provides the remote service utility for CPTaxCategory. This utility wraps com.liferay.commerce.product.service.impl.CPTaxCategoryServiceImpl 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

    • CPTaxCategoryServiceUtil

      public CPTaxCategoryServiceUtil()
  • Method Details

    • addCPTaxCategory

      public static CPTaxCategory addCPTaxCategory(String externalReferenceCode, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • countCPTaxCategoriesByCompanyId

      public static int countCPTaxCategoriesByCompanyId(long companyId, String keyword) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCPTaxCategory

      public static void deleteCPTaxCategory(long cpTaxCategoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • findCPTaxCategoriesByCompanyId

      public static List<CPTaxCategory> findCPTaxCategoriesByCompanyId(long companyId, String keyword, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPTaxCategories

      public static List<CPTaxCategory> getCPTaxCategories(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPTaxCategories

      public static List<CPTaxCategory> getCPTaxCategories(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPTaxCategoriesCount

      public static int getCPTaxCategoriesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPTaxCategory

      public static CPTaxCategory getCPTaxCategory(long cpTaxCategoryId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getOSGiServiceIdentifier

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

      public static com.liferay.portal.kernel.search.BaseModelSearchResult<CPTaxCategory> searchCPTaxCategories(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
    • updateCPTaxCategory

      public static CPTaxCategory updateCPTaxCategory(String externalReferenceCode, long cpTaxCategoryId, Map<Locale,String> nameMap, Map<Locale,String> descriptionMap) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getService

      public static CPTaxCategoryService getService()