|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crm.business.user.CRMUserAttributeDAO
public class CRMUserAttributeDAO
CRMUserAttributeDAO
Constructor Summary | |
---|---|
CRMUserAttributeDAO()
|
Method Summary | |
---|---|
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 |
void |
delete(int nIdCRMUser,
fr.paris.lutece.portal.service.plugin.Plugin plugin)
Delete a record from the table |
void |
insert(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 |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CRMUserAttributeDAO()
Method Detail |
---|
public void insert(int nIdCRMUser, String strUserAttributeKey, String strUserAttributeValue, fr.paris.lutece.portal.service.plugin.Plugin plugin)
insert
in interface ICRMUserAttributeDAO
nIdCRMUser
- the id crm userstrUserAttributeKey
- user attribute keystrUserAttributeValue
- user attribute valueplugin
- the Pluginpublic void delete(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
delete
in interface ICRMUserAttributeDAO
nIdCRMUser
- int identifier of the CRMUser to deleteplugin
- the Pluginpublic Map<String,String> load(int nIdCRMUser, fr.paris.lutece.portal.service.plugin.Plugin plugin)
load
in interface ICRMUserAttributeDAO
nIdCRMUser
- The identifier of the CRMUserplugin
- the Plugin
public int countAttributeValueInstances(String strUserAttributeValue, String strUserAttributeKey, fr.paris.lutece.portal.service.plugin.Plugin plugin)
countAttributeValueInstances
in interface ICRMUserAttributeDAO
strUserAttributeValue
- The value of the attributestrUserAttributeKey
- The key of the attributeplugin
- The plugin
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |