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 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            public com.liferay.portlet.documentlibrary.model.DLSyncUpdate getDLSyncUpdate(
035                    long companyId, long repositoryId, java.util.Date lastAccessDate)
036                    throws com.liferay.portal.kernel.exception.SystemException {
037                    return _dlSyncService.getDLSyncUpdate(companyId, repositoryId,
038                            lastAccessDate);
039            }
040    
041            public java.io.InputStream getFileDeltaAsStream(long fileEntryId,
042                    java.lang.String sourceVersion, java.lang.String destinationVersion)
043                    throws com.liferay.portal.kernel.exception.PortalException,
044                            com.liferay.portal.kernel.exception.SystemException {
045                    return _dlSyncService.getFileDeltaAsStream(fileEntryId, sourceVersion,
046                            destinationVersion);
047            }
048    
049            public com.liferay.portal.kernel.repository.model.FileEntry updateFileEntry(
050                    long fileEntryId, java.lang.String sourceFileName,
051                    java.lang.String mimeType, java.lang.String title,
052                    java.lang.String description, java.lang.String changeLog,
053                    boolean majorVersion, java.io.InputStream deltaInputStream, long size,
054                    com.liferay.portal.service.ServiceContext serviceContext)
055                    throws com.liferay.portal.kernel.exception.PortalException,
056                            com.liferay.portal.kernel.exception.SystemException {
057                    return _dlSyncService.updateFileEntry(fileEntryId, sourceFileName,
058                            mimeType, title, description, changeLog, majorVersion,
059                            deltaInputStream, size, serviceContext);
060            }
061    
062            /**
063             * @deprecated Renamed to {@link #getWrappedService}
064             */
065            public DLSyncService getWrappedDLSyncService() {
066                    return _dlSyncService;
067            }
068    
069            /**
070             * @deprecated Renamed to {@link #setWrappedService}
071             */
072            public void setWrappedDLSyncService(DLSyncService dlSyncService) {
073                    _dlSyncService = dlSyncService;
074            }
075    
076            public DLSyncService getWrappedService() {
077                    return _dlSyncService;
078            }
079    
080            public void setWrappedService(DLSyncService dlSyncService) {
081                    _dlSyncService = dlSyncService;
082            }
083    
084            private DLSyncService _dlSyncService;
085    }