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