java.lang.Object
fr.paris.lutece.plugins.identityexport.business.ProfilDAO
All Implemented Interfaces:
IProfilDAO

public final class ProfilDAO extends Object implements IProfilDAO
This class provides Data Access methods for Profil objects
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    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(Profile profil, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Insert a new record in the table.
    load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data from the table
    selectIdProfilsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the id of all the profil objects and returns them as a list
    selectProfilsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the profil objects and returns them as a list
    selectProfilsListAutoExtract(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the id of all the profil objects and returns them as a list
    selectProfilsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds)
    Load the data of all the avant objects and returns them as a list
    fr.paris.lutece.util.ReferenceList
    selectProfilsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Load the data of all the profil objects and returns them as a referenceList
    void
    store(Profile profil, 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 Details

    • ProfilDAO

      public ProfilDAO()
  • Method Details

    • insert

      public void insert(Profile profil, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Specified by:
      insert in interface IProfilDAO
      Parameters:
      profil - instance of the Profil object to insert
      plugin - the Plugin
    • load

      public Optional<Profile> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Specified by:
      load in interface IProfilDAO
      Parameters:
      nKey - The identifier of the profil
      plugin - the Plugin
      Returns:
      The instance of the profil
    • 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 IProfilDAO
      Parameters:
      nKey - The identifier of the Profil to delete
      plugin - the Plugin
    • store

      public void store(Profile profil, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface IProfilDAO
      Parameters:
      profil - the reference of the Profil
      plugin - the Plugin
    • selectProfilsList

      public List<Profile> selectProfilsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the profil objects and returns them as a list
      Specified by:
      selectProfilsList in interface IProfilDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the profil objects
    • selectIdProfilsList

      public List<Integer> selectIdProfilsList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the profil objects and returns them as a list
      Specified by:
      selectIdProfilsList in interface IProfilDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the profil objects
    • selectProfilsReferenceList

      public fr.paris.lutece.util.ReferenceList selectProfilsReferenceList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the profil objects and returns them as a referenceList
      Specified by:
      selectProfilsReferenceList in interface IProfilDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The referenceList which contains the data of all the profil objects
    • selectProfilsListByIds

      public List<Profile> selectProfilsListByIds(fr.paris.lutece.portal.service.plugin.Plugin plugin, List<Integer> listIds)
      Load the data of all the avant objects and returns them as a list
      Specified by:
      selectProfilsListByIds in interface IProfilDAO
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects
    • selectProfilsListAutoExtract

      public List<Profile> selectProfilsListAutoExtract(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the profil objects and returns them as a list
      Specified by:
      selectProfilsListAutoExtract in interface IProfilDAO
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the profil objects