Class CommercePriceListTestUtil

java.lang.Object
com.liferay.commerce.test.util.price.list.CommercePriceListTestUtil

public class CommercePriceListTestUtil extends Object
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static com.liferay.commerce.price.list.model.CommercePriceList
    addAccountAndChannelPriceList(long groupId, long commerceAccountId, long commerceChannelId, String type)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addAccountGroupAndChannelPriceList(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String type)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addAccountGroupPriceList(long groupId, long[] commerceAccountGroupIds, String type)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addAccountGroupsToPriceList(long groupId, long[] commerceAccountGroupIds, long commercePriceListId)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addAccountPriceList(long groupId, long commerceAccountId, String type)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addAccountToPriceList(long groupId, long commerceAccountId, long commercePriceListId)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addChannelPriceList(long groupId, long commerceChannelId, String type)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addChannelToPriceList(long groupId, long commerceChannelId, long commercePriceListId)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addCommercePriceList(long groupId, boolean catalogBasePriceList, String type, double priority)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addCommercePriceList(long groupId, boolean catalogBasePriceList, String currencyCode, String type, double priority)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addCommercePriceList(long groupId, com.liferay.portal.kernel.model.User user, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency, double priority, com.liferay.portal.kernel.service.ServiceContext serviceContext)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addCommercePriceList(String externalReferenceCode, long groupId, String currency, boolean netPrice, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addCommercePriceList(String externalReferenceCode, long groupId, String currency, boolean netPrice, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addCommercePriceList(String externalReferenceCode, long groupId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addCommercePriceList(String externalReferenceCode, long groupId, String currency, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long commercePriceListId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long commercePriceListId, String currency, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate)
     
    static com.liferay.commerce.price.list.model.CommercePriceList
    updateCommercePriceList(long groupId, long commercePriceListId, long parentCommercePriceListId, boolean catalogBasePriceList, String currency, Date displayDate, Date expirationDate, String name, boolean netPrice, Boolean neverExpire, Double priority)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • CommercePriceListTestUtil

      public CommercePriceListTestUtil()
  • Method Details

    • addAccountAndChannelPriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addAccountAndChannelPriceList(long groupId, long commerceAccountId, long commerceChannelId, String type) throws Exception
      Throws:
      Exception
    • addAccountGroupAndChannelPriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addAccountGroupAndChannelPriceList(long groupId, long[] commerceAccountGroupIds, long commerceChannelId, String type) throws Exception
      Throws:
      Exception
    • addAccountGroupPriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addAccountGroupPriceList(long groupId, long[] commerceAccountGroupIds, String type) throws Exception
      Throws:
      Exception
    • addAccountGroupsToPriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addAccountGroupsToPriceList(long groupId, long[] commerceAccountGroupIds, long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addAccountPriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addAccountPriceList(long groupId, long commerceAccountId, String type) throws Exception
      Throws:
      Exception
    • addAccountToPriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addAccountToPriceList(long groupId, long commerceAccountId, long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addChannelPriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addChannelPriceList(long groupId, long commerceChannelId, String type) throws Exception
      Throws:
      Exception
    • addChannelToPriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addChannelToPriceList(long groupId, long commerceChannelId, long commercePriceListId) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(long groupId, boolean catalogBasePriceList, String type, double priority) throws Exception
      Throws:
      Exception
    • addCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(long groupId, boolean catalogBasePriceList, String currencyCode, String type, double priority) throws Exception
      Throws:
      Exception
    • addCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(long groupId, com.liferay.portal.kernel.model.User user, com.liferay.commerce.currency.model.CommerceCurrency commerceCurrency, double priority, com.liferay.portal.kernel.service.ServiceContext serviceContext) throws Exception
      Throws:
      Exception
    • addCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, String currency, boolean netPrice, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, String currency, boolean netPrice, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addCommercePriceList(String externalReferenceCode, long groupId, String currency, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long commercePriceListId, String currency, long parentCommercePriceListId, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • addOrUpdateCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList addOrUpdateCommercePriceList(String externalReferenceCode, long groupId, long commercePriceListId, String currency, String name, Double priority, Boolean neverExpire, Date displayDate, Date expirationDate) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException
    • updateCommercePriceList

      public static com.liferay.commerce.price.list.model.CommercePriceList updateCommercePriceList(long groupId, long commercePriceListId, long parentCommercePriceListId, boolean catalogBasePriceList, String currency, Date displayDate, Date expirationDate, String name, boolean netPrice, Boolean neverExpire, Double priority) throws com.liferay.portal.kernel.exception.PortalException
      Throws:
      com.liferay.portal.kernel.exception.PortalException