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