|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectccc.api.jaxrs.JaxrsCollection
ccc.api.jaxrs.GroupsImpl
public class GroupsImpl
JAX-RS implementation of the Groups
interface.
Field Summary |
---|
Fields inherited from interface ccc.api.core.Groups |
---|
NAME |
Constructor Summary | |
---|---|
GroupsImpl(Groups groups)
Constructor. |
Method Summary | |
---|---|
Group |
create(Group delta)
Create a new group in the system. |
PagedCollection<Group> |
query(java.lang.String name,
int pageNo,
int pageSize)
List available groups. |
Group |
retrieve(java.util.UUID id)
Find the group for a given ID. |
Group |
update(java.util.UUID id,
Group group)
Update an existing group in the system. |
Methods inherited from class ccc.api.jaxrs.JaxrsCollection |
---|
convertException |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GroupsImpl(Groups groups)
groups
- The groups implementation delegated to.Method Detail |
---|
public Group create(Group delta)
create
in interface Groups
delta
- The new group details.
public Group retrieve(java.util.UUID id)
retrieve
in interface Groups
id
- The group ID.
public Group update(java.util.UUID id, Group group)
update
in interface Groups
id
- The ID of the group to update.group
- The updated group details.
public PagedCollection<Group> query(java.lang.String name, int pageNo, int pageSize)
query
in interface Groups
name
- Filter based on group name. NULL disables filter.pageNo
- The page to display.pageSize
- The number of results per page.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |