4 package eu
.etaxonomy
.taxeditor
.newWizard
;
6 import eu
.etaxonomy
.cdm
.api
.service
.IUserService
;
7 import eu
.etaxonomy
.cdm
.model
.common
.User
;
8 import eu
.etaxonomy
.taxeditor
.store
.CdmStore
;
9 import eu
.etaxonomy
.taxeditor
.ui
.section
.user
.UserDetailWizardPage
;
15 public class NewUserWizard
extends AbstractNewEntityWizard
<User
> {
17 private UserDetailWizardPage userPage
;
20 public void addPages() {
21 userPage
= new UserDetailWizardPage(formFactory
, getConversationHolder(), getEntity());
26 protected void saveEntity() {
27 CdmStore
.getService(IUserService
.class).merge(getEntity(), true);
32 protected User
createNewEntity() {
33 return User
.NewInstance(null, null);
37 protected String
getEntityName() {