Package google.registry.model.console
Class User
java.lang.Object
google.registry.model.ImmutableObject
google.registry.model.UpdateAutoTimestampEntity
google.registry.model.console.User
- All Implemented Interfaces:
Buildable
,UnsafeSerializable
,Serializable
,Cloneable
A console user, either a registry employee or a registrar partner.
- See Also:
-
Nested Class Summary
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.ImmutableObject
hashCode
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetId()
boolean
Whether the user has the registry lock permission on any registrar or globally.boolean
boolean
verifyRegistryLockPassword
(String registryLockPassword) Methods inherited from class google.registry.model.UpdateAutoTimestampEntity
copyUpdateTimestamp, getUpdateTimestamp, resetUpdateTimestamp, setUpdateTimestamp
Methods inherited from class google.registry.model.ImmutableObject
clone, cloneEmptyToNull, equals, getSignificantFields, hashCode, toDiffableFieldMap, toHydratedString, toString, toStringHelper
-
Constructor Details
-
User
public User()
-
-
Method Details
-
getId
-
getEmailAddress
-
getUserRoles
-
hasRegistryLockPassword
public boolean hasRegistryLockPassword() -
verifyRegistryLockPassword
-
hasAnyRegistryLockPermission
public boolean hasAnyRegistryLockPermission()Whether the user has the registry lock permission on any registrar or globally.If so, they should be allowed to (re)set their registry lock password.
-
asBuilder
-
createVKey
- Overrides:
createVKey
in classImmutableObject
-