public class PutGroup extends java.lang.Object implements RestModifyView<GroupResource,GroupInput>
Constructor and Description |
---|
PutGroup() |
Modifier and Type | Method and Description |
---|---|
Response<?> |
apply(GroupResource resource,
GroupInput input)
Process the view operation by altering the resource.
|
public Response<?> apply(GroupResource resource, GroupInput input) throws ResourceConflictException
RestModifyView
apply
in interface RestModifyView<GroupResource,GroupInput>
resource
- resource to modify.input
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.ResourceConflictException
- the resource state does not permit this view to make the
changes at this time.