org.kuali.hr.time.clock.location.dao
Class ClockLocationDaoOjbImpl

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.hr.time.clock.location.dao.ClockLocationDaoOjbImpl
All Implemented Interfaces:
ClockLocationDao, org.kuali.rice.core.framework.persistence.dao.PlatformAwareDao, org.springframework.beans.factory.InitializingBean

public class ClockLocationDaoOjbImpl
extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb
implements ClockLocationDao


Field Summary
 
Fields inherited from class org.springframework.dao.support.DaoSupport
logger
 
Constructor Summary
ClockLocationDaoOjbImpl()
           
 
Method Summary
 ClockLocationRule getClockLocationRule(String tkClockLocationRuleId)
          Get Clock Location Rule based on id
 List<ClockLocationRule> getClockLocationRule(String dept, Long workArea, String principalId, Long jobNumber, Date asOfDate)
          Get Clock location rule based on passed in criteria
 List<ClockLocationRule> getClockLocationRules(Date fromEffdt, Date toEffdt, String principalId, String jobNumber, String dept, String workArea, String active, String showHistory)
           
 List<ClockLocationRule> getNewerVersionClockLocationRule(String dept, Long workArea, String principalId, Long jobNumber, Date asOfDate)
          Get list of clock location rules based on criteria
 void populateIPAddressesForCLR(ClockLocationRule clr)
          populate ip addresses for given ClockLocationRule
 
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

ClockLocationDaoOjbImpl

public ClockLocationDaoOjbImpl()
Method Detail

getClockLocationRule

public List<ClockLocationRule> getClockLocationRule(String dept,
                                                    Long workArea,
                                                    String principalId,
                                                    Long jobNumber,
                                                    Date asOfDate)
Description copied from interface: ClockLocationDao
Get Clock location rule based on passed in criteria

Specified by:
getClockLocationRule in interface ClockLocationDao
Returns:

getNewerVersionClockLocationRule

public List<ClockLocationRule> getNewerVersionClockLocationRule(String dept,
                                                                Long workArea,
                                                                String principalId,
                                                                Long jobNumber,
                                                                Date asOfDate)
Description copied from interface: ClockLocationDao
Get list of clock location rules based on criteria

Specified by:
getNewerVersionClockLocationRule in interface ClockLocationDao
Returns:

getClockLocationRule

public ClockLocationRule getClockLocationRule(String tkClockLocationRuleId)
Description copied from interface: ClockLocationDao
Get Clock Location Rule based on id

Specified by:
getClockLocationRule in interface ClockLocationDao
Returns:

populateIPAddressesForCLR

public void populateIPAddressesForCLR(ClockLocationRule clr)
Description copied from interface: ClockLocationDao
populate ip addresses for given ClockLocationRule

Specified by:
populateIPAddressesForCLR in interface ClockLocationDao

getClockLocationRules

public List<ClockLocationRule> getClockLocationRules(Date fromEffdt,
                                                     Date toEffdt,
                                                     String principalId,
                                                     String jobNumber,
                                                     String dept,
                                                     String workArea,
                                                     String active,
                                                     String showHistory)
Specified by:
getClockLocationRules in interface ClockLocationDao


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