org.kuali.hr.time.principal.dao
Class PrincipalHRAttributesDaoImpl
java.lang.Object
  
org.springframework.dao.support.DaoSupport
      
org.springmodules.orm.ojb.support.PersistenceBrokerDaoSupport
          
org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
              
org.kuali.hr.time.principal.dao.PrincipalHRAttributesDaoImpl
- All Implemented Interfaces: 
 - PrincipalHRAttributesDao, org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean
 
public class PrincipalHRAttributesDaoImpl
- extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
- implements PrincipalHRAttributesDao
  
 
| Fields inherited from class org.springframework.dao.support.DaoSupport | 
logger | 
 
 
| 
Method Summary | 
 List<PrincipalHRAttributes> | 
getActiveEmployeesForLeaveCalendar(String leaveCalendarName,
                                                                     Date asOfDate)
 
            | 
 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)
 
            | 
 List<String> | 
getActiveEmployeesIdForLeaveCalendarAndIdList(String leaveCalendarName,
                                                                                           List<String> pidList,
                                                                                           Date asOfDate)
 
            | 
 List<String> | 
getActiveEmployeesIdForTimeCalendarAndIdList(String timeCalendarName,
                                                                                         List<String> pidList,
                                                                                         Date asOfDate)
 
            | 
 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)
 
            | 
 List<PrincipalHRAttributes> | 
getInactivePrincipalHRAttributesForRange(String principalId,
                                                                                 Date startDate,
                                                                                 Date endDate)
 
            | 
 PrincipalHRAttributes | 
getMaxTimeStampPrincipalHRAttributes(String principalId)
 
            | 
 PrincipalHRAttributes | 
getPrincipalCalendar(String principalId,
                                         Date asOfDate)
 
            | 
 List<PrincipalHRAttributes> | 
getPrincipalHrAtributes(String principalId,
                                               String leavePlan,
                                               Date fromEffdt,
                                               Date toEffdt,
                                               String active,
                                               String showHistory)
 
            | 
 PrincipalHRAttributes | 
getPrincipalHRAttributes(String hrPrincipalAttributeId)
 
            | 
 List<String> | 
getUniqueLeavePayGroupsForPrincipalIds(List<String> principalIds)
 
            | 
 List<String> | 
getUniqueTimePayGroups()
 
            | 
 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 | 
 
PrincipalHRAttributesDaoImpl
public PrincipalHRAttributesDaoImpl()
getPrincipalCalendar
public PrincipalHRAttributes getPrincipalCalendar(String principalId,
                                                  Date 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,
                                                                    Date asOfDate)
- Specified by:
 getActiveEmployeesForPayCalendar in interface PrincipalHRAttributesDao
 
 
getActiveEmployeesForLeaveCalendar
public List<PrincipalHRAttributes> getActiveEmployeesForLeaveCalendar(String leaveCalendarName,
                                                                      Date asOfDate)
- Specified by:
 getActiveEmployeesForLeaveCalendar in interface PrincipalHRAttributesDao
 
 
getActiveEmployeesIdForLeaveCalendarAndIdList
public List<String> getActiveEmployeesIdForLeaveCalendarAndIdList(String leaveCalendarName,
                                                                  List<String> pidList,
                                                                  Date asOfDate)
- Specified by:
 getActiveEmployeesIdForLeaveCalendarAndIdList in interface PrincipalHRAttributesDao
 
 
getActiveEmployeesIdForTimeCalendarAndIdList
public List<String> getActiveEmployeesIdForTimeCalendarAndIdList(String timeCalendarName,
                                                                 List<String> pidList,
                                                                 Date asOfDate)
- Specified by:
 getActiveEmployeesIdForTimeCalendarAndIdList in interface PrincipalHRAttributesDao
 
 
getActiveEmployeesForLeavePlan
public List<PrincipalHRAttributes> getActiveEmployeesForLeavePlan(String leavePlan,
                                                                  Date 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:
 
 
 
getUniqueLeavePayGroupsForPrincipalIds
public List<String> getUniqueLeavePayGroupsForPrincipalIds(List<String> principalIds)
- Specified by:
 getUniqueLeavePayGroupsForPrincipalIds in interface PrincipalHRAttributesDao
 
 
getUniqueTimePayGroups
public List<String> getUniqueTimePayGroups()
- Specified by:
 getUniqueTimePayGroups in interface PrincipalHRAttributesDao
 
 
getInactivePrincipalHRAttributes
public PrincipalHRAttributes getInactivePrincipalHRAttributes(String principalId,
                                                              Date 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,
                                                                                   Date asOfDate)
- Specified by:
 getAllActivePrincipalHrAttributesForPrincipalId in interface PrincipalHRAttributesDao
 
 
getAllInActivePrincipalHrAttributesForPrincipalId
public List<PrincipalHRAttributes> getAllInActivePrincipalHrAttributesForPrincipalId(String principalId,
                                                                                     Date 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,
                                                                          Date startDate,
                                                                          Date endDate)
- Specified by:
 getActivePrincipalHrAttributesForRange in interface PrincipalHRAttributesDao
 
 
getInactivePrincipalHRAttributesForRange
public List<PrincipalHRAttributes> getInactivePrincipalHRAttributesForRange(String principalId,
                                                                            Date startDate,
                                                                            Date endDate)
- Specified by:
 getInactivePrincipalHRAttributesForRange in interface PrincipalHRAttributesDao
 
 
getPrincipalHrAtributes
public List<PrincipalHRAttributes> getPrincipalHrAtributes(String principalId,
                                                           String leavePlan,
                                                           Date fromEffdt,
                                                           Date toEffdt,
                                                           String active,
                                                           String showHistory)
- Specified by:
 getPrincipalHrAtributes in interface PrincipalHRAttributesDao
 
 
Copyright © 2004-2013 The Kuali Foundation. All Rights Reserved.