public class AssignmentHibernateDAO extends Object implements AssignmentDAO
| Constructor and Description |
|---|
AssignmentHibernateDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(Assignment egEmpAssignment) |
Assignment |
getAssignmentById(Integer id) |
org.hibernate.Session |
getCurrentSession() |
List<EmployeeView> |
getEmployeeWithTempAssignment(Date givenDate,
Integer posId)
Api to get Employee Report with Temporary Assignemt
|
List<EmployeeView> |
getEmployeeWithTempAssignment(String code,
Date givenDate,
Integer posId)
Api to get Employee Report with Temporary Assignemt.
|
Assignment |
getLatestAssignmentForEmployeeByToDate(Integer empId,
Date todate) |
List |
getListOfEmployeeWithoutAssignment(Date fromdate) |
void |
update(Assignment assignment) |
public org.hibernate.Session getCurrentSession()
public Assignment getAssignmentById(Integer id)
getAssignmentById in interface AssignmentDAOpublic List getListOfEmployeeWithoutAssignment(Date fromdate)
getListOfEmployeeWithoutAssignment in interface AssignmentDAOpublic Assignment getLatestAssignmentForEmployeeByToDate(Integer empId, Date todate) throws Exception
getLatestAssignmentForEmployeeByToDate in interface AssignmentDAOExceptionpublic List<EmployeeView> getEmployeeWithTempAssignment(Date givenDate, Integer posId)
getEmployeeWithTempAssignment in interface AssignmentDAODate - Position - Idpublic List<EmployeeView> getEmployeeWithTempAssignment(String code, Date givenDate, Integer posId)
getEmployeeWithTempAssignment in interface AssignmentDAODate - Position - Idemployee - code@Transactional public void create(Assignment egEmpAssignment)
create in interface AssignmentDAO@Transactional public void update(Assignment assignment)
update in interface AssignmentDAOCopyright © 2015–2017 eGovernments Foundation. All rights reserved.