public class SetPreferences extends java.lang.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,
java.util.List<com.google.gerrit.extensions.webui.TopMenu.MenuItem> my) |
static void |
storeUrlAliases(VersionedAccountPreferences prefs,
java.util.Map<java.lang.String,java.lang.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, java.io.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
java.io.IOException
org.eclipse.jgit.errors.ConfigInvalidException
public static void storeMyMenus(VersionedAccountPreferences prefs, java.util.List<com.google.gerrit.extensions.webui.TopMenu.MenuItem> my)
public static void storeUrlAliases(VersionedAccountPreferences prefs, java.util.Map<java.lang.String,java.lang.String> urlAliases)