Class ConsoleApiAction
java.lang.Object
google.registry.ui.server.console.ConsoleApiAction
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
ConsoleBulkDomainAction
,ConsoleDomainGetAction
,ConsoleDomainListAction
,ConsoleDumDownloadAction
,ConsoleEppPasswordAction
,ConsoleOteAction
,ConsoleRegistryLockAction
,ConsoleRegistryLockVerifyAction
,ConsoleUpdateRegistrarAction
,ConsoleUserDataAction
,ConsoleUsersAction
,ContactAction
,RegistrarsAction
,SecurityAction
,WhoisRegistrarFieldsAction
Base class for handling Console API requests
-
Nested Class Summary
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
checkPermission
(User user, String registrarId, ConsolePermission permission) protected void
deleteHandler
(User user) protected void
protected void
getHandler
(User user) protected void
headHandler
(User user) protected void
postHandler
(User user) protected void
putHandler
(User user) final void
run()
protected void
sendExternalUpdates
(Map<?, ?> diffs, Registrar registrar, com.google.common.collect.ImmutableSet<RegistrarPoc> contacts) protected void
Determines if any changes were made to the registrar besides the lastUpdateTime, and if so, sends an email with a diff of the changes to the configured notification email address and all contact addresses and enqueues a task to re-sync the registrar sheet.protected void
setFailedResponse
(String message, int code)
-
Field Details
-
consoleApiParams
-
-
Constructor Details
-
ConsoleApiAction
-
-
Method Details
-
run
public final void run() -
checkPermission
-
postHandler
-
putHandler
-
getHandler
-
deleteHandler
-
headHandler
-
setFailedResponse
-
sendExternalUpdates
protected void sendExternalUpdates(Map<?, ?> diffs, Registrar registrar, com.google.common.collect.ImmutableSet<RegistrarPoc> contacts) -
sendExternalUpdatesIfNecessary
Determines if any changes were made to the registrar besides the lastUpdateTime, and if so, sends an email with a diff of the changes to the configured notification email address and all contact addresses and enqueues a task to re-sync the registrar sheet. -
finishAndPersistConsoleUpdateHistory
-