com.dotmarketing.portlets.product.factories
Class ProductPriceFactory

java.lang.Object
  extended by com.dotmarketing.portlets.product.factories.ProductPriceFactory

public class ProductPriceFactory
extends java.lang.Object

Author:
david

Constructor Summary
ProductPriceFactory()
           
 
Method Summary
static void copyProductPrice(ProductFormat format, ProductPrice price)
           
static void copyProductPrice(ProductPrice price)
           
static void deleteProductPrice(ProductPrice price)
           
static java.util.List<ProductPrice> getAllBulkProductPricesByFormat(ProductFormat format)
           
static java.util.List getAllProductPrices()
           
static java.util.List getAllProductPrices(java.lang.String orderby)
           
static java.util.List<ProductPrice> getAllProductPricesByFormat(ProductFormat format)
           
static java.util.List<ProductPrice> getAllQuantityPricePricesByFormat(ProductFormat format, int quantity)
           
static java.util.List<ProductPrice> getMinorQuantityPricePricesByFormat(ProductFormat format, int quantity)
           
static ProductPrice getProductCode(long inode)
           
static ProductPrice getProductPrice(java.lang.String inode)
           
static java.util.List<ProductPrice> getQuantityPricePricesByFormat(ProductFormat format, int quantity)
           
static ProductPrice newInstance()
           
static void saveProductPrice(ProductPrice price)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProductPriceFactory

public ProductPriceFactory()
Method Detail

getAllProductPrices

public static java.util.List getAllProductPrices()

getAllProductPrices

public static java.util.List getAllProductPrices(java.lang.String orderby)

getAllProductPricesByFormat

public static java.util.List<ProductPrice> getAllProductPricesByFormat(ProductFormat format)

getAllBulkProductPricesByFormat

public static java.util.List<ProductPrice> getAllBulkProductPricesByFormat(ProductFormat format)

getQuantityPricePricesByFormat

public static java.util.List<ProductPrice> getQuantityPricePricesByFormat(ProductFormat format,
                                                                          int quantity)

getMinorQuantityPricePricesByFormat

public static java.util.List<ProductPrice> getMinorQuantityPricePricesByFormat(ProductFormat format,
                                                                               int quantity)

getAllQuantityPricePricesByFormat

public static java.util.List<ProductPrice> getAllQuantityPricePricesByFormat(ProductFormat format,
                                                                             int quantity)

newInstance

public static ProductPrice newInstance()

saveProductPrice

public static void saveProductPrice(ProductPrice price)

deleteProductPrice

public static void deleteProductPrice(ProductPrice price)

copyProductPrice

public static void copyProductPrice(ProductPrice price)

copyProductPrice

public static void copyProductPrice(ProductFormat format,
                                    ProductPrice price)

getProductPrice

public static ProductPrice getProductPrice(java.lang.String inode)

getProductCode

public static ProductPrice getProductCode(long inode)


Copyright © 2006 Dotmarketing, Inc. All Rights Reserved.