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            /**
088            * Returns the Spring bean ID for this bean.
089            *
090            * @return the Spring bean ID for this bean
091            */
092            @Override
093            public java.lang.String getBeanIdentifier() {
094                    return _passwordPolicyService.getBeanIdentifier();
095            }
096    
097            /**
098            * Sets the Spring bean ID for this bean.
099            *
100            * @param beanIdentifier the Spring bean ID for this bean
101            */
102            @Override
103            public void setBeanIdentifier(java.lang.String beanIdentifier) {
104                    _passwordPolicyService.setBeanIdentifier(beanIdentifier);
105            }
106    
107            /**
108            * @deprecated As of 6.2.0, replaced by {@link #updatePasswordPolicy(long,
109            String, String, boolean, boolean, long, boolean, boolean,
110            int, int, int, int, int, int, String, boolean, int, boolean,
111            long, long, int, boolean, int, long, long, long,
112            ServiceContext)}
113            */
114            @Deprecated
115            @Override
116            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
117                    long passwordPolicyId, java.lang.String name,
118                    java.lang.String description, boolean changeable,
119                    boolean changeRequired, long minAge, boolean checkSyntax,
120                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
121                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
122                    boolean history, int historyCount, boolean expireable, long maxAge,
123                    long warningTime, int graceLimit, boolean lockout, int maxFailure,
124                    long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
125                    throws com.liferay.portal.kernel.exception.PortalException {
126                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
127                            name, description, changeable, changeRequired, minAge, checkSyntax,
128                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
129                            minNumbers, minSymbols, minUpperCase, history, historyCount,
130                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
131                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
132            }
133    
134            @Override
135            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
136                    long passwordPolicyId, java.lang.String name,
137                    java.lang.String description, boolean changeable,
138                    boolean changeRequired, long minAge, boolean checkSyntax,
139                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
140                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
141                    java.lang.String regex, boolean history, int historyCount,
142                    boolean expireable, long maxAge, long warningTime, int graceLimit,
143                    boolean lockout, int maxFailure, long lockoutDuration,
144                    long resetFailureCount, long resetTicketMaxAge,
145                    com.liferay.portal.service.ServiceContext serviceContext)
146                    throws com.liferay.portal.kernel.exception.PortalException {
147                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
148                            name, description, changeable, changeRequired, minAge, checkSyntax,
149                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
150                            minNumbers, minSymbols, minUpperCase, regex, history, historyCount,
151                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
152                            lockoutDuration, resetFailureCount, resetTicketMaxAge,
153                            serviceContext);
154            }
155    
156            /**
157             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
158             */
159            @Deprecated
160            public PasswordPolicyService getWrappedPasswordPolicyService() {
161                    return _passwordPolicyService;
162            }
163    
164            /**
165             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
166             */
167            @Deprecated
168            public void setWrappedPasswordPolicyService(
169                    PasswordPolicyService passwordPolicyService) {
170                    _passwordPolicyService = passwordPolicyService;
171            }
172    
173            @Override
174            public PasswordPolicyService getWrappedService() {
175                    return _passwordPolicyService;
176            }
177    
178            @Override
179            public void setWrappedService(PasswordPolicyService passwordPolicyService) {
180                    _passwordPolicyService = passwordPolicyService;
181            }
182    
183            private PasswordPolicyService _passwordPolicyService;
184    }