public class CPTaxCategoryServiceUtil
extends java.lang.Object
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.CPTaxCategoryService
Constructor and Description |
---|
CPTaxCategoryServiceUtil() |
Modifier and Type | Method and Description |
---|---|
static CPTaxCategory |
addCPTaxCategory(java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext)
Deprecated.
As of Athanasius (7.3.x), replaced by
addCPTaxCategory(String, Map, Map, ServiceContext) |
static CPTaxCategory |
addCPTaxCategory(java.lang.String externalReferenceCode,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap,
com.liferay.portal.kernel.service.ServiceContext serviceContext) |
static int |
countCPTaxCategoriesByCompanyId(long companyId,
java.lang.String keyword) |
static void |
deleteCPTaxCategory(long cpTaxCategoryId) |
static java.util.List<CPTaxCategory> |
findCPTaxCategoriesByCompanyId(long companyId,
java.lang.String keyword,
int start,
int end) |
static java.util.List<CPTaxCategory> |
getCPTaxCategories(long companyId) |
static java.util.List<CPTaxCategory> |
getCPTaxCategories(long companyId,
int start,
int end,
com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) |
static int |
getCPTaxCategoriesCount(long companyId) |
static CPTaxCategory |
getCPTaxCategory(long cpTaxCategoryId) |
static java.lang.String |
getOSGiServiceIdentifier()
Returns the OSGi service identifier.
|
static CPTaxCategoryService |
getService() |
static CPTaxCategory |
updateCPTaxCategory(long cpTaxCategoryId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap)
Deprecated.
As of Athanasius (7.3.x), replaced by
updateCPTaxCategory(String, long, Map, Map) |
static CPTaxCategory |
updateCPTaxCategory(java.lang.String externalReferenceCode,
long cpTaxCategoryId,
java.util.Map<java.util.Locale,java.lang.String> nameMap,
java.util.Map<java.util.Locale,java.lang.String> descriptionMap) |
@Deprecated public static CPTaxCategory addCPTaxCategory(java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
addCPTaxCategory(String, Map, Map, ServiceContext)
com.liferay.portal.kernel.exception.PortalException
public static CPTaxCategory addCPTaxCategory(java.lang.String externalReferenceCode, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int countCPTaxCategoriesByCompanyId(long companyId, java.lang.String keyword) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static void deleteCPTaxCategory(long cpTaxCategoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CPTaxCategory> findCPTaxCategoriesByCompanyId(long companyId, java.lang.String keyword, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CPTaxCategory> getCPTaxCategories(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.util.List<CPTaxCategory> getCPTaxCategories(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static int getCPTaxCategoriesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPTaxCategory getCPTaxCategory(long cpTaxCategoryId) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static java.lang.String getOSGiServiceIdentifier()
@Deprecated public static CPTaxCategory updateCPTaxCategory(long cpTaxCategoryId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap) throws com.liferay.portal.kernel.exception.PortalException
updateCPTaxCategory(String, long, Map, Map)
com.liferay.portal.kernel.exception.PortalException
public static CPTaxCategory updateCPTaxCategory(java.lang.String externalReferenceCode, long cpTaxCategoryId, java.util.Map<java.util.Locale,java.lang.String> nameMap, java.util.Map<java.util.Locale,java.lang.String> descriptionMap) throws com.liferay.portal.kernel.exception.PortalException
com.liferay.portal.kernel.exception.PortalException
public static CPTaxCategoryService getService()