Interface CPTaxCategoryService
- All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
- All Known Implementing Classes:
CPTaxCategoryServiceWrapper
@AccessControlled
@CTAware
@JSONWebService
@ProviderType
@Transactional(isolation=PORTAL,
rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class})
public interface CPTaxCategoryService
extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CPTaxCategory. 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:
-
Method Summary
Modifier and TypeMethodDescriptionaddCPTaxCategory
(String externalReferenceCode, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap, com.liferay.portal.kernel.service.ServiceContext serviceContext) int
countCPTaxCategoriesByCompanyId
(long companyId, String keyword) void
deleteCPTaxCategory
(long cpTaxCategoryId) findCPTaxCategoriesByCompanyId
(long companyId, String keyword, int start, int end) getCPTaxCategories
(long companyId) getCPTaxCategories
(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CPTaxCategory> orderByComparator) int
getCPTaxCategoriesCount
(long companyId) getCPTaxCategory
(long cpTaxCategoryId) Returns the OSGi service identifier.com.liferay.portal.kernel.search.BaseModelSearchResult<CPTaxCategory>
searchCPTaxCategories
(long companyId, String keywords, int start, int end, com.liferay.portal.kernel.search.Sort sort) updateCPTaxCategory
(String externalReferenceCode, long cpTaxCategoryId, Map<Locale, String> nameMap, Map<Locale, String> descriptionMap)
-
Method Details
-
addCPTaxCategory
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
int countCPTaxCategoriesByCompanyId(long companyId, String keyword) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
deleteCPTaxCategory
void deleteCPTaxCategory(long cpTaxCategoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
findCPTaxCategoriesByCompanyId
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
@Transactional(propagation=SUPPORTS, readOnly=true) List<CPTaxCategory> getCPTaxCategories(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPTaxCategories
@Transactional(propagation=SUPPORTS, readOnly=true) 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
@Transactional(propagation=SUPPORTS, readOnly=true) int getCPTaxCategoriesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getCPTaxCategory
@Transactional(propagation=SUPPORTS, readOnly=true) CPTaxCategory getCPTaxCategory(long cpTaxCategoryId) throws com.liferay.portal.kernel.exception.PortalException - Throws:
com.liferay.portal.kernel.exception.PortalException
-
getOSGiServiceIdentifier
String getOSGiServiceIdentifier()Returns the OSGi service identifier.- Returns:
- the OSGi service identifier
-
searchCPTaxCategories
@Transactional(propagation=SUPPORTS, readOnly=true) 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
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
-