001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
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    }