public class AddIncludedGroups extends Object implements RestModifyView<GroupResource,AddIncludedGroups.Input>
| Modifier and Type | Class and Description |
|---|---|
static class |
AddIncludedGroups.Input |
| Constructor and Description |
|---|
AddIncludedGroups(GroupsCollection groupsCollection,
GroupIncludeCache groupIncludeCache,
com.google.inject.Provider<ReviewDb> db,
GroupJson json,
AuditService auditService) |
| Modifier and Type | Method and Description |
|---|---|
List<GroupInfo> |
apply(GroupResource resource,
AddIncludedGroups.Input input)
Process the view operation by altering the resource.
|
@Inject public AddIncludedGroups(GroupsCollection groupsCollection, GroupIncludeCache groupIncludeCache, com.google.inject.Provider<ReviewDb> db, GroupJson json, AuditService auditService)
public List<GroupInfo> apply(GroupResource resource, AddIncludedGroups.Input input) throws MethodNotAllowedException, AuthException, UnprocessableEntityException, com.google.gwtorm.server.OrmException
RestModifyViewapply in interface RestModifyView<GroupResource,AddIncludedGroups.Input>resource - resource to modify.input - input after parsing from request.BinaryResult to avoid automatic conversion
to JSON.AuthException - the client is not permitted to access this view.MethodNotAllowedExceptionUnprocessableEntityExceptioncom.google.gwtorm.server.OrmException