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