1
22
23 package com.liferay.portlet.wiki.service;
24
25
26
42 public class WikiPageLocalServiceWrapper implements WikiPageLocalService {
43 public WikiPageLocalServiceWrapper(
44 WikiPageLocalService wikiPageLocalService) {
45 _wikiPageLocalService = wikiPageLocalService;
46 }
47
48 public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
49 com.liferay.portlet.wiki.model.WikiPage wikiPage)
50 throws com.liferay.portal.SystemException {
51 return _wikiPageLocalService.addWikiPage(wikiPage);
52 }
53
54 public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId) {
55 return _wikiPageLocalService.createWikiPage(pageId);
56 }
57
58 public void deleteWikiPage(long pageId)
59 throws com.liferay.portal.PortalException,
60 com.liferay.portal.SystemException {
61 _wikiPageLocalService.deleteWikiPage(pageId);
62 }
63
64 public void deleteWikiPage(com.liferay.portlet.wiki.model.WikiPage wikiPage)
65 throws com.liferay.portal.SystemException {
66 _wikiPageLocalService.deleteWikiPage(wikiPage);
67 }
68
69 public java.util.List<Object> dynamicQuery(
70 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
71 throws com.liferay.portal.SystemException {
72 return _wikiPageLocalService.dynamicQuery(dynamicQuery);
73 }
74
75 public java.util.List<Object> dynamicQuery(
76 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
77 int end) throws com.liferay.portal.SystemException {
78 return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end);
79 }
80
81 public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
82 throws com.liferay.portal.PortalException,
83 com.liferay.portal.SystemException {
84 return _wikiPageLocalService.getWikiPage(pageId);
85 }
86
87 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
88 int start, int end) throws com.liferay.portal.SystemException {
89 return _wikiPageLocalService.getWikiPages(start, end);
90 }
91
92 public int getWikiPagesCount() throws com.liferay.portal.SystemException {
93 return _wikiPageLocalService.getWikiPagesCount();
94 }
95
96 public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
97 com.liferay.portlet.wiki.model.WikiPage wikiPage)
98 throws com.liferay.portal.SystemException {
99 return _wikiPageLocalService.updateWikiPage(wikiPage);
100 }
101
102 public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
103 com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
104 throws com.liferay.portal.SystemException {
105 return _wikiPageLocalService.updateWikiPage(wikiPage, merge);
106 }
107
108 public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
109 long nodeId, java.lang.String title, java.lang.String content,
110 java.lang.String summary, boolean minorEdit,
111 com.liferay.portal.service.ServiceContext serviceContext)
112 throws com.liferay.portal.PortalException,
113 com.liferay.portal.SystemException {
114 return _wikiPageLocalService.addPage(userId, nodeId, title, content,
115 summary, minorEdit, serviceContext);
116 }
117
118 public com.liferay.portlet.wiki.model.WikiPage addPage(
119 java.lang.String uuid, long userId, long nodeId,
120 java.lang.String title, double version, java.lang.String content,
121 java.lang.String summary, boolean minorEdit, java.lang.String format,
122 boolean head, java.lang.String parentTitle,
123 java.lang.String redirectTitle,
124 com.liferay.portal.service.ServiceContext serviceContext)
125 throws com.liferay.portal.PortalException,
126 com.liferay.portal.SystemException {
127 return _wikiPageLocalService.addPage(uuid, userId, nodeId, title,
128 version, content, summary, minorEdit, format, head, parentTitle,
129 redirectTitle, serviceContext);
130 }
131
132 public void addPageAttachments(long nodeId, java.lang.String title,
133 java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<String, byte[]>> files)
134 throws com.liferay.portal.PortalException,
135 com.liferay.portal.SystemException {
136 _wikiPageLocalService.addPageAttachments(nodeId, title, files);
137 }
138
139 public void addPageResources(long nodeId, java.lang.String title,
140 boolean addCommunityPermissions, boolean addGuestPermissions)
141 throws com.liferay.portal.PortalException,
142 com.liferay.portal.SystemException {
143 _wikiPageLocalService.addPageResources(nodeId, title,
144 addCommunityPermissions, addGuestPermissions);
145 }
146
147 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
148 boolean addCommunityPermissions, boolean addGuestPermissions)
149 throws com.liferay.portal.PortalException,
150 com.liferay.portal.SystemException {
151 _wikiPageLocalService.addPageResources(page, addCommunityPermissions,
152 addGuestPermissions);
153 }
154
155 public void addPageResources(long nodeId, java.lang.String title,
156 java.lang.String[] communityPermissions,
157 java.lang.String[] guestPermissions)
158 throws com.liferay.portal.PortalException,
159 com.liferay.portal.SystemException {
160 _wikiPageLocalService.addPageResources(nodeId, title,
161 communityPermissions, guestPermissions);
162 }
163
164 public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
165 java.lang.String[] communityPermissions,
166 java.lang.String[] guestPermissions)
167 throws com.liferay.portal.PortalException,
168 com.liferay.portal.SystemException {
169 _wikiPageLocalService.addPageResources(page, communityPermissions,
170 guestPermissions);
171 }
172
173 public void changeParent(long userId, long nodeId, java.lang.String title,
174 java.lang.String newParentTitle,
175 com.liferay.portal.service.ServiceContext serviceContext)
176 throws com.liferay.portal.PortalException,
177 com.liferay.portal.SystemException {
178 _wikiPageLocalService.changeParent(userId, nodeId, title,
179 newParentTitle, serviceContext);
180 }
181
182 public void deletePage(long nodeId, java.lang.String title)
183 throws com.liferay.portal.PortalException,
184 com.liferay.portal.SystemException {
185 _wikiPageLocalService.deletePage(nodeId, title);
186 }
187
188 public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
189 throws com.liferay.portal.PortalException,
190 com.liferay.portal.SystemException {
191 _wikiPageLocalService.deletePage(page);
192 }
193
194 public void deletePageAttachment(long nodeId, java.lang.String title,
195 java.lang.String fileName)
196 throws com.liferay.portal.PortalException,
197 com.liferay.portal.SystemException {
198 _wikiPageLocalService.deletePageAttachment(nodeId, title, fileName);
199 }
200
201 public void deletePages(long nodeId)
202 throws com.liferay.portal.PortalException,
203 com.liferay.portal.SystemException {
204 _wikiPageLocalService.deletePages(nodeId);
205 }
206
207 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
208 long nodeId, boolean head, java.lang.String parentTitle)
209 throws com.liferay.portal.SystemException {
210 return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
211 }
212
213 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
214 long nodeId, java.lang.String title)
215 throws com.liferay.portal.PortalException,
216 com.liferay.portal.SystemException {
217 return _wikiPageLocalService.getIncomingLinks(nodeId, title);
218 }
219
220 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
221 throws com.liferay.portal.SystemException {
222 return _wikiPageLocalService.getNoAssetPages();
223 }
224
225 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
226 long nodeId)
227 throws com.liferay.portal.PortalException,
228 com.liferay.portal.SystemException {
229 return _wikiPageLocalService.getOrphans(nodeId);
230 }
231
232 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
233 long nodeId, java.lang.String title)
234 throws com.liferay.portal.PortalException,
235 com.liferay.portal.SystemException {
236 return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
237 }
238
239 public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
240 throws com.liferay.portal.PortalException,
241 com.liferay.portal.SystemException {
242 return _wikiPageLocalService.getPage(resourcePrimKey);
243 }
244
245 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
246 java.lang.String title)
247 throws com.liferay.portal.PortalException,
248 com.liferay.portal.SystemException {
249 return _wikiPageLocalService.getPage(nodeId, title);
250 }
251
252 public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
253 java.lang.String title, double version)
254 throws com.liferay.portal.PortalException,
255 com.liferay.portal.SystemException {
256 return _wikiPageLocalService.getPage(nodeId, title, version);
257 }
258
259 public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
260 long nodeId, java.lang.String title,
261 javax.portlet.PortletURL viewPageURL,
262 javax.portlet.PortletURL editPageURL,
263 java.lang.String attachmentURLPrefix)
264 throws com.liferay.portal.PortalException,
265 com.liferay.portal.SystemException {
266 return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
267 editPageURL, attachmentURLPrefix);
268 }
269
270 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
271 long nodeId, int start, int end)
272 throws com.liferay.portal.SystemException {
273 return _wikiPageLocalService.getPages(nodeId, start, end);
274 }
275
276 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
277 java.lang.String format) throws com.liferay.portal.SystemException {
278 return _wikiPageLocalService.getPages(format);
279 }
280
281 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
282 long nodeId, java.lang.String title, int start, int end)
283 throws com.liferay.portal.SystemException {
284 return _wikiPageLocalService.getPages(nodeId, title, start, end);
285 }
286
287 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
288 long nodeId, java.lang.String title, int start, int end,
289 com.liferay.portal.kernel.util.OrderByComparator obc)
290 throws com.liferay.portal.SystemException {
291 return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
292 }
293
294 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
295 long nodeId, boolean head, int start, int end)
296 throws com.liferay.portal.SystemException {
297 return _wikiPageLocalService.getPages(nodeId, head, start, end);
298 }
299
300 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
301 long nodeId, java.lang.String title, boolean head, int start, int end)
302 throws com.liferay.portal.SystemException {
303 return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
304 }
305
306 public int getPagesCount(long nodeId)
307 throws com.liferay.portal.SystemException {
308 return _wikiPageLocalService.getPagesCount(nodeId);
309 }
310
311 public int getPagesCount(long nodeId, java.lang.String title)
312 throws com.liferay.portal.SystemException {
313 return _wikiPageLocalService.getPagesCount(nodeId, title);
314 }
315
316 public int getPagesCount(long nodeId, boolean head)
317 throws com.liferay.portal.SystemException {
318 return _wikiPageLocalService.getPagesCount(nodeId, head);
319 }
320
321 public int getPagesCount(long nodeId, java.lang.String title, boolean head)
322 throws com.liferay.portal.SystemException {
323 return _wikiPageLocalService.getPagesCount(nodeId, title, head);
324 }
325
326 public int getPagesCount(java.lang.String format)
327 throws com.liferay.portal.SystemException {
328 return _wikiPageLocalService.getPagesCount(format);
329 }
330
331 public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
332 long nodeId, int start, int end)
333 throws com.liferay.portal.SystemException {
334 return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
335 }
336
337 public int getRecentChangesCount(long nodeId)
338 throws com.liferay.portal.SystemException {
339 return _wikiPageLocalService.getRecentChangesCount(nodeId);
340 }
341
342 public void movePage(long userId, long nodeId, java.lang.String title,
343 java.lang.String newTitle,
344 com.liferay.portal.service.ServiceContext serviceContext)
345 throws com.liferay.portal.PortalException,
346 com.liferay.portal.SystemException {
347 _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
348 serviceContext);
349 }
350
351 public void movePage(long userId, long nodeId, java.lang.String title,
352 java.lang.String newTitle, boolean strict,
353 com.liferay.portal.service.ServiceContext serviceContext)
354 throws com.liferay.portal.PortalException,
355 com.liferay.portal.SystemException {
356 _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
357 serviceContext);
358 }
359
360 public void reIndex(long resourcePrimKey)
361 throws com.liferay.portal.SystemException {
362 _wikiPageLocalService.reIndex(resourcePrimKey);
363 }
364
365 public void reIndex(com.liferay.portlet.wiki.model.WikiPage page)
366 throws com.liferay.portal.SystemException {
367 _wikiPageLocalService.reIndex(page);
368 }
369
370 public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
371 long nodeId, java.lang.String title, double version,
372 com.liferay.portal.service.ServiceContext serviceContext)
373 throws com.liferay.portal.PortalException,
374 com.liferay.portal.SystemException {
375 return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
376 serviceContext);
377 }
378
379 public void subscribePage(long userId, long nodeId, java.lang.String title)
380 throws com.liferay.portal.PortalException,
381 com.liferay.portal.SystemException {
382 _wikiPageLocalService.subscribePage(userId, nodeId, title);
383 }
384
385 public void unsubscribePage(long userId, long nodeId, java.lang.String title)
386 throws com.liferay.portal.PortalException,
387 com.liferay.portal.SystemException {
388 _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
389 }
390
391 public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
392 long nodeId, java.lang.String title, double version,
393 java.lang.String content, java.lang.String summary, boolean minorEdit,
394 java.lang.String format, java.lang.String parentTitle,
395 java.lang.String redirectTitle,
396 com.liferay.portal.service.ServiceContext serviceContext)
397 throws com.liferay.portal.PortalException,
398 com.liferay.portal.SystemException {
399 return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
400 content, summary, minorEdit, format, parentTitle, redirectTitle,
401 serviceContext);
402 }
403
404 public void updateTagsAsset(long userId,
405 com.liferay.portlet.wiki.model.WikiPage page,
406 java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
407 throws com.liferay.portal.PortalException,
408 com.liferay.portal.SystemException {
409 _wikiPageLocalService.updateTagsAsset(userId, page, tagsCategories,
410 tagsEntries);
411 }
412
413 public void validateTitle(java.lang.String title)
414 throws com.liferay.portal.PortalException {
415 _wikiPageLocalService.validateTitle(title);
416 }
417
418 public WikiPageLocalService getWrappedWikiPageLocalService() {
419 return _wikiPageLocalService;
420 }
421
422 private WikiPageLocalService _wikiPageLocalService;
423 }