fr.paris.lutece.plugins.mylutece.modules.directory.authentication.business
Class AttributeMappingDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.directory.authentication.business.AttributeMappingDAO
All Implemented Interfaces:
IAttributeMappingDAO

public class AttributeMappingDAO
extends java.lang.Object
implements IAttributeMappingDAO

Author:
ELY

Constructor Summary
AttributeMappingDAO()
           
 
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
 java.util.Collection<AttributeMapping> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find All mappings
 AttributeMapping findByAttributeKey(java.lang.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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeMappingDAO

public AttributeMappingDAO()
Method Detail

delete

public void delete(int nIdEntry,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IAttributeMappingDAO
Delete the record

Specified by:
delete in interface IAttributeMappingDAO
Parameters:
nIdEntry - The id of the entry
plugin - The plugin

deleteAll

public void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IAttributeMappingDAO
Delete all records

Specified by:
deleteAll in interface IAttributeMappingDAO
Parameters:
plugin - The plugin

findAll

public java.util.Collection<AttributeMapping> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IAttributeMappingDAO
Find All mappings

Specified by:
findAll in interface IAttributeMappingDAO
Parameters:
plugin - The Plugin
Returns:
The Collection of AttributeMapping

findByPrimaryKey

public AttributeMapping findByPrimaryKey(int nIdEntry,
                                         fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IAttributeMappingDAO
Find the AttributeMapping for the specified entry id

Specified by:
findByPrimaryKey in interface IAttributeMappingDAO
Parameters:
nIdEntry - The id of entry
plugin - The Plugin
Returns:
The AttributeMapping of null

findByAttributeKey

public AttributeMapping findByAttributeKey(java.lang.String strAttributeKey,
                                           fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IAttributeMappingDAO
Find the AttributeMapping list for the specified attributeKey

Specified by:
findByAttributeKey in interface IAttributeMappingDAO
Parameters:
strAttributeKey - The attribute code
plugin - The Plugin
Returns:
The AttributeMapping or null

insert

public void insert(AttributeMapping attributeMapping,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Description copied from interface: IAttributeMappingDAO
Insert a new AttributeMapping

Specified by:
insert in interface IAttributeMappingDAO
Parameters:
attributeMapping - The new AttributeMapping
plugin - The Plugin


Copyright © 2011 Mairie de Paris. All Rights Reserved.