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 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 boolean testHasClassName() {
035                    return _portalService.testHasClassName();
036            }
037    
038            @Override
039            public int getBuildNumber() {
040                    return _portalService.getBuildNumber();
041            }
042    
043            @Override
044            public int testGetBuildNumber() {
045                    return _portalService.testGetBuildNumber();
046            }
047    
048            @Override
049            public java.lang.String getAutoDeployDirectory() {
050                    return _portalService.getAutoDeployDirectory();
051            }
052    
053            /**
054            * Returns the OSGi service identifier.
055            *
056            * @return the OSGi service identifier
057            */
058            @Override
059            public java.lang.String getOSGiServiceIdentifier() {
060                    return _portalService.getOSGiServiceIdentifier();
061            }
062    
063            @Override
064            public java.lang.String getVersion() {
065                    return _portalService.getVersion();
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 void testGetUserId() {
109                    _portalService.testGetUserId();
110            }
111    
112            @Override
113            public PortalService getWrappedService() {
114                    return _portalService;
115            }
116    
117            @Override
118            public void setWrappedService(PortalService portalService) {
119                    _portalService = portalService;
120            }
121    
122            private PortalService _portalService;
123    }