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