public class AttributeMappingDAO extends Object implements IAttributeMappingDAO
| Constructor and Description |
|---|
AttributeMappingDAO() |
| Modifier and Type | Method and Description |
|---|---|
void |
delete(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the record
|
void |
deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all records
|
Collection<AttributeMapping> |
findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find All mappings
|
AttributeMapping |
findByAttributeKey(String strAttributeKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the
AttributeMapping list for the specified attributeKey |
AttributeMapping |
findByPrimaryKey(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the
AttributeMapping for the specified entry id |
void |
insert(AttributeMapping attributeMapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new
AttributeMapping |
public void delete(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete in interface IAttributeMappingDAOnIdEntry - The id of the entryplugin - The pluginpublic void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
deleteAll in interface IAttributeMappingDAOplugin - The pluginpublic Collection<AttributeMapping> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
findAll in interface IAttributeMappingDAOplugin - The PluginCollection of AttributeMappingpublic AttributeMapping findByPrimaryKey(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AttributeMapping for the specified entry idfindByPrimaryKey in interface IAttributeMappingDAOnIdEntry - The id of entryplugin - The PluginAttributeMapping of nullpublic AttributeMapping findByAttributeKey(String strAttributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AttributeMapping list for the specified attributeKeyfindByAttributeKey in interface IAttributeMappingDAOstrAttributeKey - The attribute codeplugin - The PluginAttributeMapping or nullpublic void insert(AttributeMapping attributeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AttributeMappinginsert in interface IAttributeMappingDAOattributeMapping - The new AttributeMappingplugin - The PluginCopyright © 2017 City of Paris. All rights reserved.