Class UserDAO
- java.lang.Object
-
- fr.paris.lutece.plugins.appointment.business.user.UserDAO
-
-
Constructor Summary
Constructors Constructor Description UserDAO()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddelete(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tableList<User>findByEmail(String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)Return the users by its emailUserfindByFirstNameLastNameAndEmail(String strFirstName, String strLastName, String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)Return the user by its first name, last name and emailvoidinsert(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Userselect(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tableUserselectByGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the tablevoidupdate(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)Update the record in the table
-
-
-
Method Detail
-
insert
public void insert(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IUserDAOInsert a new record in the table.
-
update
public void update(User user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IUserDAOUpdate the record in the table
-
delete
public void delete(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Description copied from interface:IUserDAODelete a record from the table
-
select
public User select(int nIdUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IUserDAOLoad the data from the table
-
selectByGuid
public User selectByGuid(String strGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IUserDAOLoad the data from the table- Specified by:
selectByGuidin interfaceIUserDAO- Parameters:
strGuid- The identifier of the userplugin- the Plugin- Returns:
- The instance of the user
-
findByEmail
public List<User> findByEmail(String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IUserDAOReturn the users by its email- Specified by:
findByEmailin interfaceIUserDAO- Parameters:
strEmail- the email of the userplugin- the plugin- Returns:
- The Users found
-
findByFirstNameLastNameAndEmail
public User findByFirstNameLastNameAndEmail(String strFirstName, String strLastName, String strEmail, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface:IUserDAOReturn the user by its first name, last name and email- Specified by:
findByFirstNameLastNameAndEmailin interfaceIUserDAO- Parameters:
strFirstName- the first name of the userstrLastName- the last name of the userstrEmail- the email of the userplugin- the plugin- Returns:
- the user found
-
-