@Service @Transactional(readOnly=true) public class EisCommonService extends Object
| Constructor and Description |
|---|
EisCommonService() |
| Modifier and Type | Method and Description |
|---|---|
List<org.egov.infra.admin.master.entity.User> |
getAllActiveUsersByGivenDesig(Long designationId)
Get all active users by designation as per the current date
|
org.egov.infra.admin.master.entity.Department |
getDepartmentForUser(Long userId)
Returns employee department for user
|
PersonalInformation |
getEmployeeByUserId(Long userId)
Deprecated.
|
org.egov.pims.commons.Designation |
getEmployeeDesignation(Long posId)
Deprecated.
|
Employee |
getEmployeeForPositionAndDate(Long posId,
Date givenDate)
Deprecated.
|
Assignment |
getLatestAssignmentForEmployee(Long empId)
Deprecated.
|
Assignment |
getLatestAssignmentForEmployeeByDate(Long empId,
Date toDate) |
Assignment |
getLatestAssignmentForEmployeeByToDate(Long empId,
Date toDate)
Deprecated.
|
org.egov.pims.commons.Position |
getPositionByUserId(Long userId)
Deprecated.
|
Employee |
getPrimaryAssignmentEmployeeForPos(Long posId)
Deprecated.
|
org.egov.pims.commons.Position |
getPrimaryAssignmentPositionForEmp(Long empId)
Deprecated.
|
org.egov.pims.commons.Position |
getSuperiorPositionByObjectAndObjectSubTypeAndPositionFrom(Integer objectId,
String objectSubType,
Long posId)
Deprecated.
|
org.egov.pims.commons.Position |
getSuperiorPositionByObjectTypeAndPositionFrom(Integer objectId,
Long posId)
Deprecated.
|
org.egov.infra.admin.master.entity.User |
getUserForPosition(Long posId,
Date givenDate)
Returns user for the given position
|
Boolean |
isHod(Long assignId)
Deprecated.
|
@Deprecated public org.egov.pims.commons.Position getSuperiorPositionByObjectTypeAndPositionFrom(Integer objectId, Long posId)
objectId - posId - @Deprecated public org.egov.pims.commons.Position getSuperiorPositionByObjectAndObjectSubTypeAndPositionFrom(Integer objectId, String objectSubType, Long posId)
objectId - objectSubType - posId - public org.egov.infra.admin.master.entity.User getUserForPosition(Long posId, Date givenDate)
posId - givenDate - @Deprecated public org.egov.pims.commons.Designation getEmployeeDesignation(Long posId)
posId - public org.egov.infra.admin.master.entity.Department getDepartmentForUser(Long userId)
userId - @Deprecated public org.egov.pims.commons.Position getPositionByUserId(Long userId)
userId - @Deprecated public Assignment getLatestAssignmentForEmployee(Long empId)
empId - @Deprecated public Assignment getLatestAssignmentForEmployeeByToDate(Long empId, Date toDate)
empId - toDate - public Assignment getLatestAssignmentForEmployeeByDate(Long empId, Date toDate)
@Deprecated public org.egov.pims.commons.Position getPrimaryAssignmentPositionForEmp(Long empId)
empId - @Deprecated public Employee getPrimaryAssignmentEmployeeForPos(Long posId)
posId - @Deprecated public PersonalInformation getEmployeeByUserId(Long userId)
userId - @Deprecated public Boolean isHod(Long assignId)
assignId - @Deprecated public Employee getEmployeeForPositionAndDate(Long posId, Date givenDate)
posId - givenDate - Copyright © 2015–2017 eGovernments Foundation. All rights reserved.