Package com.avoka.fc.core.dao
Class JobEventLogDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.JobEventLogDao
-
public class JobEventLogDao extends BaseDao
Provides a DAO for theJobEventLog
entity.- Since:
- 4.0.0
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description JobEventLogDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JobEventLog>
getEventsForJob(Object jobId)
Return the list of events for the job with the given ID, sorted by creation time in ascending order.List<JobEventLog>
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
-
-
-
-
Method Detail
-
getEventsForJob
public List<JobEventLog> getEventsForJob(Object jobId)
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
public List<JobEventLog> getEventsForJobAction(Object jobActionId)
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
-
-