org.kuali.kpme.core.principal.dao
Class PrincipalHRAttributesDaoOjbImpl

java.lang.Object
  extended by org.springframework.dao.support.DaoSupport
      extended by org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          extended by org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
              extended by org.kuali.kpme.core.principal.dao.PrincipalHRAttributesDaoOjbImpl
All Implemented Interfaces:
PrincipalHRAttributesDao, org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class PrincipalHRAttributesDaoOjbImpl
extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
implements PrincipalHRAttributesDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
PrincipalHRAttributesDaoOjbImpl()
           
 
Method Summary
 List<PrincipalHRAttributes> getActiveEmployeesForLeaveCalendar(String leaveCalendarName, org.joda.time.LocalDate asOfDate)
           
 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)
           
 List<String> getActiveEmployeesIdForLeaveCalendarAndIdList(String leaveCalendarName, List<String> pidList, org.joda.time.LocalDate asOfDate)
           
 List<String> getActiveEmployeesIdForTimeCalendarAndIdList(String timeCalendarName, List<String> pidList, org.joda.time.LocalDate asOfDate)
           
 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)
           
 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)
           
 List<PrincipalHRAttributes> getPrincipalHrAtributes(String principalId, String leavePlan, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt, String active, String showHistory)
           
 PrincipalHRAttributes getPrincipalHRAttributes(String hrPrincipalAttributeId)
           
 List<String> getUniqueLeaveCalendars(List<String> principalIds)
           
 List<String> getUniquePayCalendars(List<String> principalIds)
           
 void saveOrUpdate(List<PrincipalHRAttributes> lstPrincipalCalendar)
           
 void saveOrUpdate(PrincipalHRAttributes principalCalendar)
           
 
Methods inherited from class org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
getDbPlatform, setDbPlatform
 
Methods inherited from class org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
checkDaoConfig, convertOjbAccessException, createPersistenceBrokerTemplate, getJcdAlias, getPersistenceBroker, getPersistenceBrokerTemplate, releasePersistenceBroker, setJcdAlias, setPersistenceBrokerTemplate
 
Methods inherited from class org.springframework.dao.support.DaoSupport
afterPropertiesSet, initDao
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalHRAttributesDaoOjbImpl

public PrincipalHRAttributesDaoOjbImpl()
Method Detail

getPrincipalCalendar

public PrincipalHRAttributes getPrincipalCalendar(String principalId,
                                                  org.joda.time.LocalDate asOfDate)
Specified by:
getPrincipalCalendar in interface PrincipalHRAttributesDao

saveOrUpdate

public void saveOrUpdate(PrincipalHRAttributes principalCalendar)
Specified by:
saveOrUpdate in interface PrincipalHRAttributesDao

saveOrUpdate

public void saveOrUpdate(List<PrincipalHRAttributes> lstPrincipalCalendar)
Specified by:
saveOrUpdate in interface PrincipalHRAttributesDao

getActiveEmployeesForPayCalendar

public List<PrincipalHRAttributes> getActiveEmployeesForPayCalendar(String payCalendarName,
                                                                    org.joda.time.LocalDate asOfDate)
Specified by:
getActiveEmployeesForPayCalendar in interface PrincipalHRAttributesDao

getActiveEmployeesForLeaveCalendar

public List<PrincipalHRAttributes> getActiveEmployeesForLeaveCalendar(String leaveCalendarName,
                                                                      org.joda.time.LocalDate asOfDate)
Specified by:
getActiveEmployeesForLeaveCalendar in interface PrincipalHRAttributesDao

getActiveEmployeesIdForLeaveCalendarAndIdList

public List<String> getActiveEmployeesIdForLeaveCalendarAndIdList(String leaveCalendarName,
                                                                  List<String> pidList,
                                                                  org.joda.time.LocalDate asOfDate)
Specified by:
getActiveEmployeesIdForLeaveCalendarAndIdList in interface PrincipalHRAttributesDao

getActiveEmployeesIdForTimeCalendarAndIdList

public List<String> getActiveEmployeesIdForTimeCalendarAndIdList(String timeCalendarName,
                                                                 List<String> pidList,
                                                                 org.joda.time.LocalDate asOfDate)
Specified by:
getActiveEmployeesIdForTimeCalendarAndIdList in interface PrincipalHRAttributesDao

getActiveEmployeesForLeavePlan

public List<PrincipalHRAttributes> getActiveEmployeesForLeavePlan(String leavePlan,
                                                                  org.joda.time.LocalDate asOfDate)
Description copied from interface: PrincipalHRAttributesDao
KPME-1250 Kagata Get a list of active employees based on leave plan and as of a particular date

Specified by:
getActiveEmployeesForLeavePlan in interface PrincipalHRAttributesDao
Returns:

getUniquePayCalendars

public List<String> getUniquePayCalendars(List<String> principalIds)
Specified by:
getUniquePayCalendars in interface PrincipalHRAttributesDao

getUniqueLeaveCalendars

public List<String> getUniqueLeaveCalendars(List<String> principalIds)
Specified by:
getUniqueLeaveCalendars in interface PrincipalHRAttributesDao

getInactivePrincipalHRAttributes

public PrincipalHRAttributes getInactivePrincipalHRAttributes(String principalId,
                                                              org.joda.time.LocalDate asOfDate)
Specified by:
getInactivePrincipalHRAttributes in interface PrincipalHRAttributesDao

getPrincipalHRAttributes

public PrincipalHRAttributes getPrincipalHRAttributes(String hrPrincipalAttributeId)
Specified by:
getPrincipalHRAttributes in interface PrincipalHRAttributesDao

getAllActivePrincipalHrAttributesForPrincipalId

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

getAllInActivePrincipalHrAttributesForPrincipalId

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

getMaxTimeStampPrincipalHRAttributes

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

getActivePrincipalHrAttributesForRange

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

getInactivePrincipalHRAttributesForRange

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

getPrincipalHrAtributes

public List<PrincipalHRAttributes> getPrincipalHrAtributes(String principalId,
                                                           String leavePlan,
                                                           org.joda.time.LocalDate fromEffdt,
                                                           org.joda.time.LocalDate toEffdt,
                                                           String active,
                                                           String showHistory)
Specified by:
getPrincipalHrAtributes in interface PrincipalHRAttributesDao


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