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