public interface IMappingDAO
Modifier and Type | Method and 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
|
Mapping |
load(int nMappingId,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of the mapping from the table
|
Collection<Mapping> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Loads the data of all the mapping
|
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
|
Collection<Mapping> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
plugin
- The pluginvoid insert(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
mapping
- Instance of the Mapping object to insertplugin
- The pluginMapping load(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId
- The mapping identifierplugin
- The pluginvoid store(Mapping mapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
mapping
- The reference of the mappingplugin
- The pluginvoid delete(int nMappingId, fr.paris.lutece.portal.service.plugin.Plugin plugin)
nMappingId
- The mapping identifierplugin
- The pluginMapping selectByDocumentTypeCode(String strDocumentTypeCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
strDocumentTypeCode
- The document type codeplugin
- The pluginCopyright © 2015 City of Paris. All rights reserved.