public class AttributeMappingService extends Object implements IAttributeMappingService
| Modifier and Type | Field and Description |
|---|---|
static String |
BEAN_SERVICE |
| Constructor and Description |
|---|
AttributeMappingService() |
| Modifier and Type | Method and Description |
|---|---|
void |
doCreate(AttributeMapping attributeMapping,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new
AttributeMapping |
void |
doRemove(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the record
|
void |
doRemoveAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all records
|
Collection<AttributeMapping> |
getAllAttributeMappings(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find All mappings
|
AttributeMapping |
getAttributeMapping(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the
AttributeMapping list for the specified entry id |
AttributeMapping |
getAttributeMappingByAttributeKey(String strAttributeKey,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the
AttributeMapping list for the specified attributeCode |
public static final String BEAN_SERVICE
public Collection<AttributeMapping> getAllAttributeMappings(fr.paris.lutece.portal.service.plugin.Plugin plugin)
getAllAttributeMappings in interface IAttributeMappingServiceplugin - The PluginCollection of AttributeMappingpublic AttributeMapping getAttributeMapping(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AttributeMapping list for the specified entry idgetAttributeMapping in interface IAttributeMappingServicenIdEntry - The id of entryplugin - The PluginAttributeMapping or nullpublic AttributeMapping getAttributeMappingByAttributeKey(String strAttributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AttributeMapping list for the specified attributeCodegetAttributeMappingByAttributeKey in interface IAttributeMappingServicestrAttributeKey - The attribute codeplugin - The PluginAttributeMapping or nullpublic void doRemove(int nIdEntry,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
doRemove in interface IAttributeMappingServicenIdEntry - The id of the entryplugin - The pluginpublic void doRemoveAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
doRemoveAll in interface IAttributeMappingServiceplugin - The pluginpublic void doCreate(AttributeMapping attributeMapping, fr.paris.lutece.portal.service.plugin.Plugin plugin)
AttributeMappingdoCreate in interface IAttributeMappingServiceattributeMapping - The new AttributeMappingplugin - The PluginCopyright © 2017 City of Paris. All rights reserved.