|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.kuali.hr.job.service.JobServiceImpl
public class JobServiceImpl
Represents an implementation of JobService
.
Constructor Summary | |
---|---|
JobServiceImpl()
|
Method Summary | |
---|---|
List<Job> |
getActiveJobsForPayType(String hrPayType,
Date asOfDate)
|
List<Job> |
getActiveJobsForPosition(String positionNbr,
Date asOfDate)
|
Job |
getJob(String hrJobId)
Get job by the unique id |
Job |
getJob(String principalId,
Long jobNumber,
Date asOfDate)
Provides a job by specific job number, principal ID and as of Date combination. |
Job |
getJob(String principalId,
Long jobNumber,
Date asOfDate,
boolean chkDetails)
Provides a job by specific job number, principal ID and as of Date combination, and check details will throw error if required. |
int |
getJobCount(String principalId,
Long jobNumber,
String dept)
|
List<Job> |
getJobs(String principalId,
Date asOfDate)
Provides a list of current jobs that are valid relative to the provided effective date. |
List<Job> |
getJobs(String principalId,
String firstName,
String lastName,
String jobNumber,
String dept,
String positionNbr,
String payType,
Date fromEffdt,
Date toEffdt,
String active,
String showHistory)
|
Job |
getMaxJob(String principalId)
Get the max jobnumber job for this principal |
Job |
getPrimaryJob(String principalId,
Date payPeriodEndDate)
For a given principal ID, the job that is marked "primary" is returned here. |
BigDecimal |
getStandardHoursSumForJobs(List<Job> jobs)
Get sum of standard hours of given jobs |
void |
saveOrUpdate(Job job)
Updates or saves a job |
void |
saveOrUpdate(List<Job> jobList)
Updates or saves a list of jobs |
void |
setJobDao(JobDao jobDao)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JobServiceImpl()
Method Detail |
---|
public void saveOrUpdate(Job job)
JobService
saveOrUpdate
in interface JobService
public void saveOrUpdate(List<Job> jobList)
JobService
saveOrUpdate
in interface JobService
public void setJobDao(JobDao jobDao)
public List<Job> getJobs(String principalId, Date asOfDate)
JobService
getJobs
in interface JobService
public Job getJob(String principalId, Long jobNumber, Date asOfDate)
JobService
getJob
in interface JobService
public Job getPrimaryJob(String principalId, Date payPeriodEndDate)
JobService
getPrimaryJob
in interface JobService
principalId
- The principal under investigationpayPeriodEndDate
- Run the request as of this date.
public Job getJob(String principalId, Long jobNumber, Date asOfDate, boolean chkDetails)
JobService
getJob
in interface JobService
public List<Job> getActiveJobsForPosition(String positionNbr, Date asOfDate)
getActiveJobsForPosition
in interface JobService
public List<Job> getActiveJobsForPayType(String hrPayType, Date asOfDate)
getActiveJobsForPayType
in interface JobService
public Job getJob(String hrJobId)
JobService
getJob
in interface JobService
public Job getMaxJob(String principalId)
JobService
getMaxJob
in interface JobService
public List<Job> getJobs(String principalId, String firstName, String lastName, String jobNumber, String dept, String positionNbr, String payType, Date fromEffdt, Date toEffdt, String active, String showHistory)
getJobs
in interface JobService
public int getJobCount(String principalId, Long jobNumber, String dept)
getJobCount
in interface JobService
public BigDecimal getStandardHoursSumForJobs(List<Job> jobs)
JobService
getStandardHoursSumForJobs
in interface JobService
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |