public class JPAPushMessageInformationDao extends JPABaseDao implements PushMessageInformationDao
entityManager| Constructor and Description |
|---|
JPAPushMessageInformationDao() |
| Modifier and Type | Method and Description |
|---|---|
void |
create(PushMessageInformation pushMessageInformation) |
void |
delete(PushMessageInformation pushMessageInformation) |
PushMessageInformation |
find(String id) |
List<PushMessageInformation> |
findAllForPushApplication(String pushApplicationId,
boolean ascending) |
List<PushMessageInformation> |
findAllForVariant(String variantID,
boolean ascending) |
Map<String,Long> |
findTopThreeBusyVariantIDs(String loginName) |
List<String> |
findVariantIDsWithWarnings(String loginName) |
long |
getNumberOfPushMessagesForApplications(String loginName) |
void |
update(PushMessageInformation pushMessageInformation) |
createQuery, merge, persist, remove, setEntityManagerpublic List<PushMessageInformation> findAllForPushApplication(String pushApplicationId, boolean ascending)
findAllForPushApplication in interface PushMessageInformationDaopublic List<PushMessageInformation> findAllForVariant(String variantID, boolean ascending)
findAllForVariant in interface PushMessageInformationDaopublic long getNumberOfPushMessagesForApplications(String loginName)
getNumberOfPushMessagesForApplications in interface PushMessageInformationDaopublic PushMessageInformation find(String id)
find in interface GenericBaseDao<PushMessageInformation,String>public void create(PushMessageInformation pushMessageInformation)
create in interface GenericBaseDao<PushMessageInformation,String>public void update(PushMessageInformation pushMessageInformation)
update in interface GenericBaseDao<PushMessageInformation,String>public void delete(PushMessageInformation pushMessageInformation)
delete in interface GenericBaseDao<PushMessageInformation,String>public List<String> findVariantIDsWithWarnings(String loginName)
findVariantIDsWithWarnings in interface PushMessageInformationDaopublic Map<String,Long> findTopThreeBusyVariantIDs(String loginName)
findTopThreeBusyVariantIDs in interface PushMessageInformationDaoCopyright © 2014 JBoss by Red Hat. All Rights Reserved.