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