public static class AddSubgroups.UpdateSubgroup extends java.lang.Object implements RestModifyView<SubgroupResource,AddSubgroups.Input>
Constructor and Description |
---|
UpdateSubgroup(com.google.inject.Provider<GetSubgroup> get) |
Modifier and Type | Method and Description |
---|---|
GroupInfo |
apply(SubgroupResource resource,
AddSubgroups.Input input)
Process the view operation by altering the resource.
|
@Inject public UpdateSubgroup(com.google.inject.Provider<GetSubgroup> get)
public GroupInfo apply(SubgroupResource resource, AddSubgroups.Input input) throws PermissionBackendException
RestModifyView
apply
in interface RestModifyView<SubgroupResource,AddSubgroups.Input>
resource
- resource to modify.input
- input after parsing from request.BinaryResult
to avoid automatic conversion
to JSON.PermissionBackendException