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
-
public class FormReceiptSequenceDao extends AbstractDao
Provides a DAO for the FormReceiptSequence entity.- See Also:
FormReceiptSequence
-
-
Field Summary
-
Fields inherited from class com.avoka.core.dao.BaseDao
FETCH_LIMIT, STATEMENT_MAX_NO_PARAMETERS
-
-
Constructor Summary
Constructors Constructor Description FormReceiptSequenceDao()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentReceiptSequenceNumber(Form form)
Return the current sequence number for the specified form.FormReceiptSequence
getFormReceiptSequence(Form form)
Return the form receipt sequence for a specific formFormReceiptSequence
getFormReceiptSequenceForPk(Object id)
Return the form receipt sequence with the specified OID-
Methods 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
-
-
-
-
Method Detail
-
getFormReceiptSequenceForPk
public FormReceiptSequence getFormReceiptSequenceForPk(Object id)
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
public FormReceiptSequence getFormReceiptSequence(Form form)
Return the form receipt sequence for a specific form- Parameters:
form
- the form object- Returns:
- the matching form receipt sequence
-
getCurrentReceiptSequenceNumber
public int getCurrentReceiptSequenceNumber(Form form)
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
-
-