Class DatabaseUserFactory
- java.lang.Object
-
- fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.DatabaseUserFactory
-
public final class DatabaseUserFactory extends java.lang.ObjectDatabaseUserFactory
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DatabaseUserFactorygetFactory()Get the instance of the factorybooleanisEmailUsedAsLogin()Check if the email is used as loginDatabaseUsernewDatabaseUser()Instanciate a newDatabaseUserdefined in database_context.xmlvoidsetBeanDatabaseUser(java.lang.String strBeanDatabaseUser)Set the bean database uservoidsetEmailUsedAsLogin(boolean bIsEmailUsedAsLogin)Set true if the email is used as login, false otherwise
-
-
-
Method Detail
-
getFactory
public static DatabaseUserFactory getFactory()
Get the instance of the factory- Returns:
- the instance of the factory
-
setBeanDatabaseUser
public void setBeanDatabaseUser(java.lang.String strBeanDatabaseUser)
Set the bean database user- Parameters:
strBeanDatabaseUser- the bean database user
-
setEmailUsedAsLogin
public void setEmailUsedAsLogin(boolean bIsEmailUsedAsLogin)
Set true if the email is used as login, false otherwise- Parameters:
bIsEmailUsedAsLogin- true if the email is used as login, false otherwise
-
isEmailUsedAsLogin
public boolean isEmailUsedAsLogin()
Check if the email is used as login- Returns:
- true if the email is used as login, false otherwise
-
newDatabaseUser
public DatabaseUser newDatabaseUser()
Instanciate a newDatabaseUserdefined in database_context.xml- Returns:
- a new instance of
DatabaseUser
-
-