public class WalletTransactionDAO extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<TransactionEntity,Long>
| Constructor and Description |
|---|
WalletTransactionDAO() |
| Modifier and Type | Method and Description |
|---|---|
long |
countPendingTransactionAsSender(long networkId,
String fromAddress) |
int |
countPendingTransactions(long networkId) |
long |
countPendingTransactionSent(long networkId,
String fromAddress) |
double |
countReceivedContractAmount(String contractAddress,
String address,
ZonedDateTime startDate,
ZonedDateTime endDate) |
double |
countSentContractAmount(String contractAddress,
String address,
ZonedDateTime startDate,
ZonedDateTime endDate) |
List<TransactionEntity> |
getContractTransactions(String contractAddress,
String contractMethodName,
int limit) |
long |
getMaxUsedNonce(long networkId,
String fromAddress) |
List<TransactionEntity> |
getPendingTransactions(long networkId) |
TransactionEntity |
getTransactionByHash(String hash) |
List<TransactionEntity> |
getTransactions(long networkId,
int limit) |
List<TransactionEntity> |
getTransactionsByNonce(long networkId,
String fromAddress,
long nonce) |
List<TransactionEntity> |
getTransactionsToSend(long networkId) |
List<TransactionEntity> |
getWalletTransactions(long networkId,
String address,
String contractAddress,
String contractMethodName,
int limit,
boolean onlyPending,
boolean includeAdministrationTransactions) |
public List<TransactionEntity> getContractTransactions(String contractAddress, String contractMethodName, int limit)
public List<TransactionEntity> getTransactions(long networkId, int limit)
public List<TransactionEntity> getWalletTransactions(long networkId, String address, String contractAddress, String contractMethodName, int limit, boolean onlyPending, boolean includeAdministrationTransactions)
public List<TransactionEntity> getPendingTransactions(long networkId)
public int countPendingTransactions(long networkId)
public TransactionEntity getTransactionByHash(String hash)
public List<TransactionEntity> getTransactionsByNonce(long networkId, String fromAddress, long nonce)
public long getMaxUsedNonce(long networkId,
String fromAddress)
public double countReceivedContractAmount(String contractAddress, String address, ZonedDateTime startDate, ZonedDateTime endDate)
public double countSentContractAmount(String contractAddress, String address, ZonedDateTime startDate, ZonedDateTime endDate)
public List<TransactionEntity> getTransactionsToSend(long networkId)
public long countPendingTransactionSent(long networkId,
String fromAddress)
public long countPendingTransactionAsSender(long networkId,
String fromAddress)
Copyright © 2003–2020 eXo Platform SAS. All rights reserved.