Class CPTaxCategoryServiceUtil
java.lang.Object
com.liferay.commerce.product.service.CPTaxCategoryServiceUtil
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic CPTaxCategoryaddCPTaxCategory(String externalReferenceCode, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) static intcountCPTaxCategoriesByCompanyId(long companyId, String keyword) static voiddeleteCPTaxCategory(long cpTaxCategoryId) static List<CPTaxCategory>findCPTaxCategoriesByCompanyId(long companyId, String keyword, int start, int end) static List<CPTaxCategory>getCPTaxCategories(long companyId) static List<CPTaxCategory>getCPTaxCategories(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) static intgetCPTaxCategoriesCount(long companyId) static CPTaxCategorygetCPTaxCategory(long cpTaxCategoryId) static StringReturns the OSGi service identifier.static CPTaxCategoryServicestatic com.liferay.portal.kernel.search.BaseModelSearchResult<CPTaxCategory>searchCPTaxCategories(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) static CPTaxCategoryupdateCPTaxCategory(String externalReferenceCode, long cpTaxCategoryId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap)
-
Constructor Details
-
CPTaxCategoryServiceUtil
public CPTaxCategoryServiceUtil()
-
-
Method Details
-
addCPTaxCategory
public static CPTaxCategory addCPTaxCategory(String externalReferenceCode, Map<Locale, String> nameMap, Map<Locale, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) - 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
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, throws com.liferay.portal.kernel.exception.PortalExceptionString> descriptionMap) - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getService
-