Package com.google.gerrit.server.project
Class CreateAccessChange
- java.lang.Object
- 
- com.google.gerrit.server.project.CreateAccessChange
 
- 
- All Implemented Interfaces:
- RestModifyView<ProjectResource,ProjectAccessInput>,- RestView<ProjectResource>
 
 public class CreateAccessChange extends Object implements RestModifyView<ProjectResource,ProjectAccessInput> 
- 
- 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<ChangeInfo>apply(ProjectResource rsrc, ProjectAccessInput input)Process the view operation by altering the resource.
 
- 
- 
- 
Method Detail- 
applypublic Response<ChangeInfo> apply(ProjectResource rsrc, ProjectAccessInput input) throws PermissionBackendException, PermissionDeniedException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, com.google.gwtorm.server.OrmException, InvalidNameException, UpdateException, RestApiException Description copied from interface:RestModifyViewProcess the view operation by altering the resource.- Specified by:
- applyin interface- RestModifyView<ProjectResource,ProjectAccessInput>
- Parameters:
- rsrc- resource to modify.
- input- input after parsing from request.
- Returns:
- result to return to the client. Use BinaryResultto avoid automatic conversion to JSON.
- Throws:
- AuthException- the client is not permitted to access this view.
- BadRequestException- the request was incorrectly specified and cannot be handled by this view.
- ResourceConflictException- the resource state does not permit this view to make the changes at this time.
- PermissionBackendException
- PermissionDeniedException
- IOException
- org.eclipse.jgit.errors.ConfigInvalidException
- com.google.gwtorm.server.OrmException
- InvalidNameException
- UpdateException
- RestApiException
 
 
- 
 
-