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="DLFileShortcutLocalServiceUtil.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 DLFileShortcutLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       DLFileShortcutLocalService
32   * @generated
33   */
34  public class DLFileShortcutLocalServiceWrapper
35      implements DLFileShortcutLocalService {
36      public DLFileShortcutLocalServiceWrapper(
37          DLFileShortcutLocalService dlFileShortcutLocalService) {
38          _dlFileShortcutLocalService = dlFileShortcutLocalService;
39      }
40  
41      public com.liferay.portlet.documentlibrary.model.DLFileShortcut addDLFileShortcut(
42          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
43          throws com.liferay.portal.kernel.exception.SystemException {
44          return _dlFileShortcutLocalService.addDLFileShortcut(dlFileShortcut);
45      }
46  
47      public com.liferay.portlet.documentlibrary.model.DLFileShortcut createDLFileShortcut(
48          long fileShortcutId) {
49          return _dlFileShortcutLocalService.createDLFileShortcut(fileShortcutId);
50      }
51  
52      public void deleteDLFileShortcut(long fileShortcutId)
53          throws com.liferay.portal.kernel.exception.PortalException,
54              com.liferay.portal.kernel.exception.SystemException {
55          _dlFileShortcutLocalService.deleteDLFileShortcut(fileShortcutId);
56      }
57  
58      public void deleteDLFileShortcut(
59          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
60          throws com.liferay.portal.kernel.exception.SystemException {
61          _dlFileShortcutLocalService.deleteDLFileShortcut(dlFileShortcut);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.kernel.exception.SystemException {
67          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.kernel.exception.SystemException {
73          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcut(
77          long fileShortcutId)
78          throws com.liferay.portal.kernel.exception.PortalException,
79              com.liferay.portal.kernel.exception.SystemException {
80          return _dlFileShortcutLocalService.getDLFileShortcut(fileShortcutId);
81      }
82  
83      public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getDLFileShortcuts(
84          int start, int end)
85          throws com.liferay.portal.kernel.exception.SystemException {
86          return _dlFileShortcutLocalService.getDLFileShortcuts(start, end);
87      }
88  
89      public int getDLFileShortcutsCount()
90          throws com.liferay.portal.kernel.exception.SystemException {
91          return _dlFileShortcutLocalService.getDLFileShortcutsCount();
92      }
93  
94      public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
95          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
96          throws com.liferay.portal.kernel.exception.SystemException {
97          return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut);
98      }
99  
100     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
101         com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
102         boolean merge)
103         throws com.liferay.portal.kernel.exception.SystemException {
104         return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut,
105             merge);
106     }
107 
108     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
109         java.lang.String uuid, long userId, long groupId, long folderId,
110         long toFolderId, java.lang.String toName,
111         com.liferay.portal.service.ServiceContext serviceContext)
112         throws com.liferay.portal.kernel.exception.PortalException,
113             com.liferay.portal.kernel.exception.SystemException {
114         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
115             groupId, folderId, toFolderId, toName, serviceContext);
116     }
117 
118     public void addFileShortcutResources(
119         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
120         boolean addCommunityPermissions, boolean addGuestPermissions)
121         throws com.liferay.portal.kernel.exception.PortalException,
122             com.liferay.portal.kernel.exception.SystemException {
123         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
124             addCommunityPermissions, addGuestPermissions);
125     }
126 
127     public void addFileShortcutResources(
128         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
129         java.lang.String[] communityPermissions,
130         java.lang.String[] guestPermissions)
131         throws com.liferay.portal.kernel.exception.PortalException,
132             com.liferay.portal.kernel.exception.SystemException {
133         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
134             communityPermissions, guestPermissions);
135     }
136 
137     public void addFileShortcutResources(long fileShortcutId,
138         boolean addCommunityPermissions, boolean addGuestPermissions)
139         throws com.liferay.portal.kernel.exception.PortalException,
140             com.liferay.portal.kernel.exception.SystemException {
141         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
142             addCommunityPermissions, addGuestPermissions);
143     }
144 
145     public void addFileShortcutResources(long fileShortcutId,
146         java.lang.String[] communityPermissions,
147         java.lang.String[] guestPermissions)
148         throws com.liferay.portal.kernel.exception.PortalException,
149             com.liferay.portal.kernel.exception.SystemException {
150         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
151             communityPermissions, guestPermissions);
152     }
153 
154     public void deleteFileShortcut(
155         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
156         throws com.liferay.portal.kernel.exception.PortalException,
157             com.liferay.portal.kernel.exception.SystemException {
158         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcut);
159     }
160 
161     public void deleteFileShortcut(long fileShortcutId)
162         throws com.liferay.portal.kernel.exception.PortalException,
163             com.liferay.portal.kernel.exception.SystemException {
164         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcutId);
165     }
166 
167     public void deleteFileShortcuts(long groupId, long toFolderId,
168         java.lang.String toName)
169         throws com.liferay.portal.kernel.exception.PortalException,
170             com.liferay.portal.kernel.exception.SystemException {
171         _dlFileShortcutLocalService.deleteFileShortcuts(groupId, toFolderId,
172             toName);
173     }
174 
175     public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
176         long fileShortcutId)
177         throws com.liferay.portal.kernel.exception.PortalException,
178             com.liferay.portal.kernel.exception.SystemException {
179         return _dlFileShortcutLocalService.getFileShortcut(fileShortcutId);
180     }
181 
182     public void updateAsset(long userId,
183         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
184         long[] assetCategoryIds, java.lang.String[] assetTagNames)
185         throws com.liferay.portal.kernel.exception.PortalException,
186             com.liferay.portal.kernel.exception.SystemException {
187         _dlFileShortcutLocalService.updateAsset(userId, fileShortcut,
188             assetCategoryIds, assetTagNames);
189     }
190 
191     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
192         long userId, long fileShortcutId, long folderId, long toFolderId,
193         java.lang.String toName,
194         com.liferay.portal.service.ServiceContext serviceContext)
195         throws com.liferay.portal.kernel.exception.PortalException,
196             com.liferay.portal.kernel.exception.SystemException {
197         return _dlFileShortcutLocalService.updateFileShortcut(userId,
198             fileShortcutId, folderId, toFolderId, toName, serviceContext);
199     }
200 
201     public void updateFileShortcuts(long groupId, long oldToFolderId,
202         java.lang.String oldToName, long newToFolderId,
203         java.lang.String newToName)
204         throws com.liferay.portal.kernel.exception.SystemException {
205         _dlFileShortcutLocalService.updateFileShortcuts(groupId, oldToFolderId,
206             oldToName, newToFolderId, newToName);
207     }
208 
209     public DLFileShortcutLocalService getWrappedDLFileShortcutLocalService() {
210         return _dlFileShortcutLocalService;
211     }
212 
213     private DLFileShortcutLocalService _dlFileShortcutLocalService;
214 }