@Service public class CxUserService extends Object implements CxUserClient
| Constructor and Description |
|---|
CxUserService(CxAuthClient authClient,
CxLegacyService cxLegacyService,
CxProperties cxProperties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addUser(CxUser user) |
void |
deleteUser(Integer id) |
String |
getCompanyId(String company) |
CxUser |
getUser(Integer id) |
List<CxUser> |
getUsers() |
void |
updateUser(CxUser user) |
public CxUserService(CxAuthClient authClient, CxLegacyService cxLegacyService, CxProperties cxProperties)
public List<CxUser> getUsers() throws CheckmarxException
getUsers in interface CxUserClientCheckmarxExceptionpublic CxUser getUser(Integer id) throws CheckmarxException
getUser in interface CxUserClientCheckmarxExceptionpublic void updateUser(CxUser user) throws CheckmarxException
updateUser in interface CxUserClientCheckmarxExceptionpublic void deleteUser(Integer id) throws CheckmarxException
deleteUser in interface CxUserClientCheckmarxExceptionpublic void addUser(CxUser user) throws CheckmarxException
addUser in interface CxUserClientCheckmarxExceptionpublic String getCompanyId(String company) throws CheckmarxException
CheckmarxExceptionCopyright © 2020. All rights reserved.