Package com.avoka.fc.core.dao
Class SubmissionHistoryDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.SubmissionHistoryDao
Provides a DAO for the SubmissionHistory entity.
- See Also:
-
Field Summary
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetMostRecentHistoryWithStatus
(Submission submission, String formStatus) Search the submission for the most recent submission history with the given form status.Return the submission history entry with the specified OIDMethods inherited from class com.avoka.fc.core.dao.AbstractDao
andFilterClientExcludeNull, andFilterClientIncludeNull, andFilterClientOnly, isClientAccessAllowed, performQueryConfigCached
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
-
SubmissionHistoryDao
public SubmissionHistoryDao()
-
-
Method Details
-
getSubmissionHistory
Return the submission history entry with the specified OID- Parameters:
id
- the OID- Returns:
- the matching submission history entry, or null if not found
-
getMostRecentHistoryWithStatus
Search the submission for the most recent submission history with the given form status.- Parameters:
submission
- the submission (required)formStatus
- the form status to look for (required, one ofSubmission.FORM_STATUS_VALUES
)- Returns:
- the matching submission history, or null if none was found
- Since:
- 4.0.0
-