1
22
23 package com.liferay.portlet.documentlibrary.service;
24
25
26
53 public class DLFileShortcutServiceUtil {
54 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
55 long folderId, long toFolderId, java.lang.String toName,
56 boolean addCommunityPermissions, boolean addGuestPermissions)
57 throws com.liferay.portal.PortalException,
58 com.liferay.portal.SystemException, java.rmi.RemoteException {
59 DLFileShortcutService dlFileShortcutService = DLFileShortcutServiceFactory.getService();
60
61 return dlFileShortcutService.addFileShortcut(folderId, toFolderId,
62 toName, addCommunityPermissions, addGuestPermissions);
63 }
64
65 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
66 long folderId, long toFolderId, java.lang.String toName,
67 java.lang.String[] communityPermissions,
68 java.lang.String[] guestPermissions)
69 throws com.liferay.portal.PortalException,
70 com.liferay.portal.SystemException, java.rmi.RemoteException {
71 DLFileShortcutService dlFileShortcutService = DLFileShortcutServiceFactory.getService();
72
73 return dlFileShortcutService.addFileShortcut(folderId, toFolderId,
74 toName, communityPermissions, guestPermissions);
75 }
76
77 public static void deleteFileShortcut(long fileShortcutId)
78 throws com.liferay.portal.PortalException,
79 com.liferay.portal.SystemException, java.rmi.RemoteException {
80 DLFileShortcutService dlFileShortcutService = DLFileShortcutServiceFactory.getService();
81
82 dlFileShortcutService.deleteFileShortcut(fileShortcutId);
83 }
84
85 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
86 long fileShortcutId)
87 throws com.liferay.portal.PortalException,
88 com.liferay.portal.SystemException, java.rmi.RemoteException {
89 DLFileShortcutService dlFileShortcutService = DLFileShortcutServiceFactory.getService();
90
91 return dlFileShortcutService.getFileShortcut(fileShortcutId);
92 }
93
94 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
95 long fileShortcutId, long folderId, long toFolderId,
96 java.lang.String toName)
97 throws com.liferay.portal.PortalException,
98 com.liferay.portal.SystemException, java.rmi.RemoteException {
99 DLFileShortcutService dlFileShortcutService = DLFileShortcutServiceFactory.getService();
100
101 return dlFileShortcutService.updateFileShortcut(fileShortcutId,
102 folderId, toFolderId, toName);
103 }
104 }