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            /**
054            * Sets the Spring bean ID for this bean.
055            *
056            * @param beanIdentifier the Spring bean ID for this bean
057            */
058            @Override
059            public void setBeanIdentifier(java.lang.String beanIdentifier) {
060                    _portalService.setBeanIdentifier(beanIdentifier);
061            }
062    
063            @Override
064            public void testAddClassNameAndTestTransactionPortletBar_PortalRollback(
065                    java.lang.String transactionPortletBarText) {
066                    _portalService.testAddClassNameAndTestTransactionPortletBar_PortalRollback(transactionPortletBarText);
067            }
068    
069            @Override
070            public void testAddClassNameAndTestTransactionPortletBar_PortletRollback(
071                    java.lang.String transactionPortletBarText) {
072                    _portalService.testAddClassNameAndTestTransactionPortletBar_PortletRollback(transactionPortletBarText);
073            }
074    
075            @Override
076            public void testAddClassNameAndTestTransactionPortletBar_Success(
077                    java.lang.String transactionPortletBarText) {
078                    _portalService.testAddClassNameAndTestTransactionPortletBar_Success(transactionPortletBarText);
079            }
080    
081            @Override
082            public void testAddClassName_Rollback(java.lang.String classNameValue) {
083                    _portalService.testAddClassName_Rollback(classNameValue);
084            }
085    
086            @Override
087            public void testAddClassName_Success(java.lang.String classNameValue) {
088                    _portalService.testAddClassName_Success(classNameValue);
089            }
090    
091            @Override
092            public void testAutoSyncHibernateSessionStateOnTxCreation() {
093                    _portalService.testAutoSyncHibernateSessionStateOnTxCreation();
094            }
095    
096            @Override
097            public void testDeleteClassName()
098                    throws com.liferay.portal.kernel.exception.PortalException {
099                    _portalService.testDeleteClassName();
100            }
101    
102            @Override
103            public int testGetBuildNumber() {
104                    return _portalService.testGetBuildNumber();
105            }
106    
107            @Override
108            public void testGetUserId() {
109                    _portalService.testGetUserId();
110            }
111    
112            @Override
113            public boolean testHasClassName() {
114                    return _portalService.testHasClassName();
115            }
116    
117            /**
118             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
119             */
120            @Deprecated
121            public PortalService getWrappedPortalService() {
122                    return _portalService;
123            }
124    
125            /**
126             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
127             */
128            @Deprecated
129            public void setWrappedPortalService(PortalService portalService) {
130                    _portalService = portalService;
131            }
132    
133            @Override
134            public PortalService getWrappedService() {
135                    return _portalService;
136            }
137    
138            @Override
139            public void setWrappedService(PortalService portalService) {
140                    _portalService = portalService;
141            }
142    
143            private PortalService _portalService;
144    }