Class CandidateIdentityHistoryDAO

java.lang.Object
fr.paris.lutece.plugins.identityimport.business.CandidateIdentityHistoryDAO
All Implemented Interfaces:
ICandidateIdentityHistoryDAO

public final class CandidateIdentityHistoryDAO extends Object implements ICandidateIdentityHistoryDAO
This class provides Data Access methods for CandidateIdentity objects
  • Constructor Details

    • CandidateIdentityHistoryDAO

      public CandidateIdentityHistoryDAO()
  • Method Details

    • insert

      public void insert(CandidateIdentityHistory candidateIdentityHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Specified by:
      insert in interface ICandidateIdentityHistoryDAO
      Parameters:
      candidateIdentityHistory - instance of the candidateIdentityHistory object to insert
      plugin - the Plugin
    • select

      public Optional<CandidateIdentityHistory> select(int nId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select a record from the table
      Specified by:
      select in interface ICandidateIdentityHistoryDAO
      Parameters:
      nId - The identifier to select
      plugin - the Plugin
    • selectByWfHistory

      public Optional<CandidateIdentityHistory> selectByWfHistory(int nWfResourceHistoryId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select a record from the table
      Specified by:
      selectByWfHistory in interface ICandidateIdentityHistoryDAO
      Parameters:
      nWfResourceHistoryId - The identifier to select
      plugin - the Plugin
    • 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 ICandidateIdentityHistoryDAO
      Parameters:
      nKey - The identifier of the CandidateIdentity to delete
      plugin - the Plugin
    • deleteList

      public void deleteList(List<Integer> idList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Specified by:
      deleteList in interface ICandidateIdentityHistoryDAO
    • update

      public void update(CandidateIdentityHistory candidateIdentityHistory, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      update in interface ICandidateIdentityHistoryDAO
      Parameters:
      candidateIdentityHistory - the reference of the candidateIdentityHistory to update
      plugin - the Plugin
    • selectAll

      public List<CandidateIdentityHistory> selectAll(int nCandidateIdentityId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Select a record from the table
      Specified by:
      selectAll in interface ICandidateIdentityHistoryDAO
      Parameters:
      nCandidateIdentityId - The identifier to select
      plugin - the Plugin