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