public interface PushApplicationDao extends GenericBaseDao<PushApplication,String>
| Modifier and Type | Method and Description |
|---|---|
Map<String,Long> |
countInstallationsByType(String pushApplicationID) |
PageResult<PushApplication,Count> |
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,Count> |
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 push applications that are owning the given variants.
|
long |
getNumberOfPushApplicationsForDeveloper() |
long |
getNumberOfPushApplicationsForDeveloper(String name)
Returns total number of PushApplications for given user
|
create, delete, find, flushAndClear, lock, updatePageResult<PushApplication,Count> findAllForDeveloper(String loginName, Integer page, Integer pageSize)
loginName - the usernamepage - number of the page for paginationpageSize - the size of the pageList<String> findAllPushApplicationIDsForDeveloper(String loginName)
loginName - the usernamePushApplication findByPushApplicationIDForDeveloper(String pushApplicationID, String loginName)
loginName - the usernamepushApplicationID - the push application idPushApplication findByPushApplicationID(String pushApplicationID)
pushApplicationID - the push application idlong getNumberOfPushApplicationsForDeveloper(String name)
name - the usernameList<PushApplication> findByVariantIds(List<String> variantIDs)
variantIDs - list of variant idsPushApplication findAllByPushApplicationID(String pushApplicationID)
pushApplicationID - the push application idPageResult<PushApplication,Count> findAll(Integer page, Integer pageSize)
long getNumberOfPushApplicationsForDeveloper()
Copyright © 2015 JBoss by Red Hat. All Rights Reserved.