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.kernel.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            @Override
035            public com.liferay.portal.kernel.model.PasswordPolicy addPasswordPolicy(
036                    java.lang.String name, java.lang.String description,
037                    boolean changeable, boolean changeRequired, long minAge,
038                    boolean checkSyntax, boolean allowDictionaryWords, int minAlphanumeric,
039                    int minLength, int minLowerCase, int minNumbers, int minSymbols,
040                    int minUpperCase, java.lang.String regex, boolean history,
041                    int historyCount, boolean expireable, long maxAge, long warningTime,
042                    int graceLimit, boolean lockout, int maxFailure, long lockoutDuration,
043                    long resetFailureCount, long resetTicketMaxAge,
044                    ServiceContext serviceContext)
045                    throws com.liferay.portal.kernel.exception.PortalException {
046                    return _passwordPolicyService.addPasswordPolicy(name, description,
047                            changeable, changeRequired, minAge, checkSyntax,
048                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
049                            minNumbers, minSymbols, minUpperCase, regex, history, historyCount,
050                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
051                            lockoutDuration, resetFailureCount, resetTicketMaxAge,
052                            serviceContext);
053            }
054    
055            @Override
056            public com.liferay.portal.kernel.model.PasswordPolicy fetchPasswordPolicy(
057                    long passwordPolicyId)
058                    throws com.liferay.portal.kernel.exception.PortalException {
059                    return _passwordPolicyService.fetchPasswordPolicy(passwordPolicyId);
060            }
061    
062            @Override
063            public com.liferay.portal.kernel.model.PasswordPolicy updatePasswordPolicy(
064                    long passwordPolicyId, java.lang.String name,
065                    java.lang.String description, boolean changeable,
066                    boolean changeRequired, long minAge, boolean checkSyntax,
067                    boolean allowDictionaryWords, int minAlphanumeric, int minLength,
068                    int minLowerCase, int minNumbers, int minSymbols, int minUpperCase,
069                    java.lang.String regex, boolean history, int historyCount,
070                    boolean expireable, long maxAge, long warningTime, int graceLimit,
071                    boolean lockout, int maxFailure, long lockoutDuration,
072                    long resetFailureCount, long resetTicketMaxAge,
073                    ServiceContext serviceContext)
074                    throws com.liferay.portal.kernel.exception.PortalException {
075                    return _passwordPolicyService.updatePasswordPolicy(passwordPolicyId,
076                            name, description, changeable, changeRequired, minAge, checkSyntax,
077                            allowDictionaryWords, minAlphanumeric, minLength, minLowerCase,
078                            minNumbers, minSymbols, minUpperCase, regex, history, historyCount,
079                            expireable, maxAge, warningTime, graceLimit, lockout, maxFailure,
080                            lockoutDuration, resetFailureCount, resetTicketMaxAge,
081                            serviceContext);
082            }
083    
084            /**
085            * Returns the OSGi service identifier.
086            *
087            * @return the OSGi service identifier
088            */
089            @Override
090            public java.lang.String getOSGiServiceIdentifier() {
091                    return _passwordPolicyService.getOSGiServiceIdentifier();
092            }
093    
094            @Override
095            public void deletePasswordPolicy(long passwordPolicyId)
096                    throws com.liferay.portal.kernel.exception.PortalException {
097                    _passwordPolicyService.deletePasswordPolicy(passwordPolicyId);
098            }
099    
100            @Override
101            public PasswordPolicyService getWrappedService() {
102                    return _passwordPolicyService;
103            }
104    
105            @Override
106            public void setWrappedService(PasswordPolicyService passwordPolicyService) {
107                    _passwordPolicyService = passwordPolicyService;
108            }
109    
110            private PasswordPolicyService _passwordPolicyService;
111    }