fr.paris.lutece.plugins.files2docs.business
Interface IMappingDAO

All Known Implementing Classes:
MappingDAO

public interface IMappingDAO

Files2Docs Mapping interface


Method Summary
 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
 Mapping load(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads the data of the mapping from the table
 java.util.Collection<Mapping> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Loads the data of all the mapping
 Mapping selectByDocumentTypeCode(java.lang.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 Detail

selectAll

java.util.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(java.lang.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


Copyright © 2012 Mairie de Paris. All Rights Reserved.