org.kuali.hr.time.principal.service
Class PrincipalHRAttributesServiceImpl

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

public class PrincipalHRAttributesServiceImpl
extends Object
implements PrincipalHRAttributesService


Constructor Summary
PrincipalHRAttributesServiceImpl()
           
 
Method Summary
 List<PrincipalHRAttributes> getActiveEmployeesForLeaveCalendar(String leaveCalendarName, Date asOfDate)
          Get a list of active employees based on leave calendar and as of a particular date
 List<PrincipalHRAttributes> getActiveEmployeesForLeavePlan(String leavePlan, Date 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, Date 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, Date 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, Date asOfDate)
          Get a list of unique principal ids that match given criteria, used by Time approval pages
 List<PrincipalHRAttributes> getActivePrincipalHrAttributesForRange(String principalId, Date startDate, Date endDate)
           
 List<PrincipalHRAttributes> getAllActivePrincipalHrAttributesForPrincipalId(String principalId, Date asOfDate)
           
 List<PrincipalHRAttributes> getAllInActivePrincipalHrAttributesForPrincipalId(String principalId, Date asOfDate)
           
 PrincipalHRAttributes getInactivePrincipalHRAttributes(String principalId, Date asOfDate)
          Fetch inactive PrincipalHRAttributes object at a particular date
 List<PrincipalHRAttributes> getInactivePrincipalHRAttributesForRange(String principalId, Date startDate, Date endDate)
           
 PrincipalHRAttributes getMaxTimeStampPrincipalHRAttributes(String principalId)
           
 PrincipalHRAttributes getPrincipalCalendar(String principalId, Date asOfDate)
          Fetch PrincipalCalendar object at a particular date
 List<PrincipalHRAttributes> getPrincipalHrAtributes(String principalId, String leavePlan, Date fromEffdt, Date toEffdt, String active, String showHistory)
          Fetch list of PrincipalHRAttributes using given parameters
 PrincipalHRAttributes getPrincipalHRAttributes(String hrPrincipalAttributeId)
          Fetch PrincipalHRAttributes object with given id
 List<String> getUniqueTimePayGroups()
          Get List of all active pay calendars
 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,
                                                  Date 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,
                                                                    Date 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,
                                                                      Date 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,
                                                                  Date 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,
                                                                 Date 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,
                                                                  Date 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,
                                                              Date 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,
                                                                                   Date 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,
                                                                                     Date asOfDate)
Specified by:
getAllInActivePrincipalHrAttributesForPrincipalId in interface PrincipalHRAttributesService

getActivePrincipalHrAttributesForRange

public List<PrincipalHRAttributes> getActivePrincipalHrAttributesForRange(String principalId,
                                                                          Date startDate,
                                                                          Date endDate)
Specified by:
getActivePrincipalHrAttributesForRange in interface PrincipalHRAttributesService

getInactivePrincipalHRAttributesForRange

public List<PrincipalHRAttributes> getInactivePrincipalHRAttributesForRange(String principalId,
                                                                            Date startDate,
                                                                            Date endDate)
Specified by:
getInactivePrincipalHRAttributesForRange in interface PrincipalHRAttributesService

getPrincipalHrAtributes

public List<PrincipalHRAttributes> getPrincipalHrAtributes(String principalId,
                                                           String leavePlan,
                                                           Date fromEffdt,
                                                           Date 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

getUniqueTimePayGroups

public List<String> getUniqueTimePayGroups()
Description copied from interface: PrincipalHRAttributesService
Get List of all active pay calendars

Specified by:
getUniqueTimePayGroups in interface PrincipalHRAttributesService
Returns:


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