Class ConsoleUsersAction
java.lang.Object
google.registry.ui.server.console.ConsoleApiAction
google.registry.ui.server.console.ConsoleUsersAction
- All Implemented Interfaces:
Runnable
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.ui.server.console.ConsoleApiAction
ConsoleApiAction.EmailInfo
-
Field Summary
Fields inherited from class google.registry.ui.server.console.ConsoleApiAction
consoleApiParams
-
Constructor Summary
ConstructorDescriptionConsoleUsersAction
(ConsoleApiParams consoleApiParams, com.google.gson.Gson gson, com.google.api.services.directory.Directory directory, IamClient iamClient, String gSuiteDomainName, Optional<String> maybeGroupEmailAddress, StringGenerator passwordGenerator, Optional<ConsoleUsersAction.UserDeleteData> userDeleteData, String registrarId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
deleteHandler
(User user) protected void
getHandler
(User user) protected void
postHandler
(User user) Methods inherited from class google.registry.ui.server.console.ConsoleApiAction
checkPermission, headHandler, run, sendExternalUpdates, sendExternalUpdatesIfNecessary, setFailedResponse
-
Constructor Details
-
ConsoleUsersAction
@Inject public ConsoleUsersAction(ConsoleApiParams consoleApiParams, com.google.gson.Gson gson, com.google.api.services.directory.Directory directory, IamClient iamClient, @Config("gSuiteDomainName") String gSuiteDomainName, @Config("gSuiteConsoleUserGroupEmailAddress") Optional<String> maybeGroupEmailAddress, @Named("base58StringGenerator") StringGenerator passwordGenerator, @Parameter("userDeleteData") Optional<ConsoleUsersAction.UserDeleteData> userDeleteData, @Parameter("registrarId") String registrarId)
-
-
Method Details
-
postHandler
- Overrides:
postHandler
in classConsoleApiAction
-
getHandler
- Overrides:
getHandler
in classConsoleApiAction
-
deleteHandler
- Overrides:
deleteHandler
in classConsoleApiAction
-