Class User

java.lang.Object
io.antmedia.datastore.db.types.User

@Entity("user") @Index(fields=@Field("email")) @Index(fields=@Field("fullName")) public class User extends Object
  • Field Details

    • email

      private String email
      The email of the user.
    • password

      private String password
      The password of the user. This field is only set for certain user types.
    • userType

      @Deprecated private UserType userType
      Deprecated.
      The type of the user.
    • scope

      @Deprecated private String scope
      Deprecated.
      The scope of the user. It can be 'system' or the name of the application.
    • appNameUserType

      private Map<String,String> appNameUserType
    • newPassword

      private String newPassword
      The new password of the user. This field is only set for certain user types.
    • firstName

      private String firstName
      The first name of the user.
    • lastName

      private String lastName
      The last name of the user.
    • fullName

      @Deprecated private String fullName
      Deprecated.
    • picture

      private String picture
      The URL of the user's picture.
    • id

      @Id private org.bson.types.ObjectId id
      The id of the user.
  • Constructor Details

  • Method Details

    • getEmail

      public String getEmail()
    • setEmail

      public void setEmail(String email)
    • getScope

      public String getScope()
    • setScope

      public void setScope(String scope)
    • getPassword

      public String getPassword()
    • setPassword

      public void setPassword(String password)
    • getUserType

      public UserType getUserType()
    • setUserType

      public void setUserType(UserType userType)
    • getNewPassword

      public String getNewPassword()
    • setNewPassword

      public void setNewPassword(String newPassword)
    • getFullName

      public String getFullName()
    • setFullName

      public void setFullName(String fullName)
    • getPicture

      public String getPicture()
    • setPicture

      public void setPicture(String picture)
    • getFirstName

      public String getFirstName()
    • setFirstName

      public void setFirstName(String firstName)
    • getLastName

      public String getLastName()
    • setLastName

      public void setLastName(String lastName)
    • getAppNameUserType

      public Map<String,String> getAppNameUserType()
    • setAppNameUserType

      public void setAppNameUserType(Map<String,String> appNameUserType)