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

java.lang.Object
  extended by fr.paris.lutece.plugins.crm.business.user.CRMUserAttributeHome

public final class CRMUserAttributeHome
extends java.lang.Object

CRMUserAttributeHome


Method Summary
static void create(int nIdCRMUser, java.lang.String strUserAttributeKey, java.lang.String strUserAttributeValue)
          Insert a new record in the table.
static java.util.Map<java.lang.String,java.lang.String> findByPrimaryKey(int nIdCRMUser)
          Load the data from the table
static void remove(int nIdCRMUser)
          Delete a record from the table
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

create

public static void create(int nIdCRMUser,
                          java.lang.String strUserAttributeKey,
                          java.lang.String strUserAttributeValue)
Insert a new record in the table.

Parameters:
nIdCRMUser - the id crm user
strUserAttributeKey - user attribute key
strUserAttributeValue - user attribute value

remove

public static void remove(int nIdCRMUser)
Delete a record from the table

Parameters:
nIdCRMUser - int identifier of the CRMUser to delete

findByPrimaryKey

public static java.util.Map<java.lang.String,java.lang.String> findByPrimaryKey(int nIdCRMUser)
Load the data from the table

Parameters:
nIdCRMUser - The identifier of the CRMUser
Returns:
The user attributes


Copyright © 2011 Mairie de Paris. All Rights Reserved.