public interface IUserDAO
Modifier and Type | Field and Description |
---|---|
static String |
BEAN_NAME
The name of the bean of the DAO
|
Modifier and Type | Method and Description |
---|---|
void |
delete(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
User |
findByEmail(String strEmail,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the user by its email
|
User |
findByFirstNameLastNameAndEmail(String strFirstName,
String strLastName,
String strEmail,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the user by its first name, last name and email
|
void |
insert(User user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.
|
User |
select(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table
|
void |
update(User user,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update the record in the table
|
static final String BEAN_NAME
void insert(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
user
- instance of the user object to insertplugin
- the Pluginvoid update(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
user
- the reference of the userplugin
- the Pluginvoid delete(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser
- int identifier of the user to deleteplugin
- the PluginUser select(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nIdUser
- The identifier of the userplugin
- the PluginUser findByEmail(String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strEmail
- the email of the userplugin
- the pluginUser findByFirstNameLastNameAndEmail(String strFirstName, String strLastName, String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strFirstName
- the first name of the userstrLastName
- the last name of the userstrEmail
- the email of the userplugin
- the pluginCopyright © 2018 City of Paris. All rights reserved.