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            /**
052            * Returns the Spring bean ID for this bean.
053            *
054            * @return the Spring bean ID for this bean
055            */
056            @Override
057            public java.lang.String getBeanIdentifier() {
058                    return _dlFileShortcutService.getBeanIdentifier();
059            }
060    
061            @Override
062            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
063                    long fileShortcutId)
064                    throws com.liferay.portal.kernel.exception.PortalException {
065                    return _dlFileShortcutService.getFileShortcut(fileShortcutId);
066            }
067    
068            /**
069            * Sets the Spring bean ID for this bean.
070            *
071            * @param beanIdentifier the Spring bean ID for this bean
072            */
073            @Override
074            public void setBeanIdentifier(java.lang.String beanIdentifier) {
075                    _dlFileShortcutService.setBeanIdentifier(beanIdentifier);
076            }
077    
078            @Override
079            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
080                    long fileShortcutId, long repositoryId, long folderId,
081                    long toFileEntryId,
082                    com.liferay.portal.service.ServiceContext serviceContext)
083                    throws com.liferay.portal.kernel.exception.PortalException {
084                    return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
085                            repositoryId, folderId, toFileEntryId, serviceContext);
086            }
087    
088            @Override
089            public void updateFileShortcuts(long oldToFileEntryId, long newToFileEntryId)
090                    throws com.liferay.portal.kernel.exception.PortalException {
091                    _dlFileShortcutService.updateFileShortcuts(oldToFileEntryId,
092                            newToFileEntryId);
093            }
094    
095            /**
096             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
097             */
098            @Deprecated
099            public DLFileShortcutService getWrappedDLFileShortcutService() {
100                    return _dlFileShortcutService;
101            }
102    
103            /**
104             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
105             */
106            @Deprecated
107            public void setWrappedDLFileShortcutService(
108                    DLFileShortcutService dlFileShortcutService) {
109                    _dlFileShortcutService = dlFileShortcutService;
110            }
111    
112            @Override
113            public DLFileShortcutService getWrappedService() {
114                    return _dlFileShortcutService;
115            }
116    
117            @Override
118            public void setWrappedService(DLFileShortcutService dlFileShortcutService) {
119                    _dlFileShortcutService = dlFileShortcutService;
120            }
121    
122            private DLFileShortcutService _dlFileShortcutService;
123    }