Interface ICRMUserAttributeDAO
-
- All Known Implementing Classes:
CRMUserAttributeDAO
public interface ICRMUserAttributeDAOICRMUserAttributeDAO
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcountAttributeValueInstances(String strUserAttributeValue, String strUserAttributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)Count the number of instance of a given value of an attributevoiddelete(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the tablevoidinsert(int nIdCRMUser, String strUserAttributeKey, String strUserAttributeValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.Map<String,String>load(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Load the data from the table
-
-
-
Method Detail
-
insert
void insert(int nIdCRMUser, String strUserAttributeKey, String strUserAttributeValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)Insert a new record in the table.- Parameters:
nIdCRMUser- the id crm userstrUserAttributeKey- user attribute keystrUserAttributeValue- user attribute valueplugin- the Plugin
-
delete
void delete(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)Delete a record from the table- Parameters:
nIdCRMUser- int identifier of the CRMUser to deleteplugin- the Plugin
-
load
Map<String,String> load(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Load the data from the table- Parameters:
nIdCRMUser- The identifier of the CRMUserplugin- the Plugin- Returns:
- The instance of the CRMUser
-
countAttributeValueInstances
int countAttributeValueInstances(String strUserAttributeValue, String strUserAttributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
Count the number of instance of a given value of an attribute- Parameters:
strUserAttributeValue- The value of the attributestrUserAttributeKey- The key of the attributeplugin- The plugin- Returns:
- The number of instances of attributes with the given value for the given attribute key.
-
-