Class AccountApi.NotImplemented
- java.lang.Object
-
- com.google.gerrit.extensions.api.accounts.AccountApi.NotImplemented
-
- All Implemented Interfaces:
AccountApi
- Enclosing interface:
- AccountApi
public static class AccountApi.NotImplemented extends Object implements AccountApi
A default implementation which allows source compatibility when adding new methods to the interface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.google.gerrit.extensions.api.accounts.AccountApi
AccountApi.NotImplemented
-
-
Constructor Summary
Constructors Constructor Description NotImplemented()
-
Method Summary
-
-
-
Method Detail
-
get
public AccountInfo get() throws RestApiException
- Specified by:
getin interfaceAccountApi- Throws:
RestApiException
-
detail
public AccountDetailInfo detail() throws RestApiException
- Specified by:
detailin interfaceAccountApi- Throws:
RestApiException
-
getActive
public boolean getActive() throws RestApiException- Specified by:
getActivein interfaceAccountApi- Throws:
RestApiException
-
setActive
public void setActive(boolean active) throws RestApiException- Specified by:
setActivein interfaceAccountApi- Throws:
RestApiException
-
getAvatarUrl
public String getAvatarUrl(int size) throws RestApiException
- Specified by:
getAvatarUrlin interfaceAccountApi- Throws:
RestApiException
-
getPreferences
public GeneralPreferencesInfo getPreferences() throws RestApiException
- Specified by:
getPreferencesin interfaceAccountApi- Throws:
RestApiException
-
setPreferences
public GeneralPreferencesInfo setPreferences(GeneralPreferencesInfo in) throws RestApiException
- Specified by:
setPreferencesin interfaceAccountApi- Throws:
RestApiException
-
getDiffPreferences
public DiffPreferencesInfo getDiffPreferences() throws RestApiException
- Specified by:
getDiffPreferencesin interfaceAccountApi- Throws:
RestApiException
-
setDiffPreferences
public DiffPreferencesInfo setDiffPreferences(DiffPreferencesInfo in) throws RestApiException
- Specified by:
setDiffPreferencesin interfaceAccountApi- Throws:
RestApiException
-
getEditPreferences
public EditPreferencesInfo getEditPreferences() throws RestApiException
- Specified by:
getEditPreferencesin interfaceAccountApi- Throws:
RestApiException
-
setEditPreferences
public EditPreferencesInfo setEditPreferences(EditPreferencesInfo in) throws RestApiException
- Specified by:
setEditPreferencesin interfaceAccountApi- Throws:
RestApiException
-
getWatchedProjects
public List<ProjectWatchInfo> getWatchedProjects() throws RestApiException
- Specified by:
getWatchedProjectsin interfaceAccountApi- Throws:
RestApiException
-
setWatchedProjects
public List<ProjectWatchInfo> setWatchedProjects(List<ProjectWatchInfo> in) throws RestApiException
- Specified by:
setWatchedProjectsin interfaceAccountApi- Throws:
RestApiException
-
deleteWatchedProjects
public void deleteWatchedProjects(List<ProjectWatchInfo> in) throws RestApiException
- Specified by:
deleteWatchedProjectsin interfaceAccountApi- Throws:
RestApiException
-
starChange
public void starChange(String changeId) throws RestApiException
- Specified by:
starChangein interfaceAccountApi- Throws:
RestApiException
-
unstarChange
public void unstarChange(String changeId) throws RestApiException
- Specified by:
unstarChangein interfaceAccountApi- Throws:
RestApiException
-
setStars
public void setStars(String changeId, StarsInput input) throws RestApiException
- Specified by:
setStarsin interfaceAccountApi- Throws:
RestApiException
-
getStars
public SortedSet<String> getStars(String changeId) throws RestApiException
- Specified by:
getStarsin interfaceAccountApi- Throws:
RestApiException
-
getStarredChanges
public List<ChangeInfo> getStarredChanges() throws RestApiException
- Specified by:
getStarredChangesin interfaceAccountApi- Throws:
RestApiException
-
getGroups
public List<GroupInfo> getGroups() throws RestApiException
- Specified by:
getGroupsin interfaceAccountApi- Throws:
RestApiException
-
getEmails
public List<EmailInfo> getEmails() throws RestApiException
- Specified by:
getEmailsin interfaceAccountApi- Throws:
RestApiException
-
addEmail
public void addEmail(EmailInput input) throws RestApiException
- Specified by:
addEmailin interfaceAccountApi- Throws:
RestApiException
-
deleteEmail
public void deleteEmail(String email) throws RestApiException
- Specified by:
deleteEmailin interfaceAccountApi- Throws:
RestApiException
-
createEmail
public EmailApi createEmail(EmailInput input) throws RestApiException
- Specified by:
createEmailin interfaceAccountApi- Throws:
RestApiException
-
email
public EmailApi email(String email) throws RestApiException
- Specified by:
emailin interfaceAccountApi- Throws:
RestApiException
-
setStatus
public void setStatus(String status) throws RestApiException
- Specified by:
setStatusin interfaceAccountApi- Throws:
RestApiException
-
listSshKeys
public List<SshKeyInfo> listSshKeys() throws RestApiException
- Specified by:
listSshKeysin interfaceAccountApi- Throws:
RestApiException
-
addSshKey
public SshKeyInfo addSshKey(String key) throws RestApiException
- Specified by:
addSshKeyin interfaceAccountApi- Throws:
RestApiException
-
deleteSshKey
public void deleteSshKey(int seq) throws RestApiException- Specified by:
deleteSshKeyin interfaceAccountApi- Throws:
RestApiException
-
putGpgKeys
public Map<String,GpgKeyInfo> putGpgKeys(List<String> add, List<String> remove) throws RestApiException
- Specified by:
putGpgKeysin interfaceAccountApi- Throws:
RestApiException
-
gpgKey
public GpgKeyApi gpgKey(String id) throws RestApiException
- Specified by:
gpgKeyin interfaceAccountApi- Throws:
RestApiException
-
listGpgKeys
public Map<String,GpgKeyInfo> listGpgKeys() throws RestApiException
- Specified by:
listGpgKeysin interfaceAccountApi- Throws:
RestApiException
-
listAgreements
public List<AgreementInfo> listAgreements() throws RestApiException
- Specified by:
listAgreementsin interfaceAccountApi- Throws:
RestApiException
-
signAgreement
public void signAgreement(String agreementName) throws RestApiException
- Specified by:
signAgreementin interfaceAccountApi- Throws:
RestApiException
-
index
public void index() throws RestApiException- Specified by:
indexin interfaceAccountApi- Throws:
RestApiException
-
getExternalIds
public List<AccountExternalIdInfo> getExternalIds() throws RestApiException
- Specified by:
getExternalIdsin interfaceAccountApi- Throws:
RestApiException
-
deleteExternalIds
public void deleteExternalIds(List<String> externalIds) throws RestApiException
- Specified by:
deleteExternalIdsin interfaceAccountApi- Throws:
RestApiException
-
deleteDraftComments
public List<DeletedDraftCommentInfo> deleteDraftComments(DeleteDraftCommentsInput input) throws RestApiException
- Specified by:
deleteDraftCommentsin interfaceAccountApi- Throws:
RestApiException
-
setName
public void setName(String name) throws RestApiException
- Specified by:
setNamein interfaceAccountApi- Throws:
RestApiException
-
generateHttpPassword
public String generateHttpPassword() throws RestApiException
Description copied from interface:AccountApiGenerate a new HTTP password.- Specified by:
generateHttpPasswordin interfaceAccountApi- Returns:
- the generated password.
- Throws:
RestApiException
-
setHttpPassword
public String setHttpPassword(String httpPassword) throws RestApiException
Description copied from interface:AccountApiSet a new HTTP password.May only be invoked by administrators.
- Specified by:
setHttpPasswordin interfaceAccountApi- Parameters:
httpPassword- the new password,nullto remove the password.- Returns:
- the new password,
nullif the password was removed. - Throws:
RestApiException
-
-