public class PrincipalHRAttributesServiceImpl extends Object implements PrincipalHRAttributesService
Constructor and Description |
---|
PrincipalHRAttributesServiceImpl() |
Modifier and Type | Method and Description |
---|---|
List<PrincipalHRAttributes> |
getActiveEmployeesForLeaveCalendar(String leaveCalendarName,
org.joda.time.LocalDate asOfDate)
Get a list of active employees based on leave calendar and as of a particular date
|
List<PrincipalHRAttributes> |
getActiveEmployeesForLeavePlan(String leavePlan,
org.joda.time.LocalDate asOfDate)
KPME-1250 Kagata
Get a list of active employees based on leave plan and as of a particular date
|
List<PrincipalHRAttributes> |
getActiveEmployeesForPayCalendar(String payCalendarName,
org.joda.time.LocalDate asOfDate)
Get a list of active employees based on pay calendar and as of a particular date
|
List<String> |
getActiveEmployeesIdForLeaveCalendarAndIdList(String leaveCalendarName,
List<String> pidList,
org.joda.time.LocalDate asOfDate)
Get a list of unique principal ids that match given criteria, used by leave approval and leave request approval pages
|
List<String> |
getActiveEmployeesIdForTimeCalendarAndIdList(String timeCalendarName,
List<String> pidList,
org.joda.time.LocalDate asOfDate)
Get a list of unique principal ids that match given criteria, used by Time approval pages
|
List<PrincipalHRAttributes> |
getActivePrincipalHrAttributesForRange(String principalId,
org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate) |
List<PrincipalHRAttributes> |
getAllActivePrincipalHrAttributesForPrincipalId(String principalId,
org.joda.time.LocalDate asOfDate) |
List<PrincipalHRAttributes> |
getAllInActivePrincipalHrAttributesForPrincipalId(String principalId,
org.joda.time.LocalDate asOfDate) |
PrincipalHRAttributes |
getInactivePrincipalHRAttributes(String principalId,
org.joda.time.LocalDate asOfDate)
Fetch inactive PrincipalHRAttributes object at a particular date
|
List<PrincipalHRAttributes> |
getInactivePrincipalHRAttributesForRange(String principalId,
org.joda.time.LocalDate startDate,
org.joda.time.LocalDate endDate) |
PrincipalHRAttributes |
getMaxTimeStampPrincipalHRAttributes(String principalId) |
PrincipalHRAttributes |
getPrincipalCalendar(String principalId,
org.joda.time.LocalDate asOfDate)
Fetch PrincipalCalendar object at a particular date
|
List<PrincipalHRAttributes> |
getPrincipalHrAtributes(String userPrincipalId,
String principalId,
String leavePlan,
org.joda.time.LocalDate fromEffdt,
org.joda.time.LocalDate toEffdt,
String active,
String showHistory)
Fetch list of PrincipalHRAttributes using given parameters
|
PrincipalHRAttributes |
getPrincipalHRAttributes(String hrPrincipalAttributeId)
Fetch PrincipalHRAttributes object with given id
|
List<String> |
getUniqueLeaveCalendars(List<String> principalIds)
Get List of all active leave calendars for the given principal ids.
|
List<String> |
getUniquePayCalendars(List<String> principalIds)
Get List of all active pay calendars for the given principal ids.
|
void |
setPrincipalHRAttributesDao(PrincipalHRAttributesDao principalHRAttributesDao) |
public PrincipalHRAttributesServiceImpl()
public void setPrincipalHRAttributesDao(PrincipalHRAttributesDao principalHRAttributesDao)
public PrincipalHRAttributes getPrincipalCalendar(String principalId, org.joda.time.LocalDate asOfDate)
PrincipalHRAttributesService
getPrincipalCalendar
in interface PrincipalHRAttributesService
public List<PrincipalHRAttributes> getActiveEmployeesForPayCalendar(String payCalendarName, org.joda.time.LocalDate asOfDate)
PrincipalHRAttributesService
getActiveEmployeesForPayCalendar
in interface PrincipalHRAttributesService
public List<PrincipalHRAttributes> getActiveEmployeesForLeaveCalendar(String leaveCalendarName, org.joda.time.LocalDate asOfDate)
PrincipalHRAttributesService
getActiveEmployeesForLeaveCalendar
in interface PrincipalHRAttributesService
public List<String> getActiveEmployeesIdForLeaveCalendarAndIdList(String leaveCalendarName, List<String> pidList, org.joda.time.LocalDate asOfDate)
PrincipalHRAttributesService
getActiveEmployeesIdForLeaveCalendarAndIdList
in interface PrincipalHRAttributesService
public List<String> getActiveEmployeesIdForTimeCalendarAndIdList(String timeCalendarName, List<String> pidList, org.joda.time.LocalDate asOfDate)
PrincipalHRAttributesService
getActiveEmployeesIdForTimeCalendarAndIdList
in interface PrincipalHRAttributesService
public List<PrincipalHRAttributes> getActiveEmployeesForLeavePlan(String leavePlan, org.joda.time.LocalDate asOfDate)
getActiveEmployeesForLeavePlan
in interface PrincipalHRAttributesService
public PrincipalHRAttributes getInactivePrincipalHRAttributes(String principalId, org.joda.time.LocalDate asOfDate)
PrincipalHRAttributesService
getInactivePrincipalHRAttributes
in interface PrincipalHRAttributesService
public PrincipalHRAttributes getPrincipalHRAttributes(String hrPrincipalAttributeId)
PrincipalHRAttributesService
getPrincipalHRAttributes
in interface PrincipalHRAttributesService
public List<PrincipalHRAttributes> getAllActivePrincipalHrAttributesForPrincipalId(String principalId, org.joda.time.LocalDate asOfDate)
getAllActivePrincipalHrAttributesForPrincipalId
in interface PrincipalHRAttributesService
public PrincipalHRAttributes getMaxTimeStampPrincipalHRAttributes(String principalId)
getMaxTimeStampPrincipalHRAttributes
in interface PrincipalHRAttributesService
public List<PrincipalHRAttributes> getAllInActivePrincipalHrAttributesForPrincipalId(String principalId, org.joda.time.LocalDate asOfDate)
getAllInActivePrincipalHrAttributesForPrincipalId
in interface PrincipalHRAttributesService
public List<PrincipalHRAttributes> getActivePrincipalHrAttributesForRange(String principalId, org.joda.time.LocalDate startDate, org.joda.time.LocalDate endDate)
getActivePrincipalHrAttributesForRange
in interface PrincipalHRAttributesService
public List<PrincipalHRAttributes> getInactivePrincipalHRAttributesForRange(String principalId, org.joda.time.LocalDate startDate, org.joda.time.LocalDate endDate)
getInactivePrincipalHRAttributesForRange
in interface PrincipalHRAttributesService
public List<PrincipalHRAttributes> getPrincipalHrAtributes(String userPrincipalId, String principalId, String leavePlan, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt, String active, String showHistory)
PrincipalHRAttributesService
getPrincipalHrAtributes
in interface PrincipalHRAttributesService
showHistory
- @returnpublic List<String> getUniqueLeaveCalendars(List<String> principalIds)
PrincipalHRAttributesService
getUniqueLeaveCalendars
in interface PrincipalHRAttributesService
public List<String> getUniquePayCalendars(List<String> principalIds)
PrincipalHRAttributesService
getUniquePayCalendars
in interface PrincipalHRAttributesService
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.