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.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    /**
020     * Provides a wrapper for {@link PortalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see PortalService
024     * @generated
025     */
026    @ProviderType
027    public class PortalServiceWrapper implements PortalService,
028            ServiceWrapper<PortalService> {
029            public PortalServiceWrapper(PortalService portalService) {
030                    _portalService = portalService;
031            }
032    
033            @Override
034            public java.lang.String getAutoDeployDirectory() {
035                    return _portalService.getAutoDeployDirectory();
036            }
037    
038            /**
039            * Returns the Spring bean ID for this bean.
040            *
041            * @return the Spring bean ID for this bean
042            */
043            @Override
044            public java.lang.String getBeanIdentifier() {
045                    return _portalService.getBeanIdentifier();
046            }
047    
048            @Override
049            public int getBuildNumber() {
050                    return _portalService.getBuildNumber();
051            }
052    
053            @Override
054            public java.lang.String getVersion() {
055                    return _portalService.getVersion();
056            }
057    
058            /**
059            * Sets the Spring bean ID for this bean.
060            *
061            * @param beanIdentifier the Spring bean ID for this bean
062            */
063            @Override
064            public void setBeanIdentifier(java.lang.String beanIdentifier) {
065                    _portalService.setBeanIdentifier(beanIdentifier);
066            }
067    
068            @Override
069            public void testAddClassNameAndTestTransactionPortletBar_PortalRollback(
070                    java.lang.String transactionPortletBarText) {
071                    _portalService.testAddClassNameAndTestTransactionPortletBar_PortalRollback(transactionPortletBarText);
072            }
073    
074            @Override
075            public void testAddClassNameAndTestTransactionPortletBar_PortletRollback(
076                    java.lang.String transactionPortletBarText) {
077                    _portalService.testAddClassNameAndTestTransactionPortletBar_PortletRollback(transactionPortletBarText);
078            }
079    
080            @Override
081            public void testAddClassNameAndTestTransactionPortletBar_Success(
082                    java.lang.String transactionPortletBarText) {
083                    _portalService.testAddClassNameAndTestTransactionPortletBar_Success(transactionPortletBarText);
084            }
085    
086            @Override
087            public void testAddClassName_Rollback(java.lang.String classNameValue) {
088                    _portalService.testAddClassName_Rollback(classNameValue);
089            }
090    
091            @Override
092            public void testAddClassName_Success(java.lang.String classNameValue) {
093                    _portalService.testAddClassName_Success(classNameValue);
094            }
095    
096            @Override
097            public void testAutoSyncHibernateSessionStateOnTxCreation() {
098                    _portalService.testAutoSyncHibernateSessionStateOnTxCreation();
099            }
100    
101            @Override
102            public void testDeleteClassName()
103                    throws com.liferay.portal.kernel.exception.PortalException {
104                    _portalService.testDeleteClassName();
105            }
106    
107            @Override
108            public int testGetBuildNumber() {
109                    return _portalService.testGetBuildNumber();
110            }
111    
112            @Override
113            public void testGetUserId() {
114                    _portalService.testGetUserId();
115            }
116    
117            @Override
118            public boolean testHasClassName() {
119                    return _portalService.testHasClassName();
120            }
121    
122            /**
123             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
124             */
125            @Deprecated
126            public PortalService getWrappedPortalService() {
127                    return _portalService;
128            }
129    
130            /**
131             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
132             */
133            @Deprecated
134            public void setWrappedPortalService(PortalService portalService) {
135                    _portalService = portalService;
136            }
137    
138            @Override
139            public PortalService getWrappedService() {
140                    return _portalService;
141            }
142    
143            @Override
144            public void setWrappedService(PortalService portalService) {
145                    _portalService = portalService;
146            }
147    
148            private PortalService _portalService;
149    }