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.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    }