public interface PushMessageInformationDao extends GenericBaseDao<PushMessageInformation,String>
| Modifier and Type | Method and Description |
|---|---|
void |
deletePushInformationOlderThan(Date oldest)
Delete all Push Message Information entries that are older than the given date
|
List<PushMessageInformation> |
findAllForPushApplication(String pushApplicationId,
boolean ascending)
Loads all push message metadata objects for the given PushApplication, but offers a way to order (asc/desc) by date.
|
PageResult<PushMessageInformation> |
findAllForPushApplication(String pushApplicationId,
boolean ascending,
Integer page,
Integer pageSize)
Loads paged push message metadata objects for the given PushApplication, but offers a way to order (asc/desc) by date.
|
PageResult<PushMessageInformation> |
findAllForVariant(String id,
boolean ascending,
Integer page,
Integer pageSize)
Loads all push message metadata objects for the given Variant, but offers a way to order (asc/desc) by date.
|
List<PushMessageInformation> |
findLastThreeActivity() |
List<PushMessageInformation> |
findLastThreeActivity(String loginName)
Filters the three most recent PushMessageInformation objects
|
List<String> |
findVariantIDsWithWarnings() |
List<String> |
findVariantIDsWithWarnings(String loginName)
Filters those variantIDs where the variant shows errors/issues for previous message sends
|
long |
getNumberOfPushMessagesForApplications() |
long |
getNumberOfPushMessagesForApplications(String loginName)
Does a count for all the push message that have been submitted for the given PushApplication.
|
create, delete, find, flushAndClear, updatelong getNumberOfPushMessagesForApplications(String loginName)
List<PushMessageInformation> findAllForPushApplication(String pushApplicationId, boolean ascending)
pushApplicationId - ID of the PushApplicationascending - boolean to define if ASC ordering (by date) or DESC ordering should be executed.PageResult<PushMessageInformation> findAllForPushApplication(String pushApplicationId, boolean ascending, Integer page, Integer pageSize)
pushApplicationId - ID of the PushApplicationascending - boolean to define if ASC ordering (by date) or DESC ordering should be executed.page - The number of the page.pageSize - the number of elements in the result.PageResult<PushMessageInformation> findAllForVariant(String id, boolean ascending, Integer page, Integer pageSize)
List<String> findVariantIDsWithWarnings(String loginName)
List<PushMessageInformation> findLastThreeActivity(String loginName)
void deletePushInformationOlderThan(Date oldest)
List<PushMessageInformation> findLastThreeActivity()
long getNumberOfPushMessagesForApplications()
Copyright © 2014 JBoss by Red Hat. All Rights Reserved.