public void update(String userId, UpdateUserBean user) throws UserNotFoundException {
        UserBean updatedUser = tryAction(() -> storage.getUser(userId));
        if (updatedUser == null) {
            throw ExceptionFactory.userNotFoundException(userId);
        }
        if (user.getEmail() != null) {
            updatedUser.setEmail(user.getEmail());
        }
        if (user.getFullName() != null) {
            updatedUser.setFullName(user.getFullName());
        }
        if (user.getLocale() != null) {
            updatedUser.setLocale(user.getLocale());
        }
        tryAction(() -> storage.updateUser(updatedUser));
    }
Some of these arguably live in OrgService

@author Marc Savy {@literal <marc@blackparrotlabs.io>}
manager/api/rest-impl/src/main/java/io/apiman/manager/api/service/UserService.java