Package google.registry.model.domain
Class DomainHistory
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.reporting.HistoryEntry
google.registry.model.domain.DomainHistory
- All Implemented Interfaces:
Buildable
,UnsafeSerializable
,Serializable
,Cloneable
A persisted history entry representing an EPP modification to a domain.
In addition to the general history fields (e.g. action time, registrar ID) we also persist a
copy of the domain entity at this point in time. We persist a raw DomainBase
so that the
foreign-keyed fields in that class can refer to this object.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class google.registry.model.reporting.HistoryEntry
HistoryEntry.HistoryEntryId, HistoryEntry.Type
Nested classes/interfaces inherited from class google.registry.model.ImmutableObject
ImmutableObject.DoNotHydrate, ImmutableObject.IgnoredInDiffableMap, ImmutableObject.Insignificant
Nested classes/interfaces inherited from interface google.registry.model.Buildable
Buildable.GenericBuilder<S,
B extends Buildable.GenericBuilder<?, ?>>, Buildable.Overlayable<T> -
Field Summary
Fields inherited from class google.registry.model.reporting.HistoryEntry
repoId, revisionId
Fields inherited from class google.registry.model.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionCreates aVKey
instance for this entity.The values of all the fields on theDomainBase
object after the action represented by this history object was executed.com.google.common.collect.ImmutableSet
<DomainDsDataHistory> Returns the collection ofDomainDsDataHistory
instances.Returns keys to theHost
that are the nameservers for the domain.protected DomainBase
Optional
<? extends EppResource> protected void
postLoad()
Methods inherited from class google.registry.model.reporting.HistoryEntry
copy, createBuilderForResource, getBySuperuser, getHistoryEntryId, getModificationTime, getReason, getRegistrarId, getRepoId, getRequestedByRegistrar, getResourceType, getRevisionId, getTrid, getType, getXmlBytes, processResourcePostLoad
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
DomainHistory
public DomainHistory()
-
-
Method Details
-
getResource
- Specified by:
getResource
in classHistoryEntry
-
getDomainBase
The values of all the fields on theDomainBase
object after the action represented by this history object was executed.Will be absent for objects created prior to the Registry 3.0 SQL migration.
-
getDomainTransactionRecords
-
getNsHosts
Returns keys to theHost
that are the nameservers for the domain. -
getDsDataHistories
Returns the collection ofDomainDsDataHistory
instances. -
getGracePeriodHistories
-
createVKey
Creates aVKey
instance for this entity.- Overrides:
createVKey
in classImmutableObject
-
getResourceAtPointInTime
- Specified by:
getResourceAtPointInTime
in classHistoryEntry
-
getOtherRegistrarId
-
getPeriod
-
postLoad
protected void postLoad()- Overrides:
postLoad
in classHistoryEntry
-
asBuilder
- Specified by:
asBuilder
in interfaceBuildable
- Specified by:
asBuilder
in classHistoryEntry
-