org.kuali.kpme.core.principal.service
Class PrincipalHRAttributesServiceImpl

java.lang.Object
  extended by org.kuali.kpme.core.principal.service.PrincipalHRAttributesServiceImpl
All Implemented Interfaces:
PrincipalHRAttributesService

public class PrincipalHRAttributesServiceImpl
extends Object
implements PrincipalHRAttributesService


Constructor Summary
PrincipalHRAttributesServiceImpl()
           
 
Method Summary
 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)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalHRAttributesServiceImpl

public PrincipalHRAttributesServiceImpl()
Method Detail

setPrincipalHRAttributesDao

public void setPrincipalHRAttributesDao(PrincipalHRAttributesDao principalHRAttributesDao)

getPrincipalCalendar

public PrincipalHRAttributes getPrincipalCalendar(String principalId,
                                                  org.joda.time.LocalDate asOfDate)
Description copied from interface: PrincipalHRAttributesService
Fetch PrincipalCalendar object at a particular date

Specified by:
getPrincipalCalendar in interface PrincipalHRAttributesService
Returns:

getActiveEmployeesForPayCalendar

public List<PrincipalHRAttributes> getActiveEmployeesForPayCalendar(String payCalendarName,
                                                                    org.joda.time.LocalDate asOfDate)
Description copied from interface: PrincipalHRAttributesService
Get a list of active employees based on pay calendar and as of a particular date

Specified by:
getActiveEmployeesForPayCalendar in interface PrincipalHRAttributesService
Returns:

getActiveEmployeesForLeaveCalendar

public List<PrincipalHRAttributes> getActiveEmployeesForLeaveCalendar(String leaveCalendarName,
                                                                      org.joda.time.LocalDate asOfDate)
Description copied from interface: PrincipalHRAttributesService
Get a list of active employees based on leave calendar and as of a particular date

Specified by:
getActiveEmployeesForLeaveCalendar in interface PrincipalHRAttributesService
Returns:

getActiveEmployeesIdForLeaveCalendarAndIdList

public List<String> getActiveEmployeesIdForLeaveCalendarAndIdList(String leaveCalendarName,
                                                                  List<String> pidList,
                                                                  org.joda.time.LocalDate asOfDate)
Description copied from interface: PrincipalHRAttributesService
Get a list of unique principal ids that match given criteria, used by leave approval and leave request approval pages

Specified by:
getActiveEmployeesIdForLeaveCalendarAndIdList in interface PrincipalHRAttributesService
Returns:

getActiveEmployeesIdForTimeCalendarAndIdList

public List<String> getActiveEmployeesIdForTimeCalendarAndIdList(String timeCalendarName,
                                                                 List<String> pidList,
                                                                 org.joda.time.LocalDate asOfDate)
Description copied from interface: PrincipalHRAttributesService
Get a list of unique principal ids that match given criteria, used by Time approval pages

Specified by:
getActiveEmployeesIdForTimeCalendarAndIdList in interface PrincipalHRAttributesService
Returns:

getActiveEmployeesForLeavePlan

public 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

Specified by:
getActiveEmployeesForLeavePlan in interface PrincipalHRAttributesService
Returns:

getInactivePrincipalHRAttributes

public PrincipalHRAttributes getInactivePrincipalHRAttributes(String principalId,
                                                              org.joda.time.LocalDate asOfDate)
Description copied from interface: PrincipalHRAttributesService
Fetch inactive PrincipalHRAttributes object at a particular date

Specified by:
getInactivePrincipalHRAttributes in interface PrincipalHRAttributesService
Returns:

getPrincipalHRAttributes

public PrincipalHRAttributes getPrincipalHRAttributes(String hrPrincipalAttributeId)
Description copied from interface: PrincipalHRAttributesService
Fetch PrincipalHRAttributes object with given id

Specified by:
getPrincipalHRAttributes in interface PrincipalHRAttributesService
Returns:

getAllActivePrincipalHrAttributesForPrincipalId

public List<PrincipalHRAttributes> getAllActivePrincipalHrAttributesForPrincipalId(String principalId,
                                                                                   org.joda.time.LocalDate asOfDate)
Specified by:
getAllActivePrincipalHrAttributesForPrincipalId in interface PrincipalHRAttributesService

getMaxTimeStampPrincipalHRAttributes

public PrincipalHRAttributes getMaxTimeStampPrincipalHRAttributes(String principalId)
Specified by:
getMaxTimeStampPrincipalHRAttributes in interface PrincipalHRAttributesService

getAllInActivePrincipalHrAttributesForPrincipalId

public List<PrincipalHRAttributes> getAllInActivePrincipalHrAttributesForPrincipalId(String principalId,
                                                                                     org.joda.time.LocalDate asOfDate)
Specified by:
getAllInActivePrincipalHrAttributesForPrincipalId in interface PrincipalHRAttributesService

getActivePrincipalHrAttributesForRange

public List<PrincipalHRAttributes> getActivePrincipalHrAttributesForRange(String principalId,
                                                                          org.joda.time.LocalDate startDate,
                                                                          org.joda.time.LocalDate endDate)
Specified by:
getActivePrincipalHrAttributesForRange in interface PrincipalHRAttributesService

getInactivePrincipalHRAttributesForRange

public List<PrincipalHRAttributes> getInactivePrincipalHRAttributesForRange(String principalId,
                                                                            org.joda.time.LocalDate startDate,
                                                                            org.joda.time.LocalDate endDate)
Specified by:
getInactivePrincipalHRAttributesForRange in interface PrincipalHRAttributesService

getPrincipalHrAtributes

public List<PrincipalHRAttributes> getPrincipalHrAtributes(String userPrincipalId,
                                                           String principalId,
                                                           String leavePlan,
                                                           org.joda.time.LocalDate fromEffdt,
                                                           org.joda.time.LocalDate toEffdt,
                                                           String active,
                                                           String showHistory)
Description copied from interface: PrincipalHRAttributesService
Fetch list of PrincipalHRAttributes using given parameters

Specified by:
getPrincipalHrAtributes in interface PrincipalHRAttributesService
showHistory - @return

getUniqueLeaveCalendars

public List<String> getUniqueLeaveCalendars(List<String> principalIds)
Description copied from interface: PrincipalHRAttributesService
Get List of all active leave calendars for the given principal ids.

Specified by:
getUniqueLeaveCalendars in interface PrincipalHRAttributesService
Returns:

getUniquePayCalendars

public List<String> getUniquePayCalendars(List<String> principalIds)
Description copied from interface: PrincipalHRAttributesService
Get List of all active pay calendars for the given principal ids.

Specified by:
getUniquePayCalendars in interface PrincipalHRAttributesService
Returns:


Copyright © 2004-2014 The Kuali Foundation. All Rights Reserved.