| Modifier and Type | Method and Description |
|---|---|
User |
UserService.create(UserCreator userCreator)
Creates a new user under the account specified in the UserCreator.
The returned User object does not have its access information, roles and permissions, loaded. |
User |
UserService.find(KapuaId accountId,
KapuaId userId)
Returns the User with the specified Id; returns null if the user is not found.
The API does not perform any access control check and it is meant for internal use. |
User |
UserService.findByExternalId(String externalId)
Find user by external id
|
User |
UserService.findByName(String name)
Returns the User with the specified username; returns null if the user is not found.
|
User |
UserXmlRegistry.newUser()
Creates a new user instance
|
User |
UserService.update(User user)
Updates an User in the database and returns the refreshed/reloaded entity instance.
The returned User object does not have its access information, roles and permissions, loaded. |
| Modifier and Type | Method and Description |
|---|---|
void |
UserService.delete(User user)
Delete the supplied User.
|
User |
UserService.update(User user)
Updates an User in the database and returns the refreshed/reloaded entity instance.
The returned User object does not have its access information, roles and permissions, loaded. |
| Modifier and Type | Method and Description |
|---|---|
UserListResult |
UserService.query(KapuaQuery<User> query)
Queries for all users
|
Copyright © 2019 Eclipse.org. All rights reserved.