org.kuali.hr.time.principal.service
Interface PrincipalHRAttributesService

All Known Implementing Classes:
PrincipalHRAttributesServiceImpl

public interface PrincipalHRAttributesService


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
 

Method Detail

getPrincipalCalendar

@Cacheable(value="KPME/PrincipalHRAttributes",
           key="\'principalId=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
PrincipalHRAttributes getPrincipalCalendar(String principalId,
                                                     Date asOfDate)
Fetch PrincipalCalendar object at a particular date

Parameters:
principalId -
asOfDate -
Returns:

getActiveEmployeesForPayCalendar

@Cacheable(value="KPME/PrincipalHRAttributes",
           key="\'payCalendarName=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
List<PrincipalHRAttributes> getActiveEmployeesForPayCalendar(String payCalendarName,
                                                                       Date asOfDate)
Get a list of active employees based on pay calendar and as of a particular date

Parameters:
payCalendarName -
asOfDate -
Returns:

getActiveEmployeesForLeaveCalendar

@Cacheable(value="KPME/PrincipalHRAttributes",
           key="\'leaveCalendarName=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
List<PrincipalHRAttributes> getActiveEmployeesForLeaveCalendar(String leaveCalendarName,
                                                                         Date asOfDate)
Get a list of active employees based on leave calendar and as of a particular date

Parameters:
leaveCalendarName -
asOfDate -
Returns:

getActiveEmployeesIdForLeaveCalendarAndIdList

@Cacheable(value="KPME/PrincipalHRAttributes",
           key="\'leaveCalendarName=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
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

Parameters:
leaveCalendarName -
pidList -
asOfDate -
Returns:

getActiveEmployeesIdForTimeCalendarAndIdList

@Cacheable(value="KPME/PrincipalHRAttributes",
           key="\'timeCalendarName=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
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

Parameters:
timeCalendarName -
pidList -
asOfDate -
Returns:

getActiveEmployeesForLeavePlan

@Cacheable(value="KPME/PrincipalHRAttributes",
           key="\'leavePlan=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
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

Parameters:
leavePlan -
asOfDate -
Returns:

getInactivePrincipalHRAttributes

PrincipalHRAttributes getInactivePrincipalHRAttributes(String principalId,
                                                       Date asOfDate)
Fetch inactive PrincipalHRAttributes object at a particular date

Parameters:
principalId -
asOfDate -
Returns:

getPrincipalHRAttributes

PrincipalHRAttributes getPrincipalHRAttributes(String hrPrincipalAttributeId)
Fetch PrincipalHRAttributes object with given id

Parameters:
hrPrincipalAttributeId -
Returns:

getAllActivePrincipalHrAttributesForPrincipalId

List<PrincipalHRAttributes> getAllActivePrincipalHrAttributesForPrincipalId(String principalId,
                                                                            Date asOfDate)

getAllInActivePrincipalHrAttributesForPrincipalId

List<PrincipalHRAttributes> getAllInActivePrincipalHrAttributesForPrincipalId(String principalId,
                                                                              Date asOfDate)

getMaxTimeStampPrincipalHRAttributes

PrincipalHRAttributes getMaxTimeStampPrincipalHRAttributes(String principalId)

getActivePrincipalHrAttributesForRange

List<PrincipalHRAttributes> getActivePrincipalHrAttributesForRange(String principalId,
                                                                   Date startDate,
                                                                   Date endDate)

getInactivePrincipalHRAttributesForRange

List<PrincipalHRAttributes> getInactivePrincipalHRAttributesForRange(String principalId,
                                                                     Date startDate,
                                                                     Date endDate)

getPrincipalHrAtributes

List<PrincipalHRAttributes> getPrincipalHrAtributes(String principalId,
                                                    String leavePlan,
                                                    Date fromEffdt,
                                                    Date toEffdt,
                                                    String active,
                                                    String showHistory)
Fetch list of PrincipalHRAttributes using given parameters

Parameters:
principalId -
leavePlan -
fromEffdt -
toEffdt -
active -
showHistory - @return

getUniqueTimePayGroups

List<String> getUniqueTimePayGroups()
Get List of all active pay calendars

Returns:


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