1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.documentlibrary.service;
24  
25  
26  /**
27   * <a href="DLFileShortcutLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link DLFileShortcutLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       DLFileShortcutLocalService
40   * @generated
41   */
42  public class DLFileShortcutLocalServiceWrapper
43      implements DLFileShortcutLocalService {
44      public DLFileShortcutLocalServiceWrapper(
45          DLFileShortcutLocalService dlFileShortcutLocalService) {
46          _dlFileShortcutLocalService = dlFileShortcutLocalService;
47      }
48  
49      public com.liferay.portlet.documentlibrary.model.DLFileShortcut addDLFileShortcut(
50          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
51          throws com.liferay.portal.SystemException {
52          return _dlFileShortcutLocalService.addDLFileShortcut(dlFileShortcut);
53      }
54  
55      public com.liferay.portlet.documentlibrary.model.DLFileShortcut createDLFileShortcut(
56          long fileShortcutId) {
57          return _dlFileShortcutLocalService.createDLFileShortcut(fileShortcutId);
58      }
59  
60      public void deleteDLFileShortcut(long fileShortcutId)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _dlFileShortcutLocalService.deleteDLFileShortcut(fileShortcutId);
64      }
65  
66      public void deleteDLFileShortcut(
67          com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
68          throws com.liferay.portal.SystemException {
69          _dlFileShortcutLocalService.deleteDLFileShortcut(dlFileShortcut);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _dlFileShortcutLocalService.dynamicQuery(dynamicQuery, start, end);
82      }
83  
84      public com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcut(
85          long fileShortcutId)
86          throws com.liferay.portal.PortalException,
87              com.liferay.portal.SystemException {
88          return _dlFileShortcutLocalService.getDLFileShortcut(fileShortcutId);
89      }
90  
91      public java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getDLFileShortcuts(
92          int start, int end) throws com.liferay.portal.SystemException {
93          return _dlFileShortcutLocalService.getDLFileShortcuts(start, end);
94      }
95  
96      public int getDLFileShortcutsCount()
97          throws com.liferay.portal.SystemException {
98          return _dlFileShortcutLocalService.getDLFileShortcutsCount();
99      }
100 
101     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
102         com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
103         throws com.liferay.portal.SystemException {
104         return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut);
105     }
106 
107     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
108         com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut,
109         boolean merge) throws com.liferay.portal.SystemException {
110         return _dlFileShortcutLocalService.updateDLFileShortcut(dlFileShortcut,
111             merge);
112     }
113 
114     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
115         long userId, long folderId, long toFolderId, java.lang.String toName,
116         boolean addCommunityPermissions, boolean addGuestPermissions)
117         throws com.liferay.portal.PortalException,
118             com.liferay.portal.SystemException {
119         return _dlFileShortcutLocalService.addFileShortcut(userId, folderId,
120             toFolderId, toName, addCommunityPermissions, addGuestPermissions);
121     }
122 
123     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
124         long userId, long folderId, long toFolderId, java.lang.String toName,
125         com.liferay.portal.service.ServiceContext serviceContext)
126         throws com.liferay.portal.PortalException,
127             com.liferay.portal.SystemException {
128         return _dlFileShortcutLocalService.addFileShortcut(userId, folderId,
129             toFolderId, toName, serviceContext);
130     }
131 
132     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
133         long userId, long folderId, long toFolderId, java.lang.String toName,
134         java.lang.String[] communityPermissions,
135         java.lang.String[] guestPermissions)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         return _dlFileShortcutLocalService.addFileShortcut(userId, folderId,
139             toFolderId, toName, communityPermissions, guestPermissions);
140     }
141 
142     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
143         java.lang.String uuid, long userId, long folderId, long toFolderId,
144         java.lang.String toName, boolean addCommunityPermissions,
145         boolean addGuestPermissions)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
149             folderId, toFolderId, toName, addCommunityPermissions,
150             addGuestPermissions);
151     }
152 
153     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
154         java.lang.String uuid, long userId, long folderId, long toFolderId,
155         java.lang.String toName, java.lang.Boolean addCommunityPermissions,
156         java.lang.Boolean addGuestPermissions,
157         java.lang.String[] communityPermissions,
158         java.lang.String[] guestPermissions)
159         throws com.liferay.portal.PortalException,
160             com.liferay.portal.SystemException {
161         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
162             folderId, toFolderId, toName, addCommunityPermissions,
163             addGuestPermissions, communityPermissions, guestPermissions);
164     }
165 
166     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
167         java.lang.String uuid, long userId, long folderId, long toFolderId,
168         java.lang.String toName,
169         com.liferay.portal.service.ServiceContext serviceContext)
170         throws com.liferay.portal.PortalException,
171             com.liferay.portal.SystemException {
172         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
173             folderId, toFolderId, toName, serviceContext);
174     }
175 
176     public void addFileShortcutResources(
177         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
178         boolean addCommunityPermissions, boolean addGuestPermissions)
179         throws com.liferay.portal.PortalException,
180             com.liferay.portal.SystemException {
181         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
182             addCommunityPermissions, addGuestPermissions);
183     }
184 
185     public void addFileShortcutResources(
186         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
187         java.lang.String[] communityPermissions,
188         java.lang.String[] guestPermissions)
189         throws com.liferay.portal.PortalException,
190             com.liferay.portal.SystemException {
191         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
192             communityPermissions, guestPermissions);
193     }
194 
195     public void addFileShortcutResources(long fileShortcutId,
196         boolean addCommunityPermissions, boolean addGuestPermissions)
197         throws com.liferay.portal.PortalException,
198             com.liferay.portal.SystemException {
199         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
200             addCommunityPermissions, addGuestPermissions);
201     }
202 
203     public void addFileShortcutResources(long fileShortcutId,
204         java.lang.String[] communityPermissions,
205         java.lang.String[] guestPermissions)
206         throws com.liferay.portal.PortalException,
207             com.liferay.portal.SystemException {
208         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
209             communityPermissions, guestPermissions);
210     }
211 
212     public void deleteFileShortcut(
213         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
214         throws com.liferay.portal.PortalException,
215             com.liferay.portal.SystemException {
216         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcut);
217     }
218 
219     public void deleteFileShortcut(long fileShortcutId)
220         throws com.liferay.portal.PortalException,
221             com.liferay.portal.SystemException {
222         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcutId);
223     }
224 
225     public void deleteFileShortcuts(long toFolderId, java.lang.String toName)
226         throws com.liferay.portal.PortalException,
227             com.liferay.portal.SystemException {
228         _dlFileShortcutLocalService.deleteFileShortcuts(toFolderId, toName);
229     }
230 
231     public com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
232         long fileShortcutId)
233         throws com.liferay.portal.PortalException,
234             com.liferay.portal.SystemException {
235         return _dlFileShortcutLocalService.getFileShortcut(fileShortcutId);
236     }
237 
238     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
239         long userId, long fileShortcutId, long folderId, long toFolderId,
240         java.lang.String toName)
241         throws com.liferay.portal.PortalException,
242             com.liferay.portal.SystemException {
243         return _dlFileShortcutLocalService.updateFileShortcut(userId,
244             fileShortcutId, folderId, toFolderId, toName);
245     }
246 
247     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
248         long userId, long fileShortcutId, long folderId, long toFolderId,
249         java.lang.String toName,
250         com.liferay.portal.service.ServiceContext serviceContext)
251         throws com.liferay.portal.PortalException,
252             com.liferay.portal.SystemException {
253         return _dlFileShortcutLocalService.updateFileShortcut(userId,
254             fileShortcutId, folderId, toFolderId, toName, serviceContext);
255     }
256 
257     public void updateFileShortcuts(long oldToFolderId,
258         java.lang.String oldToName, long newToFolderId,
259         java.lang.String newToName) throws com.liferay.portal.SystemException {
260         _dlFileShortcutLocalService.updateFileShortcuts(oldToFolderId,
261             oldToName, newToFolderId, newToName);
262     }
263 
264     public void updateTagsAsset(long userId,
265         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
266         java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
267         throws com.liferay.portal.PortalException,
268             com.liferay.portal.SystemException {
269         _dlFileShortcutLocalService.updateTagsAsset(userId, fileShortcut,
270             tagsCategories, tagsEntries);
271     }
272 
273     public DLFileShortcutLocalService getWrappedDLFileShortcutLocalService() {
274         return _dlFileShortcutLocalService;
275     }
276 
277     private DLFileShortcutLocalService _dlFileShortcutLocalService;
278 }