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.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            public PasswordPolicyServiceWrapper(
028                    PasswordPolicyService passwordPolicyService) {
029                    _passwordPolicyService = passwordPolicyService;
030            }
031    
032            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
033                    java.lang.String name, java.lang.String description,
034                    boolean changeable, boolean changeRequired, long minAge,
035                    boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
036                    int minLength, int minLowerCase, int minNumbers, int minSymbols,
037                    int minUpperCase, boolean history, int historyCount,
038                    boolean expireable, long maxAge, long warningTime, int graceLimit,
039                    boolean lockout, int maxFailure, long lockoutDuration,
040                    long resetFailureCount, long resetTicketMaxAge)
041                    throws com.liferay.portal.kernel.exception.PortalException,
042                            com.liferay.portal.kernel.exception.SystemException {
043                    return _passwordPolicyService.addPasswordPolicy(name, description,
044                            changeable, changeRequired, minAge, checkSyntax,
045                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
046                            minNumbers, minSymbols, minUpperCase, history, historyCount,
047                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
048                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
049            }
050    
051            public void deletePasswordPolicy(long passwordPolicyId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    _passwordPolicyService.deletePasswordPolicy(passwordPolicyId);
055            }
056    
057            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
058                    long passwordPolicyId, java.lang.String name,
059                    java.lang.String description, boolean changeable,
060                    boolean changeRequired, long minAge, boolean checkSyntax,
061                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
062                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
063                    boolean history, int historyCount, boolean expireable, long maxAge,
064                    long warningTime, int graceLimit, boolean lockout, int maxFailure,
065                    long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
069                            name, description, changeable, changeRequired, minAge, checkSyntax,
070                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
071                            minNumbers, minSymbols, minUpperCase, history, historyCount,
072                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
073                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
074            }
075    
076            public PasswordPolicyService getWrappedPasswordPolicyService() {
077                    return _passwordPolicyService;
078            }
079    
080            private PasswordPolicyService _passwordPolicyService;
081    }