public class JPAPushMessageInformationDao extends JPABaseDao<PushMessageInformation,String> implements PushMessageInformationDao
entityManager| Constructor and Description |
|---|
JPAPushMessageInformationDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
deletePushInformationOlderThan(Date oldest) |
List<PushMessageInformation> |
findAllForPushApplication(String pushApplicationId,
boolean ascending) |
PageResult<PushMessageInformation,MessageMetrics> |
findAllForPushApplication(String pushApplicationId,
String search,
boolean ascending,
Integer page,
Integer pageSize) |
List<PushMessageInformation> |
findLatestActivity(int maxResults) |
List<PushMessageInformation> |
findLatestActivity(String loginName,
int maxResults) |
List<String> |
findVariantIDsWithWarnings() |
List<String> |
findVariantIDsWithWarnings(String loginName) |
long |
getNumberOfPushMessagesForApplications() |
long |
getNumberOfPushMessagesForLoginName(String loginName) |
long |
getNumberOfPushMessagesForPushApplication(String pushApplicationId) |
long |
getNumberOfPushMessagesForVariant(String variantID) |
Class<PushMessageInformation> |
getType() |
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 long getNumberOfPushMessagesForPushApplication(String pushApplicationId)
getNumberOfPushMessagesForPushApplication in interface PushMessageInformationDaopublic long getNumberOfPushMessagesForVariant(String variantID)
getNumberOfPushMessagesForVariant 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 © 2015 JBoss by Red Hat. All Rights Reserved.