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

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.directory.authentication.business.AttributeMappingHome

public final class AttributeMappingHome
extends java.lang.Object

Author:
lyaete

Method Summary
static void delete(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete the record
static void deleteAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete all records
static java.util.Collection<AttributeMapping> findAll(fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find All mappings
static AttributeMapping findByAttributeKey(java.lang.String strAttributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find the AttributeMapping list for the specified attributeCode
static AttributeMapping findByPrimaryKey(int nIdEntry, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Find the AttributeMapping list for the specified entry id
static 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
 

Method Detail

delete

public static 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

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

Parameters:
plugin - The plugin

findAll

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

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

findByPrimaryKey

public static AttributeMapping findByPrimaryKey(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

findByAttributeKey

public static AttributeMapping findByAttributeKey(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

insert

public static 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 © 2012 Mairie de Paris. All Rights Reserved.