public class MappingDAO extends Object implements IMappingDAO
| Constructor and Description |
|---|
MappingDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(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(String strCodeDocumentType,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data of the mapping from the table
|
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.
|
public List<Mapping> select(fr.paris.lutece.portal.service.plugin.Plugin plugin)
select in interface IMappingDAOplugin - the pluginpublic void delete(String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IMappingDAOstrCodeDocumentType - The code of the document typeplugin - the Pluginpublic Mapping load(String strCodeDocumentType, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface IMappingDAOstrCodeDocumentType - The code of the document typeplugin - the pluginpublic void store(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
store in interface IMappingDAOmapping - instance of the Mapping object to updateplugin - the pluginpublic void insert(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface IMappingDAOmapping - instance of the Mapping object to insertplugin - the pluginCopyright © 2015 City of Paris. All rights reserved.