Class ConsoleDomainActionType
java.lang.Object
google.registry.ui.server.console.domains.ConsoleDomainActionType
- Direct Known Subclasses:
ConsoleBulkDomainDeleteActionType
,ConsoleBulkDomainSuspendActionType
,ConsoleBulkDomainUnsuspendActionType
A type of EPP action to perform on domain(s), run by the
ConsoleBulkDomainAction
.
Each ConsoleDomainActionType.BulkAction
defines the class that extends that action, including the EPP XML that
will be run and the permission required.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected String
fillSubstitutions
(String xmlTemplate, String domainName) Fills out the default set of substitutions in the provided XML template.abstract ConsolePermission
Returns the permission necessary to successfully perform this action.getXmlContentsToRun
(String domainName) Returns the full XML representing this action, including all substitutions.protected abstract String
Returns the XML template contents for this action.
-
Constructor Details
-
ConsoleDomainActionType
public ConsoleDomainActionType(com.google.gson.JsonElement jsonElement)
-
-
Method Details
-
getXmlContentsToRun
Returns the full XML representing this action, including all substitutions. -
getNecessaryPermission
Returns the permission necessary to successfully perform this action. -
getXmlTemplate
Returns the XML template contents for this action. -
fillSubstitutions
Fills out the default set of substitutions in the provided XML template.Override this method if non-default substitutions are required.
-