Package google.registry.model
-
Interface Summary Interface Description Buildable Interface forImmutableObject
subclasses that have a builder.Buildable.Overlayable<T> Interface for objects that can produce an "overlay", which means a copy where non-null fields from another object are copied over, but null fields on the source are not.EppResource.BuilderWithTransferData<T extends TransferData,B extends EppResource.BuilderWithTransferData<T,B>> An interface for builders of resources that have transfer data.EppResource.ForeignKeyedEppResource EppResources that are loaded via foreign keys should implement this marker interface.EppResource.ResourceWithTransferData<T extends TransferData> An interface for resources that have transfer data.Jsonifiable Interface for objects that may be converted to JSON.UnsafeSerializable Marker interface for Nomulus entities whose serialization are implemented in a fragile way. -
Class Summary Class Description AppEngineEnvironment Sets up a fakeApiProxy.Environment
so that the following operations can be performed without the Datastore service: Create ObjectifyKeys
.BackupGroupRoot Base class for entities that are the root of a Registry 2.0 entity group that gets enrolled in commit logs for backup purposes.Buildable.Builder<S> Boilerplate for immutable builders.Buildable.GenericBuilder<S,B extends Buildable.GenericBuilder<?,?>> Boilerplate for abstract immutable builders that need to be able to cast "this".CacheUtils Utility methods related to caching Datastore entities.CacheUtils.AppEngineEnvironmentCacheLoader<K,V> ACacheLoader
that automatically masquerade the background thread where the refresh action runs in to be an GAE thread.CreateAutoTimestamp A timestamp that auto-updates when first saved to Datastore.EntityClasses Sets of classes of the Objectify-registered entities in use throughout the model.EppResource An EPP entity object (i.e.EppResource.Builder<T extends EppResource,B extends EppResource.Builder<T,B>> Abstract builder forEppResource
types.EppResourceUtils Utilities for working withEppResource
.IdService Allocates a globally uniqueLong
number to use as an Ofy@Id
.ImmutableObject An immutable object that implementsImmutableObject.equals(java.lang.Object)
,ImmutableObject.hashCode
andImmutableObject.toString()
.JsonMapBuilder Helper class forJsonifiable
classes to generate JSON maps for RPC responses.ModelUtils A collection of static methods that deal with reflection on model classes.OteAccountBuilder Class to help build and persist all the OT&E entities in Datastore.OteStats Represents stats derived from HistoryEntry objects on actions taken by registrars.ResourceTransferUtils Static utility functions for resource transfers.SchemaVersion Utility methods for getting the version of the model schema from the model code.UpdateAutoTimestamp A timestamp that auto-updates on each save to Datastore/Cloud SQL.UpdateAutoTimestamp.DisableAutoUpdateResource Class to allow us to safely disable auto-update in a try-with-resources block. -
Enum Summary Enum Description OteStats.StatType Enum defining the distinct statistics (types of registrar actions) to record. -
Annotation Types Summary Annotation Type Description ImmutableObject.DoNotCompare Indicates that the field should be ignored when comparing an object in the datastore to the corresponding object in Cloud SQL.ImmutableObject.DoNotHydrate Marker to indicate thatImmutableObject.toHydratedString()
should not hydrate a field.ImmutableObject.EmptySetToNull Indicates that the field stores a null value to indicate an empty set.ImmutableObject.IgnoredInDiffableMap Marker to indicate that this filed should be ignored byImmutableObject.toDiffableFieldMap()
.ImmutableObject.Insignificant Indicates that the field does not take part in the immutability contract.