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 {
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          com.liferay.portal.service.ServiceContext serviceContext)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          return _dlFileShortcutService.addFileShortcut(folderId, toFolderId,
55              toName, serviceContext);
56      }
57  
58      public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
59          long folderId, long toFolderId, java.lang.String toName,
60          java.lang.String[] communityPermissions,
61          java.lang.String[] guestPermissions)
62          throws com.liferay.portal.PortalException,
63              com.liferay.portal.SystemException {
64          return _dlFileShortcutService.addFileShortcut(folderId, toFolderId,
65              toName, communityPermissions, guestPermissions);
66      }
67  
68      public void deleteFileShortcut(long fileShortcutId)
69          throws com.liferay.portal.PortalException,
70              com.liferay.portal.SystemException {
71          _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
72      }
73  
74      public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
75          long fileShortcutId)
76          throws com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException {
78          return _dlFileShortcutService.getFileShortcut(fileShortcutId);
79      }
80  
81      public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
82          long fileShortcutId, long folderId, long toFolderId,
83          java.lang.String toName)
84          throws com.liferay.portal.PortalException,
85              com.liferay.portal.SystemException {
86          return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
87              folderId, toFolderId, toName);
88      }
89  
90      public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
91          long fileShortcutId, long folderId, long toFolderId,
92          java.lang.String toName,
93          com.liferay.portal.service.ServiceContext serviceContext)
94          throws com.liferay.portal.PortalException,
95              com.liferay.portal.SystemException {
96          return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
97              folderId, toFolderId, toName, serviceContext);
98      }
99  
100     public DLFileShortcutService getWrappedDLFileShortcutService() {
101         return _dlFileShortcutService;
102     }
103 
104     private DLFileShortcutService _dlFileShortcutService;
105 }