Interface IMappingDAO

All Known Implementing Classes:
MappingDAO

public interface IMappingDAO
Files2Docs Mapping interface
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    delete(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Deletes a record from the table
    void
    insert(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Inserts a new record in the table
    load(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Loads the data of the mapping from the table
    selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Loads the data of all the mapping
    selectByDocumentTypeCode(String strDocumentTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Loads the data of the mapping filtered by document type code
    void
    store(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
    Updates the record in the table
  • Method Details

    • selectAll

      Collection<Mapping> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Loads the data of all the mapping
      Parameters:
      plugin - The plugin
      Returns:
      A collection which contains the data of all the mapping
    • insert

      void insert(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Inserts a new record in the table
      Parameters:
      mapping - Instance of the Mapping object to insert
      plugin - The plugin
    • load

      Mapping load(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Loads the data of the mapping from the table
      Parameters:
      nMappingId - The mapping identifier
      plugin - The plugin
      Returns:
      The instance of the Mapping
    • store

      void store(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Updates the record in the table
      Parameters:
      mapping - The reference of the mapping
      plugin - The plugin
    • delete

      void delete(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Deletes a record from the table
      Parameters:
      nMappingId - The mapping identifier
      plugin - The plugin
    • selectByDocumentTypeCode

      Mapping selectByDocumentTypeCode(String strDocumentTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
      Loads the data of the mapping filtered by document type code
      Parameters:
      strDocumentTypeCode - The document type code
      plugin - The plugin
      Returns:
      The instance of the Mapping