fr.paris.lutece.plugins.document.modules.calendar.business
Interface IMappingDAO

All Known Implementing Classes:
MappingDAO

public interface IMappingDAO

Interface IMappingDAO


Method Summary
 void delete(java.lang.String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Remove the Mapping whose identifier is specified in parameter
 void insert(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 Mapping load(java.lang.String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of the mapping from the table
 java.util.List<Mapping> select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data of all mapping returns them in a list
 void store(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          update record in the table.
 

Method Detail

select

java.util.List<Mapping> select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of all mapping returns them in a list

Parameters:
plugin - the plugin
Returns:
the list of mapping

delete

void delete(java.lang.String strCodeDocumentType,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove the Mapping whose identifier is specified in parameter

Parameters:
strCodeDocumentType - The code of the document type
plugin - the Plugin

load

Mapping load(java.lang.String strCodeDocumentType,
             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the mapping from the table

Parameters:
strCodeDocumentType - The code of the document type
plugin - the plugin
Returns:
the instance of the Mapping

store

void store(Mapping mapping,
           fr.paris.lutece.portal.service.plugin.Plugin plugin)
update record in the table.

Parameters:
mapping - instance of the Mapping object to update
plugin - the plugin

insert

void insert(Mapping mapping,
            fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Parameters:
mapping - instance of the Mapping object to insert
plugin - the plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.