fr.paris.lutece.plugins.crm.business.user
Class CRMUserAttributeDAO

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.business.user.CRMUserAttributeDAO
All Implemented Interfaces:
ICRMUserAttributeDAO

public class CRMUserAttributeDAO
extends java.lang.Object
implements ICRMUserAttributeDAO

CRMUserAttributeDAO


Constructor Summary
CRMUserAttributeDAO()
           
 
Method Summary
 void delete(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Delete a record from the table
 void insert(int nIdCRMUser, java.lang.String strUserAttributeKey, java.lang.String strUserAttributeValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Insert a new record in the table.
 java.util.Map<java.lang.String,java.lang.String> load(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
          Load the data from the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CRMUserAttributeDAO

public CRMUserAttributeDAO()
Method Detail

insert

public void insert(int nIdCRMUser,
                   java.lang.String strUserAttributeKey,
                   java.lang.String strUserAttributeValue,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Insert a new record in the table.

Specified by:
insert in interface ICRMUserAttributeDAO
Parameters:
nIdCRMUser - the id crm user
strUserAttributeKey - user attribute key
strUserAttributeValue - user attribute value
plugin - the Plugin

delete

public void delete(int nIdCRMUser,
                   fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table

Specified by:
delete in interface ICRMUserAttributeDAO
Parameters:
nIdCRMUser - int identifier of the CRMUser to delete
plugin - the Plugin

load

public java.util.Map<java.lang.String,java.lang.String> load(int nIdCRMUser,
                                                             fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table

Specified by:
load in interface ICRMUserAttributeDAO
Parameters:
nIdCRMUser - The identifier of the CRMUser
plugin - the Plugin
Returns:
The instance of the CRMUser


Copyright © 2011 Mairie de Paris. All Rights Reserved.