1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.documentlibrary.service;
16  
17  
18  /**
19   * <a href="DLFileShortcutServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link DLFileShortcutService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       DLFileShortcutService
32   * @generated
33   */
34  public class DLFileShortcutServiceWrapper implements DLFileShortcutService {
35      public DLFileShortcutServiceWrapper(
36          DLFileShortcutService dlFileShortcutService) {
37          _dlFileShortcutService = dlFileShortcutService;
38      }
39  
40      public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
41          long folderId, long toFolderId, java.lang.String toName,
42          boolean addCommunityPermissions, boolean addGuestPermissions)
43          throws com.liferay.portal.PortalException,
44              com.liferay.portal.SystemException, java.rmi.RemoteException {
45          return _dlFileShortcutService.addFileShortcut(folderId, toFolderId,
46              toName, addCommunityPermissions, addGuestPermissions);
47      }
48  
49      public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
50          long folderId, long toFolderId, java.lang.String toName,
51          java.lang.String[] communityPermissions,
52          java.lang.String[] guestPermissions)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException, java.rmi.RemoteException {
55          return _dlFileShortcutService.addFileShortcut(folderId, toFolderId,
56              toName, communityPermissions, guestPermissions);
57      }
58  
59      public void deleteFileShortcut(long fileShortcutId)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException, java.rmi.RemoteException {
62          _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
63      }
64  
65      public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
66          long fileShortcutId)
67          throws com.liferay.portal.PortalException,
68              com.liferay.portal.SystemException, java.rmi.RemoteException {
69          return _dlFileShortcutService.getFileShortcut(fileShortcutId);
70      }
71  
72      public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
73          long fileShortcutId, long folderId, long toFolderId,
74          java.lang.String toName)
75          throws com.liferay.portal.PortalException,
76              com.liferay.portal.SystemException, java.rmi.RemoteException {
77          return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
78              folderId, toFolderId, toName);
79      }
80  
81      public DLFileShortcutService getWrappedDLFileShortcutService() {
82          return _dlFileShortcutService;
83      }
84  
85      private DLFileShortcutService _dlFileShortcutService;
86  }