public DiscountManagerImpl(DiscountManager discountManager) { this.discountManager = discountManager; dao = DiscountDao.getInstance(); itemManagerImpl = new ItemManagerImpl(); companyManagerImpl = new CompanyManagerImpl(); categoryManagerImpl = new CategoryManagerImpl(); }
public SellingPriceManagerImpl(SellingPriceManager sellingPriceManager) { this.sellingPriceManager = sellingPriceManager; dao = SellingPriceDao.getInstance(); itemManagerImpl = new ItemManagerImpl(); companyManagerImpl = new CompanyManagerImpl(); categoryManagerImpl = new CategoryManagerImpl(); }
public ItemManagerImpl(ItemManager itemManager) { itemDao = ItemDao.getInstance(); categoryManagerImpl = new CategoryManagerImpl(); companyManagerImpl = new CompanyManagerImpl(); unitManagerImpl = new UnitManagerImpl(); stockManagerImpl = new StockManagerImpl(); this.itemManager = itemManager; }