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.portlet.documentlibrary.service;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.service.ServiceWrapper;
020    
021    /**
022     * Provides a wrapper for {@link DLFileShortcutService}.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DLFileShortcutService
026     * @generated
027     */
028    @ProviderType
029    public class DLFileShortcutServiceWrapper implements DLFileShortcutService,
030            ServiceWrapper<DLFileShortcutService> {
031            public DLFileShortcutServiceWrapper(
032                    DLFileShortcutService dlFileShortcutService) {
033                    _dlFileShortcutService = dlFileShortcutService;
034            }
035    
036            @Override
037            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
038                    long groupId, long repositoryId, long folderId, long toFileEntryId,
039                    com.liferay.portal.service.ServiceContext serviceContext)
040                    throws com.liferay.portal.kernel.exception.PortalException {
041                    return _dlFileShortcutService.addFileShortcut(groupId, repositoryId,
042                            folderId, toFileEntryId, serviceContext);
043            }
044    
045            @Override
046            public void deleteFileShortcut(long fileShortcutId)
047                    throws com.liferay.portal.kernel.exception.PortalException {
048                    _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
049            }
050    
051            @Override
052            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
053                    long fileShortcutId)
054                    throws com.liferay.portal.kernel.exception.PortalException {
055                    return _dlFileShortcutService.getFileShortcut(fileShortcutId);
056            }
057    
058            /**
059            * Returns the OSGi service identifier.
060            *
061            * @return the OSGi service identifier
062            */
063            @Override
064            public java.lang.String getOSGiServiceIdentifier() {
065                    return _dlFileShortcutService.getOSGiServiceIdentifier();
066            }
067    
068            @Override
069            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
070                    long fileShortcutId, long repositoryId, long folderId,
071                    long toFileEntryId,
072                    com.liferay.portal.service.ServiceContext serviceContext)
073                    throws com.liferay.portal.kernel.exception.PortalException {
074                    return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
075                            repositoryId, folderId, toFileEntryId, serviceContext);
076            }
077    
078            @Override
079            public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
080                    throws com.liferay.portal.kernel.exception.PortalException {
081                    _dlFileShortcutService.updateFileShortcuts(oldToFileEntryId,
082                            newToFileEntryId);
083            }
084    
085            @Override
086            public DLFileShortcutService getWrappedService() {
087                    return _dlFileShortcutService;
088            }
089    
090            @Override
091            public void setWrappedService(DLFileShortcutService dlFileShortcutService) {
092                    _dlFileShortcutService = dlFileShortcutService;
093            }
094    
095            private DLFileShortcutService _dlFileShortcutService;
096    }