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    /**
018     * Provides a wrapper for {@link StagingService}.
019     *
020     * @author Brian Wing Shun Chan
021     * @see StagingService
022     * @generated
023     */
024    public class StagingServiceWrapper implements StagingService,
025            ServiceWrapper<StagingService> {
026            public StagingServiceWrapper(StagingService stagingService) {
027                    _stagingService = stagingService;
028            }
029    
030            /**
031            * Returns the Spring bean ID for this bean.
032            *
033            * @return the Spring bean ID for this bean
034            */
035            @Override
036            public java.lang.String getBeanIdentifier() {
037                    return _stagingService.getBeanIdentifier();
038            }
039    
040            /**
041            * Sets the Spring bean ID for this bean.
042            *
043            * @param beanIdentifier the Spring bean ID for this bean
044            */
045            @Override
046            public void setBeanIdentifier(java.lang.String beanIdentifier) {
047                    _stagingService.setBeanIdentifier(beanIdentifier);
048            }
049    
050            @Override
051            public void cleanUpStagingRequest(long stagingRequestId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    _stagingService.cleanUpStagingRequest(stagingRequestId);
055            }
056    
057            @Override
058            public long createStagingRequest(long groupId, java.lang.String checksum)
059                    throws com.liferay.portal.kernel.exception.PortalException,
060                            com.liferay.portal.kernel.exception.SystemException {
061                    return _stagingService.createStagingRequest(groupId, checksum);
062            }
063    
064            @Override
065            public void publishStagingRequest(long stagingRequestId,
066                    boolean privateLayout,
067                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    _stagingService.publishStagingRequest(stagingRequestId, privateLayout,
071                            parameterMap);
072            }
073    
074            @Override
075            public void updateStagingRequest(long stagingRequestId,
076                    java.lang.String fileName, byte[] bytes)
077                    throws com.liferay.portal.kernel.exception.PortalException,
078                            com.liferay.portal.kernel.exception.SystemException {
079                    _stagingService.updateStagingRequest(stagingRequestId, fileName, bytes);
080            }
081    
082            @Override
083            public com.liferay.portal.kernel.lar.MissingReferences validateStagingRequest(
084                    long stagingRequestId, boolean privateLayout,
085                    java.util.Map<java.lang.String, java.lang.String[]> parameterMap)
086                    throws com.liferay.portal.kernel.exception.PortalException,
087                            com.liferay.portal.kernel.exception.SystemException {
088                    return _stagingService.validateStagingRequest(stagingRequestId,
089                            privateLayout, parameterMap);
090            }
091    
092            /**
093             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
094             */
095            public StagingService getWrappedStagingService() {
096                    return _stagingService;
097            }
098    
099            /**
100             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
101             */
102            public void setWrappedStagingService(StagingService stagingService) {
103                    _stagingService = stagingService;
104            }
105    
106            @Override
107            public StagingService getWrappedService() {
108                    return _stagingService;
109            }
110    
111            @Override
112            public void setWrappedService(StagingService stagingService) {
113                    _stagingService = stagingService;
114            }
115    
116            private StagingService _stagingService;
117    }