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.portlet.exportimport.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link StagingService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see StagingService
026     * @generated
027     */
028    @ProviderType
029    public class StagingServiceWrapper implements StagingService,
030            ServiceWrapper<StagingService> {
031            public StagingServiceWrapper(StagingService stagingService) {
032                    _stagingService = stagingService;
033            }
034    
035            @Override
036            public void cleanUpStagingRequest(long stagingRequestId)
037                    throws com.liferay.portal.kernel.exception.PortalException {
038                    _stagingService.cleanUpStagingRequest(stagingRequestId);
039            }
040    
041            @Override
042            public long createStagingRequest(long groupId, java.lang.String checksum)
043                    throws com.liferay.portal.kernel.exception.PortalException {
044                    return _stagingService.createStagingRequest(groupId, checksum);
045            }
046    
047            /**
048            * Returns the Spring bean ID for this bean.
049            *
050            * @return the Spring bean ID for this bean
051            */
052            @Override
053            public java.lang.String getBeanIdentifier() {
054                    return _stagingService.getBeanIdentifier();
055            }
056    
057            @Override
058            public com.liferay.portlet.exportimport.lar.MissingReferences publishStagingRequest(
059                    long stagingRequestId,
060                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
061                    throws com.liferay.portal.kernel.exception.PortalException {
062                    return _stagingService.publishStagingRequest(stagingRequestId,
063                            exportImportConfiguration);
064            }
065    
066            /**
067            * @deprecated As of 7.0.0, with no direct replacement
068            */
069            @Deprecated
070            @Override
071            public com.liferay.portlet.exportimport.lar.MissingReferences publishStagingRequest(
072                    long stagingRequestId, boolean privateLayout,
073                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
074                    throws com.liferay.portal.kernel.exception.PortalException {
075                    return _stagingService.publishStagingRequest(stagingRequestId,
076                            privateLayout, parameterMap);
077            }
078    
079            /**
080            * Sets the Spring bean ID for this bean.
081            *
082            * @param beanIdentifier the Spring bean ID for this bean
083            */
084            @Override
085            public void setBeanIdentifier(java.lang.String beanIdentifier) {
086                    _stagingService.setBeanIdentifier(beanIdentifier);
087            }
088    
089            @Override
090            public void updateStagingRequest(long stagingRequestId,
091                    java.lang.String fileName, byte[] bytes)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    _stagingService.updateStagingRequest(stagingRequestId, fileName, bytes);
094            }
095    
096            /**
097            * @deprecated As of 7.0.0, replaced by {@link #publishStagingRequest(long,
098            boolean, java.util.Map)}
099            */
100            @Deprecated
101            @Override
102            public com.liferay.portlet.exportimport.lar.MissingReferences validateStagingRequest(
103                    long stagingRequestId, boolean privateLayout,
104                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
105                    throws com.liferay.portal.kernel.exception.PortalException {
106                    return _stagingService.validateStagingRequest(stagingRequestId,
107                            privateLayout, parameterMap);
108            }
109    
110            /**
111             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
112             */
113            @Deprecated
114            public StagingService getWrappedStagingService() {
115                    return _stagingService;
116            }
117    
118            /**
119             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
120             */
121            @Deprecated
122            public void setWrappedStagingService(StagingService stagingService) {
123                    _stagingService = stagingService;
124            }
125    
126            @Override
127            public StagingService getWrappedService() {
128                    return _stagingService;
129            }
130    
131            @Override
132            public void setWrappedService(StagingService stagingService) {
133                    _stagingService = stagingService;
134            }
135    
136            private StagingService _stagingService;
137    }