Interface CommercePricingClassService

All Superinterfaces:
com.liferay.portal.kernel.service.BaseService
All Known Implementing Classes:
CommercePricingClassServiceWrapper

@AccessControlled @CTAware @JSONWebService @ProviderType @Transactional(isolation=PORTAL, rollbackFor={com.liferay.portal.kernel.exception.PortalException.class,com.liferay.portal.kernel.exception.SystemException.class}) public interface CommercePricingClassService extends com.liferay.portal.kernel.service.BaseService
Provides the remote service interface for CommercePricingClass. 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

    • addCommercePricingClass

      CommercePricingClass addCommercePricingClass(String externalReferenceCode, Map<Locale,String> titleMap, 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
    • addOrUpdateCommercePricingClass

      CommercePricingClass addOrUpdateCommercePricingClass(String externalReferenceCode, long commercePricingClassId, Map<Locale,String> titleMap, 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
    • deleteCommercePricingClass

      CommercePricingClass deleteCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePricingClass

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePricingClass fetchCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePricingClassByExternalReferenceCode

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePricingClass fetchCommercePricingClassByExternalReferenceCode(String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePricingClass

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePricingClass getCommercePricingClass(long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePricingClassCountByCPDefinitionId

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePricingClassCountByCPDefinitionId(long cpDefinitionId, String title) throws com.liferay.portal.kernel.security.auth.PrincipalException
      Throws:
      com.liferay.portal.kernel.security.auth.PrincipalException
    • getCommercePricingClasses

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommercePricingClass> getCommercePricingClasses(long companyId, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePricingClass> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePricingClassesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePricingClassesCount(long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePricingClassesCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePricingClassesCount(long cpDefinitionId, String title) throws com.liferay.portal.kernel.security.auth.PrincipalException
      Throws:
      com.liferay.portal.kernel.security.auth.PrincipalException
    • getOSGiServiceIdentifier

      String getOSGiServiceIdentifier()
      Returns the OSGi service identifier.
      Returns:
      the OSGi service identifier
    • searchByCPDefinitionId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommercePricingClass> searchByCPDefinitionId(long cpDefinitionId, String title, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException
      Throws:
      com.liferay.portal.kernel.security.auth.PrincipalException
    • searchCommercePricingClasses

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePricingClass> searchCommercePricingClasses(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
    • updateCommercePricingClass

      CommercePricingClass updateCommercePricingClass(long commercePricingClassId, Map<Locale,String> titleMap, 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
    • updateCommercePricingClassExternalReferenceCode

      CommercePricingClass updateCommercePricingClassExternalReferenceCode(String externalReferenceCode, long commercePricingClassId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException