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