001    /**
002     * Copyright (c) 2000-2011 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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    }