001
014
015 package com.liferay.portlet.documentlibrary.service;
016
017
026 public class DLFolderLocalServiceWrapper implements DLFolderLocalService {
027 public DLFolderLocalServiceWrapper(
028 DLFolderLocalService dlFolderLocalService) {
029 _dlFolderLocalService = dlFolderLocalService;
030 }
031
032
039 public com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
040 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
041 throws com.liferay.portal.kernel.exception.SystemException {
042 return _dlFolderLocalService.addDLFolder(dlFolder);
043 }
044
045
051 public com.liferay.portlet.documentlibrary.model.DLFolder createDLFolder(
052 long folderId) {
053 return _dlFolderLocalService.createDLFolder(folderId);
054 }
055
056
063 public void deleteDLFolder(long folderId)
064 throws com.liferay.portal.kernel.exception.PortalException,
065 com.liferay.portal.kernel.exception.SystemException {
066 _dlFolderLocalService.deleteDLFolder(folderId);
067 }
068
069
075 public void deleteDLFolder(
076 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
077 throws com.liferay.portal.kernel.exception.SystemException {
078 _dlFolderLocalService.deleteDLFolder(dlFolder);
079 }
080
081
088 @SuppressWarnings("rawtypes")
089 public java.util.List dynamicQuery(
090 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
091 throws com.liferay.portal.kernel.exception.SystemException {
092 return _dlFolderLocalService.dynamicQuery(dynamicQuery);
093 }
094
095
108 @SuppressWarnings("rawtypes")
109 public java.util.List dynamicQuery(
110 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
111 int end) throws com.liferay.portal.kernel.exception.SystemException {
112 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end);
113 }
114
115
129 @SuppressWarnings("rawtypes")
130 public java.util.List dynamicQuery(
131 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
132 int end,
133 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
134 throws com.liferay.portal.kernel.exception.SystemException {
135 return _dlFolderLocalService.dynamicQuery(dynamicQuery, start, end,
136 orderByComparator);
137 }
138
139
146 public long dynamicQueryCount(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
148 throws com.liferay.portal.kernel.exception.SystemException {
149 return _dlFolderLocalService.dynamicQueryCount(dynamicQuery);
150 }
151
152
160 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolder(
161 long folderId)
162 throws com.liferay.portal.kernel.exception.PortalException,
163 com.liferay.portal.kernel.exception.SystemException {
164 return _dlFolderLocalService.getDLFolder(folderId);
165 }
166
167
176 public com.liferay.portlet.documentlibrary.model.DLFolder getDLFolderByUuidAndGroupId(
177 java.lang.String uuid, long groupId)
178 throws com.liferay.portal.kernel.exception.PortalException,
179 com.liferay.portal.kernel.exception.SystemException {
180 return _dlFolderLocalService.getDLFolderByUuidAndGroupId(uuid, groupId);
181 }
182
183
195 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
196 int start, int end)
197 throws com.liferay.portal.kernel.exception.SystemException {
198 return _dlFolderLocalService.getDLFolders(start, end);
199 }
200
201
207 public int getDLFoldersCount()
208 throws com.liferay.portal.kernel.exception.SystemException {
209 return _dlFolderLocalService.getDLFoldersCount();
210 }
211
212
219 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
220 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
221 throws com.liferay.portal.kernel.exception.SystemException {
222 return _dlFolderLocalService.updateDLFolder(dlFolder);
223 }
224
225
233 public com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
234 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder,
235 boolean merge)
236 throws com.liferay.portal.kernel.exception.SystemException {
237 return _dlFolderLocalService.updateDLFolder(dlFolder, merge);
238 }
239
240 public com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
241 long userId, long groupId, long parentFolderId, java.lang.String name,
242 java.lang.String description,
243 com.liferay.portal.service.ServiceContext serviceContext)
244 throws com.liferay.portal.kernel.exception.PortalException,
245 com.liferay.portal.kernel.exception.SystemException {
246 return _dlFolderLocalService.addFolder(userId, groupId, parentFolderId,
247 name, description, serviceContext);
248 }
249
250 public void addFolderResources(
251 com.liferay.portlet.documentlibrary.model.DLFolder folder,
252 boolean addCommunityPermissions, boolean addGuestPermissions)
253 throws com.liferay.portal.kernel.exception.PortalException,
254 com.liferay.portal.kernel.exception.SystemException {
255 _dlFolderLocalService.addFolderResources(folder,
256 addCommunityPermissions, addGuestPermissions);
257 }
258
259 public void addFolderResources(
260 com.liferay.portlet.documentlibrary.model.DLFolder folder,
261 java.lang.String[] communityPermissions,
262 java.lang.String[] guestPermissions)
263 throws com.liferay.portal.kernel.exception.PortalException,
264 com.liferay.portal.kernel.exception.SystemException {
265 _dlFolderLocalService.addFolderResources(folder, communityPermissions,
266 guestPermissions);
267 }
268
269 public void addFolderResources(long folderId,
270 boolean addCommunityPermissions, boolean addGuestPermissions)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 _dlFolderLocalService.addFolderResources(folderId,
274 addCommunityPermissions, addGuestPermissions);
275 }
276
277 public void addFolderResources(long folderId,
278 java.lang.String[] communityPermissions,
279 java.lang.String[] guestPermissions)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 _dlFolderLocalService.addFolderResources(folderId,
283 communityPermissions, guestPermissions);
284 }
285
286 public void deleteFolder(
287 com.liferay.portlet.documentlibrary.model.DLFolder folder)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 _dlFolderLocalService.deleteFolder(folder);
291 }
292
293 public void deleteFolder(long folderId)
294 throws com.liferay.portal.kernel.exception.PortalException,
295 com.liferay.portal.kernel.exception.SystemException {
296 _dlFolderLocalService.deleteFolder(folderId);
297 }
298
299 public void deleteFolders(long groupId)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 _dlFolderLocalService.deleteFolders(groupId);
303 }
304
305 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getCompanyFolders(
306 long companyId, int start, int end)
307 throws com.liferay.portal.kernel.exception.SystemException {
308 return _dlFolderLocalService.getCompanyFolders(companyId, start, end);
309 }
310
311 public int getCompanyFoldersCount(long companyId)
312 throws com.liferay.portal.kernel.exception.SystemException {
313 return _dlFolderLocalService.getCompanyFoldersCount(companyId);
314 }
315
316 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
317 long groupId, java.util.List<java.lang.Long> folderIds, int status,
318 int start, int end)
319 throws com.liferay.portal.kernel.exception.SystemException {
320 return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
321 folderIds, status, start, end);
322 }
323
324 public java.util.List<java.lang.Object> getFileEntriesAndFileShortcuts(
325 long groupId, long folderId, int status, int start, int end)
326 throws com.liferay.portal.kernel.exception.SystemException {
327 return _dlFolderLocalService.getFileEntriesAndFileShortcuts(groupId,
328 folderId, status, start, end);
329 }
330
331 public int getFileEntriesAndFileShortcutsCount(long groupId,
332 java.util.List<java.lang.Long> folderIds, int status)
333 throws com.liferay.portal.kernel.exception.SystemException {
334 return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
335 folderIds, status);
336 }
337
338 public int getFileEntriesAndFileShortcutsCount(long groupId, long folderId,
339 int status) throws com.liferay.portal.kernel.exception.SystemException {
340 return _dlFolderLocalService.getFileEntriesAndFileShortcutsCount(groupId,
341 folderId, status);
342 }
343
344 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
345 long folderId)
346 throws com.liferay.portal.kernel.exception.PortalException,
347 com.liferay.portal.kernel.exception.SystemException {
348 return _dlFolderLocalService.getFolder(folderId);
349 }
350
351 public com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
352 long groupId, long parentFolderId, java.lang.String name)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException {
355 return _dlFolderLocalService.getFolder(groupId, parentFolderId, name);
356 }
357
358 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
359 long companyId)
360 throws com.liferay.portal.kernel.exception.SystemException {
361 return _dlFolderLocalService.getFolders(companyId);
362 }
363
364 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
365 long groupId, long parentFolderId)
366 throws com.liferay.portal.kernel.exception.SystemException {
367 return _dlFolderLocalService.getFolders(groupId, parentFolderId);
368 }
369
370 public java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
371 long groupId, long parentFolderId, int start, int end)
372 throws com.liferay.portal.kernel.exception.SystemException {
373 return _dlFolderLocalService.getFolders(groupId, parentFolderId, start,
374 end);
375 }
376
377 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
378 long groupId, java.util.List<java.lang.Long> folderIds, int status,
379 int start, int end)
380 throws com.liferay.portal.kernel.exception.SystemException {
381 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
382 folderIds, status, start, end);
383 }
384
385 public java.util.List<java.lang.Object> getFoldersAndFileEntriesAndFileShortcuts(
386 long groupId, long folderId, int status, int start, int end)
387 throws com.liferay.portal.kernel.exception.SystemException {
388 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcuts(groupId,
389 folderId, status, start, end);
390 }
391
392 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
393 java.util.List<java.lang.Long> folderIds, int status)
394 throws com.liferay.portal.kernel.exception.SystemException {
395 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
396 folderIds, status);
397 }
398
399 public int getFoldersAndFileEntriesAndFileShortcutsCount(long groupId,
400 long folderId, int status)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return _dlFolderLocalService.getFoldersAndFileEntriesAndFileShortcutsCount(groupId,
403 folderId, status);
404 }
405
406 public int getFoldersCount(long groupId, long parentFolderId)
407 throws com.liferay.portal.kernel.exception.SystemException {
408 return _dlFolderLocalService.getFoldersCount(groupId, parentFolderId);
409 }
410
411 public void getSubfolderIds(java.util.List<java.lang.Long> folderIds,
412 long groupId, long folderId)
413 throws com.liferay.portal.kernel.exception.SystemException {
414 _dlFolderLocalService.getSubfolderIds(folderIds, groupId, folderId);
415 }
416
417 public com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
418 long folderId, long parentFolderId, java.lang.String name,
419 java.lang.String description,
420 com.liferay.portal.service.ServiceContext serviceContext)
421 throws com.liferay.portal.kernel.exception.PortalException,
422 com.liferay.portal.kernel.exception.SystemException {
423 return _dlFolderLocalService.updateFolder(folderId, parentFolderId,
424 name, description, serviceContext);
425 }
426
427 public DLFolderLocalService getWrappedDLFolderLocalService() {
428 return _dlFolderLocalService;
429 }
430
431 private DLFolderLocalService _dlFolderLocalService;
432 }