001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
013     */
014    
015    package com.liferay.portlet.documentlibrary.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link DLFileVersionService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLFileVersionService
026     * @generated
027     */
028    public class DLFileVersionServiceWrapper implements DLFileVersionService,
029            ServiceWrapper<DLFileVersionService> {
030            public DLFileVersionServiceWrapper(
031                    DLFileVersionService dlFileVersionService) {
032                    _dlFileVersionService = dlFileVersionService;
033            }
034    
035            public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(
036                    long fileVersionId)
037                    throws com.liferay.portal.kernel.exception.PortalException,
038                            com.liferay.portal.kernel.exception.SystemException {
039                    return _dlFileVersionService.getFileVersion(fileVersionId);
040            }
041    
042            public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(
043                    long fileEntryId)
044                    throws com.liferay.portal.kernel.exception.PortalException,
045                            com.liferay.portal.kernel.exception.SystemException {
046                    return _dlFileVersionService.getLatestFileVersion(fileEntryId);
047            }
048    
049            /**
050             * @deprecated Renamed to {@link #getWrappedService}
051             */
052            public DLFileVersionService getWrappedDLFileVersionService() {
053                    return _dlFileVersionService;
054            }
055    
056            /**
057             * @deprecated Renamed to {@link #setWrappedService}
058             */
059            public void setWrappedDLFileVersionService(
060                    DLFileVersionService dlFileVersionService) {
061                    _dlFileVersionService = dlFileVersionService;
062            }
063    
064            public DLFileVersionService getWrappedService() {
065                    return _dlFileVersionService;
066            }
067    
068            public void setWrappedService(DLFileVersionService dlFileVersionService) {
069                    _dlFileVersionService = dlFileVersionService;
070            }
071    
072            private DLFileVersionService _dlFileVersionService;
073    }