fr.paris.lutece.plugins.mylutece.modules.database.authentication.business
Class DatabaseUserFactory

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.database.authentication.business.DatabaseUserFactory

public final class DatabaseUserFactory
extends java.lang.Object

DatabaseUserFactory


Method Summary
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(java.lang.String strBeanDatabaseUser)
          Set the bean database user
 void setEmailUsedAsLogin(boolean bIsEmailUsedAsLogin)
          Set true if the email is used as login, false otherwise
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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 new DatabaseUser defined in database_context.xml

Returns:
a new instance of DatabaseUser


Copyright © 2012 Mairie de Paris. All Rights Reserved.