package test.org.seasar.dao.impl;

import java.util.List;

public interface EmployeeAutoDao {

	public Class BEAN = Employee.class;
	
	public String getEmployeeByDeptno_ARGS = "deptno";
	public String getEmployeeByDeptno_ORDER = "deptno asc, empno desc";
	public List getEmployeeByDeptno(int deptno);
	
	public String getEmployeesBySal_QUERY = "sal BETWEEN ? AND ? ORDER BY empno";
	public List getEmployeesBySal(Float minSal, Float maxSal);
	
	public List getEmployeesBySearchCondition(EmployeeSearchCondition dto);
	
	public void insert(Employee employee);
	
	public void insertBatch(Employee[] employees);
	
	public void update(Employee employee);
	
	public void updateBatch(Employee[] employees);
	
	public void delete(Employee employee);
	
	public void deleteBatch(Employee[] employees);
}
