Interface CommercePriceListService

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

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

    • addCommercePriceList

      CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, String commerceCurrencyCode, boolean netPrice, String type, long parentCommercePriceListId, boolean catalogBasePriceList, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommercePriceList

      CommercePriceList addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long commercePriceListId, String commerceCurrencyCode, boolean netPrice, String type, long parentCommercePriceListId, boolean catalogBasePriceList, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • deleteCommercePriceList

      void deleteCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCatalogBaseCommercePriceListByType

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePriceList fetchCatalogBaseCommercePriceListByType(long groupId, String type) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePriceList

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePriceList fetchCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • fetchCommercePriceListByExternalReferenceCode

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

      @Transactional(propagation=SUPPORTS, readOnly=true) CommercePriceList getCommercePriceList(long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceLists

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

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommercePriceList> getCommercePriceLists(long companyId, String type, int status, int start, int end, com.liferay.portal.kernel.util.OrderByComparator<CommercePriceList> orderByComparator) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • getCommercePriceListsCount

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

      @Transactional(propagation=SUPPORTS, readOnly=true) int getCommercePriceListsCount(long commercePricingClassId, 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
    • searchByCommercePricingClassId

      @Transactional(propagation=SUPPORTS, readOnly=true) List<CommercePriceList> searchByCommercePricingClassId(long commercePricingClassId, String name, int start, int end) throws com.liferay.portal.kernel.security.auth.PrincipalException
      Throws:
      com.liferay.portal.kernel.security.auth.PrincipalException
    • searchCommercePriceLists

      @Transactional(propagation=SUPPORTS, readOnly=true) com.liferay.portal.kernel.search.BaseModelSearchResult<CommercePriceList> searchCommercePriceLists(long companyId, String keywords, int status, 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
    • searchCommercePriceListsCount

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

      void setCatalogBasePriceList(long groupId, long commercePriceListId, String type) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePriceList

      CommercePriceList updateCommercePriceList(long commercePriceListId, String commerceCurrencyCode, boolean netPrice, long parentCommercePriceListId, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePriceList

      CommercePriceList updateCommercePriceList(long commercePriceListId, String commerceCurrencyCode, boolean netPrice, String type, long parentCommercePriceListId, boolean catalogBasePriceList, String name, double priority, int displayDateMonth, int displayDateDay, int displayDateYear, int displayDateHour, int displayDateMinute, int expirationDateMonth, int expirationDateDay, int expirationDateYear, int expirationDateHour, int expirationDateMinute, boolean neverExpire, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateExternalReferenceCode

      CommercePriceList updateExternalReferenceCode(CommercePriceList commercePriceList, String externalReferenceCode, long companyId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException