Package com.avoka.fc.core.service.impl
Class TransactionHistoryCreationService
- java.lang.Object
-
- com.avoka.fc.core.service.BaseService
-
- com.avoka.fc.core.service.CayenneService
-
- com.avoka.fc.core.service.impl.TransactionHistoryCreationService
-
- All Implemented Interfaces:
ITransactionHistoryCreationService
public class TransactionHistoryCreationService extends CayenneService implements ITransactionHistoryCreationService
Provides a Transaction History creation service.- Since:
- 4.0.0
-
-
Constructor Summary
Constructors Constructor Description TransactionHistoryCreationService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
createTransactionHistory(Submission submission)
Create a transaction history record for the given submission.int
performHistoryCreation(int fetchLimit)
Create submission history records from the completed and abandoned submissions, and return the number created.-
Methods inherited from class com.avoka.fc.core.service.CayenneService
commitChanges, deleteObject, deleteObjects, findObject, getDataContext, getDataDomain, getObjectForPK, getObjectStore, newObject, performNamedQuery, performNamedQuery, performNamedQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performNonSelectingQuery, performQuery, performQuery, refetchEntity, refetchObject, registerNewObject, rollbackChanges, toMap, toMap
-
Methods inherited from class com.avoka.fc.core.service.BaseService
getLogger
-
-
-
-
Method Detail
-
createTransactionHistory
public void createTransactionHistory(Submission submission)
Create a transaction history record for the given submission.- Specified by:
createTransactionHistory
in interfaceITransactionHistoryCreationService
- Parameters:
submission
- the submission record to create the transaction history from (required)- Since:
- 4.3.3
-
performHistoryCreation
public int performHistoryCreation(int fetchLimit)
Create submission history records from the completed and abandoned submissions, and return the number created.- Specified by:
performHistoryCreation
in interfaceITransactionHistoryCreationService
- Parameters:
fetchLimit
- the number of records to process- Returns:
- the number of submission history records created
- See Also:
ITransactionHistoryCreationService.performHistoryCreation(int)
-
-