Package com.avoka.fc.core.dao
Class JobStepDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.JobStepDao
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description JobStepDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JobStep
getJobStepForID(Object id)
Return the job step for the given step primary key, or null if not foundJobStep
getJobStepForName(Job job, String name)
Return the step of the specified job and step name, or null if not foundList<JobStep>
getStepsForJob(Object jobId)
Return the list of steps for the job with the given ID, sorted by creation time in ascending order.-
Methods inherited from class com.avoka.core.dao.BaseDao
addOrdering, addOrderingCaseInsensitive, addOrderingCaseSensitive, andQueryBetween, andQueryInExp, andQueryInExp, andQueryLikeIgnoreCaseExp, andQueryMatchDbExp, andQueryMatchExp, andQueryMatchIsNotNull, andQueryMatchIsNull, andQueryNoMatchExp, andQueryNotTrue, deleteObject, deleteObjects, findObject, getDataContext, getFetchLimit, getLogger, getObjectForPK, newObject, orQueryLikeIgnoreCaseExp, orQueryMatchExp, performNamedQuery, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, performQuery, registerNewObject, setCacheStrategy, setFetchLimit, setLocalCacheStrategy, setLocalCacheStrategy, setSharedCacheStrategy, toMap, toMap
-
-
-
-
Method Detail
-
getJobStepForID
public JobStep getJobStepForID(Object id)
Return the job step for the given step primary key, or null if not found- Parameters:
id
- the step primary key- Returns:
- the job step for the given primary key
-
getStepsForJob
public List<JobStep> getStepsForJob(Object jobId)
Return the list of steps for the job with the given ID, sorted by creation time in ascending order.- Parameters:
jobId
- the OID of the job (required)- Returns:
- the list of matching job steps
-
-