fr.paris.lutece.plugins.mylutece.modules.directory.authentication.business
Interface IAttributeMappingDAO

All Known Implementing Classes:
AttributeMappingDAO

public interface IAttributeMappingDAO

IAttributeMappingDAO


Method Summary
 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
 

Method Detail

delete

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

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

deleteAll

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

Parameters:
plugin - The plugin

findAll

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

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

findByPrimaryKey

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

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

findByAttributeKey

AttributeMapping findByAttributeKey(String strAttributeKey,
                                    fr.paris.lutece.portal.service.plugin.Plugin plugin)
Find the AttributeMapping list for the specified attributeKey

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

insert

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

Parameters:
attributeMapping - The new AttributeMapping
plugin - The Plugin


Copyright © 2013 Mairie de Paris. All Rights Reserved.