Package com.avoka.fc.core.dao
Class FormReceiptSequenceDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.FormReceiptSequenceDao
Provides a DAO for the FormReceiptSequence 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 TypeMethodDescriptionint
Return the current sequence number for the specified form.getFormReceiptSequence
(Form form) Return the form receipt sequence for a specific formReturn the form receipt sequence 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
-
FormReceiptSequenceDao
public FormReceiptSequenceDao()
-
-
Method Details
-
getFormReceiptSequenceForPk
Return the form receipt sequence with the specified OID- Parameters:
id
- the OID- Returns:
- the matching form receipt sequence, or null if not found
-
getFormReceiptSequence
Return the form receipt sequence for a specific form- Parameters:
form
- the form object- Returns:
- the matching form receipt sequence
-
getCurrentReceiptSequenceNumber
Return the current sequence number for the specified form. The sequence number is used during receipt generation.- Parameters:
form
- a valid form- Returns:
- The current receipt sequence number for the form, or 1 if no receipt sequence exists
-