fr.paris.lutece.plugins.mylutece.modules.directory.authentication.service
Class AttributeMappingService

java.lang.Object
  extended by fr.paris.lutece.plugins.mylutece.modules.directory.authentication.service.AttributeMappingService
All Implemented Interfaces:
IAttributeMappingService

public class AttributeMappingService
extends Object
implements IAttributeMappingService

AttributeMappingService


Field Summary
static String BEAN_SERVICE
           
 
Constructor Summary
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
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

BEAN_SERVICE

public static final String BEAN_SERVICE
See Also:
Constant Field Values
Constructor Detail

AttributeMappingService

public AttributeMappingService()
Method Detail

getAllAttributeMappings

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

Specified by:
getAllAttributeMappings in interface IAttributeMappingService
Parameters:
plugin - The Plugin
Returns:
The Collection of AttributeMapping

getAttributeMapping

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

Specified by:
getAttributeMapping in interface IAttributeMappingService
Parameters:
nIdEntry - The id of entry
plugin - The Plugin
Returns:
The AttributeMapping or null

getAttributeMappingByAttributeKey

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

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

doRemove

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

Specified by:
doRemove in interface IAttributeMappingService
Parameters:
nIdEntry - The id of the entry
plugin - The plugin

doRemoveAll

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

Specified by:
doRemoveAll in interface IAttributeMappingService
Parameters:
plugin - The plugin

doCreate

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

Specified by:
doCreate in interface IAttributeMappingService
Parameters:
attributeMapping - The new AttributeMapping
plugin - The Plugin


Copyright © 2014 Mairie de Paris. All Rights Reserved.