list
java.util.Collection<ccc.rest.dto.GroupDto> list(java.lang.String name)
- List available groups.
-
- Parameters:
name
- Filter based on group name. NULL disables filter.
- Returns:
- Returns list of groups.
find
ccc.rest.dto.GroupDto find(java.util.UUID id)
throws RestException
- Find the group for a given ID.
-
- Parameters:
id
- The group ID.
- Returns:
- Returns the corresponding group.
- Throws:
RestException
- If the method fails.
create
ccc.rest.dto.GroupDto create(ccc.rest.dto.GroupDto group)
throws RestException
- Create a new group in the system.
-
- Parameters:
group
- The new group details.
- Returns:
- A DTO describing the new group.
- Throws:
RestException
- If the method fails.
update
ccc.rest.dto.GroupDto update(java.util.UUID id,
ccc.rest.dto.GroupDto group)
throws RestException
- Update an existing group in the system.
-
- Parameters:
group
- The updated group details.
id
- The ID of the group to update.
- Returns:
- A DTO describing the updated group.
- Throws:
RestException
- If the method fails.