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         java.lang.String uuid, long userId, long folderId, long toFolderId,
125         java.lang.String toName, boolean addCommunityPermissions,
126         boolean addGuestPermissions)
127         throws com.liferay.portal.PortalException,
128             com.liferay.portal.SystemException {
129         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
130             folderId, toFolderId, toName, addCommunityPermissions,
131             addGuestPermissions);
132     }
133 
134     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
135         long userId, long folderId, long toFolderId, java.lang.String toName,
136         java.lang.String[] communityPermissions,
137         java.lang.String[] guestPermissions)
138         throws com.liferay.portal.PortalException,
139             com.liferay.portal.SystemException {
140         return _dlFileShortcutLocalService.addFileShortcut(userId, folderId,
141             toFolderId, toName, communityPermissions, guestPermissions);
142     }
143 
144     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
145         java.lang.String uuid, long userId, long folderId, long toFolderId,
146         java.lang.String toName, java.lang.Boolean addCommunityPermissions,
147         java.lang.Boolean addGuestPermissions,
148         java.lang.String[] communityPermissions,
149         java.lang.String[] guestPermissions)
150         throws com.liferay.portal.PortalException,
151             com.liferay.portal.SystemException {
152         return _dlFileShortcutLocalService.addFileShortcut(uuid, userId,
153             folderId, toFolderId, toName, addCommunityPermissions,
154             addGuestPermissions, communityPermissions, guestPermissions);
155     }
156 
157     public com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
158         long userId, long folderId, long toFolderId, java.lang.String toName,
159         com.liferay.portal.service.ServiceContext serviceContext)
160         throws com.liferay.portal.PortalException,
161             com.liferay.portal.SystemException {
162         return _dlFileShortcutLocalService.addFileShortcut(userId, folderId,
163             toFolderId, toName, serviceContext);
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(long fileShortcutId,
177         boolean addCommunityPermissions, boolean addGuestPermissions)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
181             addCommunityPermissions, addGuestPermissions);
182     }
183 
184     public void addFileShortcutResources(
185         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
186         boolean addCommunityPermissions, boolean addGuestPermissions)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcut,
190             addCommunityPermissions, addGuestPermissions);
191     }
192 
193     public void addFileShortcutResources(long fileShortcutId,
194         java.lang.String[] communityPermissions,
195         java.lang.String[] guestPermissions)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         _dlFileShortcutLocalService.addFileShortcutResources(fileShortcutId,
199             communityPermissions, guestPermissions);
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 deleteFileShortcut(long fileShortcutId)
213         throws com.liferay.portal.PortalException,
214             com.liferay.portal.SystemException {
215         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcutId);
216     }
217 
218     public void deleteFileShortcut(
219         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
220         throws com.liferay.portal.PortalException,
221             com.liferay.portal.SystemException {
222         _dlFileShortcutLocalService.deleteFileShortcut(fileShortcut);
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 void updateTagsAsset(long userId,
239         com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
240         java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
241         throws com.liferay.portal.PortalException,
242             com.liferay.portal.SystemException {
243         _dlFileShortcutLocalService.updateTagsAsset(userId, fileShortcut,
244             tagsCategories, tagsEntries);
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         throws com.liferay.portal.PortalException,
251             com.liferay.portal.SystemException {
252         return _dlFileShortcutLocalService.updateFileShortcut(userId,
253             fileShortcutId, folderId, toFolderId, toName);
254     }
255 
256     public com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
257         long userId, long fileShortcutId, long folderId, long toFolderId,
258         java.lang.String toName,
259         com.liferay.portal.service.ServiceContext serviceContext)
260         throws com.liferay.portal.PortalException,
261             com.liferay.portal.SystemException {
262         return _dlFileShortcutLocalService.updateFileShortcut(userId,
263             fileShortcutId, folderId, toFolderId, toName, serviceContext);
264     }
265 
266     public void updateFileShortcuts(long oldToFolderId,
267         java.lang.String oldToName, long newToFolderId,
268         java.lang.String newToName) throws com.liferay.portal.SystemException {
269         _dlFileShortcutLocalService.updateFileShortcuts(oldToFolderId,
270             oldToName, newToFolderId, newToName);
271     }
272 
273     public DLFileShortcutLocalService getWrappedDLFileShortcutLocalService() {
274         return _dlFileShortcutLocalService;
275     }
276 
277     private DLFileShortcutLocalService _dlFileShortcutLocalService;
278 }