001    /**
002     * Copyright (c) 2000-2010 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    /**
018     * <p>
019     * This class is a wrapper for {@link DLFileShortcutService}.
020     * </p>
021     *
022     * @author    Brian Wing Shun Chan
023     * @see       DLFileShortcutService
024     * @generated
025     */
026    public class DLFileShortcutServiceWrapper implements DLFileShortcutService {
027            public DLFileShortcutServiceWrapper(
028                    DLFileShortcutService dlFileShortcutService) {
029                    _dlFileShortcutService = dlFileShortcutService;
030            }
031    
032            public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
033                    long groupId, long folderId, long toFolderId, java.lang.String toName,
034                    com.liferay.portal.service.ServiceContext serviceContext)
035                    throws com.liferay.portal.kernel.exception.PortalException,
036                            com.liferay.portal.kernel.exception.SystemException {
037                    return _dlFileShortcutService.addFileShortcut(groupId, folderId,
038                            toFolderId, toName, serviceContext);
039            }
040    
041            public void deleteFileShortcut(long fileShortcutId)
042                    throws com.liferay.portal.kernel.exception.PortalException,
043                            com.liferay.portal.kernel.exception.SystemException {
044                    _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
045            }
046    
047            public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
048                    long fileShortcutId)
049                    throws com.liferay.portal.kernel.exception.PortalException,
050                            com.liferay.portal.kernel.exception.SystemException {
051                    return _dlFileShortcutService.getFileShortcut(fileShortcutId);
052            }
053    
054            public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
055                    long fileShortcutId, long folderId, long toFolderId,
056                    java.lang.String toName,
057                    com.liferay.portal.service.ServiceContext serviceContext)
058                    throws com.liferay.portal.kernel.exception.PortalException,
059                            com.liferay.portal.kernel.exception.SystemException {
060                    return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
061                            folderId, toFolderId, toName, serviceContext);
062            }
063    
064            public DLFileShortcutService getWrappedDLFileShortcutService() {
065                    return _dlFileShortcutService;
066            }
067    
068            private DLFileShortcutService _dlFileShortcutService;
069    }