001    /**
002     * Copyright (c) 2000-2010 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    /**
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    }