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 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            /**
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 _stagingService.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                    _stagingService.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                    _stagingService.cleanUpStagingRequest(stagingRequestId);
058            }
059    
060            @Override
061            public long createStagingRequest(long groupId, java.lang.String checksum)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _stagingService.createStagingRequest(groupId, checksum);
065            }
066    
067            @Override
068            public void publishStagingRequest(long stagingRequestId,
069                    boolean privateLayout,
070                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
071                    throws com.liferay.portal.kernel.exception.PortalException,
072                            com.liferay.portal.kernel.exception.SystemException {
073                    _stagingService.publishStagingRequest(stagingRequestId, privateLayout,
074                            parameterMap);
075            }
076    
077            @Override
078            public void updateStagingRequest(long stagingRequestId,
079                    java.lang.String fileName, byte[] bytes)
080                    throws com.liferay.portal.kernel.exception.PortalException,
081                            com.liferay.portal.kernel.exception.SystemException {
082                    _stagingService.updateStagingRequest(stagingRequestId, fileName, bytes);
083            }
084    
085            @Override
086            public com.liferay.portal.kernel.lar.MissingReferences validateStagingRequest(
087                    long stagingRequestId, boolean privateLayout,
088                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
089                    throws com.liferay.portal.kernel.exception.PortalException,
090                            com.liferay.portal.kernel.exception.SystemException {
091                    return _stagingService.validateStagingRequest(stagingRequestId,
092                            privateLayout, parameterMap);
093            }
094    
095            /**
096             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
097             */
098            public StagingService getWrappedStagingService() {
099                    return _stagingService;
100            }
101    
102            /**
103             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
104             */
105            public void setWrappedStagingService(StagingService stagingService) {
106                    _stagingService = stagingService;
107            }
108    
109            @Override
110            public StagingService getWrappedService() {
111                    return _stagingService;
112            }
113    
114            @Override
115            public void setWrappedService(StagingService stagingService) {
116                    _stagingService = stagingService;
117            }
118    
119            private StagingService _stagingService;
120    }