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) |
void |
deletePushInformationOlderThan(Date oldest) |
PushMessageInformation |
find(String id) |
List<PushMessageInformation> |
findAllForPushApplication(String pushApplicationId,
boolean ascending) |
PageResult<PushMessageInformation> |
findAllForPushApplication(String pushApplicationId,
boolean ascending,
Integer page,
Integer pageSize) |
PageResult<PushMessageInformation> |
findAllForVariant(String variantID,
boolean ascending,
Integer page,
Integer pageSize) |
List<PushMessageInformation> |
findLastThreeActivity(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 PageResult<PushMessageInformation> findAllForPushApplication(String pushApplicationId, boolean ascending, Integer page, Integer pageSize)
findAllForPushApplication in interface PushMessageInformationDaopublic PageResult<PushMessageInformation> findAllForVariant(String variantID, boolean ascending, Integer page, Integer pageSize)
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 List<PushMessageInformation> findLastThreeActivity(String loginName)
findLastThreeActivity in interface PushMessageInformationDaopublic void deletePushInformationOlderThan(Date oldest)
deletePushInformationOlderThan in interface PushMessageInformationDaoCopyright © 2014 JBoss by Red Hat. All Rights Reserved.