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            public com.liferay.portal.model.PasswordPolicy addPasswordPolicy(
052                    java.lang.String name, java.lang.String description,
053                    boolean changeable, boolean changeRequired, long minAge,
054                    boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
055                    int minLength, int minLowerCase, int minNumbers, int minSymbols,
056                    int minUpperCase, boolean history, int historyCount,
057                    boolean expireable, long maxAge, long warningTime, int graceLimit,
058                    boolean lockout, int maxFailure, long lockoutDuration,
059                    long resetFailureCount, long resetTicketMaxAge)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _passwordPolicyService.addPasswordPolicy(name, description,
063                            changeable, changeRequired, minAge, checkSyntax,
064                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
065                            minNumbers, minSymbols, minUpperCase, history, historyCount,
066                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
067                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
068            }
069    
070            public void deletePasswordPolicy(long passwordPolicyId)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    _passwordPolicyService.deletePasswordPolicy(passwordPolicyId);
074            }
075    
076            public com.liferay.portal.model.PasswordPolicy updatePasswordPolicy(
077                    long passwordPolicyId, java.lang.String name,
078                    java.lang.String description, boolean changeable,
079                    boolean changeRequired, long minAge, boolean checkSyntax,
080                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
081                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
082                    boolean history, int historyCount, boolean expireable, long maxAge,
083                    long warningTime, int graceLimit, boolean lockout, int maxFailure,
084                    long lockoutDuration, long resetFailureCount, long resetTicketMaxAge)
085                    throws com.liferay.portal.kernel.exception.PortalException,
086                            com.liferay.portal.kernel.exception.SystemException {
087                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
088                            name, description, changeable, changeRequired, minAge, checkSyntax,
089                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
090                            minNumbers, minSymbols, minUpperCase, history, historyCount,
091                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
092                            lockoutDuration, resetFailureCount, resetTicketMaxAge);
093            }
094    
095            /**
096             * @deprecated Renamed to {@link #getWrappedService}
097             */
098            public PasswordPolicyService getWrappedPasswordPolicyService() {
099                    return _passwordPolicyService;
100            }
101    
102            /**
103             * @deprecated Renamed to {@link #setWrappedService}
104             */
105            public void setWrappedPasswordPolicyService(
106                    PasswordPolicyService passwordPolicyService) {
107                    _passwordPolicyService = passwordPolicyService;
108            }
109    
110            public PasswordPolicyService getWrappedService() {
111                    return _passwordPolicyService;
112            }
113    
114            public void setWrappedService(PasswordPolicyService passwordPolicyService) {
115                    _passwordPolicyService = passwordPolicyService;
116            }
117    
118            private PasswordPolicyService _passwordPolicyService;
119    }