public class RemoteClientModelDAO extends HibernateRepository<RemoteClientModel>
Constructor and Description |
---|
RemoteClientModelDAO() |
Modifier and Type | Method and Description |
---|---|
RemoteClientModel |
get(long id) |
int |
getClientCount(Group group)
Retrieves number of clients for the specified group
|
List<RemoteClientModel> |
getClientsForGroup(Group group)
Retrieves clients belonging to specified group
|
RemoteClientModel |
getModel(String email,
RemotePartner remotePartner) |
create, currentSession, delete, get, getBuilder, update
public RemoteClientModel get(long id)
public List<RemoteClientModel> getClientsForGroup(Group group)
group
- group whose members are to be retrievedpublic int getClientCount(Group group)
group
- group whose clients are of interestDAOException
public RemoteClientModel getModel(String email, RemotePartner remotePartner)
Copyright © 2017. All rights reserved.