|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.ucsb.nceas.metacat.shared.BaseAccess
edu.ucsb.nceas.metacat.scheduler.ScheduledJobParamAccess
public class ScheduledJobParamAccess
| Constructor Summary | |
|---|---|
ScheduledJobParamAccess()
|
|
| Method Summary | |
|---|---|
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 |
| Methods inherited from class edu.ucsb.nceas.metacat.shared.BaseAccess |
|---|
closeDBObjects |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ScheduledJobParamAccess()
throws AccessException
AccessException| Method Detail |
|---|
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 parameters
AccessException
protected void deleteJobParams(java.lang.Long jobId)
throws AccessException
jobId - the id of the job to update
AccessException
protected java.util.Vector<ScheduledJobParamDAO> getJobParamsForJobId(java.lang.Long jobId)
throws AccessException
jobId - the job id whose parameters we want to return
AccessException
protected java.util.Vector<ScheduledJobParamDAO> getAllJobParams()
throws AccessException
AccessException
protected ScheduledJobParamDAO populateDAO(java.sql.ResultSet resultSet)
throws java.sql.SQLException
populateDAO in class BaseAccessresultSet - the result set which is already pointing to the desired row.
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||