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