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
FieldsModifier and TypeFieldDescriptionprivate StringThe email of the user.private StringThe first name of the user.private Stringprivate org.bson.types.ObjectIdThe id of the user.private StringThe last name of the user.private StringThe new password of the user.private StringThe password of the user.private StringThe URL of the user's picture.private StringThe scope of the user.private UserTypeThe type of the user. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()getScope()voidsetAppNameUserType(Map<String, String> appNameUserType) voidvoidsetFirstName(String firstName) voidsetFullName(String fullName) voidsetLastName(String lastName) voidsetNewPassword(String newPassword) voidsetPassword(String password) voidsetPicture(String picture) voidvoidsetUserType(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
The type of the user. -
scope
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
-
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
-