Class RegistrarFormFields


  • public final class RegistrarFormFields
    extends java.lang.Object
    Form fields for validating input for the Registrar class.
    • Field Detail

      • BASE64_PATTERN

        public static final com.google.re2j.Pattern BASE64_PATTERN
      • ASCII_PATTERN

        public static final com.google.re2j.Pattern ASCII_PATTERN
      • NAME_FIELD

        public static final FormField<java.lang.String,​java.lang.String> NAME_FIELD
      • LAST_UPDATE_TIME

        public static final FormField<java.lang.String,​org.joda.time.DateTime> LAST_UPDATE_TIME
      • EMAIL_ADDRESS_FIELD_REQUIRED

        public static final FormField<java.lang.String,​java.lang.String> EMAIL_ADDRESS_FIELD_REQUIRED
      • EMAIL_ADDRESS_FIELD_OPTIONAL

        public static final FormField<java.lang.String,​java.lang.String> EMAIL_ADDRESS_FIELD_OPTIONAL
      • ICANN_REFERRAL_EMAIL_FIELD

        public static final FormField<java.lang.String,​java.lang.String> ICANN_REFERRAL_EMAIL_FIELD
      • PHONE_NUMBER_FIELD

        public static final FormField<java.lang.String,​java.lang.String> PHONE_NUMBER_FIELD
      • FAX_NUMBER_FIELD

        public static final FormField<java.lang.String,​java.lang.String> FAX_NUMBER_FIELD
      • ALLOWED_TLDS_FIELD

        public static final FormField<java.util.List<java.lang.String>,​java.util.Set<java.lang.String>> ALLOWED_TLDS_FIELD
      • WHOIS_SERVER_FIELD

        public static final FormField<java.lang.String,​java.lang.String> WHOIS_SERVER_FIELD
      • BLOCK_PREMIUM_NAMES_FIELD

        public static final FormField<java.lang.Boolean,​java.lang.Boolean> BLOCK_PREMIUM_NAMES_FIELD
      • DRIVE_FOLDER_ID_FIELD

        public static final FormField<java.lang.String,​java.lang.String> DRIVE_FOLDER_ID_FIELD
      • CLIENT_CERTIFICATE_HASH_FIELD

        public static final FormField<java.lang.String,​java.lang.String> CLIENT_CERTIFICATE_HASH_FIELD
      • CLIENT_CERTIFICATE_FIELD

        public static final FormField<java.lang.String,​java.lang.String> CLIENT_CERTIFICATE_FIELD
      • FAILOVER_CLIENT_CERTIFICATE_FIELD

        public static final FormField<java.lang.String,​java.lang.String> FAILOVER_CLIENT_CERTIFICATE_FIELD
      • BILLING_IDENTIFIER_FIELD

        public static final FormField<java.lang.Long,​java.lang.Long> BILLING_IDENTIFIER_FIELD
      • IANA_IDENTIFIER_FIELD

        public static final FormField<java.lang.Long,​java.lang.Long> IANA_IDENTIFIER_FIELD
      • URL_FIELD

        public static final FormField<java.lang.String,​java.lang.String> URL_FIELD
      • IP_ADDRESS_ALLOW_LIST_FIELD

        public static final FormField<java.util.List<java.lang.String>,​java.util.List<CidrAddressBlock>> IP_ADDRESS_ALLOW_LIST_FIELD
      • PASSWORD_FIELD

        public static final FormField<java.lang.String,​java.lang.String> PASSWORD_FIELD
      • PHONE_PASSCODE_FIELD

        public static final FormField<java.lang.String,​java.lang.String> PHONE_PASSCODE_FIELD
      • CONTACT_NAME_FIELD

        public static final FormField<java.lang.String,​java.lang.String> CONTACT_NAME_FIELD
      • CONTACT_EMAIL_ADDRESS_FIELD

        public static final FormField<java.lang.String,​java.lang.String> CONTACT_EMAIL_ADDRESS_FIELD
      • REGISTRY_LOCK_EMAIL_ADDRESS_FIELD

        public static final FormField<java.lang.String,​java.lang.String> REGISTRY_LOCK_EMAIL_ADDRESS_FIELD
      • CONTACT_VISIBLE_IN_WHOIS_AS_ADMIN_FIELD

        public static final FormField<java.lang.Boolean,​java.lang.Boolean> CONTACT_VISIBLE_IN_WHOIS_AS_ADMIN_FIELD
      • CONTACT_VISIBLE_IN_WHOIS_AS_TECH_FIELD

        public static final FormField<java.lang.Boolean,​java.lang.Boolean> CONTACT_VISIBLE_IN_WHOIS_AS_TECH_FIELD
      • PHONE_AND_EMAIL_VISIBLE_IN_DOMAIN_WHOIS_AS_ABUSE_FIELD

        public static final FormField<java.lang.Boolean,​java.lang.Boolean> PHONE_AND_EMAIL_VISIBLE_IN_DOMAIN_WHOIS_AS_ABUSE_FIELD
      • CONTACT_PHONE_NUMBER_FIELD

        public static final FormField<java.lang.String,​java.lang.String> CONTACT_PHONE_NUMBER_FIELD
      • CONTACT_FAX_NUMBER_FIELD

        public static final FormField<java.lang.String,​java.lang.String> CONTACT_FAX_NUMBER_FIELD
      • CONTACT_GAE_USER_ID_FIELD

        public static final FormField<java.lang.String,​java.lang.String> CONTACT_GAE_USER_ID_FIELD
      • CONTACT_ALLOWED_TO_SET_REGISTRY_LOCK_PASSWORD

        public static final FormField<java.lang.Object,​java.lang.Boolean> CONTACT_ALLOWED_TO_SET_REGISTRY_LOCK_PASSWORD
      • CONTACT_REGISTRY_LOCK_PASSWORD_FIELD

        public static final FormField<java.lang.String,​java.lang.String> CONTACT_REGISTRY_LOCK_PASSWORD_FIELD
      • CONTACTS_AS_MAPS

        public static final FormField<java.util.List<java.util.Map<java.lang.String,​?>>,​java.util.List<java.util.Map<java.lang.String,​?>>> CONTACTS_AS_MAPS
      • I18N_STREET_FIELD

        public static final FormField<java.util.List<java.lang.String>,​java.util.List<java.lang.String>> I18N_STREET_FIELD
      • L10N_STREET_FIELD

        public static final FormField<java.util.List<java.lang.String>,​java.util.List<java.lang.String>> L10N_STREET_FIELD
      • I18N_CITY_FIELD

        public static final FormField<java.lang.String,​java.lang.String> I18N_CITY_FIELD
      • L10N_CITY_FIELD

        public static final FormField<java.lang.String,​java.lang.String> L10N_CITY_FIELD
      • I18N_STATE_FIELD

        public static final FormField<java.lang.String,​java.lang.String> I18N_STATE_FIELD
      • L10N_STATE_FIELD

        public static final FormField<java.lang.String,​java.lang.String> L10N_STATE_FIELD
      • I18N_ZIP_FIELD

        public static final FormField<java.lang.String,​java.lang.String> I18N_ZIP_FIELD
      • L10N_ZIP_FIELD

        public static final FormField<java.lang.String,​java.lang.String> L10N_ZIP_FIELD
      • COUNTRY_CODE_FIELD

        public static final FormField<java.lang.String,​java.lang.String> COUNTRY_CODE_FIELD
      • L10N_ADDRESS_FIELD

        public static final FormField<java.util.Map<java.lang.String,​?>,​RegistrarAddress> L10N_ADDRESS_FIELD
    • Constructor Detail

      • RegistrarFormFields

        public RegistrarFormFields()
    • Method Detail

      • parseDateTime

        @Nullable
        public static org.joda.time.DateTime parseDateTime​(@Nullable
                                                           java.lang.String input)
      • getRegistrarContactBuilders

        public static com.google.common.collect.ImmutableList<RegistrarContact.Builder> getRegistrarContactBuilders​(com.google.common.collect.ImmutableSet<RegistrarContact> existingContacts,
                                                                                                                    @Nullable
                                                                                                                    java.util.Map<java.lang.String,​?> args)