Package com.ateam.webstore.dao

Examples of com.ateam.webstore.dao.ShipperDAO


public class ShipperService implements RepositoryService<Shipper> {

  @Override
  public Shipper store(Shipper shipper) {
   
    ShipperDAO repository = new ShipperDAO();
    return repository.save(shipper);
   
  }
View Full Code Here


  }

  @Override
  public void remove(Shipper shipper) {
   
    ShipperDAO repository = new ShipperDAO();
    repository.delete(shipper);
   
  }
View Full Code Here

  }

  @Override
  public Collection<Shipper> getAll() {

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

   
  }

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

TOP

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

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.