|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface JobInstanceDao
Data Access Object for job instances.
| Method Summary | |
|---|---|
JobInstance |
createJobInstance(String jobName,
JobParameters jobParameters)
Create a JobInstance with given name and parameters. |
JobInstance |
getJobInstance(JobExecution jobExecution)
Fetch the JobInstance for the provided JobExecution. |
JobInstance |
getJobInstance(Long instanceId)
Fetch the job instance with the provided identifier. |
JobInstance |
getJobInstance(String jobName,
JobParameters jobParameters)
Find the job instance that matches the given name and parameters. |
List<JobInstance> |
getJobInstances(String jobName,
int start,
int count)
Fetch the last job instances with the provided name, sorted backwards by primary key. |
List<String> |
getJobNames()
Retrieve the names of all job instances sorted alphabetically - i.e. |
| Method Detail |
|---|
JobInstance createJobInstance(String jobName,
JobParameters jobParameters)
jobName - jobParameters -
JobInstance getJobInstance(String jobName,
JobParameters jobParameters)
jobName - the name of the jobjobParameters - the parameters with which the job was executed
JobInstance object matching the job name and
JobParameters or nullJobInstance getJobInstance(Long instanceId)
instanceId - the job identifier
JobInstance getJobInstance(JobExecution jobExecution)
jobExecution - the JobExecution
List<JobInstance> getJobInstances(String jobName,
int start,
int count)
jobName - the job namestart - the start index of the instances to returncount - the maximum number of objects to return
List<String> getJobNames()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||