Package ch.autumo.beetroot.handler.users
Class User
java.lang.Object
ch.autumo.beetroot.Model
ch.autumo.beetroot.handler.users.User
- All Implemented Interfaces:
Entity,Serializable
User.
- See Also:
-
Field Summary
Fields inherited from class ch.autumo.beetroot.Model
ID_INVALID, ID_M2M_PSEUDO, ID_UNASSIGNED, LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDefault display field.getEmail()getLang()getPhone()getRole()booleangetTwoFa()Class<?>Get model base class, usually overwritten by thePlantgenerator.voidsetCreated(Timestamp created) voidvoidsetFirstname(String firstname) voidvoidsetLastname(String lastname) voidsetLasttoken(String lasttoken) voidsetModified(Timestamp modified) voidsetPassword(String password) voidvoidvoidsetSecretkey(String secretkey) voidsetTwoFa(boolean twoFa) voidsetUsername(String username) Methods inherited from class ch.autumo.beetroot.Model
clone, delete, delete, deserialize, equals, exists, findFirst, findFirst, get, getAssociatedReference, getAssociatedReference, getDisplayValue, getForeignReferences, getId, getTableName, isNullable, isStored, isUnique, listAll, listReferences, read, save, save, serialize, setId, setStored, toString, update, update, where, where, where, where
-
Constructor Details
-
User
public User()
-
-
Method Details
-
getFirstname
-
setFirstname
-
getPassword
-
setPassword
-
getRole
-
setRole
-
getLasttoken
-
setLasttoken
-
getCreated
-
setCreated
-
getModified
-
setModified
-
getLang
-
setLang
-
getEmail
-
setEmail
-
getPhone
-
setPhone
-
getUsername
-
setUsername
-
getLastname
-
setLastname
-
getSecretkey
-
setSecretkey
-
getTwoFa
public boolean getTwoFa() -
setTwoFa
public void setTwoFa(boolean twoFa) -
getDisplayField
Description copied from class:ModelDefault display field.- Overrides:
getDisplayFieldin classModel- Returns:
- display field
-
modelClass
Description copied from class:ModelGet model base class, usually overwritten by thePlantgenerator.- Specified by:
modelClassin classModel- Returns:
- model base class
-