Package com.google.gerrit.server.account
Class SetEditPreferences
- java.lang.Object
-
- com.google.gerrit.server.account.SetEditPreferences
-
- All Implemented Interfaces:
RestModifyView<AccountResource,EditPreferencesInfo>
,RestView<AccountResource>
public class SetEditPreferences extends Object implements RestModifyView<AccountResource,EditPreferencesInfo>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EditPreferencesInfo
apply(AccountResource rsrc, EditPreferencesInfo in)
Process the view operation by altering the resource.
-
-
-
Method Detail
-
apply
public EditPreferencesInfo apply(AccountResource rsrc, EditPreferencesInfo in) throws AuthException, BadRequestException, org.eclipse.jgit.errors.RepositoryNotFoundException, IOException, org.eclipse.jgit.errors.ConfigInvalidException, PermissionBackendException
Description copied from interface:RestModifyView
Process the view operation by altering the resource.- Specified by:
apply
in interfaceRestModifyView<AccountResource,EditPreferencesInfo>
- Parameters:
rsrc
- resource to modify.in
- input after parsing from request.- Returns:
- result to return to the client. Use
BinaryResult
to 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.org.eclipse.jgit.errors.RepositoryNotFoundException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
PermissionBackendException
-
-