|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface GroupRepository
API for group repositories.
Method Summary | |
---|---|
void |
create(GroupEntity g)
Create a new group in the repository. |
GroupEntity |
find(java.util.UUID groupId)
Look up a group from its Id. |
java.util.Collection<GroupEntity> |
list(java.lang.String name,
int pageNo,
int pageSize)
List groups. |
long |
totalCount(java.lang.String name)
Return number of group entities with given filter. |
Method Detail |
---|
GroupEntity find(java.util.UUID groupId)
groupId
- The UUID for the group.
void create(GroupEntity g)
g
- The group to create.java.util.Collection<GroupEntity> list(java.lang.String name, int pageNo, int pageSize)
name
- Filter groups based on name. NULL disables the filter.pageNo
- The page of results to return.pageSize
- The number of results in a page.
long totalCount(java.lang.String name)
name
- Filter groups based on name. NULL disables the filter.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |