public class EthereumWalletTransactionService extends Object implements org.exoplatform.addon.ethereum.wallet.service.WalletTransactionService
| Constructor and Description |
|---|
EthereumWalletTransactionService(org.exoplatform.addon.ethereum.wallet.service.WalletAccountService accountService,
TransactionStorage transactionStorage,
org.exoplatform.addon.ethereum.wallet.service.WalletContractService contractService,
org.exoplatform.container.xml.InitParams params) |
| Modifier and Type | Method and Description |
|---|---|
org.exoplatform.addon.ethereum.wallet.model.TransactionDetail |
getAddressLastPendingTransactionSent(long networkId,
String address,
String currentUser) |
Set<String> |
getPendingTransactionHashes(long networkId) |
long |
getPendingTransactionMaxDays() |
List<org.exoplatform.addon.ethereum.wallet.model.TransactionDetail> |
getPendingTransactions(long networkId) |
org.exoplatform.addon.ethereum.wallet.model.TransactionDetail |
getTransactionByHash(String hash) |
List<org.exoplatform.addon.ethereum.wallet.model.TransactionDetail> |
getTransactions(long networkId,
String address,
String contractAddress,
String hash,
int limit,
boolean onlyPending,
boolean administration,
String currentUser) |
long |
getWatchedTreatedTransactionsCount() |
void |
saveTransactionDetail(org.exoplatform.addon.ethereum.wallet.model.TransactionDetail transactionDetail,
String currentUser,
boolean transactionMined) |
public EthereumWalletTransactionService(org.exoplatform.addon.ethereum.wallet.service.WalletAccountService accountService,
TransactionStorage transactionStorage,
org.exoplatform.addon.ethereum.wallet.service.WalletContractService contractService,
org.exoplatform.container.xml.InitParams params)
public List<org.exoplatform.addon.ethereum.wallet.model.TransactionDetail> getPendingTransactions(long networkId)
getPendingTransactions in interface org.exoplatform.addon.ethereum.wallet.service.WalletTransactionServicepublic Set<String> getPendingTransactionHashes(long networkId)
getPendingTransactionHashes in interface org.exoplatform.addon.ethereum.wallet.service.WalletTransactionServicepublic List<org.exoplatform.addon.ethereum.wallet.model.TransactionDetail> getTransactions(long networkId, String address, String contractAddress, String hash, int limit, boolean onlyPending, boolean administration, String currentUser) throws IllegalAccessException
getTransactions in interface org.exoplatform.addon.ethereum.wallet.service.WalletTransactionServiceIllegalAccessExceptionpublic org.exoplatform.addon.ethereum.wallet.model.TransactionDetail getTransactionByHash(String hash)
getTransactionByHash in interface org.exoplatform.addon.ethereum.wallet.service.WalletTransactionServicepublic org.exoplatform.addon.ethereum.wallet.model.TransactionDetail getAddressLastPendingTransactionSent(long networkId,
String address,
String currentUser)
throws IllegalAccessException
getAddressLastPendingTransactionSent in interface org.exoplatform.addon.ethereum.wallet.service.WalletTransactionServiceIllegalAccessExceptionpublic void saveTransactionDetail(org.exoplatform.addon.ethereum.wallet.model.TransactionDetail transactionDetail,
String currentUser,
boolean transactionMined)
throws IllegalAccessException
saveTransactionDetail in interface org.exoplatform.addon.ethereum.wallet.service.WalletTransactionServiceIllegalAccessExceptionpublic long getWatchedTreatedTransactionsCount()
getWatchedTreatedTransactionsCount in interface org.exoplatform.addon.ethereum.wallet.service.WalletTransactionServicepublic long getPendingTransactionMaxDays()
getPendingTransactionMaxDays in interface org.exoplatform.addon.ethereum.wallet.service.WalletTransactionServiceCopyright © 2003–2019 eXo Platform SAS. All rights reserved.