public class JobDaoOjbImpl extends org.kuali.rice.core.framework.persistence.ojb.dao.PlatformAwareDaoBaseOjb implements JobDao
JobDao
.Constructor and Description |
---|
JobDaoOjbImpl() |
Modifier and Type | Method and Description |
---|---|
List<JobBo> |
getActiveJobsForPayType(String hrPayType,
org.joda.time.LocalDate asOfDate)
Fetch active jobs that are incumbents of the payType
|
List<JobBo> |
getActiveLeaveJobs(String principalId,
org.joda.time.LocalDate asOfDate) |
List<JobBo> |
getAllActiveLeaveJobs(String principalId,
org.joda.time.LocalDate asOfDate) |
List<JobBo> |
getAllInActiveLeaveJobsInRange(String principalId,
org.joda.time.LocalDate endDate) |
List<JobBo> |
getInactiveLeaveJobs(Long jobNumber,
String principalId,
org.joda.time.LocalDate asOfDate) |
JobBo |
getJob(String hrJobId)
Get job based on id
|
JobBo |
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<JobBo> |
getJobs(String principalId,
org.joda.time.LocalDate payPeriodEndDate)
Provides a list of current jobs that are valid relative to the provided effective date.
|
List<JobBo> |
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) |
JobBo |
getMaxJob(String principalId)
Get job with max(jobNumber) for a certain principalId
|
JobBo |
getMaxTimestampJob(String principalId) |
JobBo |
getNextInactiveJob(JobContract job) |
JobBo |
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(JobBo job)
Saves or Updates a Job
|
void |
saveOrUpdate(List<JobBo> jobList)
Saves or updates a job list
|
getDbPlatform, setDbPlatform
public JobDaoOjbImpl()
public void saveOrUpdate(JobBo job)
JobDao
saveOrUpdate
in interface JobDao
public void saveOrUpdate(List<JobBo> jobList)
JobDao
saveOrUpdate
in interface JobDao
public JobBo getPrimaryJob(String principalId, org.joda.time.LocalDate payPeriodEndDate)
JobDao
getPrimaryJob
in interface JobDao
public List<JobBo> getJobs(String principalId, org.joda.time.LocalDate payPeriodEndDate)
JobDao
public List<JobBo> getActiveJobsForPayType(String hrPayType, org.joda.time.LocalDate asOfDate)
JobDao
getActiveJobsForPayType
in interface JobDao
public JobBo getJob(String hrJobId)
JobDao
public JobBo getMaxJob(String principalId)
JobDao
public List<JobBo> 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)
public int getJobCount(String principalId, Long jobNumber, String dept)
JobDao
getJobCount
in interface JobDao
public List<JobBo> getActiveLeaveJobs(String principalId, org.joda.time.LocalDate asOfDate)
getActiveLeaveJobs
in interface JobDao
public List<JobBo> getInactiveLeaveJobs(Long jobNumber, String principalId, org.joda.time.LocalDate asOfDate)
getInactiveLeaveJobs
in interface JobDao
public List<JobBo> getAllActiveLeaveJobs(String principalId, org.joda.time.LocalDate asOfDate)
getAllActiveLeaveJobs
in interface JobDao
public List<JobBo> getAllInActiveLeaveJobsInRange(String principalId, org.joda.time.LocalDate endDate)
getAllInActiveLeaveJobsInRange
in interface JobDao
public JobBo getMaxTimestampJob(String principalId)
getMaxTimestampJob
in interface JobDao
public List<String> getPrincipalIdsInPosition(String positionNumber, org.joda.time.LocalDate asOfDate)
JobDao
getPrincipalIdsInPosition
in interface JobDao
public JobBo getNextInactiveJob(JobContract job)
getNextInactiveJob
in interface JobDao
Copyright © 2004–2014 The Kuali Foundation. All rights reserved.