org.kuali.kpme.core.principal.service
Interface PrincipalHRAttributesService

All Known Implementing Classes:
PrincipalHRAttributesServiceImpl

public interface PrincipalHRAttributesService


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.
 

Method Detail

getPrincipalCalendar

@Cacheable(value="http://kpme.kuali.org/core/PrincipalHRAttributes",
           key="\'principalId=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
PrincipalHRAttributes getPrincipalCalendar(String principalId,
                                                     org.joda.time.LocalDate asOfDate)
Fetch PrincipalCalendar object at a particular date

Parameters:
principalId -
asOfDate -
Returns:

getActiveEmployeesForPayCalendar

@Cacheable(value="http://kpme.kuali.org/core/PrincipalHRAttributes",
           key="\'payCalendarName=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
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

Parameters:
payCalendarName -
asOfDate -
Returns:

getActiveEmployeesForLeaveCalendar

@Cacheable(value="http://kpme.kuali.org/core/PrincipalHRAttributes",
           key="\'leaveCalendarName=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
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

Parameters:
leaveCalendarName -
asOfDate -
Returns:

getActiveEmployeesIdForLeaveCalendarAndIdList

@Cacheable(value="http://kpme.kuali.org/core/PrincipalHRAttributes",
           key="\'leaveCalendarName=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
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

Parameters:
leaveCalendarName -
pidList -
asOfDate -
Returns:

getActiveEmployeesIdForTimeCalendarAndIdList

@Cacheable(value="http://kpme.kuali.org/core/PrincipalHRAttributes",
           key="\'timeCalendarName=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
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

Parameters:
timeCalendarName -
pidList -
asOfDate -
Returns:

getActiveEmployeesForLeavePlan

@Cacheable(value="http://kpme.kuali.org/core/PrincipalHRAttributes",
           key="\'leavePlan=\' + #p0 + \'|\' + \'asOfDate=\' + #p1")
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

Parameters:
leavePlan -
asOfDate -
Returns:

getInactivePrincipalHRAttributes

PrincipalHRAttributes getInactivePrincipalHRAttributes(String principalId,
                                                       org.joda.time.LocalDate 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,
                                                                            org.joda.time.LocalDate asOfDate)

getAllInActivePrincipalHrAttributesForPrincipalId

List<PrincipalHRAttributes> getAllInActivePrincipalHrAttributesForPrincipalId(String principalId,
                                                                              org.joda.time.LocalDate asOfDate)

getMaxTimeStampPrincipalHRAttributes

PrincipalHRAttributes getMaxTimeStampPrincipalHRAttributes(String principalId)

getActivePrincipalHrAttributesForRange

@Cacheable(value="http://kpme.kuali.org/core/PrincipalHRAttributes",
           key="\'{getActivePrincipalHrAttributesForRange}\' + \'principalId=\' + #p0 + \'|\' + \'startDate=\' + #p1 + \'|\' + \'startDate=\' + #p2")
List<PrincipalHRAttributes> getActivePrincipalHrAttributesForRange(String principalId,
                                                                             org.joda.time.LocalDate startDate,
                                                                             org.joda.time.LocalDate endDate)

getInactivePrincipalHRAttributesForRange

List<PrincipalHRAttributes> getInactivePrincipalHRAttributesForRange(String principalId,
                                                                     org.joda.time.LocalDate startDate,
                                                                     org.joda.time.LocalDate endDate)

getPrincipalHrAtributes

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

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

getUniquePayCalendars

List<String> getUniquePayCalendars(List<String> principalIds)
Get List of all active pay calendars for the given principal ids.

Returns:

getUniqueLeaveCalendars

List<String> getUniqueLeaveCalendars(List<String> principalIds)
Get List of all active leave calendars for the given principal ids.

Returns:


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