001    /**
002     * Copyright (c) 2000-2012 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            /**
036            * Returns the Spring bean ID for this bean.
037            *
038            * @return the Spring bean ID for this bean
039            */
040            public java.lang.String getBeanIdentifier() {
041                    return _dlFileVersionService.getBeanIdentifier();
042            }
043    
044            /**
045            * Sets the Spring bean ID for this bean.
046            *
047            * @param beanIdentifier the Spring bean ID for this bean
048            */
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _dlFileVersionService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            public com.liferay.portlet.documentlibrary.model.DLFileVersion getFileVersion(
054                    long fileVersionId)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _dlFileVersionService.getFileVersion(fileVersionId);
058            }
059    
060            public com.liferay.portlet.documentlibrary.model.DLFileVersion getLatestFileVersion(
061                    long fileEntryId)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _dlFileVersionService.getLatestFileVersion(fileEntryId);
065            }
066    
067            /**
068             * @deprecated Renamed to {@link #getWrappedService}
069             */
070            public DLFileVersionService getWrappedDLFileVersionService() {
071                    return _dlFileVersionService;
072            }
073    
074            /**
075             * @deprecated Renamed to {@link #setWrappedService}
076             */
077            public void setWrappedDLFileVersionService(
078                    DLFileVersionService dlFileVersionService) {
079                    _dlFileVersionService = dlFileVersionService;
080            }
081    
082            public DLFileVersionService getWrappedService() {
083                    return _dlFileVersionService;
084            }
085    
086            public void setWrappedService(DLFileVersionService dlFileVersionService) {
087                    _dlFileVersionService = dlFileVersionService;
088            }
089    
090            private DLFileVersionService _dlFileVersionService;
091    }