Class WalletTransactionDAO

  • All Implemented Interfaces:
    org.exoplatform.commons.api.persistence.GenericDAO<TransactionEntity,​Long>

    public class WalletTransactionDAO
    extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<TransactionEntity,​Long>
    • Constructor Detail

      • WalletTransactionDAO

        public WalletTransactionDAO()
    • Method Detail

      • getWalletTransactions

        public List<TransactionEntity> getWalletTransactions​(long networkId,
                                                             String address,
                                                             String contractAddress,
                                                             String contractMethodName,
                                                             int limit,
                                                             boolean onlyPending,
                                                             boolean includeAdministrationTransactions)
      • countPendingTransactions

        public int countPendingTransactions​(long networkId)
      • countTransactionsByNonce

        public long countTransactionsByNonce​(long networkId,
                                             String fromAddress,
                                             long nonce)
      • getMaxUsedNonce

        public long getMaxUsedNonce​(long networkId,
                                    String fromAddress)
      • countPendingTransactionSent

        public long countPendingTransactionSent​(long networkId,
                                                String fromAddress)
      • countPendingTransactionAsSender

        public long countPendingTransactionAsSender​(long networkId,
                                                    String fromAddress)