|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.paris.lutece.plugins.crm.service.user.CRMUserAttributesService
public final class CRMUserAttributesService
CRMUserAttributesService
Method Summary | |
---|---|
void |
create(int nIdCRMUser,
java.lang.String strUserAttributeKey,
java.lang.String strUserAttributeValue)
Create a new user attribute |
java.lang.String |
getAttribute(java.lang.String strUserId,
java.lang.String strAttribute)
|
java.util.Map<java.lang.String,java.lang.String> |
getAttributes(int nIdCRMUser)
Get the user attributes from a given id crm user |
java.util.Map<java.lang.String,java.lang.String> |
getAttributes(java.lang.String strUserId)
|
static CRMUserAttributesService |
getService()
Get the instance of CRMUserAttributesService |
java.util.List<java.lang.String> |
getUserAttributeKeys()
Get the list of user attribute keys defined in crm.properties |
void |
remove(int nIdCRMUser)
Remove the user attributes of the crm user |
void |
setCRMUserService(CRMUserService crmUserService)
Set the CRMUserService |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static CRMUserAttributesService getService()
CRMUserAttributesService
public void setCRMUserService(CRMUserService crmUserService)
crmUserService
- the CRMUserServicepublic java.lang.String getAttribute(java.lang.String strUserId, java.lang.String strAttribute)
getAttribute
in interface fr.paris.lutece.portal.service.security.UserAttributesService
public java.util.Map<java.lang.String,java.lang.String> getAttributes(java.lang.String strUserId)
getAttributes
in interface fr.paris.lutece.portal.service.security.UserAttributesService
public java.util.Map<java.lang.String,java.lang.String> getAttributes(int nIdCRMUser)
nIdCRMUser
- the id crm user
public void remove(int nIdCRMUser)
nIdCRMUser
- the id crm userpublic void create(int nIdCRMUser, java.lang.String strUserAttributeKey, java.lang.String strUserAttributeValue)
nIdCRMUser
- the id crm userstrUserAttributeKey
- the user attribute keystrUserAttributeValue
- the user attribute valuepublic java.util.List<java.lang.String> getUserAttributeKeys()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |