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.exportimport.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.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            /**
036            * @deprecated As of 7.0.0, with no direct replacement
037            */
038            @Deprecated
039            @Override
040            public com.liferay.exportimport.kernel.lar.MissingReferences publishStagingRequest(
041                    long stagingRequestId, boolean privateLayout,
042                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
043                    throws com.liferay.portal.kernel.exception.PortalException {
044                    return _stagingService.publishStagingRequest(stagingRequestId,
045                            privateLayout, parameterMap);
046            }
047    
048            @Override
049            public com.liferay.exportimport.kernel.lar.MissingReferences publishStagingRequest(
050                    long stagingRequestId,
051                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
052                    throws com.liferay.portal.kernel.exception.PortalException {
053                    return _stagingService.publishStagingRequest(stagingRequestId,
054                            exportImportConfiguration);
055            }
056    
057            /**
058            * @deprecated As of 7.0.0, replaced by {@link #publishStagingRequest(long,
059            boolean, Map)}
060            */
061            @Deprecated
062            @Override
063            public com.liferay.exportimport.kernel.lar.MissingReferences validateStagingRequest(
064                    long stagingRequestId, boolean privateLayout,
065                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
066                    throws com.liferay.portal.kernel.exception.PortalException {
067                    return _stagingService.validateStagingRequest(stagingRequestId,
068                            privateLayout, parameterMap);
069            }
070    
071            /**
072            * Returns the OSGi service identifier.
073            *
074            * @return the OSGi service identifier
075            */
076            @Override
077            public java.lang.String getOSGiServiceIdentifier() {
078                    return _stagingService.getOSGiServiceIdentifier();
079            }
080    
081            @Override
082            public long createStagingRequest(long groupId, java.lang.String checksum)
083                    throws com.liferay.portal.kernel.exception.PortalException {
084                    return _stagingService.createStagingRequest(groupId, checksum);
085            }
086    
087            @Override
088            public void cleanUpStagingRequest(long stagingRequestId)
089                    throws com.liferay.portal.kernel.exception.PortalException {
090                    _stagingService.cleanUpStagingRequest(stagingRequestId);
091            }
092    
093            @Override
094            public void updateStagingRequest(long stagingRequestId,
095                    java.lang.String fileName, byte[] bytes)
096                    throws com.liferay.portal.kernel.exception.PortalException {
097                    _stagingService.updateStagingRequest(stagingRequestId, fileName, bytes);
098            }
099    
100            @Override
101            public StagingService getWrappedService() {
102                    return _stagingService;
103            }
104    
105            @Override
106            public void setWrappedService(StagingService stagingService) {
107                    _stagingService = stagingService;
108            }
109    
110            private StagingService _stagingService;
111    }