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 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.kernel.model.Group liveGroup,
038                    boolean branchingPublic, boolean branchingPrivate, boolean remote,
039                    com.liferay.portal.kernel.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(
061                    com.liferay.portal.kernel.model.Group liveGroup,
062                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
063                    throws com.liferay.portal.kernel.exception.PortalException {
064                    _stagingLocalService.disableStaging(liveGroup, serviceContext);
065            }
066    
067            @Override
068            public void disableStaging(javax.portlet.PortletRequest portletRequest,
069                    com.liferay.portal.kernel.model.Group liveGroup,
070                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
071                    throws com.liferay.portal.kernel.exception.PortalException {
072                    _stagingLocalService.disableStaging(portletRequest, liveGroup,
073                            serviceContext);
074            }
075    
076            @Override
077            public void enableLocalStaging(long userId,
078                    com.liferay.portal.kernel.model.Group liveGroup,
079                    boolean branchingPublic, boolean branchingPrivate,
080                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
081                    throws com.liferay.portal.kernel.exception.PortalException {
082                    _stagingLocalService.enableLocalStaging(userId, liveGroup,
083                            branchingPublic, branchingPrivate, serviceContext);
084            }
085    
086            @Override
087            public void enableRemoteStaging(long userId,
088                    com.liferay.portal.kernel.model.Group stagingGroup,
089                    boolean branchingPublic, boolean branchingPrivate,
090                    java.lang.String remoteAddress, int remotePort,
091                    java.lang.String remotePathContext, boolean secureConnection,
092                    long remoteGroupId,
093                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
094                    throws com.liferay.portal.kernel.exception.PortalException {
095                    _stagingLocalService.enableRemoteStaging(userId, stagingGroup,
096                            branchingPublic, branchingPrivate, remoteAddress, remotePort,
097                            remotePathContext, secureConnection, remoteGroupId, serviceContext);
098            }
099    
100            /**
101            * Returns the OSGi service identifier.
102            *
103            * @return the OSGi service identifier
104            */
105            @Override
106            public java.lang.String getOSGiServiceIdentifier() {
107                    return _stagingLocalService.getOSGiServiceIdentifier();
108            }
109    
110            @Override
111            public com.liferay.exportimport.kernel.lar.MissingReferences publishStagingRequest(
112                    long userId, long stagingRequestId,
113                    com.liferay.exportimport.kernel.model.ExportImportConfiguration exportImportConfiguration)
114                    throws com.liferay.portal.kernel.exception.PortalException {
115                    return _stagingLocalService.publishStagingRequest(userId,
116                            stagingRequestId, exportImportConfiguration);
117            }
118    
119            /**
120            * @deprecated As of 7.0.0, with no direct replacement
121            */
122            @Deprecated
123            @Override
124            public com.liferay.exportimport.kernel.lar.MissingReferences publishStagingRequest(
125                    long userId, long stagingRequestId, boolean privateLayout,
126                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
127                    throws com.liferay.portal.kernel.exception.PortalException {
128                    return _stagingLocalService.publishStagingRequest(userId,
129                            stagingRequestId, privateLayout, parameterMap);
130            }
131    
132            @Override
133            public void updateStagingRequest(long userId, long stagingRequestId,
134                    java.lang.String fileName, byte[] bytes)
135                    throws com.liferay.portal.kernel.exception.PortalException {
136                    _stagingLocalService.updateStagingRequest(userId, stagingRequestId,
137                            fileName, bytes);
138            }
139    
140            /**
141            * @deprecated As of 7.0.0, replaced by {@link #publishStagingRequest(long,
142            long, boolean, Map)}
143            */
144            @Deprecated
145            @Override
146            public com.liferay.exportimport.kernel.lar.MissingReferences validateStagingRequest(
147                    long userId, long stagingRequestId, boolean privateLayout,
148                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap) {
149                    return _stagingLocalService.validateStagingRequest(userId,
150                            stagingRequestId, privateLayout, parameterMap);
151            }
152    
153            @Override
154            public StagingLocalService getWrappedService() {
155                    return _stagingLocalService;
156            }
157    
158            @Override
159            public void setWrappedService(StagingLocalService stagingLocalService) {
160                    _stagingLocalService = stagingLocalService;
161            }
162    
163            private StagingLocalService _stagingLocalService;
164    }