001
014
015 package com.liferay.portlet.wiki.service;
016
017
026 public class WikiPageLocalServiceWrapper implements WikiPageLocalService {
027 public WikiPageLocalServiceWrapper(
028 WikiPageLocalService wikiPageLocalService) {
029 _wikiPageLocalService = wikiPageLocalService;
030 }
031
032 public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
033 com.liferay.portlet.wiki.model.WikiPage wikiPage)
034 throws com.liferay.portal.kernel.exception.SystemException {
035 return _wikiPageLocalService.addWikiPage(wikiPage);
036 }
037
038 public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId) {
039 return _wikiPageLocalService.createWikiPage(pageId);
040 }
041
042 public void deleteWikiPage(long pageId)
043 throws com.liferay.portal.kernel.exception.PortalException,
044 com.liferay.portal.kernel.exception.SystemException {
045 _wikiPageLocalService.deleteWikiPage(pageId);
046 }
047
048 public void deleteWikiPage(com.liferay.portlet.wiki.model.WikiPage wikiPage)
049 throws com.liferay.portal.kernel.exception.SystemException {
050 _wikiPageLocalService.deleteWikiPage(wikiPage);
051 }
052
053 @SuppressWarnings("unchecked")
054 public java.util.List dynamicQuery(
055 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
056 throws com.liferay.portal.kernel.exception.SystemException {
057 return _wikiPageLocalService.dynamicQuery(dynamicQuery);
058 }
059
060 @SuppressWarnings("unchecked")
061 public java.util.List dynamicQuery(
062 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
063 int end) throws com.liferay.portal.kernel.exception.SystemException {
064 return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end);
065 }
066
067 @SuppressWarnings("unchecked")
068 public java.util.List dynamicQuery(
069 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
070 int end,
071 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
072 throws com.liferay.portal.kernel.exception.SystemException {
073 return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end,
074 orderByComparator);
075 }
076
077 public long dynamicQueryCount(
078 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
079 throws com.liferay.portal.kernel.exception.SystemException {
080 return _wikiPageLocalService.dynamicQueryCount(dynamicQuery);
081 }
082
083 public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
084 throws com.liferay.portal.kernel.exception.PortalException,
085 com.liferay.portal.kernel.exception.SystemException {
086 return _wikiPageLocalService.getWikiPage(pageId);
087 }
088
089 public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
090 java.lang.String uuid, long groupId)
091 throws com.liferay.portal.kernel.exception.PortalException,
092 com.liferay.portal.kernel.exception.SystemException {
093 return _wikiPageLocalService.getWikiPageByUuidAndGroupId(uuid, groupId);
094 }
095
096 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
097 int start, int end)
098 throws com.liferay.portal.kernel.exception.SystemException {
099 return _wikiPageLocalService.getWikiPages(start, end);
100 }
101
102 public int getWikiPagesCount()
103 throws com.liferay.portal.kernel.exception.SystemException {
104 return _wikiPageLocalService.getWikiPagesCount();
105 }
106
107 public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
108 com.liferay.portlet.wiki.model.WikiPage wikiPage)
109 throws com.liferay.portal.kernel.exception.SystemException {
110 return _wikiPageLocalService.updateWikiPage(wikiPage);
111 }
112
113 public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
114 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
115 throws com.liferay.portal.kernel.exception.SystemException {
116 return _wikiPageLocalService.updateWikiPage(wikiPage, merge);
117 }
118
119 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
120 long nodeId, java.lang.String title, double version,
121 java.lang.String content, java.lang.String summary, boolean minorEdit,
122 java.lang.String format, boolean head, java.lang.String parentTitle,
123 java.lang.String redirectTitle,
124 com.liferay.portal.service.ServiceContext serviceContext)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException {
127 return _wikiPageLocalService.addPage(userId, nodeId, title, version,
128 content, summary, minorEdit, format, head, parentTitle,
129 redirectTitle, serviceContext);
130 }
131
132 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
133 long nodeId, java.lang.String title, java.lang.String content,
134 java.lang.String summary, boolean minorEdit,
135 com.liferay.portal.service.ServiceContext serviceContext)
136 throws com.liferay.portal.kernel.exception.PortalException,
137 com.liferay.portal.kernel.exception.SystemException {
138 return _wikiPageLocalService.addPage(userId, nodeId, title, content,
139 summary, minorEdit, serviceContext);
140 }
141
142 public void addPageAttachment(long companyId, java.lang.String dirName,
143 java.util.Date modifiedDate, java.lang.String fileName,
144 java.io.InputStream inputStream)
145 throws com.liferay.portal.kernel.exception.PortalException,
146 com.liferay.portal.kernel.exception.SystemException {
147 _wikiPageLocalService.addPageAttachment(companyId, dirName,
148 modifiedDate, fileName, inputStream);
149 }
150
151 public void addPageAttachments(long nodeId, java.lang.String title,
152 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files)
153 throws com.liferay.portal.kernel.exception.PortalException,
154 com.liferay.portal.kernel.exception.SystemException {
155 _wikiPageLocalService.addPageAttachments(nodeId, title, files);
156 }
157
158 public void addPageResources(long nodeId, java.lang.String title,
159 boolean addCommunityPermissions, boolean addGuestPermissions)
160 throws com.liferay.portal.kernel.exception.PortalException,
161 com.liferay.portal.kernel.exception.SystemException {
162 _wikiPageLocalService.addPageResources(nodeId, title,
163 addCommunityPermissions, addGuestPermissions);
164 }
165
166 public void addPageResources(long nodeId, java.lang.String title,
167 java.lang.String[] communityPermissions,
168 java.lang.String[] guestPermissions)
169 throws com.liferay.portal.kernel.exception.PortalException,
170 com.liferay.portal.kernel.exception.SystemException {
171 _wikiPageLocalService.addPageResources(nodeId, title,
172 communityPermissions, guestPermissions);
173 }
174
175 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
176 boolean addCommunityPermissions, boolean addGuestPermissions)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 _wikiPageLocalService.addPageResources(page, addCommunityPermissions,
180 addGuestPermissions);
181 }
182
183 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
184 java.lang.String[] communityPermissions,
185 java.lang.String[] guestPermissions)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 _wikiPageLocalService.addPageResources(page, communityPermissions,
189 guestPermissions);
190 }
191
192 public void changeParent(long userId, long nodeId, java.lang.String title,
193 java.lang.String newParentTitle,
194 com.liferay.portal.service.ServiceContext serviceContext)
195 throws com.liferay.portal.kernel.exception.PortalException,
196 com.liferay.portal.kernel.exception.SystemException {
197 _wikiPageLocalService.changeParent(userId, nodeId, title,
198 newParentTitle, serviceContext);
199 }
200
201 public void deletePage(long nodeId, java.lang.String title)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 _wikiPageLocalService.deletePage(nodeId, title);
205 }
206
207 public void deletePage(long nodeId, java.lang.String title, double version)
208 throws com.liferay.portal.kernel.exception.PortalException,
209 com.liferay.portal.kernel.exception.SystemException {
210 _wikiPageLocalService.deletePage(nodeId, title, version);
211 }
212
213 public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
214 throws com.liferay.portal.kernel.exception.PortalException,
215 com.liferay.portal.kernel.exception.SystemException {
216 _wikiPageLocalService.deletePage(page);
217 }
218
219 public void deletePageAttachment(long nodeId, java.lang.String title,
220 java.lang.String fileName)
221 throws com.liferay.portal.kernel.exception.PortalException,
222 com.liferay.portal.kernel.exception.SystemException {
223 _wikiPageLocalService.deletePageAttachment(nodeId, title, fileName);
224 }
225
226 public void deletePages(long nodeId)
227 throws com.liferay.portal.kernel.exception.PortalException,
228 com.liferay.portal.kernel.exception.SystemException {
229 _wikiPageLocalService.deletePages(nodeId);
230 }
231
232 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
233 long nodeId, boolean head, java.lang.String parentTitle)
234 throws com.liferay.portal.kernel.exception.SystemException {
235 return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
236 }
237
238 public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
239 java.lang.String title)
240 throws com.liferay.portal.kernel.exception.PortalException,
241 com.liferay.portal.kernel.exception.SystemException {
242 return _wikiPageLocalService.getDraftPage(nodeId, title);
243 }
244
245 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
246 long nodeId, java.lang.String title)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException {
249 return _wikiPageLocalService.getIncomingLinks(nodeId, title);
250 }
251
252 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
253 throws com.liferay.portal.kernel.exception.SystemException {
254 return _wikiPageLocalService.getNoAssetPages();
255 }
256
257 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
258 long nodeId)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException {
261 return _wikiPageLocalService.getOrphans(nodeId);
262 }
263
264 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
265 long nodeId, java.lang.String title)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
269 }
270
271 public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
272 throws com.liferay.portal.kernel.exception.PortalException,
273 com.liferay.portal.kernel.exception.SystemException {
274 return _wikiPageLocalService.getPage(resourcePrimKey);
275 }
276
277 public com.liferay.portlet.wiki.model.WikiPage getPage(
278 long resourcePrimKey, java.lang.Boolean head)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException {
281 return _wikiPageLocalService.getPage(resourcePrimKey, head);
282 }
283
284 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
285 java.lang.String title)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 return _wikiPageLocalService.getPage(nodeId, title);
289 }
290
291 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
292 java.lang.String title, java.lang.Boolean head)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 return _wikiPageLocalService.getPage(nodeId, title, head);
296 }
297
298 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
299 java.lang.String title, double version)
300 throws com.liferay.portal.kernel.exception.PortalException,
301 com.liferay.portal.kernel.exception.SystemException {
302 return _wikiPageLocalService.getPage(nodeId, title, version);
303 }
304
305 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
306 long nodeId, java.lang.String title,
307 javax.portlet.PortletURL viewPageURL,
308 javax.portlet.PortletURL editPageURL,
309 java.lang.String attachmentURLPrefix)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
313 editPageURL, attachmentURLPrefix);
314 }
315
316 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
317 com.liferay.portlet.wiki.model.WikiPage page,
318 javax.portlet.PortletURL viewPageURL,
319 javax.portlet.PortletURL editPageURL,
320 java.lang.String attachmentURLPrefix)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 return _wikiPageLocalService.getPageDisplay(page, viewPageURL,
324 editPageURL, attachmentURLPrefix);
325 }
326
327 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
328 long nodeId, boolean head, int start, int end)
329 throws com.liferay.portal.kernel.exception.SystemException {
330 return _wikiPageLocalService.getPages(nodeId, head, start, end);
331 }
332
333 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
334 long nodeId, boolean head, int start, int end,
335 com.liferay.portal.kernel.util.OrderByComparator obc)
336 throws com.liferay.portal.kernel.exception.SystemException {
337 return _wikiPageLocalService.getPages(nodeId, head, start, end, obc);
338 }
339
340 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
341 long nodeId, int start, int end)
342 throws com.liferay.portal.kernel.exception.SystemException {
343 return _wikiPageLocalService.getPages(nodeId, start, end);
344 }
345
346 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
347 long nodeId, int start, int end,
348 com.liferay.portal.kernel.util.OrderByComparator obc)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _wikiPageLocalService.getPages(nodeId, start, end, obc);
351 }
352
353 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
354 long resourcePrimKey, long nodeId, int status)
355 throws com.liferay.portal.kernel.exception.SystemException {
356 return _wikiPageLocalService.getPages(resourcePrimKey, nodeId, status);
357 }
358
359 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
360 long userId, long nodeId, int status, int start, int end)
361 throws com.liferay.portal.kernel.exception.SystemException {
362 return _wikiPageLocalService.getPages(userId, nodeId, status, start, end);
363 }
364
365 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
366 long nodeId, java.lang.String title, boolean head, int start, int end)
367 throws com.liferay.portal.kernel.exception.SystemException {
368 return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
369 }
370
371 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
372 long nodeId, java.lang.String title, int start, int end)
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return _wikiPageLocalService.getPages(nodeId, title, start, end);
375 }
376
377 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
378 long nodeId, java.lang.String title, int start, int end,
379 com.liferay.portal.kernel.util.OrderByComparator obc)
380 throws com.liferay.portal.kernel.exception.SystemException {
381 return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
382 }
383
384 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
385 java.lang.String format)
386 throws com.liferay.portal.kernel.exception.SystemException {
387 return _wikiPageLocalService.getPages(format);
388 }
389
390 public int getPagesCount(long nodeId)
391 throws com.liferay.portal.kernel.exception.SystemException {
392 return _wikiPageLocalService.getPagesCount(nodeId);
393 }
394
395 public int getPagesCount(long nodeId, boolean head)
396 throws com.liferay.portal.kernel.exception.SystemException {
397 return _wikiPageLocalService.getPagesCount(nodeId, head);
398 }
399
400 public int getPagesCount(long userId, long nodeId, int status)
401 throws com.liferay.portal.kernel.exception.SystemException {
402 return _wikiPageLocalService.getPagesCount(userId, nodeId, status);
403 }
404
405 public int getPagesCount(long nodeId, java.lang.String title)
406 throws com.liferay.portal.kernel.exception.SystemException {
407 return _wikiPageLocalService.getPagesCount(nodeId, title);
408 }
409
410 public int getPagesCount(long nodeId, java.lang.String title, boolean head)
411 throws com.liferay.portal.kernel.exception.SystemException {
412 return _wikiPageLocalService.getPagesCount(nodeId, title, head);
413 }
414
415 public int getPagesCount(java.lang.String format)
416 throws com.liferay.portal.kernel.exception.SystemException {
417 return _wikiPageLocalService.getPagesCount(format);
418 }
419
420 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
421 long nodeId, int start, int end)
422 throws com.liferay.portal.kernel.exception.SystemException {
423 return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
424 }
425
426 public int getRecentChangesCount(long nodeId)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 return _wikiPageLocalService.getRecentChangesCount(nodeId);
429 }
430
431 public boolean hasDraftPage(long nodeId, java.lang.String title)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return _wikiPageLocalService.hasDraftPage(nodeId, title);
434 }
435
436 public void movePage(long userId, long nodeId, java.lang.String title,
437 java.lang.String newTitle, boolean strict,
438 com.liferay.portal.service.ServiceContext serviceContext)
439 throws com.liferay.portal.kernel.exception.PortalException,
440 com.liferay.portal.kernel.exception.SystemException {
441 _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
442 serviceContext);
443 }
444
445 public void movePage(long userId, long nodeId, java.lang.String title,
446 java.lang.String newTitle,
447 com.liferay.portal.service.ServiceContext serviceContext)
448 throws com.liferay.portal.kernel.exception.PortalException,
449 com.liferay.portal.kernel.exception.SystemException {
450 _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
451 serviceContext);
452 }
453
454 public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
455 long nodeId, java.lang.String title, double version,
456 com.liferay.portal.service.ServiceContext serviceContext)
457 throws com.liferay.portal.kernel.exception.PortalException,
458 com.liferay.portal.kernel.exception.SystemException {
459 return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
460 serviceContext);
461 }
462
463 public void subscribePage(long userId, long nodeId, java.lang.String title)
464 throws com.liferay.portal.kernel.exception.PortalException,
465 com.liferay.portal.kernel.exception.SystemException {
466 _wikiPageLocalService.subscribePage(userId, nodeId, title);
467 }
468
469 public void unsubscribePage(long userId, long nodeId, java.lang.String title)
470 throws com.liferay.portal.kernel.exception.PortalException,
471 com.liferay.portal.kernel.exception.SystemException {
472 _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
473 }
474
475 public void updateAsset(long userId,
476 com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
477 java.lang.String[] assetTagNames)
478 throws com.liferay.portal.kernel.exception.PortalException,
479 com.liferay.portal.kernel.exception.SystemException {
480 _wikiPageLocalService.updateAsset(userId, page, assetCategoryIds,
481 assetTagNames);
482 }
483
484 public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
485 long nodeId, java.lang.String title, double version,
486 java.lang.String content, java.lang.String summary, boolean minorEdit,
487 java.lang.String format, java.lang.String parentTitle,
488 java.lang.String redirectTitle,
489 com.liferay.portal.service.ServiceContext serviceContext)
490 throws com.liferay.portal.kernel.exception.PortalException,
491 com.liferay.portal.kernel.exception.SystemException {
492 return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
493 content, summary, minorEdit, format, parentTitle, redirectTitle,
494 serviceContext);
495 }
496
497 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
498 long resourcePrimKey, int status,
499 com.liferay.portal.service.ServiceContext serviceContext)
500 throws com.liferay.portal.kernel.exception.PortalException,
501 com.liferay.portal.kernel.exception.SystemException {
502 return _wikiPageLocalService.updateStatus(userId, resourcePrimKey,
503 status, serviceContext);
504 }
505
506 public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
507 com.liferay.portlet.wiki.model.WikiPage page, int status,
508 com.liferay.portal.service.ServiceContext serviceContext)
509 throws com.liferay.portal.kernel.exception.PortalException,
510 com.liferay.portal.kernel.exception.SystemException {
511 return _wikiPageLocalService.updateStatus(userId, page, status,
512 serviceContext);
513 }
514
515 public void validateTitle(java.lang.String title)
516 throws com.liferay.portal.kernel.exception.PortalException {
517 _wikiPageLocalService.validateTitle(title);
518 }
519
520 public WikiPageLocalService getWrappedWikiPageLocalService() {
521 return _wikiPageLocalService;
522 }
523
524 private WikiPageLocalService _wikiPageLocalService;
525 }