@Service(value="eisCommonsService") public class EisCommonsServiceImpl extends Object implements EisCommonsService
| Constructor and Description |
|---|
EisCommonsServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
checkEmpCode(String empCode) |
org.egov.pims.commons.Position |
getCurrentPositionByUser(org.egov.infra.admin.master.entity.User user)
This method returns the current position id of the user
|
org.hibernate.Session |
getCurrentSession() |
List<org.egov.pims.commons.Designation> |
getDesigantionBasedOnFuncDept(Integer deptId,
Integer functionaryId)
Api to get unique designation based on dept and functionary
|
org.egov.pims.commons.Position |
getPositionById(Integer positionId) |
org.egov.pims.commons.Position |
getPositionByName(String positionName) |
org.egov.pims.commons.Position |
getPositionByUserId(Long userId) |
org.egov.pims.commons.Position |
getPositionForUserByIdAndDate(Integer userId,
Date assignDate) |
PersonalInformation |
getTempAssignedEmployeeByDeptDesigFunctionaryDate(Integer deptId,
Integer desigId,
Integer functionaryId,
Date onDate)
Returning temporary assigned employee object by department,designation,functionary,date
|
org.egov.infra.admin.master.entity.User |
getUserForPosition(Integer posId,
Date date) |
org.egov.infra.admin.master.entity.User |
getUserforPosition(org.egov.pims.commons.Position pos) |
Boolean |
isEmployeeAutoGenerateCodeYesOrNo() |
void |
updatePosition(org.egov.pims.commons.Position position) |
public org.hibernate.Session getCurrentSession()
public void updatePosition(org.egov.pims.commons.Position position)
updatePosition in interface EisCommonsServicepublic org.egov.pims.commons.Position getPositionById(Integer positionId)
getPositionById in interface EisCommonsServicepublic org.egov.pims.commons.Position getPositionByUserId(Long userId)
getPositionByUserId in interface EisCommonsServicepublic org.egov.pims.commons.Position getPositionForUserByIdAndDate(Integer userId, Date assignDate)
getPositionForUserByIdAndDate in interface EisCommonsServicepublic org.egov.infra.admin.master.entity.User getUserforPosition(org.egov.pims.commons.Position pos)
getUserforPosition in interface EisCommonsServicepublic Boolean isEmployeeAutoGenerateCodeYesOrNo()
isEmployeeAutoGenerateCodeYesOrNo in interface EisCommonsServicepublic Boolean checkEmpCode(String empCode)
checkEmpCode in interface EisCommonsServicepublic org.egov.pims.commons.Position getPositionByName(String positionName)
getPositionByName in interface EisCommonsServicepublic org.egov.pims.commons.Position getCurrentPositionByUser(org.egov.infra.admin.master.entity.User user)
getCurrentPositionByUser in interface EisCommonsServiceuser - the user whose designation is needed.public org.egov.infra.admin.master.entity.User getUserForPosition(Integer posId, Date date)
getUserForPosition in interface EisCommonsServicepublic List<org.egov.pims.commons.Designation> getDesigantionBasedOnFuncDept(Integer deptId, Integer functionaryId) throws Exception
getDesigantionBasedOnFuncDept in interface EisCommonsServicedeptId - functionaryId - Exceptionpublic PersonalInformation getTempAssignedEmployeeByDeptDesigFunctionaryDate(Integer deptId, Integer desigId, Integer functionaryId, Date onDate) throws Exception
getTempAssignedEmployeeByDeptDesigFunctionaryDate in interface EisCommonsServicedeptId - DesigId - functionaryId - onDate - ExceptionCopyright © 2015–2017 eGovernments Foundation. All rights reserved.