001    /**
002     * Copyright (c) 2000-2010 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    /**
019     * <p>
020     * This class is a wrapper for {@link PasswordPolicyService}.
021     * </p>
022     *
023     * @author    Brian Wing Shun Chan
024     * @see       PasswordPolicyService
025     * @generated
026     */
027    public class PasswordPolicyServiceWrapper implements 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            public PasswordPolicyService getWrappedPasswordPolicyService() {
078                    return _passwordPolicyService;
079            }
080    
081            private PasswordPolicyService _passwordPolicyService;
082    }