Updated comments

parent e9184f72
...@@ -6,13 +6,45 @@ import com.poc.entity.Employee; ...@@ -6,13 +6,45 @@ import com.poc.entity.Employee;
import com.poc.model.Emp; import com.poc.model.Emp;
public interface EmployeeService { public interface EmployeeService {
/**
*
* @param empId
* @return
*/
public Emp findByEmpId(Long empId); public Emp findByEmpId(Long empId);
/**
*
* @param id
* @return
*/
public Emp findById(String id); public Emp findById(String id);
/**
*
* @return
*/
public List<Emp> findAll(); public List<Emp> findAll();
/**
*
* @param emp
* @return
*/
public Emp save(Emp emp); public Emp save(Emp emp);
/**
*
* @param emp
*/
public void saveOrUpdate(Emp emp); public void saveOrUpdate(Emp emp);
/**
*
* @param sal
* @return
*/
public List<Emp> findBySalary(Double sal); public List<Emp> findBySalary(Double sal);
/**
*
* @param empId
* @return
*/
public Long deleteByEmpId(Long empId); public Long deleteByEmpId(Long empId);
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment