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 StagingLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see StagingLocalService
026     * @generated
027     */
028    @ProviderType
029    public class StagingLocalServiceWrapper implements StagingLocalService,
030            ServiceWrapper<StagingLocalService> {
031            public StagingLocalServiceWrapper(StagingLocalService stagingLocalService) {
032                    _stagingLocalService = stagingLocalService;
033            }
034    
035            @Override
036            public void checkDefaultLayoutSetBranches(long userId,
037                    com.liferay.portal.model.Group liveGroup, boolean branchingPublic,
038                    boolean branchingPrivate, boolean remote,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException {
041                    _stagingLocalService.checkDefaultLayoutSetBranches(userId, liveGroup,
042                            branchingPublic, branchingPrivate, remote, serviceContext);
043            }
044    
045            @Override
046            public void cleanUpStagingRequest(long stagingRequestId)
047                    throws com.liferay.portal.kernel.exception.PortalException {
048                    _stagingLocalService.cleanUpStagingRequest(stagingRequestId);
049            }
050    
051            @Override
052            public long createStagingRequest(long userId, long groupId,
053                    java.lang.String checksum)
054                    throws com.liferay.portal.kernel.exception.PortalException {
055                    return _stagingLocalService.createStagingRequest(userId, groupId,
056                            checksum);
057            }
058    
059            @Override
060            public void disableStaging(com.liferay.portal.model.Group liveGroup,
061                    com.liferay.portal.service.ServiceContext serviceContext)
062                    throws com.liferay.portal.kernel.exception.PortalException {
063                    _stagingLocalService.disableStaging(liveGroup, serviceContext);
064            }
065    
066            @Override
067            public void disableStaging(javax.portlet.PortletRequest portletRequest,
068                    com.liferay.portal.model.Group liveGroup,
069                    com.liferay.portal.service.ServiceContext serviceContext)
070                    throws com.liferay.portal.kernel.exception.PortalException {
071                    _stagingLocalService.disableStaging(portletRequest, liveGroup,
072                            serviceContext);
073            }
074    
075            @Override
076            public void enableLocalStaging(long userId,
077                    com.liferay.portal.model.Group liveGroup, boolean branchingPublic,
078                    boolean branchingPrivate,
079                    com.liferay.portal.service.ServiceContext serviceContext)
080                    throws com.liferay.portal.kernel.exception.PortalException {
081                    _stagingLocalService.enableLocalStaging(userId, liveGroup,
082                            branchingPublic, branchingPrivate, serviceContext);
083            }
084    
085            @Override
086            public void enableRemoteStaging(long userId,
087                    com.liferay.portal.model.Group stagingGroup, boolean branchingPublic,
088                    boolean branchingPrivate, java.lang.String remoteAddress,
089                    int remotePort, java.lang.String remotePathContext,
090                    boolean secureConnection, long remoteGroupId,
091                    com.liferay.portal.service.ServiceContext serviceContext)
092                    throws com.liferay.portal.kernel.exception.PortalException {
093                    _stagingLocalService.enableRemoteStaging(userId, stagingGroup,
094                            branchingPublic, branchingPrivate, remoteAddress, remotePort,
095                            remotePathContext, secureConnection, remoteGroupId, serviceContext);
096            }
097    
098            /**
099            * Returns the Spring bean ID for this bean.
100            *
101            * @return the Spring bean ID for this bean
102            */
103            @Override
104            public java.lang.String getBeanIdentifier() {
105                    return _stagingLocalService.getBeanIdentifier();
106            }
107    
108            @Override
109            public com.liferay.portlet.exportimport.lar.MissingReferences publishStagingRequest(
110                    long userId, long stagingRequestId,
111                    com.liferay.portlet.exportimport.model.ExportImportConfiguration exportImportConfiguration)
112                    throws com.liferay.portal.kernel.exception.PortalException {
113                    return _stagingLocalService.publishStagingRequest(userId,
114                            stagingRequestId, exportImportConfiguration);
115            }
116    
117            /**
118            * @deprecated As of 7.0.0, with no direct replacement
119            */
120            @Deprecated
121            @Override
122            public com.liferay.portlet.exportimport.lar.MissingReferences publishStagingRequest(
123                    long userId, long stagingRequestId, boolean privateLayout,
124                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
125                    throws com.liferay.portal.kernel.exception.PortalException {
126                    return _stagingLocalService.publishStagingRequest(userId,
127                            stagingRequestId, privateLayout, parameterMap);
128            }
129    
130            /**
131            * Sets the Spring bean ID for this bean.
132            *
133            * @param beanIdentifier the Spring bean ID for this bean
134            */
135            @Override
136            public void setBeanIdentifier(java.lang.String beanIdentifier) {
137                    _stagingLocalService.setBeanIdentifier(beanIdentifier);
138            }
139    
140            @Override
141            public void updateStagingRequest(long userId, long stagingRequestId,
142                    java.lang.String fileName, byte[] bytes)
143                    throws com.liferay.portal.kernel.exception.PortalException {
144                    _stagingLocalService.updateStagingRequest(userId, stagingRequestId,
145                            fileName, bytes);
146            }
147    
148            /**
149            * @deprecated As of 7.0.0, replaced by {@link #publishStagingRequest(long,
150            long, boolean, Map)}
151            */
152            @Deprecated
153            @Override
154            public com.liferay.portlet.exportimport.lar.MissingReferences validateStagingRequest(
155                    long userId, long stagingRequestId, boolean privateLayout,
156                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap) {
157                    return _stagingLocalService.validateStagingRequest(userId,
158                            stagingRequestId, privateLayout, parameterMap);
159            }
160    
161            /**
162             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
163             */
164            @Deprecated
165            public StagingLocalService getWrappedStagingLocalService() {
166                    return _stagingLocalService;
167            }
168    
169            /**
170             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
171             */
172            @Deprecated
173            public void setWrappedStagingLocalService(
174                    StagingLocalService stagingLocalService) {
175                    _stagingLocalService = stagingLocalService;
176            }
177    
178            @Override
179            public StagingLocalService getWrappedService() {
180                    return _stagingLocalService;
181            }
182    
183            @Override
184            public void setWrappedService(StagingLocalService stagingLocalService) {
185                    _stagingLocalService = stagingLocalService;
186            }
187    
188            private StagingLocalService _stagingLocalService;
189    }