public class PersonalInformationService extends org.egov.infstr.services.PersistenceService<PersonalInformation,Integer> implements org.egov.commons.service.EntityTypeService
| Constructor and Description |
|---|
PersonalInformationService() |
PersonalInformationService(Class<PersonalInformation> type) |
| Modifier and Type | Method and Description |
|---|---|
List<org.egov.commons.utils.EntityType> |
filterActiveEntities(String filterKey,
int maxRecords,
Integer accountDetailTypeId) |
List<PersonalInformation> |
getActiveEmpListByUserLogin(Integer userid,
String autoValue,
int maxRecords)
when filterbydept set to yes return employee list based on the login user who has the current assignment
when filterbydept set to no return all employee list who has the assignment in the current/last assignment
|
List<EmployeeView> |
getAllActiveEmployeesEmpViewByPrimaryAssignment(String filterKey,
int maxRecords) |
List<org.egov.commons.utils.EntityType> |
getAllActiveEntities(Integer employeeId)
since it is mapped to only one AccountDetailType -creditor it ignores the input parameter
|
List |
getAssetCodesForProjectCode(Integer accountdetailkey) |
org.hibernate.Session |
getCurrentSession() |
List<PersonalInformation> |
getEmpListByUserLogin(Integer userid,
String autoValue,
int maxRecords)
return employee list based on the login user who has the assignment in the current period/MaxFromdate
|
List<PersonalInformation> |
getEmployeesByStatus(Integer statusid,
Date fromDate,
Date toDate)
Returns List of Employees for the given status and
Date range considered for the status['Retired','Deceased'] and as of toDate for the status[ 'Employed','Suspended' ]
|
org.egov.infstr.services.Page |
getEmployeesByStatus(Integer statusid,
Date fromDate,
Date toDate,
Integer pageNumber,
Integer pageSize)
Returns Page for the given status and
Date range considered for the status['Retired','Deceased'] and as of toDate for the status[ 'Employed','Suspended' ]
|
List<? extends org.egov.commons.utils.EntityType> |
getEntitiesById(List<Long> idsList) |
List<EmployeeView> |
getListOfEmployeeViewBasedOnCriteria(HashMap<String,Object> criteriaParams,
Integer pageNo,
Integer pageSize)
This API returns the list of EmployeeView objects which have a current assignment or
assignment as on date based on the parameters in the map.
|
List<EmployeeView> |
getListOfEmployeeViewBasedOnListOfDesignationAndOtherCriteria(HashMap<String,Object> criteriaParams,
Integer pageNo,
Integer pageSize)
This API returns the list of EmployeeView objects which have a current assignment or
assignment as on date based on the parameters in the map.
|
org.egov.infra.script.service.ScriptService |
getScriptService() |
int |
getTotalCountOfEmployeesByStatus(Integer statusid,
Date fromDate,
Date toDate)
Returns total record count for the given status and
Date range considered for the status['Retired','Deceased'] and as of toDate for the status[ 'Employed','Suspended' ]
|
void |
setScriptService(org.egov.infra.script.service.ScriptService scriptService) |
List<? extends org.egov.commons.utils.EntityType> |
validateEntityForRTGS(List<Long> idsList) |
addFilterCriteriaForObject, addIndexparams, applyAuditing, applyAuditing, create, delete, find, find, findAll, findAll, findAllBy, findAllByNamedQuery, findByExample, findById, findById, findByIdWithJoinFetch, findByNamedQuery, findPageBy, findPageByNamedQuery, getNamedQuery, getSession, getType, load, merge, persist, update, validate, validateModelpublic PersonalInformationService()
public PersonalInformationService(Class<PersonalInformation> type)
public org.hibernate.Session getCurrentSession()
public org.egov.infra.script.service.ScriptService getScriptService()
public void setScriptService(org.egov.infra.script.service.ScriptService scriptService)
public List<org.egov.commons.utils.EntityType> getAllActiveEntities(Integer employeeId)
getAllActiveEntities in interface org.egov.commons.service.EntityTypeServicepublic List<org.egov.commons.utils.EntityType> filterActiveEntities(String filterKey, int maxRecords, Integer accountDetailTypeId)
filterActiveEntities in interface org.egov.commons.service.EntityTypeServicepublic List<PersonalInformation> getActiveEmpListByUserLogin(Integer userid, String autoValue, int maxRecords)
userid - autoValue - maxRecords - public List<PersonalInformation> getEmpListByUserLogin(Integer userid, String autoValue, int maxRecords)
userid - autoValue - maxRecords - public List<EmployeeView> getAllActiveEmployeesEmpViewByPrimaryAssignment(String filterKey, int maxRecords)
public List<PersonalInformation> getEmployeesByStatus(Integer statusid, Date fromDate, Date toDate)
statusid - fromDate - toDate - public org.egov.infstr.services.Page getEmployeesByStatus(Integer statusid, Date fromDate, Date toDate, Integer pageNumber, Integer pageSize)
statusid - fromDate - toDate - pageNumber - pageSize - public int getTotalCountOfEmployeesByStatus(Integer statusid, Date fromDate, Date toDate)
statusid - fromDate - toDate - public List<EmployeeView> getListOfEmployeeViewBasedOnCriteria(HashMap<String,Object> criteriaParams, Integer pageNo, Integer pageSize)
criteriaParams - - HashMappageNo - pageSize - public List<EmployeeView> getListOfEmployeeViewBasedOnListOfDesignationAndOtherCriteria(HashMap<String,Object> criteriaParams, Integer pageNo, Integer pageSize)
criteriaParams - - HashMappageNo - pageSize - public List getAssetCodesForProjectCode(Integer accountdetailkey) throws org.egov.infra.validation.exception.ValidationException
getAssetCodesForProjectCode in interface org.egov.commons.service.EntityTypeServiceorg.egov.infra.validation.exception.ValidationExceptionpublic List<? extends org.egov.commons.utils.EntityType> validateEntityForRTGS(List<Long> idsList) throws org.egov.infra.validation.exception.ValidationException
validateEntityForRTGS in interface org.egov.commons.service.EntityTypeServiceorg.egov.infra.validation.exception.ValidationExceptionpublic List<? extends org.egov.commons.utils.EntityType> getEntitiesById(List<Long> idsList) throws org.egov.infra.validation.exception.ValidationException
getEntitiesById in interface org.egov.commons.service.EntityTypeServiceorg.egov.infra.validation.exception.ValidationExceptionCopyright © 2015–2017 eGovernments Foundation. All rights reserved.