public static class AddSubgroups.UpdateSubgroup extends 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 com.google.gwtorm.server.OrmException, PermissionBackendException
RestModifyViewapply in interface RestModifyView<SubgroupResource,AddSubgroups.Input>resource - resource to modify.input - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.com.google.gwtorm.server.OrmExceptionPermissionBackendException