Package com.cumulocity.sdk.client.user
Class UserApiImpl
- java.lang.Object
-
- com.cumulocity.sdk.client.user.UserApiImpl
-
-
Constructor Summary
Constructors Constructor Description UserApiImpl(RestConnector restConnector, TemplateUrlParser templateUrlParser, UsersApiRepresentation usersApiRepresentation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserRepresentation
create(String tenant, UserRepresentation userRepresentation)
void
delete(String tenant, String userName)
CurrentUserRepresentation
getCurrentUser()
UserRepresentation
getCurrentUserWithCustomProperties()
UserRepresentation
getUser(String tenant, String user)
UserRepresentation
update(String tenant, UserRepresentation userRepresentation)
CurrentUserRepresentation
updateCurrentUser(CurrentUserRepresentation currentUserRepresentation)
-
-
-
Constructor Detail
-
UserApiImpl
public UserApiImpl(RestConnector restConnector, TemplateUrlParser templateUrlParser, UsersApiRepresentation usersApiRepresentation)
-
-
Method Detail
-
getCurrentUser
public CurrentUserRepresentation getCurrentUser()
- Specified by:
getCurrentUser
in interfaceUserApi
-
updateCurrentUser
public CurrentUserRepresentation updateCurrentUser(CurrentUserRepresentation currentUserRepresentation)
- Specified by:
updateCurrentUser
in interfaceUserApi
-
getCurrentUserWithCustomProperties
public UserRepresentation getCurrentUserWithCustomProperties()
- Specified by:
getCurrentUserWithCustomProperties
in interfaceUserApi
-
getUser
public UserRepresentation getUser(String tenant, String user)
-
create
public UserRepresentation create(String tenant, UserRepresentation userRepresentation)
-
update
public UserRepresentation update(String tenant, UserRepresentation userRepresentation)
-
-