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