|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.kpme.core.job.dao.JobDaoOjbImpl
public class JobDaoOjbImpl
Represents an implementation of JobDao
.
Field Summary |
---|
Fields inherited from class org.springframework.dao.support.DaoSupport |
---|
logger |
Constructor Summary | |
---|---|
JobDaoOjbImpl()
|
Method Summary | |
---|---|
List<Job> |
getActiveJobsForPayType(String hrPayType,
org.joda.time.LocalDate asOfDate)
Fetch active jobs that are incumbents of the payType |
List<Job> |
getActiveLeaveJobs(String principalId,
org.joda.time.LocalDate asOfDate)
|
List<Job> |
getAllActiveLeaveJobs(String principalId,
org.joda.time.LocalDate asOfDate)
|
List<Job> |
getAllInActiveLeaveJobsInRange(String principalId,
org.joda.time.LocalDate endDate)
|
List<Job> |
getInactiveLeaveJobs(Long jobNumber,
org.joda.time.LocalDate asOfDate)
|
Job |
getJob(String hrJobId)
Get job based on id |
Job |
getJob(String principalId,
Long jobNumber,
org.joda.time.LocalDate asOfDate)
|
int |
getJobCount(String principalId,
Long jobNumber,
String dept)
Fetch the count of the jobs with the given principalId and jobNumber |
List<Job> |
getJobs(String principalId,
org.joda.time.LocalDate payPeriodEndDate)
Provides a list of current jobs that are valid relative to the provided effective date. |
List<Job> |
getJobs(String principalId,
String jobNumber,
String dept,
String positionNumber,
String hrPayType,
org.joda.time.LocalDate fromEffdt,
org.joda.time.LocalDate toEffdt,
String active,
String showHistory)
|
Job |
getMaxJob(String principalId)
Get job with max(jobNumber) for a certain principalId |
Job |
getMaxTimestampJob(String principalId)
|
Job |
getPrimaryJob(String principalId,
org.joda.time.LocalDate payPeriodEndDate)
Get Primary Job as indicated by primary indicator on Job table |
List<String> |
getPrincipalIdsInPosition(String positionNumber,
org.joda.time.LocalDate asOfDate)
Returns all of the principal ids actively particpating in a job in the given position number |
void |
saveOrUpdate(Job job)
Saves or Updates a Job |
void |
saveOrUpdate(List<Job> jobList)
Saves or updates a job list |
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 |
---|
public JobDaoOjbImpl()
Method Detail |
---|
public void saveOrUpdate(Job job)
JobDao
saveOrUpdate
in interface JobDao
public void saveOrUpdate(List<Job> jobList)
JobDao
saveOrUpdate
in interface JobDao
public Job getPrimaryJob(String principalId, org.joda.time.LocalDate payPeriodEndDate)
JobDao
getPrimaryJob
in interface JobDao
public List<Job> getJobs(String principalId, org.joda.time.LocalDate payPeriodEndDate)
JobDao
getJobs
in interface JobDao
public Job getJob(String principalId, Long jobNumber, org.joda.time.LocalDate asOfDate)
getJob
in interface JobDao
public List<Job> getActiveJobsForPayType(String hrPayType, org.joda.time.LocalDate asOfDate)
JobDao
getActiveJobsForPayType
in interface JobDao
public Job getJob(String hrJobId)
JobDao
getJob
in interface JobDao
public Job getMaxJob(String principalId)
JobDao
getMaxJob
in interface JobDao
public List<Job> getJobs(String principalId, String jobNumber, String dept, String positionNumber, String hrPayType, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt, String active, String showHistory)
getJobs
in interface JobDao
public int getJobCount(String principalId, Long jobNumber, String dept)
JobDao
getJobCount
in interface JobDao
public List<Job> getActiveLeaveJobs(String principalId, org.joda.time.LocalDate asOfDate)
getActiveLeaveJobs
in interface JobDao
public List<Job> getInactiveLeaveJobs(Long jobNumber, org.joda.time.LocalDate asOfDate)
getInactiveLeaveJobs
in interface JobDao
public List<Job> getAllActiveLeaveJobs(String principalId, org.joda.time.LocalDate asOfDate)
getAllActiveLeaveJobs
in interface JobDao
public List<Job> getAllInActiveLeaveJobsInRange(String principalId, org.joda.time.LocalDate endDate)
getAllInActiveLeaveJobsInRange
in interface JobDao
public Job getMaxTimestampJob(String principalId)
getMaxTimestampJob
in interface JobDao
public List<String> getPrincipalIdsInPosition(String positionNumber, org.joda.time.LocalDate asOfDate)
JobDao
getPrincipalIdsInPosition
in interface JobDao
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |