171819202122232425
public class SalesTaxService implements RepositoryService<SalesTax> { @Override public SalesTax store(SalesTax salesTax) { SalesTaxDAO repository = new SalesTaxDAO(); return repository.save(salesTax); }
252627282930313233
} @Override public void remove(SalesTax salesTax) { SalesTaxDAO repository = new SalesTaxDAO(); repository.delete(salesTax); }
333435363738394041
} @Override public Collection<SalesTax> getAll() { SalesTaxDAO repository = new SalesTaxDAO(); return repository.getAll(); }
4041424344454647
} @Override public SalesTax getById(Serializable id) { SalesTaxDAO repository = new SalesTaxDAO(); return repository.get(id); }