001    /**
002     * Copyright (c) 2000-2013 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            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            @Override
040            public java.lang.String getBeanIdentifier() {
041                    return _passwordPolicyService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            @Override
050            public void setBeanIdentifier(java.lang.String beanIdentifier) {
051                    _passwordPolicyService.setBeanIdentifier(beanIdentifier);
052            }
053    
054            /**
055            * @deprecated As of 6.2.0, replaced by {@link #addPasswordPolicy(String,
056            String, boolean, boolean, long, boolean, boolean, int, int,
057            int, int, int, int, String, boolean, int, boolean, long,
058            long, int, boolean, int, long, long, long, ServiceContext)}
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, boolean history, int historyCount,
067                    boolean expireable, long maxAge, long warningTime, int graceLimit,
068                    boolean lockout, int maxFailure, long lockoutDuration,
069                    long resetFailureCount, long resetTicketMaxAge)
070                    throws com.liferay.portal.kernel.exception.PortalException,
071                            com.liferay.portal.kernel.exception.SystemException {
072                    return _passwordPolicyService.addPasswordPolicy(name, description,
073                            changeable, changeRequired, minAge, checkSyntax,
074                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
075                            minNumbers, minSymbols, minUpperCase, history, historyCount,
076                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
077                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
078            }
079    
080            @Override
081            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
082                    java.lang.String name, java.lang.String description,
083                    boolean changeable, boolean changeRequired, long minAge,
084                    boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
085                    int minLength, int minLowerCase, int minNumbers, int minSymbols,
086                    int minUpperCase, java.lang.String regex, boolean history,
087                    int historyCount, boolean expireable, long maxAge, long warningTime,
088                    int graceLimit, boolean lockout, int maxFailure, long lockoutDuration,
089                    long resetFailureCount, long resetTicketMaxAge,
090                    com.liferay.portal.service.ServiceContext serviceContext)
091                    throws com.liferay.portal.kernel.exception.PortalException,
092                            com.liferay.portal.kernel.exception.SystemException {
093                    return _passwordPolicyService.addPasswordPolicy(name, description,
094                            changeable, changeRequired, minAge, checkSyntax,
095                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
096                            minNumbers, minSymbols, minUpperCase, regex, history, historyCount,
097                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
098                            lockoutDuration, resetFailureCount, resetTicketMaxAge,
099                            serviceContext);
100            }
101    
102            @Override
103            public void deletePasswordPolicy(long passwordPolicyId)
104                    throws com.liferay.portal.kernel.exception.PortalException,
105                            com.liferay.portal.kernel.exception.SystemException {
106                    _passwordPolicyService.deletePasswordPolicy(passwordPolicyId);
107            }
108    
109            /**
110            * @deprecated As of 6.2.0, replaced by {@link #updatePasswordPolicy(long,
111            String, String, boolean, boolean, long, boolean, boolean,
112            int, int, int, int, int, int, String, boolean, int, boolean,
113            long, long, int, boolean, int, long, long, long,
114            ServiceContext)}
115            */
116            @Override
117            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
118                    long passwordPolicyId, java.lang.String name,
119                    java.lang.String description, boolean changeable,
120                    boolean changeRequired, long minAge, boolean checkSyntax,
121                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
122                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
123                    boolean history, int historyCount, boolean expireable, long maxAge,
124                    long warningTime, int graceLimit, boolean lockout, int maxFailure,
125                    long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
126                    throws com.liferay.portal.kernel.exception.PortalException,
127                            com.liferay.portal.kernel.exception.SystemException {
128                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
129                            name, description, changeable, changeRequired, minAge, checkSyntax,
130                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
131                            minNumbers, minSymbols, minUpperCase, history, historyCount,
132                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
133                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
134            }
135    
136            @Override
137            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
138                    long passwordPolicyId, java.lang.String name,
139                    java.lang.String description, boolean changeable,
140                    boolean changeRequired, long minAge, boolean checkSyntax,
141                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
142                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
143                    java.lang.String regex, boolean history, int historyCount,
144                    boolean expireable, long maxAge, long warningTime, int graceLimit,
145                    boolean lockout, int maxFailure, long lockoutDuration,
146                    long resetFailureCount, long resetTicketMaxAge,
147                    com.liferay.portal.service.ServiceContext serviceContext)
148                    throws com.liferay.portal.kernel.exception.PortalException,
149                            com.liferay.portal.kernel.exception.SystemException {
150                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
151                            name, description, changeable, changeRequired, minAge, checkSyntax,
152                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
153                            minNumbers, minSymbols, minUpperCase, regex, history, historyCount,
154                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
155                            lockoutDuration, resetFailureCount, resetTicketMaxAge,
156                            serviceContext);
157            }
158    
159            /**
160             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
161             */
162            public PasswordPolicyService getWrappedPasswordPolicyService() {
163                    return _passwordPolicyService;
164            }
165    
166            /**
167             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
168             */
169            public void setWrappedPasswordPolicyService(
170                    PasswordPolicyService passwordPolicyService) {
171                    _passwordPolicyService = passwordPolicyService;
172            }
173    
174            @Override
175            public PasswordPolicyService getWrappedService() {
176                    return _passwordPolicyService;
177            }
178    
179            @Override
180            public void setWrappedService(PasswordPolicyService passwordPolicyService) {
181                    _passwordPolicyService = passwordPolicyService;
182            }
183    
184            private PasswordPolicyService _passwordPolicyService;
185    }