Class AccountApi.NotImplemented
java.lang.Object
com.google.gerrit.extensions.api.accounts.AccountApi.NotImplemented
- All Implemented Interfaces:
AccountApi
- Enclosing interface:
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 -
Method Summary
Modifier and TypeMethodDescriptionvoidaddEmail(EmailInput input) createEmail(EmailInput input) voiddelete()voiddeleteEmail(String email) voiddeleteExternalIds(List<String> externalIds) voiddeleteSshKey(int seq) voiddetail()Generate a new HTTP password.get()booleangetAvatarUrl(int size) voidindex()putGpgKeys(List<String> add, List<String> remove) voidsetActive(boolean active) voidsetDisplayName(String displayName) setHttpPassword(String httpPassword) Set a new HTTP password.voidvoidvoidsignAgreement(String agreementName) voidstarChange(String changeId) state()voidunstarChange(String changeId)
-
Constructor Details
-
NotImplemented
public NotImplemented()
-
-
Method Details
-
get
- Specified by:
getin interfaceAccountApi- Throws:
RestApiException
-
detail
- Specified by:
detailin interfaceAccountApi- Throws:
RestApiException
-
state
- Specified by:
statein interfaceAccountApi- Throws:
RestApiException
-
getActive
- Specified by:
getActivein interfaceAccountApi- Throws:
RestApiException
-
setActive
- Specified by:
setActivein interfaceAccountApi- Throws:
RestApiException
-
getAvatarUrl
- Specified by:
getAvatarUrlin interfaceAccountApi- Throws:
RestApiException
-
getPreferences
- Specified by:
getPreferencesin interfaceAccountApi- Throws:
RestApiException
-
setPreferences
- Specified by:
setPreferencesin interfaceAccountApi- Throws:
RestApiException
-
getDiffPreferences
- Specified by:
getDiffPreferencesin interfaceAccountApi- Throws:
RestApiException
-
setDiffPreferences
- Specified by:
setDiffPreferencesin interfaceAccountApi- Throws:
RestApiException
-
getEditPreferences
- Specified by:
getEditPreferencesin interfaceAccountApi- Throws:
RestApiException
-
setEditPreferences
- Specified by:
setEditPreferencesin interfaceAccountApi- Throws:
RestApiException
-
getWatchedProjects
- Specified by:
getWatchedProjectsin interfaceAccountApi- Throws:
RestApiException
-
setWatchedProjects
- Specified by:
setWatchedProjectsin interfaceAccountApi- Throws:
RestApiException
-
deleteWatchedProjects
- Specified by:
deleteWatchedProjectsin interfaceAccountApi- Throws:
RestApiException
-
starChange
- Specified by:
starChangein interfaceAccountApi- Throws:
RestApiException
-
unstarChange
- Specified by:
unstarChangein interfaceAccountApi- Throws:
RestApiException
-
getGroups
- Specified by:
getGroupsin interfaceAccountApi- Throws:
RestApiException
-
getEmails
- Specified by:
getEmailsin interfaceAccountApi- Throws:
RestApiException
-
addEmail
- Specified by:
addEmailin interfaceAccountApi- Throws:
RestApiException
-
deleteEmail
- Specified by:
deleteEmailin interfaceAccountApi- Throws:
RestApiException
-
createEmail
- Specified by:
createEmailin interfaceAccountApi- Throws:
RestApiException
-
email
- Specified by:
emailin interfaceAccountApi- Throws:
RestApiException
-
setStatus
- Specified by:
setStatusin interfaceAccountApi- Throws:
RestApiException
-
setDisplayName
- Specified by:
setDisplayNamein interfaceAccountApi- Throws:
RestApiException
-
listSshKeys
- Specified by:
listSshKeysin interfaceAccountApi- Throws:
RestApiException
-
addSshKey
- Specified by:
addSshKeyin interfaceAccountApi- Throws:
RestApiException
-
deleteSshKey
- 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
- Specified by:
gpgKeyin interfaceAccountApi- Throws:
RestApiException
-
listGpgKeys
- Specified by:
listGpgKeysin interfaceAccountApi- Throws:
RestApiException
-
listAgreements
- Specified by:
listAgreementsin interfaceAccountApi- Throws:
RestApiException
-
signAgreement
- Specified by:
signAgreementin interfaceAccountApi- Throws:
RestApiException
-
index
- Specified by:
indexin interfaceAccountApi- Throws:
RestApiException
-
getExternalIds
- Specified by:
getExternalIdsin interfaceAccountApi- Throws:
RestApiException
-
deleteExternalIds
- Specified by:
deleteExternalIdsin interfaceAccountApi- Throws:
RestApiException
-
deleteDraftComments
public List<DeletedDraftCommentInfo> deleteDraftComments(DeleteDraftCommentsInput input) throws RestApiException - Specified by:
deleteDraftCommentsin interfaceAccountApi- Throws:
RestApiException
-
setName
- Specified by:
setNamein interfaceAccountApi- Throws:
RestApiException
-
generateHttpPassword
Description copied from interface:AccountApiGenerate a new HTTP password.- Specified by:
generateHttpPasswordin interfaceAccountApi- Returns:
- the generated password.
- Throws:
RestApiException
-
setHttpPassword
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
-
delete
- Specified by:
deletein interfaceAccountApi- Throws:
RestApiException
-