1
22
23 package com.liferay.portlet.documentlibrary.service;
24
25
26
47 public class DLFolderLocalServiceUtil {
48 public static com.liferay.portlet.documentlibrary.model.DLFolder addDLFolder(
49 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
50 throws com.liferay.portal.SystemException {
51 return _service.addDLFolder(dlFolder);
52 }
53
54 public static void deleteDLFolder(long folderId)
55 throws com.liferay.portal.PortalException,
56 com.liferay.portal.SystemException {
57 _service.deleteDLFolder(folderId);
58 }
59
60 public static void deleteDLFolder(
61 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
62 throws com.liferay.portal.SystemException {
63 _service.deleteDLFolder(dlFolder);
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.DLFolder getDLFolder(
79 long folderId)
80 throws com.liferay.portal.PortalException,
81 com.liferay.portal.SystemException {
82 return _service.getDLFolder(folderId);
83 }
84
85 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getDLFolders(
86 int start, int end) throws com.liferay.portal.SystemException {
87 return _service.getDLFolders(start, end);
88 }
89
90 public static int getDLFoldersCount()
91 throws com.liferay.portal.SystemException {
92 return _service.getDLFoldersCount();
93 }
94
95 public static com.liferay.portlet.documentlibrary.model.DLFolder updateDLFolder(
96 com.liferay.portlet.documentlibrary.model.DLFolder dlFolder)
97 throws com.liferay.portal.SystemException {
98 return _service.updateDLFolder(dlFolder);
99 }
100
101 public static com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
102 long userId, long plid, long parentFolderId, java.lang.String name,
103 java.lang.String description, boolean addCommunityPermissions,
104 boolean addGuestPermissions)
105 throws com.liferay.portal.PortalException,
106 com.liferay.portal.SystemException {
107 return _service.addFolder(userId, plid, parentFolderId, name,
108 description, addCommunityPermissions, addGuestPermissions);
109 }
110
111 public static com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
112 java.lang.String uuid, long userId, long plid, long parentFolderId,
113 java.lang.String name, java.lang.String description,
114 boolean addCommunityPermissions, boolean addGuestPermissions)
115 throws com.liferay.portal.PortalException,
116 com.liferay.portal.SystemException {
117 return _service.addFolder(uuid, userId, plid, parentFolderId, name,
118 description, addCommunityPermissions, addGuestPermissions);
119 }
120
121 public static com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
122 long userId, long plid, long parentFolderId, java.lang.String name,
123 java.lang.String description, java.lang.String[] communityPermissions,
124 java.lang.String[] guestPermissions)
125 throws com.liferay.portal.PortalException,
126 com.liferay.portal.SystemException {
127 return _service.addFolder(userId, plid, parentFolderId, name,
128 description, communityPermissions, guestPermissions);
129 }
130
131 public static com.liferay.portlet.documentlibrary.model.DLFolder addFolder(
132 java.lang.String uuid, long userId, long plid, long parentFolderId,
133 java.lang.String name, java.lang.String description,
134 java.lang.Boolean addCommunityPermissions,
135 java.lang.Boolean addGuestPermissions,
136 java.lang.String[] communityPermissions,
137 java.lang.String[] guestPermissions)
138 throws com.liferay.portal.PortalException,
139 com.liferay.portal.SystemException {
140 return _service.addFolder(uuid, userId, plid, parentFolderId, name,
141 description, addCommunityPermissions, addGuestPermissions,
142 communityPermissions, guestPermissions);
143 }
144
145 public static com.liferay.portlet.documentlibrary.model.DLFolder addFolderToGroup(
146 java.lang.String uuid, long userId, long groupId, long parentFolderId,
147 java.lang.String name, java.lang.String description,
148 java.lang.Boolean addCommunityPermissions,
149 java.lang.Boolean addGuestPermissions,
150 java.lang.String[] communityPermissions,
151 java.lang.String[] guestPermissions)
152 throws com.liferay.portal.PortalException,
153 com.liferay.portal.SystemException {
154 return _service.addFolderToGroup(uuid, userId, groupId, parentFolderId,
155 name, description, addCommunityPermissions, addGuestPermissions,
156 communityPermissions, guestPermissions);
157 }
158
159 public static void addFolderResources(long folderId,
160 boolean addCommunityPermissions, boolean addGuestPermissions)
161 throws com.liferay.portal.PortalException,
162 com.liferay.portal.SystemException {
163 _service.addFolderResources(folderId, addCommunityPermissions,
164 addGuestPermissions);
165 }
166
167 public static void addFolderResources(
168 com.liferay.portlet.documentlibrary.model.DLFolder folder,
169 boolean addCommunityPermissions, boolean addGuestPermissions)
170 throws com.liferay.portal.PortalException,
171 com.liferay.portal.SystemException {
172 _service.addFolderResources(folder, addCommunityPermissions,
173 addGuestPermissions);
174 }
175
176 public static void addFolderResources(long folderId,
177 java.lang.String[] communityPermissions,
178 java.lang.String[] guestPermissions)
179 throws com.liferay.portal.PortalException,
180 com.liferay.portal.SystemException {
181 _service.addFolderResources(folderId, communityPermissions,
182 guestPermissions);
183 }
184
185 public static void addFolderResources(
186 com.liferay.portlet.documentlibrary.model.DLFolder folder,
187 java.lang.String[] communityPermissions,
188 java.lang.String[] guestPermissions)
189 throws com.liferay.portal.PortalException,
190 com.liferay.portal.SystemException {
191 _service.addFolderResources(folder, communityPermissions,
192 guestPermissions);
193 }
194
195 public static void deleteFolder(long folderId)
196 throws com.liferay.portal.PortalException,
197 com.liferay.portal.SystemException {
198 _service.deleteFolder(folderId);
199 }
200
201 public static void deleteFolder(
202 com.liferay.portlet.documentlibrary.model.DLFolder folder)
203 throws com.liferay.portal.PortalException,
204 com.liferay.portal.SystemException {
205 _service.deleteFolder(folder);
206 }
207
208 public static void deleteFolders(long groupId)
209 throws com.liferay.portal.PortalException,
210 com.liferay.portal.SystemException {
211 _service.deleteFolders(groupId);
212 }
213
214 public static com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
215 long folderId)
216 throws com.liferay.portal.PortalException,
217 com.liferay.portal.SystemException {
218 return _service.getFolder(folderId);
219 }
220
221 public static com.liferay.portlet.documentlibrary.model.DLFolder getFolder(
222 long groupId, long parentFolderId, java.lang.String name)
223 throws com.liferay.portal.PortalException,
224 com.liferay.portal.SystemException {
225 return _service.getFolder(groupId, parentFolderId, name);
226 }
227
228 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
229 long companyId) throws com.liferay.portal.SystemException {
230 return _service.getFolders(companyId);
231 }
232
233 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
234 long groupId, long parentFolderId)
235 throws com.liferay.portal.SystemException {
236 return _service.getFolders(groupId, parentFolderId);
237 }
238
239 public static java.util.List<com.liferay.portlet.documentlibrary.model.DLFolder> getFolders(
240 long groupId, long parentFolderId, int start, int end)
241 throws com.liferay.portal.SystemException {
242 return _service.getFolders(groupId, parentFolderId, start, end);
243 }
244
245 public static int getFoldersCount(long groupId, long parentFolderId)
246 throws com.liferay.portal.SystemException {
247 return _service.getFoldersCount(groupId, parentFolderId);
248 }
249
250 public static void getSubfolderIds(java.util.List<Long> folderIds,
251 long groupId, long folderId) throws com.liferay.portal.SystemException {
252 _service.getSubfolderIds(folderIds, groupId, folderId);
253 }
254
255 public static void reIndex(java.lang.String[] ids)
256 throws com.liferay.portal.SystemException {
257 _service.reIndex(ids);
258 }
259
260 public static com.liferay.portal.kernel.search.Hits search(long companyId,
261 long groupId, long[] folderIds, java.lang.String keywords, int start,
262 int end) throws com.liferay.portal.SystemException {
263 return _service.search(companyId, groupId, folderIds, keywords, start,
264 end);
265 }
266
267 public static com.liferay.portlet.documentlibrary.model.DLFolder updateFolder(
268 long folderId, long parentFolderId, java.lang.String name,
269 java.lang.String description)
270 throws com.liferay.portal.PortalException,
271 com.liferay.portal.SystemException {
272 return _service.updateFolder(folderId, parentFolderId, name, description);
273 }
274
275 public static DLFolderLocalService getService() {
276 return _service;
277 }
278
279 public void setService(DLFolderLocalService service) {
280 _service = service;
281 }
282
283 private static DLFolderLocalService _service;
284 }