1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19 package org.apache.syncope.client.ui.commons.wizards.any;
20
21 import org.apache.syncope.common.lib.to.UserTO;
22
23 public class UserWrapper extends AnyWrapper<UserTO> {
24
25 private static final long serialVersionUID = 263119743040080245L;
26
27 private boolean storePasswordInSyncope = true;
28
29 private UserTO previousUserTO;
30
31 public UserWrapper(final UserTO userTO) {
32 this(null, userTO);
33 }
34
35 public UserWrapper(final UserTO previousUserTO, final UserTO userTO) {
36 super(userTO);
37 this.previousUserTO = previousUserTO;
38 }
39
40 public boolean isStorePasswordInSyncope() {
41 return storePasswordInSyncope;
42 }
43
44 public void setStorePasswordInSyncope(final boolean storePasswordInSyncope) {
45 this.storePasswordInSyncope = storePasswordInSyncope;
46 }
47
48 public UserTO getPreviousUserTO() {
49 return previousUserTO;
50 }
51 }