public final class DatabaseUserFactory extends Object
Modifier and Type | Method and Description |
---|---|
static DatabaseUserFactory |
getFactory()
Get the instance of the factory
|
boolean |
isEmailUsedAsLogin()
Check if the email is used as login
|
DatabaseUser |
newDatabaseUser()
Instanciate a new
DatabaseUser defined in database_context.xml |
void |
setBeanDatabaseUser(String strBeanDatabaseUser)
Set the bean database user
|
void |
setEmailUsedAsLogin(boolean bIsEmailUsedAsLogin)
Set true if the email is used as login, false otherwise
|
public static DatabaseUserFactory getFactory()
public void setBeanDatabaseUser(String strBeanDatabaseUser)
strBeanDatabaseUser
- the bean database userpublic void setEmailUsedAsLogin(boolean bIsEmailUsedAsLogin)
bIsEmailUsedAsLogin
- true if the email is used as login, false otherwisepublic boolean isEmailUsedAsLogin()
public DatabaseUser newDatabaseUser()
DatabaseUser
defined in database_context.xmlDatabaseUser
Copyright © 2018 City of Paris. All rights reserved.