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.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            /**
035            * @deprecated As of 6.2.0, replaced by {@link #addPasswordPolicy(String,
036            String, boolean, boolean, long, boolean, boolean, int, int,
037            int, int, int, int, String, boolean, int, boolean, long,
038            long, int, boolean, int, long, long, long, ServiceContext)}
039            */
040            @Deprecated
041            @Override
042            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
043                    java.lang.String name, java.lang.String description,
044                    boolean changeable, boolean changeRequired, long minAge,
045                    boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
046                    int minLength, int minLowerCase, int minNumbers, int minSymbols,
047                    int minUpperCase, boolean history, int historyCount,
048                    boolean expireable, long maxAge, long warningTime, int graceLimit,
049                    boolean lockout, int maxFailure, long lockoutDuration,
050                    long resetFailureCount, long resetTicketMaxAge)
051                    throws com.liferay.portal.kernel.exception.PortalException {
052                    return _passwordPolicyService.addPasswordPolicy(name, description,
053                            changeable, changeRequired, minAge, checkSyntax,
054                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
055                            minNumbers, minSymbols, minUpperCase, history, historyCount,
056                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
057                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
058            }
059    
060            @Override
061            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
062                    java.lang.String name, java.lang.String description,
063                    boolean changeable, boolean changeRequired, long minAge,
064                    boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
065                    int minLength, int minLowerCase, int minNumbers, int minSymbols,
066                    int minUpperCase, java.lang.String regex, boolean history,
067                    int historyCount, boolean expireable, long maxAge, long warningTime,
068                    int graceLimit, boolean lockout, int maxFailure, long lockoutDuration,
069                    long resetFailureCount, long resetTicketMaxAge,
070                    com.liferay.portal.service.ServiceContext serviceContext)
071                    throws com.liferay.portal.kernel.exception.PortalException {
072                    return _passwordPolicyService.addPasswordPolicy(name, description,
073                            changeable, changeRequired, minAge, checkSyntax,
074                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
075                            minNumbers, minSymbols, minUpperCase, regex, history, historyCount,
076                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
077                            lockoutDuration, resetFailureCount, resetTicketMaxAge,
078                            serviceContext);
079            }
080    
081            @Override
082            public void deletePasswordPolicy(long passwordPolicyId)
083                    throws com.liferay.portal.kernel.exception.PortalException {
084                    _passwordPolicyService.deletePasswordPolicy(passwordPolicyId);
085            }
086    
087            @Override
088            public com.liferay.portal.model.PasswordPolicy fetchPasswordPolicy(
089                    long passwordPolicyId)
090                    throws com.liferay.portal.kernel.exception.PortalException {
091                    return _passwordPolicyService.fetchPasswordPolicy(passwordPolicyId);
092            }
093    
094            /**
095            * Returns the OSGi service identifier.
096            *
097            * @return the OSGi service identifier
098            */
099            @Override
100            public java.lang.String getOSGiServiceIdentifier() {
101                    return _passwordPolicyService.getOSGiServiceIdentifier();
102            }
103    
104            /**
105            * @deprecated As of 6.2.0, replaced by {@link #updatePasswordPolicy(long,
106            String, String, boolean, boolean, long, boolean, boolean,
107            int, int, int, int, int, int, String, boolean, int, boolean,
108            long, long, int, boolean, int, long, long, long,
109            ServiceContext)}
110            */
111            @Deprecated
112            @Override
113            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
114                    long passwordPolicyId, java.lang.String name,
115                    java.lang.String description, boolean changeable,
116                    boolean changeRequired, long minAge, boolean checkSyntax,
117                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
118                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
119                    boolean history, int historyCount, boolean expireable, long maxAge,
120                    long warningTime, int graceLimit, boolean lockout, int maxFailure,
121                    long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
122                    throws com.liferay.portal.kernel.exception.PortalException {
123                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
124                            name, description, changeable, changeRequired, minAge, checkSyntax,
125                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
126                            minNumbers, minSymbols, minUpperCase, history, historyCount,
127                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
128                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
129            }
130    
131            @Override
132            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
133                    long passwordPolicyId, java.lang.String name,
134                    java.lang.String description, boolean changeable,
135                    boolean changeRequired, long minAge, boolean checkSyntax,
136                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
137                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
138                    java.lang.String regex, boolean history, int historyCount,
139                    boolean expireable, long maxAge, long warningTime, int graceLimit,
140                    boolean lockout, int maxFailure, long lockoutDuration,
141                    long resetFailureCount, long resetTicketMaxAge,
142                    com.liferay.portal.service.ServiceContext serviceContext)
143                    throws com.liferay.portal.kernel.exception.PortalException {
144                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
145                            name, description, changeable, changeRequired, minAge, checkSyntax,
146                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
147                            minNumbers, minSymbols, minUpperCase, regex, history, historyCount,
148                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
149                            lockoutDuration, resetFailureCount, resetTicketMaxAge,
150                            serviceContext);
151            }
152    
153            @Override
154            public PasswordPolicyService getWrappedService() {
155                    return _passwordPolicyService;
156            }
157    
158            @Override
159            public void setWrappedService(PasswordPolicyService passwordPolicyService) {
160                    _passwordPolicyService = passwordPolicyService;
161            }
162    
163            private PasswordPolicyService _passwordPolicyService;
164    }