public interface PushApplicationDao extends GenericBaseDao<PushApplication,String>
| Modifier and Type | Method and Description |
|---|---|
Map<String,Long> |
countInstallationsByType(String pushApplicationID) |
PageResult<PushApplication> |
findAll(Integer page,
Integer pageSize) |
PushApplication |
findAllByPushApplicationID(String pushApplicationID)
Finder that returns an actual PushApplicationEntity, identified by its ID and its owner/developer.
|
PageResult<PushApplication> |
findAllForDeveloper(String loginName,
Integer page,
Integer pageSize)
Finder that returns all pushApplication object for the given owner/developer.
|
List<String> |
findAllPushApplicationIDsForDeveloper(String loginName)
Finder that returns a list, containing all pushApplication ids for the given owner/developer.
|
PushApplication |
findByPushApplicationID(String pushApplicationID)
Finder that returns an actual PushApplicationEntity, identified by its ID.
|
PushApplication |
findByPushApplicationIDForDeveloper(String pushApplicationID,
String loginName)
Finder that returns an actual PushApplicationEntity, identified by its ID and its owner/developer.
|
List<PushApplication> |
findByVariantIds(List<String> variantIDs)
Return application name and id of all variants matching given ids
|
long |
getNumberOfPushApplicationsForDeveloper() |
long |
getNumberOfPushApplicationsForDeveloper(String name)
Returns total number of PushApplications for given user
|
create, delete, find, flushAndClear, updatePageResult<PushApplication> findAllForDeveloper(String loginName, Integer page, Integer pageSize)
List<String> findAllPushApplicationIDsForDeveloper(String loginName)
PushApplication findByPushApplicationIDForDeveloper(String pushApplicationID, String loginName)
PushApplication findByPushApplicationID(String pushApplicationID)
long getNumberOfPushApplicationsForDeveloper(String name)
List<PushApplication> findByVariantIds(List<String> variantIDs)
PushApplication findAllByPushApplicationID(String pushApplicationID)
PageResult<PushApplication> findAll(Integer page, Integer pageSize)
long getNumberOfPushApplicationsForDeveloper()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.