Package com.avoka.fc.core.dao
Class ClientReconciliationFileDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.ClientReconciliationFileDao
Provides a DAO for the Client Reconciliation File entity.
- Since:
- 4.0.0
- 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
deleteFilesBeforeDate
(Client client, Date reconciliationTime) Deletes any ClientReconciliationFile entities before the specified reconciliation timegetFileByTimestamp
(Client client, Date reconciliationTime) Return the client reconciliation file entity for a client and reconciliation time.Return the client reconciliation file entity with the specified OID.void
insertNewFile
(Client client, String fileName, Date reconciliationTime, byte[] contents) Insert a new ClientReconciliationFile object to represent the specified reconciliation fileMethods 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
-
ClientReconciliationFileDao
public ClientReconciliationFileDao()
-
-
Method Details
-
getUserPropertyForPK
Return the client reconciliation file entity with the specified OID.- Parameters:
id
- the OID- Returns:
- the matching client reconciliation file entity, or null if not found
-
getFileByTimestamp
Return the client reconciliation file entity for a client and reconciliation time.- Parameters:
client
- the client organization (required)reconciliationTime
- the reconciliation time (required)- Returns:
- the matching client reconciliation file entity, or null if not found
-
insertNewFile
Insert a new ClientReconciliationFile object to represent the specified reconciliation file- Parameters:
client
- the client organization (required)fileName
- the fileName (required)reconciliationTime
- The reconciliation time (required)contents
- The file contents (required)
-
deleteFilesBeforeDate
Deletes any ClientReconciliationFile entities before the specified reconciliation time- Parameters:
client
- the client organization (required)reconciliationTime
- The reconciliation time (required)- Returns:
- the number of records deleted
-