public interface JobDao
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 endDate) |
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 positionNbr,
String payType,
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 |
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
|
void saveOrUpdate(JobBo job)
job
- void saveOrUpdate(List<JobBo> jobList)
jobList
- List<JobBo> getJobs(String principalId, org.joda.time.LocalDate payPeriodEndDate)
principalId
- payPeriodEndDate
- JobBo getJob(String principalId, Long jobNumber, org.joda.time.LocalDate asOfDate)
principalId
- jobNumber
- asOfDate
- JobBo getPrimaryJob(String principalId, org.joda.time.LocalDate payPeriodEndDate)
principalId
- payPeriodEndDate
- List<JobBo> getActiveJobsForPayType(String hrPayType, org.joda.time.LocalDate asOfDate)
hrPayType
- asOfDate
- JobBo getMaxJob(String principalId)
principalId
- List<JobBo> getJobs(String principalId, String jobNumber, String dept, String positionNbr, String payType, org.joda.time.LocalDate fromEffdt, org.joda.time.LocalDate toEffdt, String active, String showHistory)
int getJobCount(String principalId, Long jobNumber, String dept)
principalId
- jobNumber
- List<JobBo> getActiveLeaveJobs(String principalId, org.joda.time.LocalDate asOfDate)
List<JobBo> getAllActiveLeaveJobs(String principalId, org.joda.time.LocalDate asOfDate)
List<JobBo> getInactiveLeaveJobs(Long jobNumber, String principalId, org.joda.time.LocalDate endDate)
List<JobBo> getAllInActiveLeaveJobsInRange(String principalId, org.joda.time.LocalDate endDate)
JobBo getMaxTimestampJob(String principalId)
List<String> getPrincipalIdsInPosition(String positionNumber, org.joda.time.LocalDate asOfDate)
positionNumber
- asOfDate
- Copyright © 2004–2014 The Kuali Foundation. All rights reserved.