Class GaeUserIdConverter

  • All Implemented Interfaces:

    public class GaeUserIdConverter
    extends ImmutableObject
    A helper class to convert email addresses to GAE user ids. It does so by persisting a User object with the email address to Datastore, and then immediately reading it back.
    • Field Detail

      • id

        public long id
    • Constructor Detail

      • GaeUserIdConverter

        public GaeUserIdConverter()
    • Method Detail

      • convertEmailAddressToGaeUserId

        public static java.lang.String convertEmailAddressToGaeUserId​(java.lang.String emailAddress)
        Converts an email address to a GAE user id.
        Numeric GAE user id (in String form), or null if email address has no GAE id