1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.documentlibrary.service;
16  
17  /**
18   * <a href="DLFileShortcutServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link DLFileShortcutService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       DLFileShortcutService
31   * @generated
32   */
33  public class DLFileShortcutServiceWrapper implements DLFileShortcutService {
34      public DLFileShortcutServiceWrapper(
35          DLFileShortcutService dlFileShortcutService) {
36          _dlFileShortcutService = dlFileShortcutService;
37      }
38  
39      public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
40          long folderId, long toFolderId, java.lang.String toName,
41          boolean addCommunityPermissions, boolean addGuestPermissions)
42          throws com.liferay.portal.PortalException,
43              com.liferay.portal.SystemException {
44          return _dlFileShortcutService.addFileShortcut(folderId, toFolderId,
45              toName, addCommunityPermissions, addGuestPermissions);
46      }
47  
48      public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
49          long folderId, long toFolderId, java.lang.String toName,
50          com.liferay.portal.service.ServiceContext serviceContext)
51          throws com.liferay.portal.PortalException,
52              com.liferay.portal.SystemException {
53          return _dlFileShortcutService.addFileShortcut(folderId, toFolderId,
54              toName, serviceContext);
55      }
56  
57      public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
58          long folderId, long toFolderId, java.lang.String toName,
59          java.lang.String[] communityPermissions,
60          java.lang.String[] guestPermissions)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          return _dlFileShortcutService.addFileShortcut(folderId, toFolderId,
64              toName, communityPermissions, guestPermissions);
65      }
66  
67      public void deleteFileShortcut(long fileShortcutId)
68          throws com.liferay.portal.PortalException,
69              com.liferay.portal.SystemException {
70          _dlFileShortcutService.deleteFileShortcut(fileShortcutId);
71      }
72  
73      public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
74          long fileShortcutId)
75          throws com.liferay.portal.PortalException,
76              com.liferay.portal.SystemException {
77          return _dlFileShortcutService.getFileShortcut(fileShortcutId);
78      }
79  
80      public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
81          long fileShortcutId, long folderId, long toFolderId,
82          java.lang.String toName)
83          throws com.liferay.portal.PortalException,
84              com.liferay.portal.SystemException {
85          return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
86              folderId, toFolderId, toName);
87      }
88  
89      public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
90          long fileShortcutId, long folderId, long toFolderId,
91          java.lang.String toName,
92          com.liferay.portal.service.ServiceContext serviceContext)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _dlFileShortcutService.updateFileShortcut(fileShortcutId,
96              folderId, toFolderId, toName, serviceContext);
97      }
98  
99      public DLFileShortcutService getWrappedDLFileShortcutService() {
100         return _dlFileShortcutService;
101     }
102 
103     private DLFileShortcutService _dlFileShortcutService;
104 }