|
@@ -28,7 +28,8 @@ |
28 |
28 |
|
@Override |
29 |
29 |
|
public void setID( Long pID ) |
30 |
30 |
|
{ |
31 |
|
- |
if ( verifyMutabilityOnChange( aID, pID ) ) |
|
31 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aID ); |
|
32 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getID(), pID = zAttribute.normalize( pID, zAttribute.isRequired() ) ) ) |
32 |
33 |
|
{ |
33 |
34 |
|
LLsetID( pID ); |
34 |
35 |
|
} |
|
@@ -48,7 +49,8 @@ |
48 |
49 |
|
|
49 |
50 |
|
public void setCanAdministrate( Boolean pCanAdministrate ) |
50 |
51 |
|
{ |
51 |
|
- |
if ( verifyMutabilityOnChange( aCanAdministrate, pCanAdministrate ) ) |
|
52 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aCanAdministrate ); |
|
53 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getCanAdministrate(), pCanAdministrate = zAttribute.normalize( pCanAdministrate, zAttribute.isRequired() ) ) ) |
52 |
54 |
|
{ |
53 |
55 |
|
LLsetCanAdministrate( pCanAdministrate ); |
54 |
56 |
|
} |
|
@@ -68,7 +70,8 @@ |
68 |
70 |
|
|
69 |
71 |
|
public void setConfirmPassword( String pConfirmPassword ) |
70 |
72 |
|
{ |
71 |
|
- |
if ( verifyMutabilityOnChange( aConfirmPassword, pConfirmPassword ) ) |
|
73 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aConfirmPassword ); |
|
74 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getConfirmPassword(), pConfirmPassword = zAttribute.normalize( pConfirmPassword, zAttribute.isRequired() ) ) ) |
72 |
75 |
|
{ |
73 |
76 |
|
LLsetConfirmPassword( pConfirmPassword ); |
74 |
77 |
|
} |
|
@@ -88,7 +91,8 @@ |
88 |
91 |
|
|
89 |
92 |
|
public void setCurrentPassword( String pCurrentPassword ) |
90 |
93 |
|
{ |
91 |
|
- |
if ( verifyMutabilityOnChange( aCurrentPassword, pCurrentPassword ) ) |
|
94 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aCurrentPassword ); |
|
95 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getCurrentPassword(), pCurrentPassword = zAttribute.normalize( pCurrentPassword, zAttribute.isRequired() ) ) ) |
92 |
96 |
|
{ |
93 |
97 |
|
LLsetCurrentPassword( pCurrentPassword ); |
94 |
98 |
|
} |
|
@@ -108,7 +112,8 @@ |
108 |
112 |
|
|
109 |
113 |
|
public void setCurrentRestrictedResourceAllowedRoles( org.litesoft.core.simpletypes.TextLines pCurrentRestrictedResourceAllowedRoles ) |
110 |
114 |
|
{ |
111 |
|
- |
if ( verifyMutabilityOnChange( aCurrentRestrictedResourceAllowedRoles, pCurrentRestrictedResourceAllowedRoles ) ) |
|
115 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aCurrentRestrictedResourceAllowedRoles ); |
|
116 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getCurrentRestrictedResourceAllowedRoles(), pCurrentRestrictedResourceAllowedRoles = zAttribute.normalize( pCurrentRestrictedResourceAllowedRoles, zAttribute.isRequired() ) ) ) |
112 |
117 |
|
{ |
113 |
118 |
|
LLsetCurrentRestrictedResourceAllowedRoles( pCurrentRestrictedResourceAllowedRoles ); |
114 |
119 |
|
} |
|
@@ -128,7 +133,8 @@ |
128 |
133 |
|
|
129 |
134 |
|
public void setCurrentRestrictedResourceName( String pCurrentRestrictedResourceName ) |
130 |
135 |
|
{ |
131 |
|
- |
if ( verifyMutabilityOnChange( aCurrentRestrictedResourceName, pCurrentRestrictedResourceName ) ) |
|
136 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aCurrentRestrictedResourceName ); |
|
137 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getCurrentRestrictedResourceName(), pCurrentRestrictedResourceName = zAttribute.normalize( pCurrentRestrictedResourceName, zAttribute.isRequired() ) ) ) |
132 |
138 |
|
{ |
133 |
139 |
|
LLsetCurrentRestrictedResourceName( pCurrentRestrictedResourceName ); |
134 |
140 |
|
} |
|
@@ -148,7 +154,8 @@ |
148 |
154 |
|
|
149 |
155 |
|
public void setDemoUser( Boolean pDemoUser ) |
150 |
156 |
|
{ |
151 |
|
- |
if ( verifyMutabilityOnChange( aDemoUser, pDemoUser ) ) |
|
157 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aDemoUser ); |
|
158 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getDemoUser(), pDemoUser = zAttribute.normalize( pDemoUser, zAttribute.isRequired() ) ) ) |
152 |
159 |
|
{ |
153 |
160 |
|
LLsetDemoUser( pDemoUser ); |
154 |
161 |
|
} |
|
@@ -168,7 +175,8 @@ |
168 |
175 |
|
|
169 |
176 |
|
public void setFirstName( String pFirstName ) |
170 |
177 |
|
{ |
171 |
|
- |
if ( verifyMutabilityOnChange( aFirstName, pFirstName ) ) |
|
178 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aFirstName ); |
|
179 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getFirstName(), pFirstName = zAttribute.normalize( pFirstName, zAttribute.isRequired() ) ) ) |
172 |
180 |
|
{ |
173 |
181 |
|
LLsetFirstName( pFirstName ); |
174 |
182 |
|
} |
|
@@ -188,7 +196,8 @@ |
188 |
196 |
|
|
189 |
197 |
|
public void setHelpDeskMember( Boolean pHelpDeskMember ) |
190 |
198 |
|
{ |
191 |
|
- |
if ( verifyMutabilityOnChange( aHelpDeskMember, pHelpDeskMember ) ) |
|
199 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aHelpDeskMember ); |
|
200 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getHelpDeskMember(), pHelpDeskMember = zAttribute.normalize( pHelpDeskMember, zAttribute.isRequired() ) ) ) |
192 |
201 |
|
{ |
193 |
202 |
|
LLsetHelpDeskMember( pHelpDeskMember ); |
194 |
203 |
|
} |
|
@@ -208,7 +217,8 @@ |
208 |
217 |
|
|
209 |
218 |
|
public void setLastName( String pLastName ) |
210 |
219 |
|
{ |
211 |
|
- |
if ( verifyMutabilityOnChange( aLastName, pLastName ) ) |
|
220 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aLastName ); |
|
221 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getLastName(), pLastName = zAttribute.normalize( pLastName, zAttribute.isRequired() ) ) ) |
212 |
222 |
|
{ |
213 |
223 |
|
LLsetLastName( pLastName ); |
214 |
224 |
|
} |
|
@@ -228,7 +238,8 @@ |
228 |
238 |
|
|
229 |
239 |
|
public void setLastRestrictedResourceRole( String pLastRestrictedResourceRole ) |
230 |
240 |
|
{ |
231 |
|
- |
if ( verifyMutabilityOnChange( aLastRestrictedResourceRole, pLastRestrictedResourceRole ) ) |
|
241 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aLastRestrictedResourceRole ); |
|
242 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getLastRestrictedResourceRole(), pLastRestrictedResourceRole = zAttribute.normalize( pLastRestrictedResourceRole, zAttribute.isRequired() ) ) ) |
232 |
243 |
|
{ |
233 |
244 |
|
LLsetLastRestrictedResourceRole( pLastRestrictedResourceRole ); |
234 |
245 |
|
} |
|
@@ -248,7 +259,8 @@ |
248 |
259 |
|
|
249 |
260 |
|
public void setLogonEmail( String pLogonEmail ) |
250 |
261 |
|
{ |
251 |
|
- |
if ( verifyMutabilityOnChange( aLogonEmail, pLogonEmail ) ) |
|
262 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aLogonEmail ); |
|
263 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getLogonEmail(), pLogonEmail = zAttribute.normalize( pLogonEmail, zAttribute.isRequired() ) ) ) |
252 |
264 |
|
{ |
253 |
265 |
|
LLsetLogonEmail( pLogonEmail ); |
254 |
266 |
|
} |
|
@@ -268,7 +280,8 @@ |
268 |
280 |
|
|
269 |
281 |
|
public void setMiddleInitial( String pMiddleInitial ) |
270 |
282 |
|
{ |
271 |
|
- |
if ( verifyMutabilityOnChange( aMiddleInitial, pMiddleInitial ) ) |
|
283 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aMiddleInitial ); |
|
284 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getMiddleInitial(), pMiddleInitial = zAttribute.normalize( pMiddleInitial, zAttribute.isRequired() ) ) ) |
272 |
285 |
|
{ |
273 |
286 |
|
LLsetMiddleInitial( pMiddleInitial ); |
274 |
287 |
|
} |
|
@@ -288,7 +301,8 @@ |
288 |
301 |
|
|
289 |
302 |
|
public void setNewPassword( String pNewPassword ) |
290 |
303 |
|
{ |
291 |
|
- |
if ( verifyMutabilityOnChange( aNewPassword, pNewPassword ) ) |
|
304 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aNewPassword ); |
|
305 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getNewPassword(), pNewPassword = zAttribute.normalize( pNewPassword, zAttribute.isRequired() ) ) ) |
292 |
306 |
|
{ |
293 |
307 |
|
LLsetNewPassword( pNewPassword ); |
294 |
308 |
|
} |
|
@@ -308,7 +322,8 @@ |
308 |
322 |
|
|
309 |
323 |
|
public void setPhoneNumber( String pPhoneNumber ) |
310 |
324 |
|
{ |
311 |
|
- |
if ( verifyMutabilityOnChange( aPhoneNumber, pPhoneNumber ) ) |
|
325 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aPhoneNumber ); |
|
326 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getPhoneNumber(), pPhoneNumber = zAttribute.normalize( pPhoneNumber, zAttribute.isRequired() ) ) ) |
312 |
327 |
|
{ |
313 |
328 |
|
LLsetPhoneNumber( pPhoneNumber ); |
314 |
329 |
|
} |
|
@@ -328,7 +343,8 @@ |
328 |
343 |
|
|
329 |
344 |
|
public void setResetPassword( Boolean pResetPassword ) |
330 |
345 |
|
{ |
331 |
|
- |
if ( verifyMutabilityOnChange( aResetPassword, pResetPassword ) ) |
|
346 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aResetPassword ); |
|
347 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getResetPassword(), pResetPassword = zAttribute.normalize( pResetPassword, zAttribute.isRequired() ) ) ) |
332 |
348 |
|
{ |
333 |
349 |
|
LLsetResetPassword( pResetPassword ); |
334 |
350 |
|
} |
|
@@ -348,7 +364,8 @@ |
348 |
364 |
|
|
349 |
365 |
|
public void setRestrictedResourceManage( Boolean pRestrictedResourceManage ) |
350 |
366 |
|
{ |
351 |
|
- |
if ( verifyMutabilityOnChange( aRestrictedResourceManage, pRestrictedResourceManage ) ) |
|
367 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aRestrictedResourceManage ); |
|
368 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getRestrictedResourceManage(), pRestrictedResourceManage = zAttribute.normalize( pRestrictedResourceManage, zAttribute.isRequired() ) ) ) |
352 |
369 |
|
{ |
353 |
370 |
|
LLsetRestrictedResourceManage( pRestrictedResourceManage ); |
354 |
371 |
|
} |
|
@@ -368,7 +385,8 @@ |
368 |
385 |
|
|
369 |
386 |
|
public void setStatus( String pStatus ) |
370 |
387 |
|
{ |
371 |
|
- |
if ( verifyMutabilityOnChange( aStatus, pStatus ) ) |
|
388 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aStatus ); |
|
389 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getStatus(), pStatus = zAttribute.normalize( pStatus, zAttribute.isRequired() ) ) ) |
372 |
390 |
|
{ |
373 |
391 |
|
LLsetStatus( pStatus ); |
374 |
392 |
|
} |
|
@@ -388,7 +406,8 @@ |
388 |
406 |
|
|
389 |
407 |
|
public void setSuperAdmin( Boolean pSuperAdmin ) |
390 |
408 |
|
{ |
391 |
|
- |
if ( verifyMutabilityOnChange( aSuperAdmin, pSuperAdmin ) ) |
|
409 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aSuperAdmin ); |
|
410 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getSuperAdmin(), pSuperAdmin = zAttribute.normalize( pSuperAdmin, zAttribute.isRequired() ) ) ) |
392 |
411 |
|
{ |
393 |
412 |
|
LLsetSuperAdmin( pSuperAdmin ); |
394 |
413 |
|
} |
|
@@ -408,7 +427,8 @@ |
408 |
427 |
|
|
409 |
428 |
|
public void setVisibleToCurrentRestrictedResource( Boolean pVisibleToCurrentRestrictedResource ) |
410 |
429 |
|
{ |
411 |
|
- |
if ( verifyMutabilityOnChange( aVisibleToCurrentRestrictedResource, pVisibleToCurrentRestrictedResource ) ) |
|
430 |
+ |
VoAttribute<UserView> zAttribute = getVoAttribute( aVisibleToCurrentRestrictedResource ); |
|
431 |
+ |
if ( verifyMutabilityOnChange( zAttribute, getVisibleToCurrentRestrictedResource(), pVisibleToCurrentRestrictedResource = zAttribute.normalize( pVisibleToCurrentRestrictedResource, zAttribute.isRequired() ) ) ) |
412 |
432 |
|
{ |
413 |
433 |
|
LLsetVisibleToCurrentRestrictedResource( pVisibleToCurrentRestrictedResource ); |
414 |
434 |
|
} |