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    /**
018     * Provides a wrapper for {@link PasswordPolicyService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see PasswordPolicyService
022     * @generated
023     */
024    public class PasswordPolicyServiceWrapper implements PasswordPolicyService,
025            ServiceWrapper<PasswordPolicyService> {
026            public PasswordPolicyServiceWrapper(
027                    PasswordPolicyService passwordPolicyService) {
028                    _passwordPolicyService = passwordPolicyService;
029            }
030    
031            /**
032            * Returns the Spring bean ID for this bean.
033            *
034            * @return the Spring bean ID for this bean
035            */
036            @Override
037            public java.lang.String getBeanIdentifier() {
038                    return _passwordPolicyService.getBeanIdentifier();
039            }
040    
041            /**
042            * Sets the Spring bean ID for this bean.
043            *
044            * @param beanIdentifier the Spring bean ID for this bean
045            */
046            @Override
047            public void setBeanIdentifier(java.lang.String beanIdentifier) {
048                    _passwordPolicyService.setBeanIdentifier(beanIdentifier);
049            }
050    
051            /**
052            * @deprecated As of 6.2.0, replaced by {@link #addPasswordPolicy(String,
053            String, boolean, boolean, long, boolean, boolean, int, int,
054            int, int, int, int, String, boolean, int, boolean, long,
055            long, int, boolean, int, long, long, long, ServiceContext)}
056            */
057            @Override
058            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
059                    java.lang.String name, java.lang.String description,
060                    boolean changeable, boolean changeRequired, long minAge,
061                    boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
062                    int minLength, int minLowerCase, int minNumbers, int minSymbols,
063                    int minUpperCase, boolean history, int historyCount,
064                    boolean expireable, long maxAge, long warningTime, int graceLimit,
065                    boolean lockout, int maxFailure, long lockoutDuration,
066                    long resetFailureCount, long resetTicketMaxAge)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _passwordPolicyService.addPasswordPolicy(name, description,
070                            changeable, changeRequired, minAge, checkSyntax,
071                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
072                            minNumbers, minSymbols, minUpperCase, history, historyCount,
073                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
074                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
075            }
076    
077            @Override
078            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
079                    java.lang.String name, java.lang.String description,
080                    boolean changeable, boolean changeRequired, long minAge,
081                    boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
082                    int minLength, int minLowerCase, int minNumbers, int minSymbols,
083                    int minUpperCase, java.lang.String regex, boolean history,
084                    int historyCount, boolean expireable, long maxAge, long warningTime,
085                    int graceLimit, boolean lockout, int maxFailure, long lockoutDuration,
086                    long resetFailureCount, long resetTicketMaxAge,
087                    com.liferay.portal.service.ServiceContext serviceContext)
088                    throws com.liferay.portal.kernel.exception.PortalException,
089                            com.liferay.portal.kernel.exception.SystemException {
090                    return _passwordPolicyService.addPasswordPolicy(name, description,
091                            changeable, changeRequired, minAge, checkSyntax,
092                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
093                            minNumbers, minSymbols, minUpperCase, regex, history, historyCount,
094                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
095                            lockoutDuration, resetFailureCount, resetTicketMaxAge,
096                            serviceContext);
097            }
098    
099            @Override
100            public void deletePasswordPolicy(long passwordPolicyId)
101                    throws com.liferay.portal.kernel.exception.PortalException,
102                            com.liferay.portal.kernel.exception.SystemException {
103                    _passwordPolicyService.deletePasswordPolicy(passwordPolicyId);
104            }
105    
106            /**
107            * @deprecated As of 6.2.0, replaced by {@link #updatePasswordPolicy(long,
108            String, String, boolean, boolean, long, boolean, boolean,
109            int, int, int, int, int, int, String, boolean, int, boolean,
110            long, long, int, boolean, int, long, long, long,
111            ServiceContext)}
112            */
113            @Override
114            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
115                    long passwordPolicyId, java.lang.String name,
116                    java.lang.String description, boolean changeable,
117                    boolean changeRequired, long minAge, boolean checkSyntax,
118                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
119                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
120                    boolean history, int historyCount, boolean expireable, long maxAge,
121                    long warningTime, int graceLimit, boolean lockout, int maxFailure,
122                    long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
123                    throws com.liferay.portal.kernel.exception.PortalException,
124                            com.liferay.portal.kernel.exception.SystemException {
125                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
126                            name, description, changeable, changeRequired, minAge, checkSyntax,
127                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
128                            minNumbers, minSymbols, minUpperCase, history, historyCount,
129                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
130                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
131            }
132    
133            @Override
134            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
135                    long passwordPolicyId, java.lang.String name,
136                    java.lang.String description, boolean changeable,
137                    boolean changeRequired, long minAge, boolean checkSyntax,
138                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
139                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
140                    java.lang.String regex, boolean history, int historyCount,
141                    boolean expireable, long maxAge, long warningTime, int graceLimit,
142                    boolean lockout, int maxFailure, long lockoutDuration,
143                    long resetFailureCount, long resetTicketMaxAge,
144                    com.liferay.portal.service.ServiceContext serviceContext)
145                    throws com.liferay.portal.kernel.exception.PortalException,
146                            com.liferay.portal.kernel.exception.SystemException {
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            public PasswordPolicyService getWrappedPasswordPolicyService() {
160                    return _passwordPolicyService;
161            }
162    
163            /**
164             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
165             */
166            public void setWrappedPasswordPolicyService(
167                    PasswordPolicyService passwordPolicyService) {
168                    _passwordPolicyService = passwordPolicyService;
169            }
170    
171            @Override
172            public PasswordPolicyService getWrappedService() {
173                    return _passwordPolicyService;
174            }
175    
176            @Override
177            public void setWrappedService(PasswordPolicyService passwordPolicyService) {
178                    _passwordPolicyService = passwordPolicyService;
179            }
180    
181            private PasswordPolicyService _passwordPolicyService;
182    }