1
22
23 package com.liferay.portal.model.impl;
24
25 import com.liferay.portal.SystemException;
26 import com.liferay.portal.kernel.bean.ReadOnlyBeanHandler;
27 import com.liferay.portal.kernel.util.GetterUtil;
28 import com.liferay.portal.kernel.util.HtmlUtil;
29 import com.liferay.portal.kernel.util.StringBundler;
30 import com.liferay.portal.model.PasswordPolicy;
31 import com.liferay.portal.model.PasswordPolicySoap;
32 import com.liferay.portal.service.ServiceContext;
33 import com.liferay.portal.util.PortalUtil;
34
35 import com.liferay.portlet.expando.model.ExpandoBridge;
36 import com.liferay.portlet.expando.util.ExpandoBridgeFactoryUtil;
37
38 import java.io.Serializable;
39
40 import java.lang.reflect.Proxy;
41
42 import java.sql.Types;
43
44 import java.util.ArrayList;
45 import java.util.Date;
46 import java.util.List;
47
48
67 public class PasswordPolicyModelImpl extends BaseModelImpl<PasswordPolicy> {
68 public static final String TABLE_NAME = "PasswordPolicy";
69 public static final Object[][] TABLE_COLUMNS = {
70 { "passwordPolicyId", new Integer(Types.BIGINT) },
71 { "companyId", new Integer(Types.BIGINT) },
72 { "userId", new Integer(Types.BIGINT) },
73 { "userName", new Integer(Types.VARCHAR) },
74 { "createDate", new Integer(Types.TIMESTAMP) },
75 { "modifiedDate", new Integer(Types.TIMESTAMP) },
76 { "defaultPolicy", new Integer(Types.BOOLEAN) },
77 { "name", new Integer(Types.VARCHAR) },
78 { "description", new Integer(Types.VARCHAR) },
79 { "changeable", new Integer(Types.BOOLEAN) },
80 { "changeRequired", new Integer(Types.BOOLEAN) },
81 { "minAge", new Integer(Types.BIGINT) },
82 { "checkSyntax", new Integer(Types.BOOLEAN) },
83 { "allowDictionaryWords", new Integer(Types.BOOLEAN) },
84 { "minLength", new Integer(Types.INTEGER) },
85 { "history", new Integer(Types.BOOLEAN) },
86 { "historyCount", new Integer(Types.INTEGER) },
87 { "expireable", new Integer(Types.BOOLEAN) },
88 { "maxAge", new Integer(Types.BIGINT) },
89 { "warningTime", new Integer(Types.BIGINT) },
90 { "graceLimit", new Integer(Types.INTEGER) },
91 { "lockout", new Integer(Types.BOOLEAN) },
92 { "maxFailure", new Integer(Types.INTEGER) },
93 { "lockoutDuration", new Integer(Types.BIGINT) },
94 { "requireUnlock", new Integer(Types.BOOLEAN) },
95 { "resetFailureCount", new Integer(Types.BIGINT) }
96 };
97 public static final String TABLE_SQL_CREATE = "create table PasswordPolicy (passwordPolicyId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,defaultPolicy BOOLEAN,name VARCHAR(75) null,description STRING null,changeable BOOLEAN,changeRequired BOOLEAN,minAge LONG,checkSyntax BOOLEAN,allowDictionaryWords BOOLEAN,minLength INTEGER,history BOOLEAN,historyCount INTEGER,expireable BOOLEAN,maxAge LONG,warningTime LONG,graceLimit INTEGER,lockout BOOLEAN,maxFailure INTEGER,lockoutDuration LONG,requireUnlock BOOLEAN,resetFailureCount LONG)";
98 public static final String TABLE_SQL_DROP = "drop table PasswordPolicy";
99 public static final String DATA_SOURCE = "liferayDataSource";
100 public static final String SESSION_FACTORY = "liferaySessionFactory";
101 public static final String TX_MANAGER = "liferayTransactionManager";
102 public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
103 "value.object.entity.cache.enabled.com.liferay.portal.model.PasswordPolicy"),
104 true);
105 public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
106 "value.object.finder.cache.enabled.com.liferay.portal.model.PasswordPolicy"),
107 true);
108
109 public static PasswordPolicy toModel(PasswordPolicySoap soapModel) {
110 PasswordPolicy model = new PasswordPolicyImpl();
111
112 model.setPasswordPolicyId(soapModel.getPasswordPolicyId());
113 model.setCompanyId(soapModel.getCompanyId());
114 model.setUserId(soapModel.getUserId());
115 model.setUserName(soapModel.getUserName());
116 model.setCreateDate(soapModel.getCreateDate());
117 model.setModifiedDate(soapModel.getModifiedDate());
118 model.setDefaultPolicy(soapModel.getDefaultPolicy());
119 model.setName(soapModel.getName());
120 model.setDescription(soapModel.getDescription());
121 model.setChangeable(soapModel.getChangeable());
122 model.setChangeRequired(soapModel.getChangeRequired());
123 model.setMinAge(soapModel.getMinAge());
124 model.setCheckSyntax(soapModel.getCheckSyntax());
125 model.setAllowDictionaryWords(soapModel.getAllowDictionaryWords());
126 model.setMinLength(soapModel.getMinLength());
127 model.setHistory(soapModel.getHistory());
128 model.setHistoryCount(soapModel.getHistoryCount());
129 model.setExpireable(soapModel.getExpireable());
130 model.setMaxAge(soapModel.getMaxAge());
131 model.setWarningTime(soapModel.getWarningTime());
132 model.setGraceLimit(soapModel.getGraceLimit());
133 model.setLockout(soapModel.getLockout());
134 model.setMaxFailure(soapModel.getMaxFailure());
135 model.setLockoutDuration(soapModel.getLockoutDuration());
136 model.setRequireUnlock(soapModel.getRequireUnlock());
137 model.setResetFailureCount(soapModel.getResetFailureCount());
138
139 return model;
140 }
141
142 public static List<PasswordPolicy> toModels(PasswordPolicySoap[] soapModels) {
143 List<PasswordPolicy> models = new ArrayList<PasswordPolicy>(soapModels.length);
144
145 for (PasswordPolicySoap soapModel : soapModels) {
146 models.add(toModel(soapModel));
147 }
148
149 return models;
150 }
151
152 public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
153 "lock.expiration.time.com.liferay.portal.model.PasswordPolicy"));
154
155 public PasswordPolicyModelImpl() {
156 }
157
158 public long getPrimaryKey() {
159 return _passwordPolicyId;
160 }
161
162 public void setPrimaryKey(long pk) {
163 setPasswordPolicyId(pk);
164 }
165
166 public Serializable getPrimaryKeyObj() {
167 return new Long(_passwordPolicyId);
168 }
169
170 public long getPasswordPolicyId() {
171 return _passwordPolicyId;
172 }
173
174 public void setPasswordPolicyId(long passwordPolicyId) {
175 _passwordPolicyId = passwordPolicyId;
176 }
177
178 public long getCompanyId() {
179 return _companyId;
180 }
181
182 public void setCompanyId(long companyId) {
183 _companyId = companyId;
184
185 if (!_setOriginalCompanyId) {
186 _setOriginalCompanyId = true;
187
188 _originalCompanyId = companyId;
189 }
190 }
191
192 public long getOriginalCompanyId() {
193 return _originalCompanyId;
194 }
195
196 public long getUserId() {
197 return _userId;
198 }
199
200 public void setUserId(long userId) {
201 _userId = userId;
202 }
203
204 public String getUserUuid() throws SystemException {
205 return PortalUtil.getUserValue(getUserId(), "uuid", _userUuid);
206 }
207
208 public void setUserUuid(String userUuid) {
209 _userUuid = userUuid;
210 }
211
212 public String getUserName() {
213 return GetterUtil.getString(_userName);
214 }
215
216 public void setUserName(String userName) {
217 _userName = userName;
218 }
219
220 public Date getCreateDate() {
221 return _createDate;
222 }
223
224 public void setCreateDate(Date createDate) {
225 _createDate = createDate;
226 }
227
228 public Date getModifiedDate() {
229 return _modifiedDate;
230 }
231
232 public void setModifiedDate(Date modifiedDate) {
233 _modifiedDate = modifiedDate;
234 }
235
236 public boolean getDefaultPolicy() {
237 return _defaultPolicy;
238 }
239
240 public boolean isDefaultPolicy() {
241 return _defaultPolicy;
242 }
243
244 public void setDefaultPolicy(boolean defaultPolicy) {
245 _defaultPolicy = defaultPolicy;
246
247 if (!_setOriginalDefaultPolicy) {
248 _setOriginalDefaultPolicy = true;
249
250 _originalDefaultPolicy = defaultPolicy;
251 }
252 }
253
254 public boolean getOriginalDefaultPolicy() {
255 return _originalDefaultPolicy;
256 }
257
258 public String getName() {
259 return GetterUtil.getString(_name);
260 }
261
262 public void setName(String name) {
263 _name = name;
264
265 if (_originalName == null) {
266 _originalName = name;
267 }
268 }
269
270 public String getOriginalName() {
271 return GetterUtil.getString(_originalName);
272 }
273
274 public String getDescription() {
275 return GetterUtil.getString(_description);
276 }
277
278 public void setDescription(String description) {
279 _description = description;
280 }
281
282 public boolean getChangeable() {
283 return _changeable;
284 }
285
286 public boolean isChangeable() {
287 return _changeable;
288 }
289
290 public void setChangeable(boolean changeable) {
291 _changeable = changeable;
292 }
293
294 public boolean getChangeRequired() {
295 return _changeRequired;
296 }
297
298 public boolean isChangeRequired() {
299 return _changeRequired;
300 }
301
302 public void setChangeRequired(boolean changeRequired) {
303 _changeRequired = changeRequired;
304 }
305
306 public long getMinAge() {
307 return _minAge;
308 }
309
310 public void setMinAge(long minAge) {
311 _minAge = minAge;
312 }
313
314 public boolean getCheckSyntax() {
315 return _checkSyntax;
316 }
317
318 public boolean isCheckSyntax() {
319 return _checkSyntax;
320 }
321
322 public void setCheckSyntax(boolean checkSyntax) {
323 _checkSyntax = checkSyntax;
324 }
325
326 public boolean getAllowDictionaryWords() {
327 return _allowDictionaryWords;
328 }
329
330 public boolean isAllowDictionaryWords() {
331 return _allowDictionaryWords;
332 }
333
334 public void setAllowDictionaryWords(boolean allowDictionaryWords) {
335 _allowDictionaryWords = allowDictionaryWords;
336 }
337
338 public int getMinLength() {
339 return _minLength;
340 }
341
342 public void setMinLength(int minLength) {
343 _minLength = minLength;
344 }
345
346 public boolean getHistory() {
347 return _history;
348 }
349
350 public boolean isHistory() {
351 return _history;
352 }
353
354 public void setHistory(boolean history) {
355 _history = history;
356 }
357
358 public int getHistoryCount() {
359 return _historyCount;
360 }
361
362 public void setHistoryCount(int historyCount) {
363 _historyCount = historyCount;
364 }
365
366 public boolean getExpireable() {
367 return _expireable;
368 }
369
370 public boolean isExpireable() {
371 return _expireable;
372 }
373
374 public void setExpireable(boolean expireable) {
375 _expireable = expireable;
376 }
377
378 public long getMaxAge() {
379 return _maxAge;
380 }
381
382 public void setMaxAge(long maxAge) {
383 _maxAge = maxAge;
384 }
385
386 public long getWarningTime() {
387 return _warningTime;
388 }
389
390 public void setWarningTime(long warningTime) {
391 _warningTime = warningTime;
392 }
393
394 public int getGraceLimit() {
395 return _graceLimit;
396 }
397
398 public void setGraceLimit(int graceLimit) {
399 _graceLimit = graceLimit;
400 }
401
402 public boolean getLockout() {
403 return _lockout;
404 }
405
406 public boolean isLockout() {
407 return _lockout;
408 }
409
410 public void setLockout(boolean lockout) {
411 _lockout = lockout;
412 }
413
414 public int getMaxFailure() {
415 return _maxFailure;
416 }
417
418 public void setMaxFailure(int maxFailure) {
419 _maxFailure = maxFailure;
420 }
421
422 public long getLockoutDuration() {
423 return _lockoutDuration;
424 }
425
426 public void setLockoutDuration(long lockoutDuration) {
427 _lockoutDuration = lockoutDuration;
428 }
429
430 public boolean getRequireUnlock() {
431 return _requireUnlock;
432 }
433
434 public boolean isRequireUnlock() {
435 return _requireUnlock;
436 }
437
438 public void setRequireUnlock(boolean requireUnlock) {
439 _requireUnlock = requireUnlock;
440 }
441
442 public long getResetFailureCount() {
443 return _resetFailureCount;
444 }
445
446 public void setResetFailureCount(long resetFailureCount) {
447 _resetFailureCount = resetFailureCount;
448 }
449
450 public PasswordPolicy toEscapedModel() {
451 if (isEscapedModel()) {
452 return (PasswordPolicy)this;
453 }
454 else {
455 PasswordPolicy model = new PasswordPolicyImpl();
456
457 model.setNew(isNew());
458 model.setEscapedModel(true);
459
460 model.setPasswordPolicyId(getPasswordPolicyId());
461 model.setCompanyId(getCompanyId());
462 model.setUserId(getUserId());
463 model.setUserName(HtmlUtil.escape(getUserName()));
464 model.setCreateDate(getCreateDate());
465 model.setModifiedDate(getModifiedDate());
466 model.setDefaultPolicy(getDefaultPolicy());
467 model.setName(HtmlUtil.escape(getName()));
468 model.setDescription(HtmlUtil.escape(getDescription()));
469 model.setChangeable(getChangeable());
470 model.setChangeRequired(getChangeRequired());
471 model.setMinAge(getMinAge());
472 model.setCheckSyntax(getCheckSyntax());
473 model.setAllowDictionaryWords(getAllowDictionaryWords());
474 model.setMinLength(getMinLength());
475 model.setHistory(getHistory());
476 model.setHistoryCount(getHistoryCount());
477 model.setExpireable(getExpireable());
478 model.setMaxAge(getMaxAge());
479 model.setWarningTime(getWarningTime());
480 model.setGraceLimit(getGraceLimit());
481 model.setLockout(getLockout());
482 model.setMaxFailure(getMaxFailure());
483 model.setLockoutDuration(getLockoutDuration());
484 model.setRequireUnlock(getRequireUnlock());
485 model.setResetFailureCount(getResetFailureCount());
486
487 model = (PasswordPolicy)Proxy.newProxyInstance(PasswordPolicy.class.getClassLoader(),
488 new Class[] { PasswordPolicy.class },
489 new ReadOnlyBeanHandler(model));
490
491 return model;
492 }
493 }
494
495 public ExpandoBridge getExpandoBridge() {
496 if (_expandoBridge == null) {
497 _expandoBridge = ExpandoBridgeFactoryUtil.getExpandoBridge(PasswordPolicy.class.getName(),
498 getPrimaryKey());
499 }
500
501 return _expandoBridge;
502 }
503
504 public void setExpandoBridgeAttributes(ServiceContext serviceContext) {
505 getExpandoBridge().setAttributes(serviceContext);
506 }
507
508 public Object clone() {
509 PasswordPolicyImpl clone = new PasswordPolicyImpl();
510
511 clone.setPasswordPolicyId(getPasswordPolicyId());
512 clone.setCompanyId(getCompanyId());
513 clone.setUserId(getUserId());
514 clone.setUserName(getUserName());
515 clone.setCreateDate(getCreateDate());
516 clone.setModifiedDate(getModifiedDate());
517 clone.setDefaultPolicy(getDefaultPolicy());
518 clone.setName(getName());
519 clone.setDescription(getDescription());
520 clone.setChangeable(getChangeable());
521 clone.setChangeRequired(getChangeRequired());
522 clone.setMinAge(getMinAge());
523 clone.setCheckSyntax(getCheckSyntax());
524 clone.setAllowDictionaryWords(getAllowDictionaryWords());
525 clone.setMinLength(getMinLength());
526 clone.setHistory(getHistory());
527 clone.setHistoryCount(getHistoryCount());
528 clone.setExpireable(getExpireable());
529 clone.setMaxAge(getMaxAge());
530 clone.setWarningTime(getWarningTime());
531 clone.setGraceLimit(getGraceLimit());
532 clone.setLockout(getLockout());
533 clone.setMaxFailure(getMaxFailure());
534 clone.setLockoutDuration(getLockoutDuration());
535 clone.setRequireUnlock(getRequireUnlock());
536 clone.setResetFailureCount(getResetFailureCount());
537
538 return clone;
539 }
540
541 public int compareTo(PasswordPolicy passwordPolicy) {
542 long pk = passwordPolicy.getPrimaryKey();
543
544 if (getPrimaryKey() < pk) {
545 return -1;
546 }
547 else if (getPrimaryKey() > pk) {
548 return 1;
549 }
550 else {
551 return 0;
552 }
553 }
554
555 public boolean equals(Object obj) {
556 if (obj == null) {
557 return false;
558 }
559
560 PasswordPolicy passwordPolicy = null;
561
562 try {
563 passwordPolicy = (PasswordPolicy)obj;
564 }
565 catch (ClassCastException cce) {
566 return false;
567 }
568
569 long pk = passwordPolicy.getPrimaryKey();
570
571 if (getPrimaryKey() == pk) {
572 return true;
573 }
574 else {
575 return false;
576 }
577 }
578
579 public int hashCode() {
580 return (int)getPrimaryKey();
581 }
582
583 public String toString() {
584 StringBundler sb = new StringBundler(53);
585
586 sb.append("{passwordPolicyId=");
587 sb.append(getPasswordPolicyId());
588 sb.append(", companyId=");
589 sb.append(getCompanyId());
590 sb.append(", userId=");
591 sb.append(getUserId());
592 sb.append(", userName=");
593 sb.append(getUserName());
594 sb.append(", createDate=");
595 sb.append(getCreateDate());
596 sb.append(", modifiedDate=");
597 sb.append(getModifiedDate());
598 sb.append(", defaultPolicy=");
599 sb.append(getDefaultPolicy());
600 sb.append(", name=");
601 sb.append(getName());
602 sb.append(", description=");
603 sb.append(getDescription());
604 sb.append(", changeable=");
605 sb.append(getChangeable());
606 sb.append(", changeRequired=");
607 sb.append(getChangeRequired());
608 sb.append(", minAge=");
609 sb.append(getMinAge());
610 sb.append(", checkSyntax=");
611 sb.append(getCheckSyntax());
612 sb.append(", allowDictionaryWords=");
613 sb.append(getAllowDictionaryWords());
614 sb.append(", minLength=");
615 sb.append(getMinLength());
616 sb.append(", history=");
617 sb.append(getHistory());
618 sb.append(", historyCount=");
619 sb.append(getHistoryCount());
620 sb.append(", expireable=");
621 sb.append(getExpireable());
622 sb.append(", maxAge=");
623 sb.append(getMaxAge());
624 sb.append(", warningTime=");
625 sb.append(getWarningTime());
626 sb.append(", graceLimit=");
627 sb.append(getGraceLimit());
628 sb.append(", lockout=");
629 sb.append(getLockout());
630 sb.append(", maxFailure=");
631 sb.append(getMaxFailure());
632 sb.append(", lockoutDuration=");
633 sb.append(getLockoutDuration());
634 sb.append(", requireUnlock=");
635 sb.append(getRequireUnlock());
636 sb.append(", resetFailureCount=");
637 sb.append(getResetFailureCount());
638 sb.append("}");
639
640 return sb.toString();
641 }
642
643 public String toXmlString() {
644 StringBundler sb = new StringBundler(82);
645
646 sb.append("<model><model-name>");
647 sb.append("com.liferay.portal.model.PasswordPolicy");
648 sb.append("</model-name>");
649
650 sb.append(
651 "<column><column-name>passwordPolicyId</column-name><column-value><![CDATA[");
652 sb.append(getPasswordPolicyId());
653 sb.append("]]></column-value></column>");
654 sb.append(
655 "<column><column-name>companyId</column-name><column-value><![CDATA[");
656 sb.append(getCompanyId());
657 sb.append("]]></column-value></column>");
658 sb.append(
659 "<column><column-name>userId</column-name><column-value><![CDATA[");
660 sb.append(getUserId());
661 sb.append("]]></column-value></column>");
662 sb.append(
663 "<column><column-name>userName</column-name><column-value><![CDATA[");
664 sb.append(getUserName());
665 sb.append("]]></column-value></column>");
666 sb.append(
667 "<column><column-name>createDate</column-name><column-value><![CDATA[");
668 sb.append(getCreateDate());
669 sb.append("]]></column-value></column>");
670 sb.append(
671 "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
672 sb.append(getModifiedDate());
673 sb.append("]]></column-value></column>");
674 sb.append(
675 "<column><column-name>defaultPolicy</column-name><column-value><![CDATA[");
676 sb.append(getDefaultPolicy());
677 sb.append("]]></column-value></column>");
678 sb.append(
679 "<column><column-name>name</column-name><column-value><![CDATA[");
680 sb.append(getName());
681 sb.append("]]></column-value></column>");
682 sb.append(
683 "<column><column-name>description</column-name><column-value><![CDATA[");
684 sb.append(getDescription());
685 sb.append("]]></column-value></column>");
686 sb.append(
687 "<column><column-name>changeable</column-name><column-value><![CDATA[");
688 sb.append(getChangeable());
689 sb.append("]]></column-value></column>");
690 sb.append(
691 "<column><column-name>changeRequired</column-name><column-value><![CDATA[");
692 sb.append(getChangeRequired());
693 sb.append("]]></column-value></column>");
694 sb.append(
695 "<column><column-name>minAge</column-name><column-value><![CDATA[");
696 sb.append(getMinAge());
697 sb.append("]]></column-value></column>");
698 sb.append(
699 "<column><column-name>checkSyntax</column-name><column-value><![CDATA[");
700 sb.append(getCheckSyntax());
701 sb.append("]]></column-value></column>");
702 sb.append(
703 "<column><column-name>allowDictionaryWords</column-name><column-value><![CDATA[");
704 sb.append(getAllowDictionaryWords());
705 sb.append("]]></column-value></column>");
706 sb.append(
707 "<column><column-name>minLength</column-name><column-value><![CDATA[");
708 sb.append(getMinLength());
709 sb.append("]]></column-value></column>");
710 sb.append(
711 "<column><column-name>history</column-name><column-value><![CDATA[");
712 sb.append(getHistory());
713 sb.append("]]></column-value></column>");
714 sb.append(
715 "<column><column-name>historyCount</column-name><column-value><![CDATA[");
716 sb.append(getHistoryCount());
717 sb.append("]]></column-value></column>");
718 sb.append(
719 "<column><column-name>expireable</column-name><column-value><![CDATA[");
720 sb.append(getExpireable());
721 sb.append("]]></column-value></column>");
722 sb.append(
723 "<column><column-name>maxAge</column-name><column-value><![CDATA[");
724 sb.append(getMaxAge());
725 sb.append("]]></column-value></column>");
726 sb.append(
727 "<column><column-name>warningTime</column-name><column-value><![CDATA[");
728 sb.append(getWarningTime());
729 sb.append("]]></column-value></column>");
730 sb.append(
731 "<column><column-name>graceLimit</column-name><column-value><![CDATA[");
732 sb.append(getGraceLimit());
733 sb.append("]]></column-value></column>");
734 sb.append(
735 "<column><column-name>lockout</column-name><column-value><![CDATA[");
736 sb.append(getLockout());
737 sb.append("]]></column-value></column>");
738 sb.append(
739 "<column><column-name>maxFailure</column-name><column-value><![CDATA[");
740 sb.append(getMaxFailure());
741 sb.append("]]></column-value></column>");
742 sb.append(
743 "<column><column-name>lockoutDuration</column-name><column-value><![CDATA[");
744 sb.append(getLockoutDuration());
745 sb.append("]]></column-value></column>");
746 sb.append(
747 "<column><column-name>requireUnlock</column-name><column-value><![CDATA[");
748 sb.append(getRequireUnlock());
749 sb.append("]]></column-value></column>");
750 sb.append(
751 "<column><column-name>resetFailureCount</column-name><column-value><![CDATA[");
752 sb.append(getResetFailureCount());
753 sb.append("]]></column-value></column>");
754
755 sb.append("</model>");
756
757 return sb.toString();
758 }
759
760 private long _passwordPolicyId;
761 private long _companyId;
762 private long _originalCompanyId;
763 private boolean _setOriginalCompanyId;
764 private long _userId;
765 private String _userUuid;
766 private String _userName;
767 private Date _createDate;
768 private Date _modifiedDate;
769 private boolean _defaultPolicy;
770 private boolean _originalDefaultPolicy;
771 private boolean _setOriginalDefaultPolicy;
772 private String _name;
773 private String _originalName;
774 private String _description;
775 private boolean _changeable;
776 private boolean _changeRequired;
777 private long _minAge;
778 private boolean _checkSyntax;
779 private boolean _allowDictionaryWords;
780 private int _minLength;
781 private boolean _history;
782 private int _historyCount;
783 private boolean _expireable;
784 private long _maxAge;
785 private long _warningTime;
786 private int _graceLimit;
787 private boolean _lockout;
788 private int _maxFailure;
789 private long _lockoutDuration;
790 private boolean _requireUnlock;
791 private long _resetFailureCount;
792 private transient ExpandoBridge _expandoBridge;
793 }