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