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     * Provides a wrapper for {@link DLFileShortcutService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see DLFileShortcutService
024     * @generated
025     */
026    public class DLFileShortcutServiceWrapper implements DLFileShortcutService,
027            ServiceWrapper<DLFileShortcutService> {
028            public DLFileShortcutServiceWrapper(
029                    DLFileShortcutService dlFileShortcutService) {
030                    _dlFileShortcutService = dlFileShortcutService;
031            }
032    
033            /**
034            * Returns the Spring bean ID for this bean.
035            *
036            * @return the Spring bean ID for this bean
037            */
038            @Override
039            public java.lang.String getBeanIdentifier() {
040                    return _dlFileShortcutService.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            @Override
049            public void setBeanIdentifier(java.lang.String beanIdentifier) {
050                    _dlFileShortcutService.setBeanIdentifier(beanIdentifier);
051            }
052    
053            @Override
054            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
055                    long groupId, long folderId, long toFileEntryId,
056                    com.liferay.portal.service.ServiceContext serviceContext)
057                    throws com.liferay.portal.kernel.exception.PortalException,
058                            com.liferay.portal.kernel.exception.SystemException {
059                    return _dlFileShortcutService.addFileShortcut(groupId, folderId,
060                            toFileEntryId, serviceContext);
061            }
062    
063            @Override
064            public void deleteFileShortcut(long fileShortcutId)
065                    throws com.liferay.portal.kernel.exception.PortalException,
066                            com.liferay.portal.kernel.exception.SystemException {
067                    _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
068            }
069    
070            @Override
071            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
072                    long fileShortcutId)
073                    throws com.liferay.portal.kernel.exception.PortalException,
074                            com.liferay.portal.kernel.exception.SystemException {
075                    return _dlFileShortcutService.getFileShortcut(fileShortcutId);
076            }
077    
078            @Override
079            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
080                    long fileShortcutId, long folderId, long toFileEntryId,
081                    com.liferay.portal.service.ServiceContext serviceContext)
082                    throws com.liferay.portal.kernel.exception.PortalException,
083                            com.liferay.portal.kernel.exception.SystemException {
084                    return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
085                            folderId, toFileEntryId, serviceContext);
086            }
087    
088            /**
089             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
090             */
091            public DLFileShortcutService getWrappedDLFileShortcutService() {
092                    return _dlFileShortcutService;
093            }
094    
095            /**
096             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
097             */
098            public void setWrappedDLFileShortcutService(
099                    DLFileShortcutService dlFileShortcutService) {
100                    _dlFileShortcutService = dlFileShortcutService;
101            }
102    
103            @Override
104            public DLFileShortcutService getWrappedService() {
105                    return _dlFileShortcutService;
106            }
107    
108            @Override
109            public void setWrappedService(DLFileShortcutService dlFileShortcutService) {
110                    _dlFileShortcutService = dlFileShortcutService;
111            }
112    
113            private DLFileShortcutService _dlFileShortcutService;
114    }