001    /**
002     * Copyright (c) 2000-present 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.document.library.kernel.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link DLTrashLocalService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DLTrashLocalService
026     * @generated
027     */
028    @ProviderType
029    public class DLTrashLocalServiceWrapper implements DLTrashLocalService,
030            ServiceWrapper<DLTrashLocalService> {
031            public DLTrashLocalServiceWrapper(DLTrashLocalService dlTrashLocalService) {
032                    _dlTrashLocalService = dlTrashLocalService;
033            }
034    
035            @Override
036            public com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryFromTrash(
037                    long userId, long repositoryId, long fileEntryId, long newFolderId,
038                    com.liferay.portal.kernel.service.ServiceContext serviceContext)
039                    throws com.liferay.portal.kernel.exception.PortalException {
040                    return _dlTrashLocalService.moveFileEntryFromTrash(userId,
041                            repositoryId, fileEntryId, newFolderId, serviceContext);
042            }
043    
044            @Override
045            public com.liferay.portal.kernel.repository.model.FileEntry moveFileEntryToTrash(
046                    long userId, long repositoryId, long fileEntryId)
047                    throws com.liferay.portal.kernel.exception.PortalException {
048                    return _dlTrashLocalService.moveFileEntryToTrash(userId, repositoryId,
049                            fileEntryId);
050            }
051    
052            /**
053            * Returns the OSGi service identifier.
054            *
055            * @return the OSGi service identifier
056            */
057            @Override
058            public java.lang.String getOSGiServiceIdentifier() {
059                    return _dlTrashLocalService.getOSGiServiceIdentifier();
060            }
061    
062            @Override
063            public void restoreFileEntryFromTrash(long userId, long repositoryId,
064                    long fileEntryId)
065                    throws com.liferay.portal.kernel.exception.PortalException {
066                    _dlTrashLocalService.restoreFileEntryFromTrash(userId, repositoryId,
067                            fileEntryId);
068            }
069    
070            @Override
071            public DLTrashLocalService getWrappedService() {
072                    return _dlTrashLocalService;
073            }
074    
075            @Override
076            public void setWrappedService(DLTrashLocalService dlTrashLocalService) {
077                    _dlTrashLocalService = dlTrashLocalService;
078            }
079    
080            private DLTrashLocalService _dlTrashLocalService;
081    }