Class CandidateIdentityAttributeDAO

java.lang.Object
fr.paris.lutece.plugins.identityimport.business.CandidateIdentityAttributeDAO
All Implemented Interfaces:
ICandidateIdentityAttributeDAO

public final class CandidateIdentityAttributeDAO extends Object implements ICandidateIdentityAttributeDAO
This class provides Data Access methods for CandidateIdentityAttribute objects
  • Constructor Details

    • CandidateIdentityAttributeDAO

      public CandidateIdentityAttributeDAO()
  • Method Details

    • insert

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

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

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

      public void store(CandidateIdentityAttribute candidateIdentityAttribute, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Update the record in the table
      Specified by:
      store in interface ICandidateIdentityAttributeDAO
      Parameters:
      candidateIdentityAttribute - the reference of the CandidateIdentityAttribute
      plugin - the Plugin
    • selectCandidateIdentityAttributesList

      public List<CandidateIdentityAttribute> selectCandidateIdentityAttributesList(int idIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load all the candidateIdentityAttribute objects and returns them as a list
      Specified by:
      selectCandidateIdentityAttributesList in interface ICandidateIdentityAttributeDAO
      plugin - the Plugin
      Returns:
      The list which contains the candidateIdentityAttribute objects
    • selectIdCandidateIdentityAttributesList

      public List<Integer> selectIdCandidateIdentityAttributesList(int idIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the candidateIdentityAttribute objects and returns them as a list
      Specified by:
      selectIdCandidateIdentityAttributesList in interface ICandidateIdentityAttributeDAO
      plugin - the Plugin
      Returns:
      The list which contains the id of all the candidateIdentityAttribute objects
    • selectCandidateIdentityAttributesListByIds

      public List<CandidateIdentityAttribute> selectCandidateIdentityAttributesListByIds(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:
      selectCandidateIdentityAttributesListByIds in interface ICandidateIdentityAttributeDAO
      Parameters:
      plugin - the Plugin
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects