org.cocome.tradingsystem.inventory.application.store.impl
Class FillTransferObjects

java.lang.Object
  extended by org.cocome.tradingsystem.inventory.application.store.impl.FillTransferObjects

public class FillTransferObjects
extends java.lang.Object

Helper class to transfer the data from the persistent objects to the transfer objects

Author:
Yannick Welsch

Constructor Summary
FillTransferObjects()
           
 
Method Summary
static ComplexOrderEntryTO fillComplexOrderEntry(OrderEntry orderentry)
           
static ComplexOrderTO fillComplexOrderTO(ProductOrder order)
           
static EnterpriseTO fillEnterpriseTO(TradingEnterprise enterprise)
           
static OrderEntryTO fillOrderEntryTO(OrderEntry orderentry)
           
static OrderTO fillOrderTO(ProductOrder order)
           
static ProductTO fillProductTO(Product product)
           
static ProductWithStockItemTO fillProductWithStockItemTO(StockItem stockitem)
           
static ProductWithSupplierAndStockItemTO fillProductWithSupplierAndStockItemTO(StoreQueryIf storequery, long storeid, Product product, PersistenceContext pctx)
           
static ProductWithSupplierTO fillProductWithSupplierTO(Product product)
           
static StockItemTO fillStockItemTO(StockItem stockitem)
           
static StoreTO fillStoreTO(Store store)
           
static StoreWithEnterpriseTO fillStoreWithEnterpriseTO(Store store)
           
static SupplierTO fillSupplierTO(ProductSupplier supplier)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FillTransferObjects

public FillTransferObjects()
Method Detail

fillComplexOrderEntry

public static ComplexOrderEntryTO fillComplexOrderEntry(OrderEntry orderentry)

fillComplexOrderTO

public static ComplexOrderTO fillComplexOrderTO(ProductOrder order)

fillEnterpriseTO

public static EnterpriseTO fillEnterpriseTO(TradingEnterprise enterprise)

fillOrderEntryTO

public static OrderEntryTO fillOrderEntryTO(OrderEntry orderentry)

fillOrderTO

public static OrderTO fillOrderTO(ProductOrder order)

fillProductTO

public static ProductTO fillProductTO(Product product)

fillProductWithStockItemTO

public static ProductWithStockItemTO fillProductWithStockItemTO(StockItem stockitem)

fillProductWithSupplierAndStockItemTO

public static ProductWithSupplierAndStockItemTO fillProductWithSupplierAndStockItemTO(StoreQueryIf storequery,
                                                                                      long storeid,
                                                                                      Product product,
                                                                                      PersistenceContext pctx)

fillProductWithSupplierTO

public static ProductWithSupplierTO fillProductWithSupplierTO(Product product)

fillStockItemTO

public static StockItemTO fillStockItemTO(StockItem stockitem)

fillStoreTO

public static StoreTO fillStoreTO(Store store)

fillStoreWithEnterpriseTO

public static StoreWithEnterpriseTO fillStoreWithEnterpriseTO(Store store)

fillSupplierTO

public static SupplierTO fillSupplierTO(ProductSupplier supplier)