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 DLSyncService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLSyncService
026     * @generated
027     */
028    public class DLSyncServiceWrapper implements DLSyncService,
029            ServiceWrapper<DLSyncService> {
030            public DLSyncServiceWrapper(DLSyncService dlSyncService) {
031                    _dlSyncService = dlSyncService;
032            }
033    
034            /**
035            * Returns the Spring bean ID for this bean.
036            *
037            * @return the Spring bean ID for this bean
038            */
039            public java.lang.String getBeanIdentifier() {
040                    return _dlSyncService.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            public void setBeanIdentifier(java.lang.String beanIdentifier) {
049                    _dlSyncService.setBeanIdentifier(beanIdentifier);
050            }
051    
052            public com.liferay.portlet.documentlibrary.model.DLSyncUpdate getDLSyncUpdate(
053                    long companyId, long repositoryId, java.util.Date lastAccessDate)
054                    throws com.liferay.portal.kernel.exception.PortalException,
055                            com.liferay.portal.kernel.exception.SystemException {
056                    return _dlSyncService.getDLSyncUpdate(companyId, repositoryId,
057                            lastAccessDate);
058            }
059    
060            public java.io.InputStream getFileDeltaAsStream(long fileEntryId,
061                    java.lang.String sourceVersion, java.lang.String destinationVersion)
062                    throws com.liferay.portal.kernel.exception.PortalException,
063                            com.liferay.portal.kernel.exception.SystemException {
064                    return _dlSyncService.getFileDeltaAsStream(fileEntryId, sourceVersion,
065                            destinationVersion);
066            }
067    
068            public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(
069                    long fileEntryId, java.lang.String sourceFileName,
070                    java.lang.String mimeType, java.lang.String title,
071                    java.lang.String description, java.lang.String changeLog,
072                    boolean majorVersion, java.io.InputStream deltaInputStream, long size,
073                    com.liferay.portal.service.ServiceContext serviceContext)
074                    throws com.liferay.portal.kernel.exception.PortalException,
075                            com.liferay.portal.kernel.exception.SystemException {
076                    return _dlSyncService.updateFileEntry(fileEntryId, sourceFileName,
077                            mimeType, title, description, changeLog, majorVersion,
078                            deltaInputStream, size, serviceContext);
079            }
080    
081            /**
082             * @deprecated Renamed to {@link #getWrappedService}
083             */
084            public DLSyncService getWrappedDLSyncService() {
085                    return _dlSyncService;
086            }
087    
088            /**
089             * @deprecated Renamed to {@link #setWrappedService}
090             */
091            public void setWrappedDLSyncService(DLSyncService dlSyncService) {
092                    _dlSyncService = dlSyncService;
093            }
094    
095            public DLSyncService getWrappedService() {
096                    return _dlSyncService;
097            }
098    
099            public void setWrappedService(DLSyncService dlSyncService) {
100                    _dlSyncService = dlSyncService;
101            }
102    
103            private DLSyncService _dlSyncService;
104    }