Revision ce18bb89
Added by Cherian Mathew over 8 years ago
eu.etaxonomy.taxeditor.bulkeditor/src/main/java/eu/etaxonomy/taxeditor/bulkeditor/input/entitycreator/UserCreator.java | ||
---|---|---|
44 | 44 |
try{ |
45 | 45 |
User user = User.NewInstance(text, text); |
46 | 46 |
if(CdmStore.getCurrentSessionManager().isRemoting()) { |
47 |
user = CdmStore.getService(IUserService.class).merge(user); |
|
47 |
CdmStore.getService(IUserService.class).createUser(user); |
|
48 |
user = CdmStore.getService(IUserService.class).loadWithUpdate(user.getUuid()); |
|
48 | 49 |
} else { |
49 | 50 |
CdmStore.getService(IUserService.class).createUser(user); |
50 | 51 |
} |
Also available in: Unified diff
#5309, #5310 Add load method to retrieve user entity after create and password change