Package com.avoka.fc.core.dao
Class SubmissionMilestoneDao
- java.lang.Object
-
- com.avoka.core.dao.BaseDao
-
- com.avoka.fc.core.dao.SubmissionMilestoneDao
-
public class SubmissionMilestoneDao extends BaseDao
Provides a DAO for the SubmissionMilestone entity.- Since:
- 17.10.0
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description SubmissionMilestoneDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SubmissionMilestone
addMilestone(Submission submission, String milestone, RequestLog requestLog)
Add a submission milestone and registers it with the data context.SubmissionMilestone
getMostRecentMilestone(Submission submission)
Return the most recent milestone logged against the submission, if any.-
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
-
addMilestone
public SubmissionMilestone addMilestone(Submission submission, String milestone, RequestLog requestLog)
Add a submission milestone and registers it with the data context.- Parameters:
submission
- the submission (required)milestone
- the milestone string (required)requestLog
- the request log (optional)- Returns:
- the SubmissionMilestone instance
-
getMostRecentMilestone
public SubmissionMilestone getMostRecentMilestone(Submission submission)
Return the most recent milestone logged against the submission, if any.- Parameters:
submission
- the submission (required)- Returns:
- the most recent milestone (by creation time, then ID)
-
-