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.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.PortalException,
54              com.liferay.portal.SystemException {
55          _dlFileShortcutLocalService.deleteDLFileShortcut(fileShortcutId);
56      }
57  
58      public void deleteDLFileShortcut(
59          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
60          throws com.liferay.portal.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.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.SystemException {
73          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start, end);
74      }
75  
76      public java.util.List<Object> dynamicQuery(
77          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
78          int end,
79          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
80          throws com.liferay.portal.SystemException {
81          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start,
82              end, orderByComparator);
83      }
84  
85      public int dynamicQueryCount(
86          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
87          throws com.liferay.portal.SystemException {
88          return _dlFileShortcutLocalService.dynamicQueryCount(dynamicQuery);
89      }
90  
91      public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcut(
92          long fileShortcutId)
93          throws com.liferay.portal.PortalException,
94              com.liferay.portal.SystemException {
95          return _dlFileShortcutLocalService.getDLFileShortcut(fileShortcutId);
96      }
97  
98      public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getDLFileShortcuts(
99          int start, int end) throws com.liferay.portal.SystemException {
100         return _dlFileShortcutLocalService.getDLFileShortcuts(start, end);
101     }
102 
103     public int getDLFileShortcutsCount()
104         throws com.liferay.portal.SystemException {
105         return _dlFileShortcutLocalService.getDLFileShortcutsCount();
106     }
107 
108     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
109         com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
110         throws com.liferay.portal.SystemException {
111         return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut);
112     }
113 
114     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
115         com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
116         boolean merge) throws com.liferay.portal.SystemException {
117         return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut,
118             merge);
119     }
120 
121     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
122         long userId, long folderId, long toFolderId, java.lang.String toName,
123         boolean addCommunityPermissions, boolean addGuestPermissions)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException {
126         return _dlFileShortcutLocalService.addFileShortcut(userId, folderId,
127             toFolderId, toName, addCommunityPermissions, addGuestPermissions);
128     }
129 
130     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
131         long userId, long folderId, long toFolderId, java.lang.String toName,
132         com.liferay.portal.service.ServiceContext serviceContext)
133         throws com.liferay.portal.PortalException,
134             com.liferay.portal.SystemException {
135         return _dlFileShortcutLocalService.addFileShortcut(userId, folderId,
136             toFolderId, toName, serviceContext);
137     }
138 
139     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
140         long userId, long folderId, long toFolderId, java.lang.String toName,
141         java.lang.String[] communityPermissions,
142         java.lang.String[] guestPermissions)
143         throws com.liferay.portal.PortalException,
144             com.liferay.portal.SystemException {
145         return _dlFileShortcutLocalService.addFileShortcut(userId, folderId,
146             toFolderId, toName, communityPermissions, guestPermissions);
147     }
148 
149     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
150         java.lang.String uuid, long userId, long folderId, long toFolderId,
151         java.lang.String toName, boolean addCommunityPermissions,
152         boolean addGuestPermissions)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException {
155         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
156             folderId, toFolderId, toName, addCommunityPermissions,
157             addGuestPermissions);
158     }
159 
160     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
161         java.lang.String uuid, long userId, long folderId, long toFolderId,
162         java.lang.String toName, java.lang.Boolean addCommunityPermissions,
163         java.lang.Boolean addGuestPermissions,
164         java.lang.String[] communityPermissions,
165         java.lang.String[] guestPermissions)
166         throws com.liferay.portal.PortalException,
167             com.liferay.portal.SystemException {
168         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
169             folderId, toFolderId, toName, addCommunityPermissions,
170             addGuestPermissions, communityPermissions, guestPermissions);
171     }
172 
173     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
174         java.lang.String uuid, long userId, long folderId, long toFolderId,
175         java.lang.String toName,
176         com.liferay.portal.service.ServiceContext serviceContext)
177         throws com.liferay.portal.PortalException,
178             com.liferay.portal.SystemException {
179         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
180             folderId, toFolderId, toName, serviceContext);
181     }
182 
183     public void addFileShortcutResources(
184         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
185         boolean addCommunityPermissions, boolean addGuestPermissions)
186         throws com.liferay.portal.PortalException,
187             com.liferay.portal.SystemException {
188         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
189             addCommunityPermissions, addGuestPermissions);
190     }
191 
192     public void addFileShortcutResources(
193         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
194         java.lang.String[] communityPermissions,
195         java.lang.String[] guestPermissions)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
199             communityPermissions, guestPermissions);
200     }
201 
202     public void addFileShortcutResources(long fileShortcutId,
203         boolean addCommunityPermissions, boolean addGuestPermissions)
204         throws com.liferay.portal.PortalException,
205             com.liferay.portal.SystemException {
206         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
207             addCommunityPermissions, addGuestPermissions);
208     }
209 
210     public void addFileShortcutResources(long fileShortcutId,
211         java.lang.String[] communityPermissions,
212         java.lang.String[] guestPermissions)
213         throws com.liferay.portal.PortalException,
214             com.liferay.portal.SystemException {
215         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
216             communityPermissions, guestPermissions);
217     }
218 
219     public void deleteFileShortcut(
220         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
221         throws com.liferay.portal.PortalException,
222             com.liferay.portal.SystemException {
223         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcut);
224     }
225 
226     public void deleteFileShortcut(long fileShortcutId)
227         throws com.liferay.portal.PortalException,
228             com.liferay.portal.SystemException {
229         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcutId);
230     }
231 
232     public void deleteFileShortcuts(long toFolderId, java.lang.String toName)
233         throws com.liferay.portal.PortalException,
234             com.liferay.portal.SystemException {
235         _dlFileShortcutLocalService.deleteFileShortcuts(toFolderId, toName);
236     }
237 
238     public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
239         long fileShortcutId)
240         throws com.liferay.portal.PortalException,
241             com.liferay.portal.SystemException {
242         return _dlFileShortcutLocalService.getFileShortcut(fileShortcutId);
243     }
244 
245     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
246         long userId, long fileShortcutId, long folderId, long toFolderId,
247         java.lang.String toName)
248         throws com.liferay.portal.PortalException,
249             com.liferay.portal.SystemException {
250         return _dlFileShortcutLocalService.updateFileShortcut(userId,
251             fileShortcutId, folderId, toFolderId, toName);
252     }
253 
254     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
255         long userId, long fileShortcutId, long folderId, long toFolderId,
256         java.lang.String toName,
257         com.liferay.portal.service.ServiceContext serviceContext)
258         throws com.liferay.portal.PortalException,
259             com.liferay.portal.SystemException {
260         return _dlFileShortcutLocalService.updateFileShortcut(userId,
261             fileShortcutId, folderId, toFolderId, toName, serviceContext);
262     }
263 
264     public void updateFileShortcuts(long oldToFolderId,
265         java.lang.String oldToName, long newToFolderId,
266         java.lang.String newToName) throws com.liferay.portal.SystemException {
267         _dlFileShortcutLocalService.updateFileShortcuts(oldToFolderId,
268             oldToName, newToFolderId, newToName);
269     }
270 
271     public void updateTagsAsset(long userId,
272         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
273         java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
274         throws com.liferay.portal.PortalException,
275             com.liferay.portal.SystemException {
276         _dlFileShortcutLocalService.updateTagsAsset(userId, fileShortcut,
277             tagsCategories, tagsEntries);
278     }
279 
280     public DLFileShortcutLocalService getWrappedDLFileShortcutLocalService() {
281         return _dlFileShortcutLocalService;
282     }
283 
284     private DLFileShortcutLocalService _dlFileShortcutLocalService;
285 }