public class CodeMappingDAO extends Object implements ICodeMappingDAO
| Constructor and Description |
|---|
CodeMappingDAO() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkCodeMapping(ICodeMapping codeMapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Check if the code mapping is valid
|
void |
insert(ICodeMapping codeMapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new code mapping
|
ICodeMapping |
load(int nIdCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the code mapping
|
int |
newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Get new primary key
|
void |
remove(int nIdCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Remove a code mapping
|
List<ICodeMapping> |
selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select all code mappings
|
List<ICodeMapping> |
selectByFilter(CodeMappingFilter cmFilter,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Select code mappings by filter
|
void |
update(ICodeMapping codeMapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Update a code mapping
|
public int newPrimaryKey(fr.paris.lutece.portal.service.plugin.Plugin plugin)
newPrimaryKey in interface ICodeMappingDAOplugin - the pluginpublic void insert(ICodeMapping codeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert in interface ICodeMappingDAOcodeMapping - the code mappingplugin - the pluginpublic ICodeMapping load(int nIdCode, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load in interface ICodeMappingDAOnIdCode - the id codeplugin - the pluginICodeMappingpublic List<ICodeMapping> selectAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectAll in interface ICodeMappingDAOplugin - the pluginICodeMappingpublic void remove(int nIdCode,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
remove in interface ICodeMappingDAOnIdCode - the id codeplugin - the pluginpublic void update(ICodeMapping codeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
update in interface ICodeMappingDAOcodeMapping - the code mappingplugin - the pluginpublic boolean checkCodeMapping(ICodeMapping codeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
checkCodeMapping in interface ICodeMappingDAOcodeMapping - the code mappingplugin - the pluginpublic List<ICodeMapping> selectByFilter(CodeMappingFilter cmFilter, fr.paris.lutece.portal.service.plugin.Plugin plugin)
selectByFilter in interface ICodeMappingDAOcmFilter - the filterplugin - the pluginICodeMappingCopyright © 2015 City of Paris. All rights reserved.