Class CRMUserService
java.lang.Object
fr.paris.lutece.plugins.crm.service.user.CRMUserService
CRMUserService
-
Method Summary
Modifier and TypeMethodDescriptionintCreate a newCRMUserfindAll()Find by primary key.findByListIds(List<Integer> listIdsCRMUser) Find by list ids.findByPrimaryKey(int nIdCRMUser) Find by primary keyfindByUserGuid(String strUserGuid) Find from a given user guidfindListIdsByFilter(CRMUserFilter filter) Find list ids by filter.static CRMUserServiceGet the instance of CRMUserServicevoidremove(int nIdCRMUser) Remove a CRMUservoidsetCRMUserAttributesService(CRMUserAttributesService crmUserAttributesService) Set the crm user attributes servicevoidUpdate aCRMUser
-
Method Details
-
getService
Get the instance of CRMUserService- Returns:
- the instance of CRMUserService
-
setCRMUserAttributesService
Set the crm user attributes service- Parameters:
crmUserAttributesService- the crm user attributes service
-
findByPrimaryKey
Find by primary key- Parameters:
nIdCRMUser- the id crm user- Returns:
- a
CRMUser
-
findByUserGuid
Find from a given user guid- Parameters:
strUserGuid- the user guid- Returns:
- a
CRMUser
-
findAll
Find by primary key.- Returns:
- a
CRMUser
-
findListIdsByFilter
Find list ids by filter.- Parameters:
filter- the filter- Returns:
- the list
-
findByListIds
Find by list ids.- Parameters:
listIdsCRMUser- the list ids crm user- Returns:
- the list
-
create
Create a newCRMUser- Parameters:
user- theCRMUser- Returns:
- the new primary key
-
update
Update aCRMUser- Parameters:
user- theCRMUser
-
remove
public void remove(int nIdCRMUser) Remove a CRMUser- Parameters:
nIdCRMUser- the id crm user
-