|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface JobDao
Method Summary | |
---|---|
List<Job> |
getActiveJobsForPayType(String hrPayType,
Date asOfDate)
Fetch active jobs that are incumbents of the payType |
List<Job> |
getActiveJobsForPosition(String positionNbr,
Date asOfDate)
Fetch active jobs that are incumbents of the position |
List<Job> |
getActiveLeaveJobs(String principalId,
Date asOfDate)
|
List<Job> |
getAllActiveLeaveJobs(String principalId,
Date asOfDate)
|
List<Job> |
getAllInActiveLeaveJobsInRange(String principalId,
Date startDate,
Date endDate)
|
List<Job> |
getInactiveLeaveJobs(Long jobNumber,
Date startDate,
Date endDate)
|
Job |
getJob(String hrJobId)
Get job based on id |
Job |
getJob(String principalId,
Long jobNumber,
Date 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,
Date 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 positionNbr,
String payType,
Date fromEffdt,
Date 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,
Date payPeriodEndDate)
Get Primary Job as indicated by primary indicator on Job table |
void |
saveOrUpdate(Job job)
Saves or Updates a Job |
void |
saveOrUpdate(List<Job> jobList)
Saves or updates a job list |
Method Detail |
---|
void saveOrUpdate(Job job)
job
- void saveOrUpdate(List<Job> jobList)
jobList
- List<Job> getJobs(String principalId, Date payPeriodEndDate)
principalId
- payPeriodEndDate
-
Job getJob(String principalId, Long jobNumber, Date asOfDate)
principalId
- jobNumber
- asOfDate
-
Job getPrimaryJob(String principalId, Date payPeriodEndDate)
principalId
- payPeriodEndDate
-
List<Job> getActiveJobsForPosition(String positionNbr, Date asOfDate)
positionNbr
- asOfDate
-
List<Job> getActiveJobsForPayType(String hrPayType, Date asOfDate)
hrPayType
- asOfDate
-
Job getJob(String hrJobId)
hrJobId
-
Job getMaxJob(String principalId)
principalId
-
List<Job> getJobs(String principalId, String jobNumber, String dept, String positionNbr, String payType, Date fromEffdt, Date toEffdt, String active, String showHistory)
int getJobCount(String principalId, Long jobNumber, String dept)
principalId
- jobNumber
-
List<Job> getActiveLeaveJobs(String principalId, Date asOfDate)
List<Job> getAllActiveLeaveJobs(String principalId, Date asOfDate)
List<Job> getInactiveLeaveJobs(Long jobNumber, Date startDate, Date endDate)
List<Job> getAllInActiveLeaveJobsInRange(String principalId, Date startDate, Date endDate)
Job getMaxTimestampJob(String principalId)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |