Package com.avoka.fc.core.dao
Class TransactionHistoryPublisherDao
java.lang.Object
com.avoka.core.dao.BaseDao
com.avoka.fc.core.dao.AbstractDao
com.avoka.fc.core.dao.TransactionHistoryPublisherDao
Provides a DAO for the TransactionHistory entity with regards to transaction history publishing.
- Since:
- 5.1.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 TypeMethodDescriptiongetUnpublishedHistoryDataRows
(int fetchLimit) Return a list of Cayenne DataRow map objects, which are disconnected from the data context, and have an additional TM license_id which provides the TM Instance GUID identifier.void
markAsPublished
(List<Number> transactionHistoryIdSet) Updates a set of transaction history entries to have been published to a data warehouse (status is set to "Completed", publish time is set to the current time).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
-
Constructor Details
-
TransactionHistoryPublisherDao
public TransactionHistoryPublisherDao()
-
-
Method Details
-
getUnpublishedHistoryDataRows
Return a list of Cayenne DataRow map objects, which are disconnected from the data context, and have an additional TM license_id which provides the TM Instance GUID identifier. This will enable global multi TM instance deployments to correlate transaction history data- Parameters:
fetchLimit
- the maximum limit to limit the number of result objects- Returns:
- list of Cayenne DataRow map objects, which are disconnected from the data context
- Since:
- 5.1.0
-
markAsPublished
Updates a set of transaction history entries to have been published to a data warehouse (status is set to "Completed", publish time is set to the current time). Note that committing the changes is responsibility of the calling code- Parameters:
transactionHistoryIdSet
- the list of transaction history OIDs that needs to be marked as published (required)- Since:
- 5.1.0
-