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 Details

    • addCPTaxCategory

      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

      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,String> descriptionMap) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException