001    /**
002     * Copyright (c) 2000-2012 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     * <p>
021     * This class is a wrapper for {@link DLFileShortcutService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       DLFileShortcutService
026     * @generated
027     */
028    public class DLFileShortcutServiceWrapper implements DLFileShortcutService,
029            ServiceWrapper<DLFileShortcutService> {
030            public DLFileShortcutServiceWrapper(
031                    DLFileShortcutService dlFileShortcutService) {
032                    _dlFileShortcutService = dlFileShortcutService;
033            }
034    
035            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
036                    long groupId, long folderId, long toFileEntryId,
037                    com.liferay.portal.service.ServiceContext serviceContext)
038                    throws com.liferay.portal.kernel.exception.PortalException,
039                            com.liferay.portal.kernel.exception.SystemException {
040                    return _dlFileShortcutService.addFileShortcut(groupId, folderId,
041                            toFileEntryId, serviceContext);
042            }
043    
044            public void deleteFileShortcut(long fileShortcutId)
045                    throws com.liferay.portal.kernel.exception.PortalException,
046                            com.liferay.portal.kernel.exception.SystemException {
047                    _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
048            }
049    
050            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
051                    long fileShortcutId)
052                    throws com.liferay.portal.kernel.exception.PortalException,
053                            com.liferay.portal.kernel.exception.SystemException {
054                    return _dlFileShortcutService.getFileShortcut(fileShortcutId);
055            }
056    
057            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
058                    long fileShortcutId, long folderId, long toFileEntryId,
059                    com.liferay.portal.service.ServiceContext serviceContext)
060                    throws com.liferay.portal.kernel.exception.PortalException,
061                            com.liferay.portal.kernel.exception.SystemException {
062                    return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
063                            folderId, toFileEntryId, serviceContext);
064            }
065    
066            /**
067             * @deprecated Renamed to {@link #getWrappedService}
068             */
069            public DLFileShortcutService getWrappedDLFileShortcutService() {
070                    return _dlFileShortcutService;
071            }
072    
073            /**
074             * @deprecated Renamed to {@link #setWrappedService}
075             */
076            public void setWrappedDLFileShortcutService(
077                    DLFileShortcutService dlFileShortcutService) {
078                    _dlFileShortcutService = dlFileShortcutService;
079            }
080    
081            public DLFileShortcutService getWrappedService() {
082                    return _dlFileShortcutService;
083            }
084    
085            public void setWrappedService(DLFileShortcutService dlFileShortcutService) {
086                    _dlFileShortcutService = dlFileShortcutService;
087            }
088    
089            private DLFileShortcutService _dlFileShortcutService;
090    }