Пример #1
0
 public DiscountManagerImpl(DiscountManager discountManager)
 {
     this.discountManager = discountManager;
     dao                 = DiscountDao.getInstance();
     itemManagerImpl     = new ItemManagerImpl();
     companyManagerImpl  = new CompanyManagerImpl();
     categoryManagerImpl = new CategoryManagerImpl();
 }
Пример #2
0
 public SellingPriceManagerImpl(SellingPriceManager sellingPriceManager)
 {
     this.sellingPriceManager = sellingPriceManager;
     dao                 = SellingPriceDao.getInstance();
     itemManagerImpl     = new ItemManagerImpl();
     companyManagerImpl  = new CompanyManagerImpl();
     categoryManagerImpl = new CategoryManagerImpl();
 }
Пример #3
0
 public ItemManagerImpl(ItemManager itemManager)
 {
     itemDao             = ItemDao.getInstance();
     categoryManagerImpl = new CategoryManagerImpl();
     companyManagerImpl  = new CompanyManagerImpl();
     unitManagerImpl     = new UnitManagerImpl();
     stockManagerImpl    = new StockManagerImpl();
     this.itemManager    = itemManager;
 }
        public StockTransferManagerImpl(AddStockTransfer addStockTransfer)
        {
            this.addStockTransfer = addStockTransfer;
            stockTransferDao      = StockTransferDao.getInstance();
            stockTransferItemDao  = StockTransferItemDao.getInstance();

            itemManagerImpl    = new ItemManagerImpl();
            companyManagerImpl = new CompanyManagerImpl();
            stockManagerImpl   = new StockManagerImpl();
        }