Class ConsoleRegistryLockAction
java.lang.Object
google.registry.ui.server.console.ConsoleApiAction
google.registry.ui.server.console.ConsoleRegistryLockAction
- All Implemented Interfaces:
Runnable
Handler for retrieving / creating registry lock requests in the console.
Note: two-factor verification of the locks occurs separately (TODO: link the verification action).
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic final record
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
ConstructorDescriptionConsoleRegistryLockAction
(ConsoleApiParams consoleApiParams, DomainLockUtils domainLockUtils, GmailClient gmailClient, Optional<ConsoleRegistryLockAction.ConsoleRegistryLockPostInput> optionalPostInput, String registrarId) -
Method Summary
Modifier and TypeMethodDescriptionprotected void
getHandler
(User user) protected void
postHandler
(User user) Methods inherited from class google.registry.ui.server.console.ConsoleApiAction
checkPermission, deleteHandler, finishAndPersistConsoleUpdateHistory, headHandler, putHandler, run, sendExternalUpdates, sendExternalUpdatesIfNecessary, setFailedResponse
-
Constructor Details
-
ConsoleRegistryLockAction
@Inject public ConsoleRegistryLockAction(ConsoleApiParams consoleApiParams, DomainLockUtils domainLockUtils, GmailClient gmailClient, @Parameter("consoleRegistryLockPostInput") Optional<ConsoleRegistryLockAction.ConsoleRegistryLockPostInput> optionalPostInput, @Parameter("registrarId") String registrarId)
-
-
Method Details
-
getHandler
- Overrides:
getHandler
in classConsoleApiAction
-
postHandler
- Overrides:
postHandler
in classConsoleApiAction
-