Package io.antmedia.datastore.db.types
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 Summary
Modifier and TypeFieldDescriptionprivate String
The email of the user.private String
The first name of the user.private String
Deprecated.private org.bson.types.ObjectId
The id of the user.private String
The last name of the user.private String
The new password of the user.private String
The password of the user.private String
The URL of the user's picture.private String
Deprecated.private UserType
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
getScope()
void
setAppNameUserType
(Map<String, String> appNameUserType) void
void
setFirstName
(String firstName) void
setFullName
(String fullName) void
setLastName
(String lastName) void
setNewPassword
(String newPassword) void
setPassword
(String password) void
setPicture
(String picture) void
void
setUserType
(UserType userType)
-
Field Details
-
email
The email of the user. -
password
The password of the user. This field is only set for certain user types. -
userType
Deprecated.The type of the user. -
scope
Deprecated.The scope of the user. It can be 'system' or the name of the application. -
appNameUserType
-
newPassword
The new password of the user. This field is only set for certain user types. -
firstName
The first name of the user. -
lastName
The last name of the user. -
fullName
Deprecated. -
picture
The URL of the user's picture. -
id
@Id private org.bson.types.ObjectId idThe id of the user.
-
-
Constructor Details
-
User
-
User
public User()
-
-
Method Details
-
getEmail
-
setEmail
-
getScope
-
setScope
-
getPassword
-
setPassword
-
getUserType
-
setUserType
-
getNewPassword
-
setNewPassword
-
getFullName
-
setFullName
-
getPicture
-
setPicture
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getAppNameUserType
-
setAppNameUserType
-