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
|
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
|
getNewPrimaryKey
public void insert(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAO
public void update(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAO
public void delete(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAO
public User select(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAO
public User findByEmail(String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
IUserDAO
findByEmail
in interface IUserDAO
strEmail
- the email of the userplugin
- the pluginCopyright © 2018 City of Paris. All rights reserved.