package com.ims.logic;

import com.ims.domain.Supplier;

public class SupplierLogic {
	
	Supplier sup = new Supplier();
	
	

}

@@ -17,16 +17,103 @@
 logic;%0A%0A
+import java.util.List;%0A%0Aimport com.ims.dao.DAOSupplier;%0Aimport com.ims.dao.DISupplier;%0A
 import c
@@ -169,39 +169,357 @@
 ic %7B
+%09
 %0A%09%0A%09
-Supplier sup = new 
+DAOSupplier daoSup = new DISupplier() %7B%0A%09%09%0A%09%09@Override%0A%09%09public Supplier getSupplier(int id) %7B%0A%09%09%09// TODO Auto-generated method stub%0A%09%09%09Supplier sup = daoSup.getSupplier(id);%0A%09%09%09return sup;%0A%09%09%7D%0A%09%09%0A%09%09@Override%0A%09%09public List%3CSupplier%3E getAllSuppliers() %7B%0A%09%09%09// TODO Auto-generated method stub%0A%09%09%09%0A%09%09%09List%3CSupplier%3E supList = daoSup.getAll
 Supplier
 ();%0A
@@ -518,15 +518,39 @@
 lier
+s
 ();%0A%09
-%0A
 %09
+%09return supList;%0A%09%09%7D%0A%09%7D;
 %0A%0A%7D%0A

add methods to SupplierLogic.java file