1
22
23 package com.liferay.portlet.documentlibrary.service;
24
25
26
47 public class DLFileShortcutLocalServiceUtil {
48 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut addDLFileShortcut(
49 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
50 throws com.liferay.portal.SystemException {
51 return _service.addDLFileShortcut(dlFileShortcut);
52 }
53
54 public static void deleteDLFileShortcut(long fileShortcutId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteDLFileShortcut(fileShortcutId);
58 }
59
60 public static void deleteDLFileShortcut(
61 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
62 throws com.liferay.portal.SystemException {
63 _service.deleteDLFileShortcut(dlFileShortcut);
64 }
65
66 public static java.util.List<Object> dynamicQuery(
67 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
68 throws com.liferay.portal.SystemException {
69 return _service.dynamicQuery(dynamicQuery);
70 }
71
72 public static java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
74 int end) throws com.liferay.portal.SystemException {
75 return _service.dynamicQuery(dynamicQuery, start, end);
76 }
77
78 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut getDLFileShortcut(
79 long fileShortcutId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getDLFileShortcut(fileShortcutId);
83 }
84
85 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFileShortcut> getDLFileShortcuts(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getDLFileShortcuts(start, end);
88 }
89
90 public static int getDLFileShortcutsCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getDLFileShortcutsCount();
93 }
94
95 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut updateDLFileShortcut(
96 com.liferay.portlet.documentlibrary.model.DLFileShortcut dlFileShortcut)
97 throws com.liferay.portal.SystemException {
98 return _service.updateDLFileShortcut(dlFileShortcut);
99 }
100
101 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
102 long userId, long folderId, long toFolderId, java.lang.String toName,
103 boolean addCommunityPermissions, boolean addGuestPermissions)
104 throws com.liferay.portal.PortalException,
105 com.liferay.portal.SystemException {
106 return _service.addFileShortcut(userId, folderId, toFolderId, toName,
107 addCommunityPermissions, addGuestPermissions);
108 }
109
110 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
111 java.lang.String uuid, long userId, long folderId, long toFolderId,
112 java.lang.String toName, boolean addCommunityPermissions,
113 boolean addGuestPermissions)
114 throws com.liferay.portal.PortalException,
115 com.liferay.portal.SystemException {
116 return _service.addFileShortcut(uuid, userId, folderId, toFolderId,
117 toName, addCommunityPermissions, addGuestPermissions);
118 }
119
120 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
121 long userId, long folderId, long toFolderId, java.lang.String toName,
122 java.lang.String[] communityPermissions,
123 java.lang.String[] guestPermissions)
124 throws com.liferay.portal.PortalException,
125 com.liferay.portal.SystemException {
126 return _service.addFileShortcut(userId, folderId, toFolderId, toName,
127 communityPermissions, guestPermissions);
128 }
129
130 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut addFileShortcut(
131 java.lang.String uuid, long userId, long folderId, long toFolderId,
132 java.lang.String toName, java.lang.Boolean addCommunityPermissions,
133 java.lang.Boolean addGuestPermissions,
134 java.lang.String[] communityPermissions,
135 java.lang.String[] guestPermissions)
136 throws com.liferay.portal.PortalException,
137 com.liferay.portal.SystemException {
138 return _service.addFileShortcut(uuid, userId, folderId, toFolderId,
139 toName, addCommunityPermissions, addGuestPermissions,
140 communityPermissions, guestPermissions);
141 }
142
143 public static void addFileShortcutResources(long fileShortcutId,
144 boolean addCommunityPermissions, boolean addGuestPermissions)
145 throws com.liferay.portal.PortalException,
146 com.liferay.portal.SystemException {
147 _service.addFileShortcutResources(fileShortcutId,
148 addCommunityPermissions, addGuestPermissions);
149 }
150
151 public static void addFileShortcutResources(
152 com.liferay.portlet.documentlibrary.model.DLFolder folder,
153 com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
154 boolean addCommunityPermissions, boolean addGuestPermissions)
155 throws com.liferay.portal.PortalException,
156 com.liferay.portal.SystemException {
157 _service.addFileShortcutResources(folder, fileShortcut,
158 addCommunityPermissions, addGuestPermissions);
159 }
160
161 public static void addFileShortcutResources(long fileShortcutId,
162 java.lang.String[] communityPermissions,
163 java.lang.String[] guestPermissions)
164 throws com.liferay.portal.PortalException,
165 com.liferay.portal.SystemException {
166 _service.addFileShortcutResources(fileShortcutId, communityPermissions,
167 guestPermissions);
168 }
169
170 public static void addFileShortcutResources(
171 com.liferay.portlet.documentlibrary.model.DLFolder folder,
172 com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut,
173 java.lang.String[] communityPermissions,
174 java.lang.String[] guestPermissions)
175 throws com.liferay.portal.PortalException,
176 com.liferay.portal.SystemException {
177 _service.addFileShortcutResources(folder, fileShortcut,
178 communityPermissions, guestPermissions);
179 }
180
181 public static void deleteFileShortcut(long fileShortcutId)
182 throws com.liferay.portal.PortalException,
183 com.liferay.portal.SystemException {
184 _service.deleteFileShortcut(fileShortcutId);
185 }
186
187 public static void deleteFileShortcut(
188 com.liferay.portlet.documentlibrary.model.DLFileShortcut fileShortcut)
189 throws com.liferay.portal.PortalException,
190 com.liferay.portal.SystemException {
191 _service.deleteFileShortcut(fileShortcut);
192 }
193
194 public static void deleteFileShortcuts(long toFolderId,
195 java.lang.String toName)
196 throws com.liferay.portal.PortalException,
197 com.liferay.portal.SystemException {
198 _service.deleteFileShortcuts(toFolderId, toName);
199 }
200
201 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut getFileShortcut(
202 long fileShortcutId)
203 throws com.liferay.portal.PortalException,
204 com.liferay.portal.SystemException {
205 return _service.getFileShortcut(fileShortcutId);
206 }
207
208 public static com.liferay.portlet.documentlibrary.model.DLFileShortcut updateFileShortcut(
209 long userId, long fileShortcutId, long folderId, long toFolderId,
210 java.lang.String toName)
211 throws com.liferay.portal.PortalException,
212 com.liferay.portal.SystemException {
213 return _service.updateFileShortcut(userId, fileShortcutId, folderId,
214 toFolderId, toName);
215 }
216
217 public static void updateFileShortcuts(long oldToFolderId,
218 java.lang.String oldToName, long newToFolderId,
219 java.lang.String newToName) throws com.liferay.portal.SystemException {
220 _service.updateFileShortcuts(oldToFolderId, oldToName, newToFolderId,
221 newToName);
222 }
223
224 public static DLFileShortcutLocalService getService() {
225 return _service;
226 }
227
228 public void setService(DLFileShortcutLocalService service) {
229 _service = service;
230 }
231
232 private static DLFileShortcutLocalService _service;
233 }