Package com.avoka.fc.core.dao
Class JobEventLogDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.JobEventLogDao
Provides a DAO for the
JobEventLog
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 TypeMethodDescriptiongetEventsForJob
(Object jobId) Return the list of events for the job with the given ID, sorted by creation time in ascending order.getEventsForJobAction
(Object jobActionId) Return the list of events for the job action 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
-
JobEventLogDao
public JobEventLogDao()
-
-
Method Details
-
getEventsForJob
Return the list of events 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 events
-
getEventsForJobAction
Return the list of events for the job action with the given ID, sorted by creation time in ascending order.- Parameters:
jobActionId
- the OID of the job action (required)- Returns:
- the list of matching job events
-