Package com.ateam.webstore.dao

Examples of com.ateam.webstore.dao.ServiceCaseDAO


public class ServiceCaseService implements RepositoryService<ServiceCase> {

  @Override
  public ServiceCase store(ServiceCase serviceCase) {
   
    ServiceCaseDAO repository = new ServiceCaseDAO();
    return repository.save(serviceCase);
  }
View Full Code Here


  }

  @Override
  public void remove(ServiceCase serviceCase) {
   
    ServiceCaseDAO repository = new ServiceCaseDAO();
    repository.delete(serviceCase);
   
  }
View Full Code Here

  }

  @Override
  public Collection<ServiceCase> getAll() {
   
    ServiceCaseDAO repository = new ServiceCaseDAO();
    return repository.getAll();
  }
View Full Code Here

    return repository.getAll();
  }

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

TOP

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

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.