Class RewardPeriodDAO
java.lang.Object
org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<WalletRewardPeriodEntity,Long>
org.exoplatform.wallet.reward.dao.RewardPeriodDAO
- All Implemented Interfaces:
org.exoplatform.commons.api.persistence.GenericDAO<WalletRewardPeriodEntity,Long>
public class RewardPeriodDAO
extends org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl<WalletRewardPeriodEntity,Long>
-
Field Summary
Fields inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
modelClass -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfindRewardPeriodByTypeAndTime(org.exoplatform.wallet.model.reward.RewardPeriodType periodType, long periodTime) findRewardPeriods(int offset, int limit) findRewardPeriodsBetween(long from, long to, int offset, int limit) findRewardPeriodsByStatus(org.exoplatform.wallet.model.reward.RewardStatus status) Methods inherited from class org.exoplatform.commons.persistence.impl.GenericDAOJPAImpl
count, create, createAll, delete, deleteAll, deleteAll, find, findAll, getEntityManager, getHibernateDialect, isMSSQLDialect, isOrcaleDialect, update, updateAll
-
Constructor Details
-
RewardPeriodDAO
public RewardPeriodDAO()
-
-
Method Details
-
findRewardPeriods
-
findRewardPeriodsBetween
public List<WalletRewardPeriodEntity> findRewardPeriodsBetween(long from, long to, int offset, int limit) -
findRewardPeriodByTypeAndTime
public WalletRewardPeriodEntity findRewardPeriodByTypeAndTime(org.exoplatform.wallet.model.reward.RewardPeriodType periodType, long periodTime) -
findRewardPeriodsByStatus
public List<WalletRewardPeriodEntity> findRewardPeriodsByStatus(org.exoplatform.wallet.model.reward.RewardStatus status)
-