public interface IUserDAO
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table
|
List<User> |
findByEmail(String strEmail,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Return the users 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
|
User |
selectByGuid(String strGuid,
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
|
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 selectByGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strGuid - The identifier of the userplugin - the PluginList<User> 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 © 2023 City of Paris. All rights reserved.