/**
- *
+ *
*/
package eu.etaxonomy.taxeditor.newWizard;
public class NewUserWizard extends AbstractNewEntityWizard<User> {
private UserDetailWizardPage userPage;
-
+
@Override
public void addPages() {
userPage = new UserDetailWizardPage(formFactory, getConversationHolder(), getEntity());
addPage(userPage);
}
-
+
@Override
protected void saveEntity() {
- CdmStore.getService(IUserService.class).saveOrUpdate(getEntity());
+ CdmStore.getService(IUserService.class).merge(getEntity(), true);
}
@Override
@Override
protected String getEntityName() {
- return "Institution";
+ return "User";
}
}