Class MyLuteceSearchUserDAO

  • All Implemented Interfaces:
    IMyLuteceSearchUserDAO

    public final class MyLuteceSearchUserDAO
    extends java.lang.Object
    implements IMyLuteceSearchUserDAO
    This class provides Data Access methods for MyLuteceSearchUser objects
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void delete​(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      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.
      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
      fr.paris.lutece.plugins.mylutece.service.search.MyLuteceSearchUser loadByConnectId​(java.lang.String strUserName, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load myLuteceSearchUser from the table
      java.util.List<java.lang.Integer> selectIdMyLuteceSearchUsersList​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the myLuteceSearchUser objects and returns them as a list
      java.util.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
      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
      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
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • MyLuteceSearchUserDAO

        public MyLuteceSearchUserDAO()
    • Method Detail

      • 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:
        insert in interface IMyLuteceSearchUserDAO
        Parameters:
        myLuteceSearchUser - instance of the MyLuteceSearchUser object to insert
        plugin - 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:
        load in interface IMyLuteceSearchUserDAO
        Parameters:
        nKey - The identifier of the myLuteceSearchUser
        plugin - 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:
        delete in interface IMyLuteceSearchUserDAO
        Parameters:
        nKey - The identifier of the MyLuteceSearchUser to delete
        plugin - 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:
        store in interface IMyLuteceSearchUserDAO
        Parameters:
        myLuteceSearchUser - the reference of the MyLuteceSearchUser
        plugin - the Plugin
      • selectMyLuteceSearchUsersList

        public java.util.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:
        selectMyLuteceSearchUsersList in interface IMyLuteceSearchUserDAO
        Parameters:
        plugin - the Plugin
        Returns:
        The list which contains the data of all the myLuteceSearchUser objects
      • selectIdMyLuteceSearchUsersList

        public java.util.List<java.lang.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:
        selectIdMyLuteceSearchUsersList in interface IMyLuteceSearchUserDAO
        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:
        selectMyLuteceSearchUsersReferenceList in interface IMyLuteceSearchUserDAO
        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​(java.lang.String strUserName,
                                                                                                  fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load myLuteceSearchUser from the table
        Specified by:
        loadByConnectId in interface IMyLuteceSearchUserDAO
        Parameters:
        strUserName - The user name of the myLuteceSearchUser
        plugin - the Plugin
        Returns:
        The instance of the myLuteceSearchUser