Package com.ateam.webstore.dao

Examples of com.ateam.webstore.dao.EmployeeRolesDAO


public class EmployeeRolesService implements RepositoryService<EmployeeRoles> {

  @Override
  public EmployeeRoles store(EmployeeRoles employeeRoles) {
   
    EmployeeRolesDAO repository = new EmployeeRolesDAO();
    return repository.save(employeeRoles);
  }
View Full Code Here


  }

  @Override
  public void remove(EmployeeRoles employeeRoles) {
   
    EmployeeRolesDAO repository = new EmployeeRolesDAO();
    repository.delete(employeeRoles);
   
  }
View Full Code Here

  }

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

    return repository.getAll();
  }

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

TOP

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

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.