public class JPAPushMessageInformationDao extends JPABaseDao<PushMessageInformation,String> implements PushMessageInformationDao
entityManager| Constructor and Description |
|---|
JPAPushMessageInformationDao() |
create, createHibernateQuery, createQuery, createQuery, createUntypedQuery, delete, find, flushAndClear, getSingleResultForQuery, lock, setEntityManager, updateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, delete, find, flushAndClear, lock, updatepublic List<PushMessageInformation> findAllForPushApplication(String pushApplicationId, boolean ascending)
findAllForPushApplication in interface PushMessageInformationDaopublic List<PushMessageInformation> findAllForPushApplicationByParams(String pushApplicationId, String search, boolean ascending, Integer page, Integer pageSize)
findAllForPushApplicationByParams in interface PushMessageInformationDaopublic long getNumberOfPushMessagesForPushApplication(String pushApplicationId)
getNumberOfPushMessagesForPushApplication in interface PushMessageInformationDaopublic long getNumberOfPushMessagesForVariant(String variantID)
getNumberOfPushMessagesForVariant in interface PushMessageInformationDaopublic MessageMetrics findMessageMetricsForPushApplicationByParams(String pushApplicationId, String search, boolean ascending, Integer page, Integer pageSize)
findMessageMetricsForPushApplicationByParams in interface PushMessageInformationDaopublic PageResult<PushMessageInformation,MessageMetrics> findAllForPushApplication(String pushApplicationId, String search, boolean ascending, Integer page, Integer pageSize)
findAllForPushApplication in interface PushMessageInformationDaopublic long getNumberOfPushMessagesForLoginName(String loginName)
getNumberOfPushMessagesForLoginName in interface PushMessageInformationDaopublic List<String> findVariantIDsWithWarnings(String loginName)
findVariantIDsWithWarnings in interface PushMessageInformationDaopublic List<PushMessageInformation> findLatestActivity(String loginName, int maxResults)
findLatestActivity in interface PushMessageInformationDaopublic void deletePushInformationOlderThan(Date oldest)
deletePushInformationOlderThan in interface PushMessageInformationDaopublic List<String> findVariantIDsWithWarnings()
findVariantIDsWithWarnings in interface PushMessageInformationDaopublic List<PushMessageInformation> findLatestActivity(int maxResults)
findLatestActivity in interface PushMessageInformationDaopublic long getNumberOfPushMessagesForApplications()
getNumberOfPushMessagesForApplications in interface PushMessageInformationDaopublic Class<PushMessageInformation> getType()
getType in class JPABaseDao<PushMessageInformation,String>Copyright © 2017 JBoss by Red Hat. All Rights Reserved.