Package google.registry.model.domain
Interface DomainCommand.CreateOrUpdate<T extends DomainCommand.CreateOrUpdate<T>>
- Type Parameters:
T
- the actual type (eitherDomainCommand.Create
orDomainCommand.Update
)
- All Superinterfaces:
ResourceCommand
,ResourceCommand.SingleResourceCommand
- All Known Implementing Classes:
DomainCommand.Create
,DomainCommand.Update
- Enclosing class:
DomainCommand
public static interface DomainCommand.CreateOrUpdate<T extends DomainCommand.CreateOrUpdate<T>>
extends ResourceCommand.SingleResourceCommand
A common interface for
DomainCommand.Create
and DomainCommand.Update
to support linking resources.-
Nested Class Summary
Nested classes/interfaces inherited from interface google.registry.model.eppinput.ResourceCommand
ResourceCommand.AbstractSingleResourceCommand, ResourceCommand.ResourceCheck, ResourceCommand.ResourceCreateOrChange<B extends Buildable.Builder<?>>, ResourceCommand.ResourceUpdate<A extends ResourceCommand.ResourceUpdate.AddRemove,
B extends EppResource.Builder<?, ?>, C extends ResourceCommand.ResourceCreateOrChange<B>>, ResourceCommand.SingleResourceCommand -
Method Summary
Modifier and TypeMethodDescriptioncloneAndLinkReferences
(org.joda.time.DateTime now) Creates a copy of this command with hard links to hosts and contacts.Methods inherited from interface google.registry.model.eppinput.ResourceCommand.SingleResourceCommand
getAuthInfo, getTargetId
-
Method Details
-
cloneAndLinkReferences
T cloneAndLinkReferences(org.joda.time.DateTime now) throws DomainCommand.InvalidReferencesException Creates a copy of this command with hard links to hosts and contacts.
-