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 TypeMethodDescriptionvoid
addEmail
(EmailInput input) createEmail
(EmailInput input) void
delete()
void
deleteEmail
(String email) void
deleteExternalIds
(List<String> externalIds) void
deleteSshKey
(int seq) void
detail()
Generate a new HTTP password.get()
boolean
getAvatarUrl
(int size) void
index()
putGpgKeys
(List<String> add, List<String> remove) void
setActive
(boolean active) void
setDisplayName
(String displayName) setHttpPassword
(String httpPassword) Set a new HTTP password.void
void
void
signAgreement
(String agreementName) void
starChange
(String changeId) void
unstarChange
(String changeId)
-
Constructor Details
-
NotImplemented
public NotImplemented()
-
-
Method Details
-
get
- Specified by:
get
in interfaceAccountApi
- Throws:
RestApiException
-
detail
- Specified by:
detail
in interfaceAccountApi
- Throws:
RestApiException
-
getActive
- Specified by:
getActive
in interfaceAccountApi
- Throws:
RestApiException
-
setActive
- Specified by:
setActive
in interfaceAccountApi
- Throws:
RestApiException
-
getAvatarUrl
- Specified by:
getAvatarUrl
in interfaceAccountApi
- Throws:
RestApiException
-
getPreferences
- Specified by:
getPreferences
in interfaceAccountApi
- Throws:
RestApiException
-
setPreferences
- Specified by:
setPreferences
in interfaceAccountApi
- Throws:
RestApiException
-
getDiffPreferences
- Specified by:
getDiffPreferences
in interfaceAccountApi
- Throws:
RestApiException
-
setDiffPreferences
- Specified by:
setDiffPreferences
in interfaceAccountApi
- Throws:
RestApiException
-
getEditPreferences
- Specified by:
getEditPreferences
in interfaceAccountApi
- Throws:
RestApiException
-
setEditPreferences
- Specified by:
setEditPreferences
in interfaceAccountApi
- Throws:
RestApiException
-
getWatchedProjects
- Specified by:
getWatchedProjects
in interfaceAccountApi
- Throws:
RestApiException
-
setWatchedProjects
- Specified by:
setWatchedProjects
in interfaceAccountApi
- Throws:
RestApiException
-
deleteWatchedProjects
- Specified by:
deleteWatchedProjects
in interfaceAccountApi
- Throws:
RestApiException
-
starChange
- Specified by:
starChange
in interfaceAccountApi
- Throws:
RestApiException
-
unstarChange
- Specified by:
unstarChange
in interfaceAccountApi
- Throws:
RestApiException
-
getGroups
- Specified by:
getGroups
in interfaceAccountApi
- Throws:
RestApiException
-
getEmails
- Specified by:
getEmails
in interfaceAccountApi
- Throws:
RestApiException
-
addEmail
- Specified by:
addEmail
in interfaceAccountApi
- Throws:
RestApiException
-
deleteEmail
- Specified by:
deleteEmail
in interfaceAccountApi
- Throws:
RestApiException
-
createEmail
- Specified by:
createEmail
in interfaceAccountApi
- Throws:
RestApiException
-
email
- Specified by:
email
in interfaceAccountApi
- Throws:
RestApiException
-
setStatus
- Specified by:
setStatus
in interfaceAccountApi
- Throws:
RestApiException
-
setDisplayName
- Specified by:
setDisplayName
in interfaceAccountApi
- Throws:
RestApiException
-
listSshKeys
- Specified by:
listSshKeys
in interfaceAccountApi
- Throws:
RestApiException
-
addSshKey
- Specified by:
addSshKey
in interfaceAccountApi
- Throws:
RestApiException
-
deleteSshKey
- Specified by:
deleteSshKey
in interfaceAccountApi
- Throws:
RestApiException
-
putGpgKeys
public Map<String,GpgKeyInfo> putGpgKeys(List<String> add, List<String> remove) throws RestApiException - Specified by:
putGpgKeys
in interfaceAccountApi
- Throws:
RestApiException
-
gpgKey
- Specified by:
gpgKey
in interfaceAccountApi
- Throws:
RestApiException
-
listGpgKeys
- Specified by:
listGpgKeys
in interfaceAccountApi
- Throws:
RestApiException
-
listAgreements
- Specified by:
listAgreements
in interfaceAccountApi
- Throws:
RestApiException
-
signAgreement
- Specified by:
signAgreement
in interfaceAccountApi
- Throws:
RestApiException
-
index
- Specified by:
index
in interfaceAccountApi
- Throws:
RestApiException
-
getExternalIds
- Specified by:
getExternalIds
in interfaceAccountApi
- Throws:
RestApiException
-
deleteExternalIds
- Specified by:
deleteExternalIds
in interfaceAccountApi
- Throws:
RestApiException
-
deleteDraftComments
public List<DeletedDraftCommentInfo> deleteDraftComments(DeleteDraftCommentsInput input) throws RestApiException - Specified by:
deleteDraftComments
in interfaceAccountApi
- Throws:
RestApiException
-
setName
- Specified by:
setName
in interfaceAccountApi
- Throws:
RestApiException
-
generateHttpPassword
Description copied from interface:AccountApi
Generate a new HTTP password.- Specified by:
generateHttpPassword
in interfaceAccountApi
- Returns:
- the generated password.
- Throws:
RestApiException
-
setHttpPassword
Description copied from interface:AccountApi
Set a new HTTP password.May only be invoked by administrators.
- Specified by:
setHttpPassword
in interfaceAccountApi
- Parameters:
httpPassword
- the new password,null
to remove the password.- Returns:
- the new password,
null
if the password was removed. - Throws:
RestApiException
-
delete
- Specified by:
delete
in interfaceAccountApi
- Throws:
RestApiException
-