public interface TransactionDao
| Modifier and Type | Interface and Description |
|---|---|
static class |
TransactionDao.SearchType |
| Modifier and Type | Method and Description |
|---|---|
int |
clearAll()
ClearAll the transactions
|
int |
deleteTransactions(HttpTransaction... httpTransactions)
Delete if it exists
|
int |
deleteTransactionsBefore(java.util.Date beforeDate)
Delete all transactions before specified date
|
<any> |
getAllTransactions() |
<any> |
getAllTransactionsWith(java.lang.String key,
TransactionDao.SearchType searchType) |
<any> |
getTransactionsWithId(long id) |
long |
insertTransaction(HttpTransaction httpTransaction)
Insert if it doesn't exist Or Update if exists
|
int |
updateTransaction(HttpTransaction httpTransaction)
Update if it exists
|
long insertTransaction(HttpTransaction httpTransaction)
httpTransaction - HttpTransactionint updateTransaction(HttpTransaction httpTransaction)
httpTransaction - HttpTransactionint deleteTransactions(HttpTransaction... httpTransactions)
httpTransactions - HttpTransactionint deleteTransactionsBefore(java.util.Date beforeDate)
beforeDate - Dateint clearAll()
<any> getAllTransactions()
<any> getTransactionsWithId(long id)
<any> getAllTransactionsWith(java.lang.String key,
TransactionDao.SearchType searchType)