Class MyLuteceSearchUserDAO
java.lang.Object
fr.paris.lutece.plugins.mylutece.modules.users.business.MyLuteceSearchUserDAO
- All Implemented Interfaces:
IMyLuteceSearchUserDAO
This class provides Data Access methods for MyLuteceSearchUser objects
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoiddelete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the tablevoidinsert(fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUser myLuteceSearchUser, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUserload(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the tablefr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUserloadByConnectId(String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load myLuteceSearchUser from the tableselectIdMyLuteceSearchUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the myLuteceSearchUser objects and returns them as a listList<fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUser>selectMyLuteceSearchUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the myLuteceSearchUser objects and returns them as a listfr.paris.lutece.util.ReferenceListselectMyLuteceSearchUsersReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the myLuteceSearchUser objects and returns them as a referenceListvoidstore(fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUser myLuteceSearchUser, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table
-
Constructor Details
-
MyLuteceSearchUserDAO
public MyLuteceSearchUserDAO()
-
-
Method Details
-
insert
public void insert(fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUser myLuteceSearchUser, fr.paris.lutece.portal.service.plugin.Plugin plugin) Insert a new record in the table.- Specified by:
insertin interfaceIMyLuteceSearchUserDAO- Parameters:
myLuteceSearchUser- instance of the MyLuteceSearchUser object to insertplugin- the Plugin
-
load
public fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUser load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data from the table- Specified by:
loadin interfaceIMyLuteceSearchUserDAO- Parameters:
nKey- The identifier of the myLuteceSearchUserplugin- the Plugin- Returns:
- The instance of the myLuteceSearchUser
-
delete
public void delete(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin) Delete a record from the table- Specified by:
deletein interfaceIMyLuteceSearchUserDAO- Parameters:
nKey- The identifier of the MyLuteceSearchUser to deleteplugin- the Plugin
-
store
public void store(fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUser myLuteceSearchUser, fr.paris.lutece.portal.service.plugin.Plugin plugin) Update the record in the table- Specified by:
storein interfaceIMyLuteceSearchUserDAO- Parameters:
myLuteceSearchUser- the reference of the MyLuteceSearchUserplugin- the Plugin
-
selectMyLuteceSearchUsersList
public List<fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUser> selectMyLuteceSearchUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the myLuteceSearchUser objects and returns them as a list- Specified by:
selectMyLuteceSearchUsersListin interfaceIMyLuteceSearchUserDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the data of all the myLuteceSearchUser objects
-
selectIdMyLuteceSearchUsersList
public List<Integer> selectIdMyLuteceSearchUsersList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the id of all the myLuteceSearchUser objects and returns them as a list- Specified by:
selectIdMyLuteceSearchUsersListin interfaceIMyLuteceSearchUserDAO- Parameters:
plugin- the Plugin- Returns:
- The list which contains the id of all the myLuteceSearchUser objects
-
selectMyLuteceSearchUsersReferenceList
public fr.paris.lutece.util.ReferenceList selectMyLuteceSearchUsersReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin) Load the data of all the myLuteceSearchUser objects and returns them as a referenceList- Specified by:
selectMyLuteceSearchUsersReferenceListin interfaceIMyLuteceSearchUserDAO- Parameters:
plugin- the Plugin- Returns:
- The referenceList which contains the data of all the myLuteceSearchUser objects
-
loadByConnectId
public fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUser loadByConnectId(String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin) Load myLuteceSearchUser from the table- Specified by:
loadByConnectIdin interfaceIMyLuteceSearchUserDAO- Parameters:
strUserName- The user name of the myLuteceSearchUserplugin- the Plugin- Returns:
- The instance of the myLuteceSearchUser
-