Interface ICRMUserDAO

  • All Known Implementing Classes:
    CRMUserDAO

    public interface ICRMUserDAO
    ICRMUserDAO
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void delete​(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Delete a record from the table
      int insert​(CRMUser user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      CRMUser load​(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      CRMUser loadByUserGuid​(String strUserGuid, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from a given user guid
      int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Generates a new primary key
      List<CRMUser> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find all.
      List<CRMUser> selectByListIds​(List<Integer> listIdsCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select by list ids.
      List<Integer> selectListIdsCRMUserByFilter​(CRMUserFilter filter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Find list ids crm user by filter.
      void store​(CRMUser user, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
    • Method Detail

      • newPrimaryKey

        int newPrimaryKey​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Generates a new primary key
        Parameters:
        plugin - The Plugin
        Returns:
        The new primary key
      • insert

        int insert​(CRMUser user,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Insert a new record in the table.
        Parameters:
        user - instance of the CRMUser object to insert
        plugin - the Plugin
        Returns:
        the key of the newly created notification
      • store

        void store​(CRMUser user,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Update the record in the table
        Parameters:
        user - the reference of the CRMUser
        plugin - the Plugin
      • delete

        void delete​(int nIdCRMUser,
                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Delete a record from the table
        Parameters:
        nIdCRMUser - int identifier of the CRMUser to delete
        plugin - the Plugin
      • load

        CRMUser load​(int nIdCRMUser,
                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from the table
        Parameters:
        nIdCRMUser - The identifier of the CRMUser
        plugin - the Plugin
        Returns:
        The instance of the CRMUser
      • loadByUserGuid

        CRMUser loadByUserGuid​(String strUserGuid,
                               fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Load the data from a given user guid
        Parameters:
        strUserGuid - the user guid
        plugin - the Plugin
        Returns:
        The instance of the CRMUser
      • selectAll

        List<CRMUser> selectAll​(fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Find all.
        Parameters:
        plugin - the plugin
        Returns:
        the list
      • selectListIdsCRMUserByFilter

        List<Integer> selectListIdsCRMUserByFilter​(CRMUserFilter filter,
                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Find list ids crm user by filter.
        Parameters:
        filter - the filter
        plugin - the plugin
        Returns:
        the list
      • selectByListIds

        List<CRMUser> selectByListIds​(List<Integer> listIdsCRMUser,
                                      fr.paris.lutece.portal.service.plugin.Plugin plugin)
        Select by list ids.
        Parameters:
        listIdsCRMUser - the list ids crm user
        plugin - the plugin
        Returns:
        the list