public class PushSearchServiceImpl extends Object implements PushSearchService
PushSearchService internally used for 'admin' role,
to query all, instead of being tied to a specific user/login name.| Constructor and Description |
|---|
PushSearchServiceImpl() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
existsVariantIDForDeveloper(String variantID)
See that variant exists for loggedin developer
|
org.jboss.aerogear.unifiedpush.dao.PageResult<org.jboss.aerogear.unifiedpush.api.Installation> |
findAllInstallationsByVariantForDeveloper(String variantID,
Integer page,
Integer pageSize)
Find all installations for the variant specified.
|
org.jboss.aerogear.unifiedpush.dao.PageResult<org.jboss.aerogear.unifiedpush.api.PushApplication> |
findAllPushApplicationsForDeveloper(Integer page,
Integer pageSize)
Finder that returns all pushApplication object for the given owner/developer.
|
org.jboss.aerogear.unifiedpush.api.PushApplication |
findByPushApplicationIDForDeveloper(String pushApplicationID)
Finder that returns an actual PushApplication, identified by its ID and its owner/developer.
|
List<Application> |
getLatestActivity(int maxResults)
Loads all the Variant objects with the most received messages
|
List<ApplicationVariant> |
getVariantsWithWarnings()
Loads all the Variant objects where we did notice some failures on sending
for the given user
|
DashboardData |
loadDashboardData()
Receives the dashboard data for the given user
|
public org.jboss.aerogear.unifiedpush.dao.PageResult<org.jboss.aerogear.unifiedpush.api.PushApplication> findAllPushApplicationsForDeveloper(Integer page, Integer pageSize)
PushSearchServicefindAllPushApplicationsForDeveloper in interface PushSearchServicepublic org.jboss.aerogear.unifiedpush.api.PushApplication findByPushApplicationIDForDeveloper(String pushApplicationID)
PushSearchServicefindByPushApplicationIDForDeveloper in interface PushSearchServicepublic boolean existsVariantIDForDeveloper(String variantID)
PushSearchServiceexistsVariantIDForDeveloper in interface PushSearchServicepublic org.jboss.aerogear.unifiedpush.dao.PageResult<org.jboss.aerogear.unifiedpush.api.Installation> findAllInstallationsByVariantForDeveloper(String variantID, Integer page, Integer pageSize)
PushSearchServicefindAllInstallationsByVariantForDeveloper in interface PushSearchServicevariantID - the id of the variant to find the installations forpage - the page numberpageSize - the size of the pagespublic DashboardData loadDashboardData()
loadDashboardData in interface PushSearchServicepublic List<ApplicationVariant> getVariantsWithWarnings()
getVariantsWithWarnings in interface PushSearchServicepublic List<Application> getLatestActivity(int maxResults)
getLatestActivity in interface PushSearchServiceCopyright © 2015 JBoss by Red Hat. All Rights Reserved.