| Constructor and Description |
|---|
UserDAO() |
| 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
|
getNewPrimaryKeypublic void insert(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAOpublic void update(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAOpublic void delete(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAOpublic User select(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAOpublic User findByEmail(String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAOfindByEmail in interface IUserDAOstrEmail - the email of the userplugin - the pluginpublic User findByFirstNameLastNameAndEmail(String strFirstName, String strLastName, String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAOfindByFirstNameLastNameAndEmail in interface IUserDAOstrFirstName - 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.