fr.paris.lutece.plugins.document.modules.calendar.business
Class MappingDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.document.modules.calendar.business.MappingDAO
All Implemented Interfaces:
IMappingDAO

public class MappingDAO
extends java.lang.Object
implements IMappingDAO

class MappingDAO


Constructor Summary
MappingDAO()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MappingDAO

public MappingDAO()
Method Detail

select

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

Specified by:
select in interface IMappingDAO
Parameters:
plugin - the plugin
Returns:
the list of mapping

delete

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

Specified by:
delete in interface IMappingDAO
Parameters:
strCodeDocumentType - The code of the document type
plugin - the Plugin

load

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

Specified by:
load in interface IMappingDAO
Parameters:
strCodeDocumentType - The code of the document type
plugin - the plugin
Returns:
the instance of the Mapping

store

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

Specified by:
store in interface IMappingDAO
Parameters:
mapping - instance of the Mapping object to update
plugin - the plugin

insert

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

Specified by:
insert in interface IMappingDAO
Parameters:
mapping - instance of the Mapping object to insert
plugin - the plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.