Package com.avoka.fc.core.dao
Class JobStepDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.JobStepDao
Provides a DAO for the
JobStep
entity.- Since:
- 4.0.0
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturn the job step for the given step primary key, or null if not foundgetJobStepForName
(Job job, String name) Return the step of the specified job and step name, or null if not foundgetStepsForJob
(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
-
Constructor Details
-
JobStepDao
public JobStepDao()
-
-
Method Details
-
getJobStepForID
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
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
-
getJobStepForName
Return the step of the specified job and step name, or null if not found- Parameters:
job
- the parent job (required)name
- the step name (required)- Returns:
- the step of the specified job and step name.
-