Interface CommerceDiscountRelService

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

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

    • addCommerceDiscountRel

      CommerceDiscountRel addCommerceDiscountRel(long commerceDiscountId, String className, long classPK, com.liferay.portal.kernel.util.UnicodeProperties typeSettingsUnicodeProperties, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommerceDiscountRel

      void deleteCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommerceDiscountRel

      @Transactional(propagation=SUPPORTS, readOnly=true) CommerceDiscountRel fetchCommerceDiscountRel(String className, long classPK) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesByCommerceDiscountId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceDiscountRel> getCategoriesByCommerceDiscountId(long commerceDiscountId, String name, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCategoriesByCommerceDiscountIdCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCategoriesByCommerceDiscountIdCount(long commerceDiscountId, String name) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getClassPKs

      @Transactional(propagation=SUPPORTS, readOnly=true) long[] getClassPKs(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountRel

      @Transactional(propagation=SUPPORTS, readOnly=true) CommerceDiscountRel getCommerceDiscountRel(long commerceDiscountRelId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountRels

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountRels

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceDiscountRel> getCommerceDiscountRels(long commerceDiscountId, String className, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommerceDiscountRel> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommerceDiscountRelsCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommerceDiscountRelsCount(long commerceDiscountId, String className) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePricingClassesByCommerceDiscountId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceDiscountRel> getCommercePricingClassesByCommerceDiscountId(long commerceDiscountId, String title, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePricingClassesByCommerceDiscountIdCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePricingClassesByCommerceDiscountIdCount(long commerceDiscountId, String title) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionsByCommerceDiscountId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceDiscountRel> getCPDefinitionsByCommerceDiscountId(long commerceDiscountId, String name, String languageId, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPDefinitionsByCommerceDiscountIdCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCPDefinitionsByCommerceDiscountIdCount(long commerceDiscountId, String name, String languageId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPInstancesByCommerceDiscountId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommerceDiscountRel> getCPInstancesByCommerceDiscountId(long commerceDiscountId, String sku, int start, int end) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCPInstancesByCommerceDiscountIdCount

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCPInstancesByCommerceDiscountIdCount(long commerceDiscountId, String sku) 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