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,org.jboss.aerogear.unifiedpush.dto.Count> |
findAllInstallationsByVariantForDeveloper(String variantID,
Integer page,
Integer pageSize,
String search)
Find all installations for the variant specified.
|
org.jboss.aerogear.unifiedpush.dao.PageResult<org.jboss.aerogear.unifiedpush.api.PushApplication,org.jboss.aerogear.unifiedpush.dto.Count> |
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,org.jboss.aerogear.unifiedpush.dto.Count> findAllPushApplicationsForDeveloper(Integer page, Integer pageSize)
PushSearchServicefindAllPushApplicationsForDeveloper in interface PushSearchServicepage - the actual page for the paginationpageSize - number of push applications per pagepublic org.jboss.aerogear.unifiedpush.api.PushApplication findByPushApplicationIDForDeveloper(String pushApplicationID)
PushSearchServicefindByPushApplicationIDForDeveloper in interface PushSearchServicepushApplicationID - the push application idpublic boolean existsVariantIDForDeveloper(String variantID)
PushSearchServiceexistsVariantIDForDeveloper in interface PushSearchServicevariantID - the variant IDpublic org.jboss.aerogear.unifiedpush.dao.PageResult<org.jboss.aerogear.unifiedpush.api.Installation,org.jboss.aerogear.unifiedpush.dto.Count> findAllInstallationsByVariantForDeveloper(String variantID, Integer page, Integer pageSize, String search)
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 PushSearchServicemaxResults - number of max results on the resultCopyright © 2016 JBoss by Red Hat. All Rights Reserved.