fr.paris.lutece.plugins.mylutece.modules.directory.authentication.service
Interface IAttributeMappingService

All Known Implementing Classes:
AttributeMappingService

public interface IAttributeMappingService

AttributeMappingService


Method Summary
 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
 java.util.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(java.lang.String strAttributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find the AttributeMapping list for the specified attributeCode
 

Method Detail

getAllAttributeMappings

java.util.Collection<AttributeMapping> getAllAttributeMappings(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find All mappings

Parameters:
plugin - The Plugin
Returns:
The Collection of AttributeMapping

getAttributeMapping

AttributeMapping getAttributeMapping(int nIdEntry,
                                     fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the AttributeMapping list for the specified entry id

Parameters:
nIdEntry - The id of entry
plugin - The Plugin
Returns:
The AttributeMapping or null

getAttributeMappingByAttributeKey

AttributeMapping getAttributeMappingByAttributeKey(java.lang.String strAttributeKey,
                                                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the AttributeMapping list for the specified attributeCode

Parameters:
strAttributeKey - The attribute code
plugin - The Plugin
Returns:
The AttributeMapping or null

doRemove

void doRemove(int nIdEntry,
              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete the record

Parameters:
nIdEntry - The id of the entry
plugin - The plugin

doRemoveAll

void doRemoveAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete all records

Parameters:
plugin - The plugin

doCreate

void doCreate(AttributeMapping attributeMapping,
              fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new AttributeMapping

Parameters:
attributeMapping - The new AttributeMapping
plugin - The Plugin


Copyright © 2012 Mairie de Paris. All Rights Reserved.