public final class CRMUserAttributeHome extends Object
Modifier and Type | Method and Description |
---|---|
static int |
countAttributeValueInstances(String strUserAttributeValue,
String strUserAttributeKey)
Count the number of instance of a given value of an attribute
|
static void |
create(int nIdCRMUser,
String strUserAttributeKey,
String strUserAttributeValue)
Insert a new record in the table.
|
static Map<String,String> |
findByPrimaryKey(int nIdCRMUser)
Load the data from the table
|
static void |
remove(int nIdCRMUser)
Delete a record from the table
|
public static void create(int nIdCRMUser, String strUserAttributeKey, String strUserAttributeValue)
nIdCRMUser
- the id crm userstrUserAttributeKey
- user attribute keystrUserAttributeValue
- user attribute valuepublic static void remove(int nIdCRMUser)
nIdCRMUser
- int identifier of the CRMUser to deletepublic static Map<String,String> findByPrimaryKey(int nIdCRMUser)
nIdCRMUser
- The identifier of the CRMUserpublic static int countAttributeValueInstances(String strUserAttributeValue, String strUserAttributeKey)
strUserAttributeValue
- The value of the attributestrUserAttributeKey
- The key of the attributeCopyright © 2019 City of Paris. All rights reserved.