public class SetPreferences extends Object implements com.google.gerrit.extensions.restapi.RestModifyView<AccountResource,SetPreferences.Input>
Modifier and Type | Class and Description |
---|---|
static class |
SetPreferences.Input |
Modifier and Type | Method and Description |
---|---|
GetPreferences.PreferenceInfo |
apply(AccountResource rsrc,
SetPreferences.Input i) |
static void |
storeMyMenus(VersionedAccountPreferences prefs,
List<com.google.gerrit.extensions.webui.TopMenu.MenuItem> my) |
static void |
storeUrlAliases(VersionedAccountPreferences prefs,
Map<String,String> urlAliases) |
public GetPreferences.PreferenceInfo apply(AccountResource rsrc, SetPreferences.Input i) throws com.google.gerrit.extensions.restapi.AuthException, com.google.gerrit.extensions.restapi.ResourceNotFoundException, com.google.gerrit.extensions.restapi.BadRequestException, com.google.gwtorm.server.OrmException, IOException, org.eclipse.jgit.errors.ConfigInvalidException
apply
in interface com.google.gerrit.extensions.restapi.RestModifyView<AccountResource,SetPreferences.Input>
com.google.gerrit.extensions.restapi.AuthException
com.google.gerrit.extensions.restapi.ResourceNotFoundException
com.google.gerrit.extensions.restapi.BadRequestException
com.google.gwtorm.server.OrmException
IOException
org.eclipse.jgit.errors.ConfigInvalidException
public static void storeMyMenus(VersionedAccountPreferences prefs, List<com.google.gerrit.extensions.webui.TopMenu.MenuItem> my)
public static void storeUrlAliases(VersionedAccountPreferences prefs, Map<String,String> urlAliases)