Package DBLayer

Examples of DBLayer.IFDBSupplier


       
    }
   
    public Supplier searchByName(String Name)
    {
        IFDBSupplier DBSupplier = new DBSupplier();
        return DBSupplier.searchSupplierName(Name, true);
    }
View Full Code Here


    }
    
   
      public int updateSupplier(String Name, String Address, String Country, String PhoneNumber , String Email)
      {
          IFDBSupplier dbSupplier = new DBSupplier();
          Supplier sup = new Supplier();
          String name1 = dbSupplier.searchSupplierName(Name, false).getName();
        
          sup.setName(name1);
          sup.setAddress(Address);
          sup.setCountry(Country);
          sup.setPhoneNumber(PhoneNumber);
          sup.setEmail(Email);
       
          return  dbSupplier.updateSupplier(sup);
         
         
      }
View Full Code Here

      }
       
        public void deleteSupplier(String name)
       
        {
          IFDBSupplier dbSupplierObj = new DBSupplier();
          dbSupplierObj.deleteSupplier(name);
        }
View Full Code Here

TOP

Related Classes of DBLayer.IFDBSupplier

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.