001    /**
002     * Copyright (c) 2000-2011 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.service;
016    
017    /**
018     * <p>
019     * This class is a wrapper for {@link PasswordPolicyService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       PasswordPolicyService
024     * @generated
025     */
026    public class PasswordPolicyServiceWrapper implements PasswordPolicyService,
027            ServiceWrapper<PasswordPolicyService> {
028            public PasswordPolicyServiceWrapper(
029                    PasswordPolicyService passwordPolicyService) {
030                    _passwordPolicyService = passwordPolicyService;
031            }
032    
033            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
034                    java.lang.String name, java.lang.String description,
035                    boolean changeable, boolean changeRequired, long minAge,
036                    boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
037                    int minLength, int minLowerCase, int minNumbers, int minSymbols,
038                    int minUpperCase, boolean history, int historyCount,
039                    boolean expireable, long maxAge, long warningTime, int graceLimit,
040                    boolean lockout, int maxFailure, long lockoutDuration,
041                    long resetFailureCount, long resetTicketMaxAge)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    return _passwordPolicyService.addPasswordPolicy(name, description,
045                            changeable, changeRequired, minAge, checkSyntax,
046                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
047                            minNumbers, minSymbols, minUpperCase, history, historyCount,
048                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
049                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
050            }
051    
052            public void deletePasswordPolicy(long passwordPolicyId)
053                    throws com.liferay.portal.kernel.exception.PortalException,
054                            com.liferay.portal.kernel.exception.SystemException {
055                    _passwordPolicyService.deletePasswordPolicy(passwordPolicyId);
056            }
057    
058            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
059                    long passwordPolicyId, java.lang.String name,
060                    java.lang.String description, boolean changeable,
061                    boolean changeRequired, long minAge, boolean checkSyntax,
062                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
063                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
064                    boolean history, int historyCount, boolean expireable, long maxAge,
065                    long warningTime, int graceLimit, boolean lockout, int maxFailure,
066                    long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
070                            name, description, changeable, changeRequired, minAge, checkSyntax,
071                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
072                            minNumbers, minSymbols, minUpperCase, history, historyCount,
073                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
074                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
075            }
076    
077            /**
078             * @deprecated Renamed to {@link #getWrappedService}
079             */
080            public PasswordPolicyService getWrappedPasswordPolicyService() {
081                    return _passwordPolicyService;
082            }
083    
084            /**
085             * @deprecated Renamed to {@link #setWrappedService}
086             */
087            public void setWrappedPasswordPolicyService(
088                    PasswordPolicyService passwordPolicyService) {
089                    _passwordPolicyService = passwordPolicyService;
090            }
091    
092            public PasswordPolicyService getWrappedService() {
093                    return _passwordPolicyService;
094            }
095    
096            public void setWrappedService(PasswordPolicyService passwordPolicyService) {
097                    _passwordPolicyService = passwordPolicyService;
098            }
099    
100            private PasswordPolicyService _passwordPolicyService;
101    }