001    /**
002     * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portal.model;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link PasswordPolicy}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PasswordPolicy
024     * @generated
025     */
026    public class PasswordPolicyWrapper implements PasswordPolicy {
027            public PasswordPolicyWrapper(PasswordPolicy passwordPolicy) {
028                    _passwordPolicy = passwordPolicy;
029            }
030    
031            /**
032            * Gets the primary key of this password policy.
033            *
034            * @return the primary key of this password policy
035            */
036            public long getPrimaryKey() {
037                    return _passwordPolicy.getPrimaryKey();
038            }
039    
040            /**
041            * Sets the primary key of this password policy
042            *
043            * @param pk the primary key of this password policy
044            */
045            public void setPrimaryKey(long pk) {
046                    _passwordPolicy.setPrimaryKey(pk);
047            }
048    
049            /**
050            * Gets the password policy id of this password policy.
051            *
052            * @return the password policy id of this password policy
053            */
054            public long getPasswordPolicyId() {
055                    return _passwordPolicy.getPasswordPolicyId();
056            }
057    
058            /**
059            * Sets the password policy id of this password policy.
060            *
061            * @param passwordPolicyId the password policy id of this password policy
062            */
063            public void setPasswordPolicyId(long passwordPolicyId) {
064                    _passwordPolicy.setPasswordPolicyId(passwordPolicyId);
065            }
066    
067            /**
068            * Gets the company id of this password policy.
069            *
070            * @return the company id of this password policy
071            */
072            public long getCompanyId() {
073                    return _passwordPolicy.getCompanyId();
074            }
075    
076            /**
077            * Sets the company id of this password policy.
078            *
079            * @param companyId the company id of this password policy
080            */
081            public void setCompanyId(long companyId) {
082                    _passwordPolicy.setCompanyId(companyId);
083            }
084    
085            /**
086            * Gets the user id of this password policy.
087            *
088            * @return the user id of this password policy
089            */
090            public long getUserId() {
091                    return _passwordPolicy.getUserId();
092            }
093    
094            /**
095            * Sets the user id of this password policy.
096            *
097            * @param userId the user id of this password policy
098            */
099            public void setUserId(long userId) {
100                    _passwordPolicy.setUserId(userId);
101            }
102    
103            /**
104            * Gets the user uuid of this password policy.
105            *
106            * @return the user uuid of this password policy
107            * @throws SystemException if a system exception occurred
108            */
109            public java.lang.String getUserUuid()
110                    throws com.liferay.portal.kernel.exception.SystemException {
111                    return _passwordPolicy.getUserUuid();
112            }
113    
114            /**
115            * Sets the user uuid of this password policy.
116            *
117            * @param userUuid the user uuid of this password policy
118            */
119            public void setUserUuid(java.lang.String userUuid) {
120                    _passwordPolicy.setUserUuid(userUuid);
121            }
122    
123            /**
124            * Gets the user name of this password policy.
125            *
126            * @return the user name of this password policy
127            */
128            public java.lang.String getUserName() {
129                    return _passwordPolicy.getUserName();
130            }
131    
132            /**
133            * Sets the user name of this password policy.
134            *
135            * @param userName the user name of this password policy
136            */
137            public void setUserName(java.lang.String userName) {
138                    _passwordPolicy.setUserName(userName);
139            }
140    
141            /**
142            * Gets the create date of this password policy.
143            *
144            * @return the create date of this password policy
145            */
146            public java.util.Date getCreateDate() {
147                    return _passwordPolicy.getCreateDate();
148            }
149    
150            /**
151            * Sets the create date of this password policy.
152            *
153            * @param createDate the create date of this password policy
154            */
155            public void setCreateDate(java.util.Date createDate) {
156                    _passwordPolicy.setCreateDate(createDate);
157            }
158    
159            /**
160            * Gets the modified date of this password policy.
161            *
162            * @return the modified date of this password policy
163            */
164            public java.util.Date getModifiedDate() {
165                    return _passwordPolicy.getModifiedDate();
166            }
167    
168            /**
169            * Sets the modified date of this password policy.
170            *
171            * @param modifiedDate the modified date of this password policy
172            */
173            public void setModifiedDate(java.util.Date modifiedDate) {
174                    _passwordPolicy.setModifiedDate(modifiedDate);
175            }
176    
177            /**
178            * Gets the default policy of this password policy.
179            *
180            * @return the default policy of this password policy
181            */
182            public boolean getDefaultPolicy() {
183                    return _passwordPolicy.getDefaultPolicy();
184            }
185    
186            /**
187            * Determines whether this password policy is default policy.
188            *
189            * @return whether this password policy is default policy
190            */
191            public boolean isDefaultPolicy() {
192                    return _passwordPolicy.isDefaultPolicy();
193            }
194    
195            /**
196            * Sets whether this {$entity.humanName} is default policy.
197            *
198            * @param defaultPolicy the default policy of this password policy
199            */
200            public void setDefaultPolicy(boolean defaultPolicy) {
201                    _passwordPolicy.setDefaultPolicy(defaultPolicy);
202            }
203    
204            /**
205            * Gets the name of this password policy.
206            *
207            * @return the name of this password policy
208            */
209            public java.lang.String getName() {
210                    return _passwordPolicy.getName();
211            }
212    
213            /**
214            * Sets the name of this password policy.
215            *
216            * @param name the name of this password policy
217            */
218            public void setName(java.lang.String name) {
219                    _passwordPolicy.setName(name);
220            }
221    
222            /**
223            * Gets the description of this password policy.
224            *
225            * @return the description of this password policy
226            */
227            public java.lang.String getDescription() {
228                    return _passwordPolicy.getDescription();
229            }
230    
231            /**
232            * Sets the description of this password policy.
233            *
234            * @param description the description of this password policy
235            */
236            public void setDescription(java.lang.String description) {
237                    _passwordPolicy.setDescription(description);
238            }
239    
240            /**
241            * Gets the changeable of this password policy.
242            *
243            * @return the changeable of this password policy
244            */
245            public boolean getChangeable() {
246                    return _passwordPolicy.getChangeable();
247            }
248    
249            /**
250            * Determines whether this password policy is changeable.
251            *
252            * @return whether this password policy is changeable
253            */
254            public boolean isChangeable() {
255                    return _passwordPolicy.isChangeable();
256            }
257    
258            /**
259            * Sets whether this {$entity.humanName} is changeable.
260            *
261            * @param changeable the changeable of this password policy
262            */
263            public void setChangeable(boolean changeable) {
264                    _passwordPolicy.setChangeable(changeable);
265            }
266    
267            /**
268            * Gets the change required of this password policy.
269            *
270            * @return the change required of this password policy
271            */
272            public boolean getChangeRequired() {
273                    return _passwordPolicy.getChangeRequired();
274            }
275    
276            /**
277            * Determines whether this password policy is change required.
278            *
279            * @return whether this password policy is change required
280            */
281            public boolean isChangeRequired() {
282                    return _passwordPolicy.isChangeRequired();
283            }
284    
285            /**
286            * Sets whether this {$entity.humanName} is change required.
287            *
288            * @param changeRequired the change required of this password policy
289            */
290            public void setChangeRequired(boolean changeRequired) {
291                    _passwordPolicy.setChangeRequired(changeRequired);
292            }
293    
294            /**
295            * Gets the min age of this password policy.
296            *
297            * @return the min age of this password policy
298            */
299            public long getMinAge() {
300                    return _passwordPolicy.getMinAge();
301            }
302    
303            /**
304            * Sets the min age of this password policy.
305            *
306            * @param minAge the min age of this password policy
307            */
308            public void setMinAge(long minAge) {
309                    _passwordPolicy.setMinAge(minAge);
310            }
311    
312            /**
313            * Gets the check syntax of this password policy.
314            *
315            * @return the check syntax of this password policy
316            */
317            public boolean getCheckSyntax() {
318                    return _passwordPolicy.getCheckSyntax();
319            }
320    
321            /**
322            * Determines whether this password policy is check syntax.
323            *
324            * @return whether this password policy is check syntax
325            */
326            public boolean isCheckSyntax() {
327                    return _passwordPolicy.isCheckSyntax();
328            }
329    
330            /**
331            * Sets whether this {$entity.humanName} is check syntax.
332            *
333            * @param checkSyntax the check syntax of this password policy
334            */
335            public void setCheckSyntax(boolean checkSyntax) {
336                    _passwordPolicy.setCheckSyntax(checkSyntax);
337            }
338    
339            /**
340            * Gets the allow dictionary words of this password policy.
341            *
342            * @return the allow dictionary words of this password policy
343            */
344            public boolean getAllowDictionaryWords() {
345                    return _passwordPolicy.getAllowDictionaryWords();
346            }
347    
348            /**
349            * Determines whether this password policy is allow dictionary words.
350            *
351            * @return whether this password policy is allow dictionary words
352            */
353            public boolean isAllowDictionaryWords() {
354                    return _passwordPolicy.isAllowDictionaryWords();
355            }
356    
357            /**
358            * Sets whether this {$entity.humanName} is allow dictionary words.
359            *
360            * @param allowDictionaryWords the allow dictionary words of this password policy
361            */
362            public void setAllowDictionaryWords(boolean allowDictionaryWords) {
363                    _passwordPolicy.setAllowDictionaryWords(allowDictionaryWords);
364            }
365    
366            /**
367            * Gets the min alphanumeric of this password policy.
368            *
369            * @return the min alphanumeric of this password policy
370            */
371            public int getMinAlphanumeric() {
372                    return _passwordPolicy.getMinAlphanumeric();
373            }
374    
375            /**
376            * Sets the min alphanumeric of this password policy.
377            *
378            * @param minAlphanumeric the min alphanumeric of this password policy
379            */
380            public void setMinAlphanumeric(int minAlphanumeric) {
381                    _passwordPolicy.setMinAlphanumeric(minAlphanumeric);
382            }
383    
384            /**
385            * Gets the min length of this password policy.
386            *
387            * @return the min length of this password policy
388            */
389            public int getMinLength() {
390                    return _passwordPolicy.getMinLength();
391            }
392    
393            /**
394            * Sets the min length of this password policy.
395            *
396            * @param minLength the min length of this password policy
397            */
398            public void setMinLength(int minLength) {
399                    _passwordPolicy.setMinLength(minLength);
400            }
401    
402            /**
403            * Gets the min lower case of this password policy.
404            *
405            * @return the min lower case of this password policy
406            */
407            public int getMinLowerCase() {
408                    return _passwordPolicy.getMinLowerCase();
409            }
410    
411            /**
412            * Sets the min lower case of this password policy.
413            *
414            * @param minLowerCase the min lower case of this password policy
415            */
416            public void setMinLowerCase(int minLowerCase) {
417                    _passwordPolicy.setMinLowerCase(minLowerCase);
418            }
419    
420            /**
421            * Gets the min numbers of this password policy.
422            *
423            * @return the min numbers of this password policy
424            */
425            public int getMinNumbers() {
426                    return _passwordPolicy.getMinNumbers();
427            }
428    
429            /**
430            * Sets the min numbers of this password policy.
431            *
432            * @param minNumbers the min numbers of this password policy
433            */
434            public void setMinNumbers(int minNumbers) {
435                    _passwordPolicy.setMinNumbers(minNumbers);
436            }
437    
438            /**
439            * Gets the min symbols of this password policy.
440            *
441            * @return the min symbols of this password policy
442            */
443            public int getMinSymbols() {
444                    return _passwordPolicy.getMinSymbols();
445            }
446    
447            /**
448            * Sets the min symbols of this password policy.
449            *
450            * @param minSymbols the min symbols of this password policy
451            */
452            public void setMinSymbols(int minSymbols) {
453                    _passwordPolicy.setMinSymbols(minSymbols);
454            }
455    
456            /**
457            * Gets the min upper case of this password policy.
458            *
459            * @return the min upper case of this password policy
460            */
461            public int getMinUpperCase() {
462                    return _passwordPolicy.getMinUpperCase();
463            }
464    
465            /**
466            * Sets the min upper case of this password policy.
467            *
468            * @param minUpperCase the min upper case of this password policy
469            */
470            public void setMinUpperCase(int minUpperCase) {
471                    _passwordPolicy.setMinUpperCase(minUpperCase);
472            }
473    
474            /**
475            * Gets the history of this password policy.
476            *
477            * @return the history of this password policy
478            */
479            public boolean getHistory() {
480                    return _passwordPolicy.getHistory();
481            }
482    
483            /**
484            * Determines whether this password policy is history.
485            *
486            * @return whether this password policy is history
487            */
488            public boolean isHistory() {
489                    return _passwordPolicy.isHistory();
490            }
491    
492            /**
493            * Sets whether this {$entity.humanName} is history.
494            *
495            * @param history the history of this password policy
496            */
497            public void setHistory(boolean history) {
498                    _passwordPolicy.setHistory(history);
499            }
500    
501            /**
502            * Gets the history count of this password policy.
503            *
504            * @return the history count of this password policy
505            */
506            public int getHistoryCount() {
507                    return _passwordPolicy.getHistoryCount();
508            }
509    
510            /**
511            * Sets the history count of this password policy.
512            *
513            * @param historyCount the history count of this password policy
514            */
515            public void setHistoryCount(int historyCount) {
516                    _passwordPolicy.setHistoryCount(historyCount);
517            }
518    
519            /**
520            * Gets the expireable of this password policy.
521            *
522            * @return the expireable of this password policy
523            */
524            public boolean getExpireable() {
525                    return _passwordPolicy.getExpireable();
526            }
527    
528            /**
529            * Determines whether this password policy is expireable.
530            *
531            * @return whether this password policy is expireable
532            */
533            public boolean isExpireable() {
534                    return _passwordPolicy.isExpireable();
535            }
536    
537            /**
538            * Sets whether this {$entity.humanName} is expireable.
539            *
540            * @param expireable the expireable of this password policy
541            */
542            public void setExpireable(boolean expireable) {
543                    _passwordPolicy.setExpireable(expireable);
544            }
545    
546            /**
547            * Gets the max age of this password policy.
548            *
549            * @return the max age of this password policy
550            */
551            public long getMaxAge() {
552                    return _passwordPolicy.getMaxAge();
553            }
554    
555            /**
556            * Sets the max age of this password policy.
557            *
558            * @param maxAge the max age of this password policy
559            */
560            public void setMaxAge(long maxAge) {
561                    _passwordPolicy.setMaxAge(maxAge);
562            }
563    
564            /**
565            * Gets the warning time of this password policy.
566            *
567            * @return the warning time of this password policy
568            */
569            public long getWarningTime() {
570                    return _passwordPolicy.getWarningTime();
571            }
572    
573            /**
574            * Sets the warning time of this password policy.
575            *
576            * @param warningTime the warning time of this password policy
577            */
578            public void setWarningTime(long warningTime) {
579                    _passwordPolicy.setWarningTime(warningTime);
580            }
581    
582            /**
583            * Gets the grace limit of this password policy.
584            *
585            * @return the grace limit of this password policy
586            */
587            public int getGraceLimit() {
588                    return _passwordPolicy.getGraceLimit();
589            }
590    
591            /**
592            * Sets the grace limit of this password policy.
593            *
594            * @param graceLimit the grace limit of this password policy
595            */
596            public void setGraceLimit(int graceLimit) {
597                    _passwordPolicy.setGraceLimit(graceLimit);
598            }
599    
600            /**
601            * Gets the lockout of this password policy.
602            *
603            * @return the lockout of this password policy
604            */
605            public boolean getLockout() {
606                    return _passwordPolicy.getLockout();
607            }
608    
609            /**
610            * Determines whether this password policy is lockout.
611            *
612            * @return whether this password policy is lockout
613            */
614            public boolean isLockout() {
615                    return _passwordPolicy.isLockout();
616            }
617    
618            /**
619            * Sets whether this {$entity.humanName} is lockout.
620            *
621            * @param lockout the lockout of this password policy
622            */
623            public void setLockout(boolean lockout) {
624                    _passwordPolicy.setLockout(lockout);
625            }
626    
627            /**
628            * Gets the max failure of this password policy.
629            *
630            * @return the max failure of this password policy
631            */
632            public int getMaxFailure() {
633                    return _passwordPolicy.getMaxFailure();
634            }
635    
636            /**
637            * Sets the max failure of this password policy.
638            *
639            * @param maxFailure the max failure of this password policy
640            */
641            public void setMaxFailure(int maxFailure) {
642                    _passwordPolicy.setMaxFailure(maxFailure);
643            }
644    
645            /**
646            * Gets the lockout duration of this password policy.
647            *
648            * @return the lockout duration of this password policy
649            */
650            public long getLockoutDuration() {
651                    return _passwordPolicy.getLockoutDuration();
652            }
653    
654            /**
655            * Sets the lockout duration of this password policy.
656            *
657            * @param lockoutDuration the lockout duration of this password policy
658            */
659            public void setLockoutDuration(long lockoutDuration) {
660                    _passwordPolicy.setLockoutDuration(lockoutDuration);
661            }
662    
663            /**
664            * Gets the require unlock of this password policy.
665            *
666            * @return the require unlock of this password policy
667            */
668            public boolean getRequireUnlock() {
669                    return _passwordPolicy.getRequireUnlock();
670            }
671    
672            /**
673            * Determines whether this password policy is require unlock.
674            *
675            * @return whether this password policy is require unlock
676            */
677            public boolean isRequireUnlock() {
678                    return _passwordPolicy.isRequireUnlock();
679            }
680    
681            /**
682            * Sets whether this {$entity.humanName} is require unlock.
683            *
684            * @param requireUnlock the require unlock of this password policy
685            */
686            public void setRequireUnlock(boolean requireUnlock) {
687                    _passwordPolicy.setRequireUnlock(requireUnlock);
688            }
689    
690            /**
691            * Gets the reset failure count of this password policy.
692            *
693            * @return the reset failure count of this password policy
694            */
695            public long getResetFailureCount() {
696                    return _passwordPolicy.getResetFailureCount();
697            }
698    
699            /**
700            * Sets the reset failure count of this password policy.
701            *
702            * @param resetFailureCount the reset failure count of this password policy
703            */
704            public void setResetFailureCount(long resetFailureCount) {
705                    _passwordPolicy.setResetFailureCount(resetFailureCount);
706            }
707    
708            /**
709            * Gets the reset ticket max age of this password policy.
710            *
711            * @return the reset ticket max age of this password policy
712            */
713            public long getResetTicketMaxAge() {
714                    return _passwordPolicy.getResetTicketMaxAge();
715            }
716    
717            /**
718            * Sets the reset ticket max age of this password policy.
719            *
720            * @param resetTicketMaxAge the reset ticket max age of this password policy
721            */
722            public void setResetTicketMaxAge(long resetTicketMaxAge) {
723                    _passwordPolicy.setResetTicketMaxAge(resetTicketMaxAge);
724            }
725    
726            public boolean isNew() {
727                    return _passwordPolicy.isNew();
728            }
729    
730            public void setNew(boolean n) {
731                    _passwordPolicy.setNew(n);
732            }
733    
734            public boolean isCachedModel() {
735                    return _passwordPolicy.isCachedModel();
736            }
737    
738            public void setCachedModel(boolean cachedModel) {
739                    _passwordPolicy.setCachedModel(cachedModel);
740            }
741    
742            public boolean isEscapedModel() {
743                    return _passwordPolicy.isEscapedModel();
744            }
745    
746            public void setEscapedModel(boolean escapedModel) {
747                    _passwordPolicy.setEscapedModel(escapedModel);
748            }
749    
750            public java.io.Serializable getPrimaryKeyObj() {
751                    return _passwordPolicy.getPrimaryKeyObj();
752            }
753    
754            public com.liferay.portlet.expando.model.ExpandoBridge getExpandoBridge() {
755                    return _passwordPolicy.getExpandoBridge();
756            }
757    
758            public void setExpandoBridgeAttributes(
759                    com.liferay.portal.service.ServiceContext serviceContext) {
760                    _passwordPolicy.setExpandoBridgeAttributes(serviceContext);
761            }
762    
763            public java.lang.Object clone() {
764                    return _passwordPolicy.clone();
765            }
766    
767            public int compareTo(com.liferay.portal.model.PasswordPolicy passwordPolicy) {
768                    return _passwordPolicy.compareTo(passwordPolicy);
769            }
770    
771            public int hashCode() {
772                    return _passwordPolicy.hashCode();
773            }
774    
775            public com.liferay.portal.model.PasswordPolicy toEscapedModel() {
776                    return _passwordPolicy.toEscapedModel();
777            }
778    
779            public java.lang.String toString() {
780                    return _passwordPolicy.toString();
781            }
782    
783            public java.lang.String toXmlString() {
784                    return _passwordPolicy.toXmlString();
785            }
786    
787            public PasswordPolicy getWrappedPasswordPolicy() {
788                    return _passwordPolicy;
789            }
790    
791            private PasswordPolicy _passwordPolicy;
792    }