Package com.ateam.webstore.dao

Examples of com.ateam.webstore.dao.SalesTaxDAO


public class SalesTaxService implements RepositoryService<SalesTax> {

  @Override
  public SalesTax store(SalesTax salesTax) {

    SalesTaxDAO repository = new SalesTaxDAO();
    return repository.save(salesTax);
   
  }
View Full Code Here


  }

  @Override
  public void remove(SalesTax salesTax) {
   
    SalesTaxDAO repository = new SalesTaxDAO();
    repository.delete(salesTax);
   
  }
View Full Code Here

  }

  @Override
  public Collection<SalesTax> getAll() {

    SalesTaxDAO repository = new SalesTaxDAO();
    return repository.getAll();
   
  }
View Full Code Here

   
  }

  @Override
  public SalesTax getById(Serializable id) {
    SalesTaxDAO repository = new SalesTaxDAO();
    return repository.get(id);
  }
View Full Code Here

TOP

Related Classes of com.ateam.webstore.dao.SalesTaxDAO

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.