Class RewardDAO

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

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

      • RewardDAO

        public RewardDAO()
    • Method Detail

      • findRewardsByIdentityId

        public List<WalletRewardEntity> findRewardsByIdentityId​(long identityId,
                                                                int limit)
      • findRewardByIdentityIdAndPeriodId

        public WalletRewardEntity findRewardByIdentityIdAndPeriodId​(long identityId,
                                                                    long periodId)
      • replaceRewardTransactions

        public void replaceRewardTransactions​(String oldHash,
                                              String newHash)