Interface ICandidateIdentityDAO

All Known Implementing Classes:
CandidateIdentityDAO

public interface ICandidateIdentityDAO
ICandidateIdentityDAO Interface
  • Method Details

    • insert

      void insert(CandidateIdentity candidateIdentity, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Insert a new record in the table.
      Parameters:
      candidateIdentity - instance of the CandidateIdentity object to insert
      plugin - the Plugin
    • deleteList

      void deleteList(List<Integer> idList, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    • store

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

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

      Optional<CandidateIdentity> load(int nKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data from the table
      Parameters:
      nKey - The identifier of the candidateIdentity
      plugin - the Plugin
      Returns:
      The instance of the candidateIdentity
    • selectCandidateIdentitiesList

      List<CandidateIdentity> selectCandidateIdentitiesList(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the data of all the candidateIdentity objects and returns them as a list
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the data of all the candidateIdentity objects
    • selectIdCandidateIdentitiesList

      List<Integer> selectIdCandidateIdentitiesList(int nBatchId, Integer stateId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Load the id of all the candidateIdentity objects and returns them as a list
      Parameters:
      plugin - the Plugin
      Returns:
      The list which contains the id of all the candidateIdentity objects
    • selectCandidateIdentitiesListByIds

      List<CandidateIdentity> selectCandidateIdentitiesListByIds(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
      Parameters:
      _plugin - the Plugin
      listIds - liste of ids
      Returns:
      The list which contains the data of all the avant objects
    • checkIfOneExists

      boolean checkIfOneExists(fr.paris.lutece.portal.service.plugin.Plugin plugin, String batchReference, List<String> externalIds)
      Check if at least one of the externalIds exists in the batch identified by batchReference
      Parameters:
      plugin - the plugin
      batchReference - the reference of the batch
      externalIds - the list of external ids
      Returns:
      true if at least one external id exists in the batch
    • selectIdentityStates

      List<ResourceState> selectIdentityStates(int batchId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    • getHistory

      List<fr.paris.lutece.plugins.workflowcore.business.resource.ResourceHistory> getHistory(int identityId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    • selectIdentityState

      ResourceState selectIdentityState(int id, fr.paris.lutece.portal.service.plugin.Plugin plugin)