public class ScheduledJobParamAccess extends BaseAccess
Constructor and Description |
---|
ScheduledJobParamAccess() |
Modifier and Type | Method and Description |
---|---|
protected void |
createJobParams(java.lang.Long jobId,
java.util.HashMap<java.lang.String,java.lang.String> jobParams)
Insert job parameters into the database.
|
protected void |
deleteJobParams(java.lang.Long jobId)
Remove change a job status to deleted in the database.
|
protected java.util.Vector<ScheduledJobParamDAO> |
getAllJobParams()
Get all job parameters
|
protected java.util.Vector<ScheduledJobParamDAO> |
getJobParamsForJobId(java.lang.Long jobId)
Get all the job parameters for a given job id
|
protected ScheduledJobParamDAO |
populateDAO(java.sql.ResultSet resultSet)
Populate a job parameter data object with the current row in a resultset
|
closeDBObjects
public ScheduledJobParamAccess() throws AccessException
AccessException
protected void createJobParams(java.lang.Long jobId, java.util.HashMap<java.lang.String,java.lang.String> jobParams) throws AccessException
jobId
- the id of the job that these parameters belong tojobParams
- a map of the job parametersAccessException
protected void deleteJobParams(java.lang.Long jobId) throws AccessException
jobId
- the id of the job to updateAccessException
protected java.util.Vector<ScheduledJobParamDAO> getJobParamsForJobId(java.lang.Long jobId) throws AccessException
jobId
- the job id whose parameters we want to returnAccessException
protected java.util.Vector<ScheduledJobParamDAO> getAllJobParams() throws AccessException
AccessException
protected ScheduledJobParamDAO populateDAO(java.sql.ResultSet resultSet) throws java.sql.SQLException
populateDAO
in class BaseAccess
resultSet
- the result set which is already pointing to the desired row.java.sql.SQLException
Copyright © 2020 Regents of the University of California. All Rights Reserved.