001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.wiki.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * Provides a wrapper for {@link WikiPageLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see WikiPageLocalService
024     * @generated
025     */
026    public class WikiPageLocalServiceWrapper implements WikiPageLocalService,
027            ServiceWrapper<WikiPageLocalService> {
028            public WikiPageLocalServiceWrapper(
029                    WikiPageLocalService wikiPageLocalService) {
030                    _wikiPageLocalService = wikiPageLocalService;
031            }
032    
033            /**
034            * Adds the wiki page to the database. Also notifies the appropriate model listeners.
035            *
036            * @param wikiPage the wiki page
037            * @return the wiki page that was added
038            * @throws SystemException if a system exception occurred
039            */
040            @Override
041            public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
042                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
043                    throws com.liferay.portal.kernel.exception.SystemException {
044                    return _wikiPageLocalService.addWikiPage(wikiPage);
045            }
046    
047            /**
048            * Creates a new wiki page with the primary key. Does not add the wiki page to the database.
049            *
050            * @param pageId the primary key for the new wiki page
051            * @return the new wiki page
052            */
053            @Override
054            public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId) {
055                    return _wikiPageLocalService.createWikiPage(pageId);
056            }
057    
058            /**
059            * Deletes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.
060            *
061            * @param pageId the primary key of the wiki page
062            * @return the wiki page that was removed
063            * @throws PortalException if a wiki page with the primary key could not be found
064            * @throws SystemException if a system exception occurred
065            */
066            @Override
067            public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(long pageId)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    return _wikiPageLocalService.deleteWikiPage(pageId);
071            }
072    
073            /**
074            * Deletes the wiki page from the database. Also notifies the appropriate model listeners.
075            *
076            * @param wikiPage the wiki page
077            * @return the wiki page that was removed
078            * @throws SystemException if a system exception occurred
079            */
080            @Override
081            public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
082                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _wikiPageLocalService.deleteWikiPage(wikiPage);
085            }
086    
087            @Override
088            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089                    return _wikiPageLocalService.dynamicQuery();
090            }
091    
092            /**
093            * Performs a dynamic query on the database and returns the matching rows.
094            *
095            * @param dynamicQuery the dynamic query
096            * @return the matching rows
097            * @throws SystemException if a system exception occurred
098            */
099            @Override
100            @SuppressWarnings("rawtypes")
101            public java.util.List dynamicQuery(
102                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _wikiPageLocalService.dynamicQuery(dynamicQuery);
105            }
106    
107            /**
108            * Performs a dynamic query on the database and returns a range of the matching rows.
109            *
110            * <p>
111            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
112            * </p>
113            *
114            * @param dynamicQuery the dynamic query
115            * @param start the lower bound of the range of model instances
116            * @param end the upper bound of the range of model instances (not inclusive)
117            * @return the range of matching rows
118            * @throws SystemException if a system exception occurred
119            */
120            @Override
121            @SuppressWarnings("rawtypes")
122            public java.util.List dynamicQuery(
123                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
124                    int end) throws com.liferay.portal.kernel.exception.SystemException {
125                    return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end);
126            }
127    
128            /**
129            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
130            *
131            * <p>
132            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
133            * </p>
134            *
135            * @param dynamicQuery the dynamic query
136            * @param start the lower bound of the range of model instances
137            * @param end the upper bound of the range of model instances (not inclusive)
138            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
139            * @return the ordered range of matching rows
140            * @throws SystemException if a system exception occurred
141            */
142            @Override
143            @SuppressWarnings("rawtypes")
144            public java.util.List dynamicQuery(
145                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
146                    int end,
147                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
148                    throws com.liferay.portal.kernel.exception.SystemException {
149                    return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end,
150                            orderByComparator);
151            }
152    
153            /**
154            * Returns the number of rows that match the dynamic query.
155            *
156            * @param dynamicQuery the dynamic query
157            * @return the number of rows that match the dynamic query
158            * @throws SystemException if a system exception occurred
159            */
160            @Override
161            public long dynamicQueryCount(
162                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return _wikiPageLocalService.dynamicQueryCount(dynamicQuery);
165            }
166    
167            /**
168            * Returns the number of rows that match the dynamic query.
169            *
170            * @param dynamicQuery the dynamic query
171            * @param projection the projection to apply to the query
172            * @return the number of rows that match the dynamic query
173            * @throws SystemException if a system exception occurred
174            */
175            @Override
176            public long dynamicQueryCount(
177                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
178                    com.liferay.portal.kernel.dao.orm.Projection projection)
179                    throws com.liferay.portal.kernel.exception.SystemException {
180                    return _wikiPageLocalService.dynamicQueryCount(dynamicQuery, projection);
181            }
182    
183            @Override
184            public com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(long pageId)
185                    throws com.liferay.portal.kernel.exception.SystemException {
186                    return _wikiPageLocalService.fetchWikiPage(pageId);
187            }
188    
189            /**
190            * Returns the wiki page with the matching UUID and company.
191            *
192            * @param uuid the wiki page's UUID
193            * @param companyId the primary key of the company
194            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
195            * @throws SystemException if a system exception occurred
196            */
197            @Override
198            public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndCompanyId(
199                    java.lang.String uuid, long companyId)
200                    throws com.liferay.portal.kernel.exception.SystemException {
201                    return _wikiPageLocalService.fetchWikiPageByUuidAndCompanyId(uuid,
202                            companyId);
203            }
204    
205            /**
206            * Returns the wiki page matching the UUID and group.
207            *
208            * @param uuid the wiki page's UUID
209            * @param groupId the primary key of the group
210            * @return the matching wiki page, or <code>null</code> if a matching wiki page could not be found
211            * @throws SystemException if a system exception occurred
212            */
213            @Override
214            public com.liferay.portlet.wiki.model.WikiPage fetchWikiPageByUuidAndGroupId(
215                    java.lang.String uuid, long groupId)
216                    throws com.liferay.portal.kernel.exception.SystemException {
217                    return _wikiPageLocalService.fetchWikiPageByUuidAndGroupId(uuid, groupId);
218            }
219    
220            /**
221            * Returns the wiki page with the primary key.
222            *
223            * @param pageId the primary key of the wiki page
224            * @return the wiki page
225            * @throws PortalException if a wiki page with the primary key could not be found
226            * @throws SystemException if a system exception occurred
227            */
228            @Override
229            public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
230                    throws com.liferay.portal.kernel.exception.PortalException,
231                            com.liferay.portal.kernel.exception.SystemException {
232                    return _wikiPageLocalService.getWikiPage(pageId);
233            }
234    
235            @Override
236            public com.liferay.portal.model.PersistedModel getPersistedModel(
237                    java.io.Serializable primaryKeyObj)
238                    throws com.liferay.portal.kernel.exception.PortalException,
239                            com.liferay.portal.kernel.exception.SystemException {
240                    return _wikiPageLocalService.getPersistedModel(primaryKeyObj);
241            }
242    
243            /**
244            * Returns the wiki page with the matching UUID and company.
245            *
246            * @param uuid the wiki page's UUID
247            * @param companyId the primary key of the company
248            * @return the matching wiki page
249            * @throws PortalException if a matching wiki page could not be found
250            * @throws SystemException if a system exception occurred
251            */
252            @Override
253            public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndCompanyId(
254                    java.lang.String uuid, long companyId)
255                    throws com.liferay.portal.kernel.exception.PortalException,
256                            com.liferay.portal.kernel.exception.SystemException {
257                    return _wikiPageLocalService.getWikiPageByUuidAndCompanyId(uuid,
258                            companyId);
259            }
260    
261            /**
262            * Returns the wiki page matching the UUID and group.
263            *
264            * @param uuid the wiki page's UUID
265            * @param groupId the primary key of the group
266            * @return the matching wiki page
267            * @throws PortalException if a matching wiki page could not be found
268            * @throws SystemException if a system exception occurred
269            */
270            @Override
271            public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
272                    java.lang.String uuid, long groupId)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    return _wikiPageLocalService.getWikiPageByUuidAndGroupId(uuid, groupId);
276            }
277    
278            /**
279            * Returns a range of all the wiki pages.
280            *
281            * <p>
282            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiPageModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
283            * </p>
284            *
285            * @param start the lower bound of the range of wiki pages
286            * @param end the upper bound of the range of wiki pages (not inclusive)
287            * @return the range of wiki pages
288            * @throws SystemException if a system exception occurred
289            */
290            @Override
291            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
292                    int start, int end)
293                    throws com.liferay.portal.kernel.exception.SystemException {
294                    return _wikiPageLocalService.getWikiPages(start, end);
295            }
296    
297            /**
298            * Returns the number of wiki pages.
299            *
300            * @return the number of wiki pages
301            * @throws SystemException if a system exception occurred
302            */
303            @Override
304            public int getWikiPagesCount()
305                    throws com.liferay.portal.kernel.exception.SystemException {
306                    return _wikiPageLocalService.getWikiPagesCount();
307            }
308    
309            /**
310            * Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
311            *
312            * @param wikiPage the wiki page
313            * @return the wiki page that was updated
314            * @throws SystemException if a system exception occurred
315            */
316            @Override
317            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
318                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
319                    throws com.liferay.portal.kernel.exception.SystemException {
320                    return _wikiPageLocalService.updateWikiPage(wikiPage);
321            }
322    
323            /**
324            * Returns the Spring bean ID for this bean.
325            *
326            * @return the Spring bean ID for this bean
327            */
328            @Override
329            public java.lang.String getBeanIdentifier() {
330                    return _wikiPageLocalService.getBeanIdentifier();
331            }
332    
333            /**
334            * Sets the Spring bean ID for this bean.
335            *
336            * @param beanIdentifier the Spring bean ID for this bean
337            */
338            @Override
339            public void setBeanIdentifier(java.lang.String beanIdentifier) {
340                    _wikiPageLocalService.setBeanIdentifier(beanIdentifier);
341            }
342    
343            @Override
344            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
345                    long nodeId, java.lang.String title, double version,
346                    java.lang.String content, java.lang.String summary, boolean minorEdit,
347                    java.lang.String format, boolean head, java.lang.String parentTitle,
348                    java.lang.String redirectTitle,
349                    com.liferay.portal.service.ServiceContext serviceContext)
350                    throws com.liferay.portal.kernel.exception.PortalException,
351                            com.liferay.portal.kernel.exception.SystemException {
352                    return _wikiPageLocalService.addPage(userId, nodeId, title, version,
353                            content, summary, minorEdit, format, head, parentTitle,
354                            redirectTitle, serviceContext);
355            }
356    
357            @Override
358            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
359                    long nodeId, java.lang.String title, java.lang.String content,
360                    java.lang.String summary, boolean minorEdit,
361                    com.liferay.portal.service.ServiceContext serviceContext)
362                    throws com.liferay.portal.kernel.exception.PortalException,
363                            com.liferay.portal.kernel.exception.SystemException {
364                    return _wikiPageLocalService.addPage(userId, nodeId, title, content,
365                            summary, minorEdit, serviceContext);
366            }
367    
368            @Override
369            public void addPageAttachment(long userId, long nodeId,
370                    java.lang.String title, java.lang.String fileName, java.io.File file,
371                    java.lang.String mimeType)
372                    throws com.liferay.portal.kernel.exception.PortalException,
373                            com.liferay.portal.kernel.exception.SystemException {
374                    _wikiPageLocalService.addPageAttachment(userId, nodeId, title,
375                            fileName, file, mimeType);
376            }
377    
378            @Override
379            public void addPageAttachment(long userId, long nodeId,
380                    java.lang.String title, java.lang.String fileName,
381                    java.io.InputStream inputStream, java.lang.String mimeType)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException {
384                    _wikiPageLocalService.addPageAttachment(userId, nodeId, title,
385                            fileName, inputStream, mimeType);
386            }
387    
388            @Override
389            public void addPageAttachments(long userId, long nodeId,
390                    java.lang.String title,
391                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreamOVPs)
392                    throws com.liferay.portal.kernel.exception.PortalException,
393                            com.liferay.portal.kernel.exception.SystemException {
394                    _wikiPageLocalService.addPageAttachments(userId, nodeId, title,
395                            inputStreamOVPs);
396            }
397    
398            @Override
399            public void addPageResources(long nodeId, java.lang.String title,
400                    boolean addGroupPermissions, boolean addGuestPermissions)
401                    throws com.liferay.portal.kernel.exception.PortalException,
402                            com.liferay.portal.kernel.exception.SystemException {
403                    _wikiPageLocalService.addPageResources(nodeId, title,
404                            addGroupPermissions, addGuestPermissions);
405            }
406    
407            @Override
408            public void addPageResources(long nodeId, java.lang.String title,
409                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
410                    throws com.liferay.portal.kernel.exception.PortalException,
411                            com.liferay.portal.kernel.exception.SystemException {
412                    _wikiPageLocalService.addPageResources(nodeId, title, groupPermissions,
413                            guestPermissions);
414            }
415    
416            @Override
417            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
418                    boolean addGroupPermissions, boolean addGuestPermissions)
419                    throws com.liferay.portal.kernel.exception.PortalException,
420                            com.liferay.portal.kernel.exception.SystemException {
421                    _wikiPageLocalService.addPageResources(page, addGroupPermissions,
422                            addGuestPermissions);
423            }
424    
425            @Override
426            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
427                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
428                    throws com.liferay.portal.kernel.exception.PortalException,
429                            com.liferay.portal.kernel.exception.SystemException {
430                    _wikiPageLocalService.addPageResources(page, groupPermissions,
431                            guestPermissions);
432            }
433    
434            @Override
435            public void addTempPageAttachment(long groupId, long userId,
436                    java.lang.String fileName, java.lang.String tempFolderName,
437                    java.io.InputStream inputStream, java.lang.String mimeType)
438                    throws com.liferay.portal.kernel.exception.PortalException,
439                            com.liferay.portal.kernel.exception.SystemException {
440                    _wikiPageLocalService.addTempPageAttachment(groupId, userId, fileName,
441                            tempFolderName, inputStream, mimeType);
442            }
443    
444            @Override
445            public void changeParent(long userId, long nodeId, java.lang.String title,
446                    java.lang.String newParentTitle,
447                    com.liferay.portal.service.ServiceContext serviceContext)
448                    throws com.liferay.portal.kernel.exception.PortalException,
449                            com.liferay.portal.kernel.exception.SystemException {
450                    _wikiPageLocalService.changeParent(userId, nodeId, title,
451                            newParentTitle, serviceContext);
452            }
453    
454            @Override
455            public void copyPageAttachments(long userId, long templateNodeId,
456                    java.lang.String templateTitle, long nodeId, java.lang.String title)
457                    throws com.liferay.portal.kernel.exception.PortalException,
458                            com.liferay.portal.kernel.exception.SystemException {
459                    _wikiPageLocalService.copyPageAttachments(userId, templateNodeId,
460                            templateTitle, nodeId, title);
461            }
462    
463            @Override
464            public void deletePage(long nodeId, java.lang.String title)
465                    throws com.liferay.portal.kernel.exception.PortalException,
466                            com.liferay.portal.kernel.exception.SystemException {
467                    _wikiPageLocalService.deletePage(nodeId, title);
468            }
469    
470            /**
471            * @deprecated As of 6.2.0 replaced by {@link #discardDraft(long, String,
472            double)}
473            */
474            @Override
475            public void deletePage(long nodeId, java.lang.String title, double version)
476                    throws com.liferay.portal.kernel.exception.PortalException,
477                            com.liferay.portal.kernel.exception.SystemException {
478                    _wikiPageLocalService.deletePage(nodeId, title, version);
479            }
480    
481            @Override
482            public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
483                    throws com.liferay.portal.kernel.exception.PortalException,
484                            com.liferay.portal.kernel.exception.SystemException {
485                    _wikiPageLocalService.deletePage(page);
486            }
487    
488            @Override
489            public void deletePageAttachment(long nodeId, java.lang.String title,
490                    java.lang.String fileName)
491                    throws com.liferay.portal.kernel.exception.PortalException,
492                            com.liferay.portal.kernel.exception.SystemException {
493                    _wikiPageLocalService.deletePageAttachment(nodeId, title, fileName);
494            }
495    
496            @Override
497            public void deletePageAttachments(long nodeId, java.lang.String title)
498                    throws com.liferay.portal.kernel.exception.PortalException,
499                            com.liferay.portal.kernel.exception.SystemException {
500                    _wikiPageLocalService.deletePageAttachments(nodeId, title);
501            }
502    
503            @Override
504            public void deletePages(long nodeId)
505                    throws com.liferay.portal.kernel.exception.PortalException,
506                            com.liferay.portal.kernel.exception.SystemException {
507                    _wikiPageLocalService.deletePages(nodeId);
508            }
509    
510            @Override
511            public void deleteTempPageAttachment(long groupId, long userId,
512                    java.lang.String fileName, java.lang.String tempFolderName)
513                    throws com.liferay.portal.kernel.exception.PortalException,
514                            com.liferay.portal.kernel.exception.SystemException {
515                    _wikiPageLocalService.deleteTempPageAttachment(groupId, userId,
516                            fileName, tempFolderName);
517            }
518    
519            @Override
520            public void deleteTrashPageAttachments(long nodeId, java.lang.String title)
521                    throws com.liferay.portal.kernel.exception.PortalException,
522                            com.liferay.portal.kernel.exception.SystemException {
523                    _wikiPageLocalService.deleteTrashPageAttachments(nodeId, title);
524            }
525    
526            @Override
527            public void discardDraft(long nodeId, java.lang.String title, double version)
528                    throws com.liferay.portal.kernel.exception.PortalException,
529                            com.liferay.portal.kernel.exception.SystemException {
530                    _wikiPageLocalService.discardDraft(nodeId, title, version);
531            }
532    
533            @Override
534            public com.liferay.portlet.wiki.model.WikiPage fetchPage(long nodeId,
535                    java.lang.String title, double version)
536                    throws com.liferay.portal.kernel.exception.SystemException {
537                    return _wikiPageLocalService.fetchPage(nodeId, title, version);
538            }
539    
540            @Override
541            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
542                    long nodeId, boolean head, java.lang.String parentTitle)
543                    throws com.liferay.portal.kernel.exception.SystemException {
544                    return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
545            }
546    
547            @Override
548            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
549                    java.lang.String title)
550                    throws com.liferay.portal.kernel.exception.PortalException,
551                            com.liferay.portal.kernel.exception.SystemException {
552                    return _wikiPageLocalService.getDraftPage(nodeId, title);
553            }
554    
555            @Override
556            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
557                    long nodeId, java.lang.String title)
558                    throws com.liferay.portal.kernel.exception.PortalException,
559                            com.liferay.portal.kernel.exception.SystemException {
560                    return _wikiPageLocalService.getIncomingLinks(nodeId, title);
561            }
562    
563            @Override
564            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
565                    throws com.liferay.portal.kernel.exception.SystemException {
566                    return _wikiPageLocalService.getNoAssetPages();
567            }
568    
569            @Override
570            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
571                    long nodeId)
572                    throws com.liferay.portal.kernel.exception.PortalException,
573                            com.liferay.portal.kernel.exception.SystemException {
574                    return _wikiPageLocalService.getOrphans(nodeId);
575            }
576    
577            @Override
578            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
579                    long nodeId, java.lang.String title)
580                    throws com.liferay.portal.kernel.exception.PortalException,
581                            com.liferay.portal.kernel.exception.SystemException {
582                    return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
583            }
584    
585            @Override
586            public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
587                    throws com.liferay.portal.kernel.exception.PortalException,
588                            com.liferay.portal.kernel.exception.SystemException {
589                    return _wikiPageLocalService.getPage(resourcePrimKey);
590            }
591    
592            @Override
593            public com.liferay.portlet.wiki.model.WikiPage getPage(
594                    long resourcePrimKey, java.lang.Boolean head)
595                    throws com.liferay.portal.kernel.exception.PortalException,
596                            com.liferay.portal.kernel.exception.SystemException {
597                    return _wikiPageLocalService.getPage(resourcePrimKey, head);
598            }
599    
600            @Override
601            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
602                    java.lang.String title)
603                    throws com.liferay.portal.kernel.exception.PortalException,
604                            com.liferay.portal.kernel.exception.SystemException {
605                    return _wikiPageLocalService.getPage(nodeId, title);
606            }
607    
608            @Override
609            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
610                    java.lang.String title, java.lang.Boolean head)
611                    throws com.liferay.portal.kernel.exception.PortalException,
612                            com.liferay.portal.kernel.exception.SystemException {
613                    return _wikiPageLocalService.getPage(nodeId, title, head);
614            }
615    
616            @Override
617            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
618                    java.lang.String title, double version)
619                    throws com.liferay.portal.kernel.exception.PortalException,
620                            com.liferay.portal.kernel.exception.SystemException {
621                    return _wikiPageLocalService.getPage(nodeId, title, version);
622            }
623    
624            @Override
625            public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
626                    throws com.liferay.portal.kernel.exception.PortalException,
627                            com.liferay.portal.kernel.exception.SystemException {
628                    return _wikiPageLocalService.getPageByPageId(pageId);
629            }
630    
631            @Override
632            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
633                    long nodeId, java.lang.String title,
634                    javax.portlet.PortletURL viewPageURL,
635                    javax.portlet.PortletURL editPageURL,
636                    java.lang.String attachmentURLPrefix)
637                    throws com.liferay.portal.kernel.exception.PortalException,
638                            com.liferay.portal.kernel.exception.SystemException {
639                    return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
640                            editPageURL, attachmentURLPrefix);
641            }
642    
643            @Override
644            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
645                    com.liferay.portlet.wiki.model.WikiPage page,
646                    javax.portlet.PortletURL viewPageURL,
647                    javax.portlet.PortletURL editPageURL,
648                    java.lang.String attachmentURLPrefix)
649                    throws com.liferay.portal.kernel.exception.PortalException,
650                            com.liferay.portal.kernel.exception.SystemException {
651                    return _wikiPageLocalService.getPageDisplay(page, viewPageURL,
652                            editPageURL, attachmentURLPrefix);
653            }
654    
655            @Override
656            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
657                    long nodeId, boolean head, int start, int end)
658                    throws com.liferay.portal.kernel.exception.SystemException {
659                    return _wikiPageLocalService.getPages(nodeId, head, start, end);
660            }
661    
662            @Override
663            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
664                    long nodeId, boolean head, int status, int start, int end,
665                    com.liferay.portal.kernel.util.OrderByComparator obc)
666                    throws com.liferay.portal.kernel.exception.SystemException {
667                    return _wikiPageLocalService.getPages(nodeId, head, status, start, end,
668                            obc);
669            }
670    
671            @Override
672            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
673                    long nodeId, boolean head, int start, int end,
674                    com.liferay.portal.kernel.util.OrderByComparator obc)
675                    throws com.liferay.portal.kernel.exception.SystemException {
676                    return _wikiPageLocalService.getPages(nodeId, head, start, end, obc);
677            }
678    
679            @Override
680            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
681                    long nodeId, int start, int end)
682                    throws com.liferay.portal.kernel.exception.SystemException {
683                    return _wikiPageLocalService.getPages(nodeId, start, end);
684            }
685    
686            @Override
687            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
688                    long nodeId, int start, int end,
689                    com.liferay.portal.kernel.util.OrderByComparator obc)
690                    throws com.liferay.portal.kernel.exception.SystemException {
691                    return _wikiPageLocalService.getPages(nodeId, start, end, obc);
692            }
693    
694            @Override
695            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
696                    long resourcePrimKey, long nodeId, int status)
697                    throws com.liferay.portal.kernel.exception.SystemException {
698                    return _wikiPageLocalService.getPages(resourcePrimKey, nodeId, status);
699            }
700    
701            @Override
702            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
703                    long userId, long nodeId, int status, int start, int end)
704                    throws com.liferay.portal.kernel.exception.SystemException {
705                    return _wikiPageLocalService.getPages(userId, nodeId, status, start, end);
706            }
707    
708            @Override
709            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
710                    long nodeId, java.lang.String title, boolean head, int start, int end)
711                    throws com.liferay.portal.kernel.exception.SystemException {
712                    return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
713            }
714    
715            @Override
716            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
717                    long nodeId, java.lang.String title, int start, int end)
718                    throws com.liferay.portal.kernel.exception.SystemException {
719                    return _wikiPageLocalService.getPages(nodeId, title, start, end);
720            }
721    
722            @Override
723            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
724                    long nodeId, java.lang.String title, int start, int end,
725                    com.liferay.portal.kernel.util.OrderByComparator obc)
726                    throws com.liferay.portal.kernel.exception.SystemException {
727                    return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
728            }
729    
730            @Override
731            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
732                    java.lang.String format)
733                    throws com.liferay.portal.kernel.exception.SystemException {
734                    return _wikiPageLocalService.getPages(format);
735            }
736    
737            @Override
738            public int getPagesCount(long nodeId)
739                    throws com.liferay.portal.kernel.exception.SystemException {
740                    return _wikiPageLocalService.getPagesCount(nodeId);
741            }
742    
743            @Override
744            public int getPagesCount(long nodeId, boolean head)
745                    throws com.liferay.portal.kernel.exception.SystemException {
746                    return _wikiPageLocalService.getPagesCount(nodeId, head);
747            }
748    
749            @Override
750            public int getPagesCount(long nodeId, boolean head, int status)
751                    throws com.liferay.portal.kernel.exception.SystemException {
752                    return _wikiPageLocalService.getPagesCount(nodeId, head, status);
753            }
754    
755            @Override
756            public int getPagesCount(long nodeId, int status)
757                    throws com.liferay.portal.kernel.exception.SystemException {
758                    return _wikiPageLocalService.getPagesCount(nodeId, status);
759            }
760    
761            @Override
762            public int getPagesCount(long userId, long nodeId, int status)
763                    throws com.liferay.portal.kernel.exception.SystemException {
764                    return _wikiPageLocalService.getPagesCount(userId, nodeId, status);
765            }
766    
767            @Override
768            public int getPagesCount(long nodeId, java.lang.String title)
769                    throws com.liferay.portal.kernel.exception.SystemException {
770                    return _wikiPageLocalService.getPagesCount(nodeId, title);
771            }
772    
773            @Override
774            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
775                    throws com.liferay.portal.kernel.exception.SystemException {
776                    return _wikiPageLocalService.getPagesCount(nodeId, title, head);
777            }
778    
779            @Override
780            public int getPagesCount(java.lang.String format)
781                    throws com.liferay.portal.kernel.exception.SystemException {
782                    return _wikiPageLocalService.getPagesCount(format);
783            }
784    
785            /**
786            * @deprecated As of 6.2.0, replaced by {@link #getRecentChanges(long, long,
787            int, int)}
788            */
789            @Override
790            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
791                    long nodeId, int start, int end)
792                    throws com.liferay.portal.kernel.exception.PortalException,
793                            com.liferay.portal.kernel.exception.SystemException {
794                    return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
795            }
796    
797            @Override
798            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
799                    long groupId, long nodeId, int start, int end)
800                    throws com.liferay.portal.kernel.exception.SystemException {
801                    return _wikiPageLocalService.getRecentChanges(groupId, nodeId, start,
802                            end);
803            }
804    
805            /**
806            * @deprecated As of 6.2.0, replaced by {@link #getRecentChangesCount(long,
807            long)}
808            */
809            @Override
810            public int getRecentChangesCount(long nodeId)
811                    throws com.liferay.portal.kernel.exception.PortalException,
812                            com.liferay.portal.kernel.exception.SystemException {
813                    return _wikiPageLocalService.getRecentChangesCount(nodeId);
814            }
815    
816            @Override
817            public int getRecentChangesCount(long groupId, long nodeId)
818                    throws com.liferay.portal.kernel.exception.SystemException {
819                    return _wikiPageLocalService.getRecentChangesCount(groupId, nodeId);
820            }
821    
822            @Override
823            public java.lang.String[] getTempPageAttachmentNames(long groupId,
824                    long userId, java.lang.String tempFolderName)
825                    throws com.liferay.portal.kernel.exception.PortalException,
826                            com.liferay.portal.kernel.exception.SystemException {
827                    return _wikiPageLocalService.getTempPageAttachmentNames(groupId,
828                            userId, tempFolderName);
829            }
830    
831            @Override
832            public boolean hasDraftPage(long nodeId, java.lang.String title)
833                    throws com.liferay.portal.kernel.exception.SystemException {
834                    return _wikiPageLocalService.hasDraftPage(nodeId, title);
835            }
836    
837            @Override
838            public void movePage(long userId, long nodeId, java.lang.String title,
839                    java.lang.String newTitle, boolean strict,
840                    com.liferay.portal.service.ServiceContext serviceContext)
841                    throws com.liferay.portal.kernel.exception.PortalException,
842                            com.liferay.portal.kernel.exception.SystemException {
843                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
844                            serviceContext);
845            }
846    
847            @Override
848            public void movePage(long userId, long nodeId, java.lang.String title,
849                    java.lang.String newTitle,
850                    com.liferay.portal.service.ServiceContext serviceContext)
851                    throws com.liferay.portal.kernel.exception.PortalException,
852                            com.liferay.portal.kernel.exception.SystemException {
853                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
854                            serviceContext);
855            }
856    
857            @Override
858            public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
859                    long userId, long nodeId, java.lang.String title,
860                    java.lang.String fileName)
861                    throws com.liferay.portal.kernel.exception.PortalException,
862                            com.liferay.portal.kernel.exception.SystemException {
863                    return _wikiPageLocalService.movePageAttachmentToTrash(userId, nodeId,
864                            title, fileName);
865            }
866    
867            @Override
868            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
869                    long userId, long nodeId, java.lang.String title)
870                    throws com.liferay.portal.kernel.exception.PortalException,
871                            com.liferay.portal.kernel.exception.SystemException {
872                    return _wikiPageLocalService.movePageToTrash(userId, nodeId, title);
873            }
874    
875            @Override
876            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
877                    long userId, long nodeId, java.lang.String title, double version)
878                    throws com.liferay.portal.kernel.exception.PortalException,
879                            com.liferay.portal.kernel.exception.SystemException {
880                    return _wikiPageLocalService.movePageToTrash(userId, nodeId, title,
881                            version);
882            }
883    
884            @Override
885            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
886                    long userId, com.liferay.portlet.wiki.model.WikiPage page)
887                    throws com.liferay.portal.kernel.exception.PortalException,
888                            com.liferay.portal.kernel.exception.SystemException {
889                    return _wikiPageLocalService.movePageToTrash(userId, page);
890            }
891    
892            @Override
893            public void restorePageAttachmentFromTrash(long userId, long nodeId,
894                    java.lang.String title, java.lang.String fileName)
895                    throws com.liferay.portal.kernel.exception.PortalException,
896                            com.liferay.portal.kernel.exception.SystemException {
897                    _wikiPageLocalService.restorePageAttachmentFromTrash(userId, nodeId,
898                            title, fileName);
899            }
900    
901            @Override
902            public void restorePageFromTrash(long userId,
903                    com.liferay.portlet.wiki.model.WikiPage page)
904                    throws com.liferay.portal.kernel.exception.PortalException,
905                            com.liferay.portal.kernel.exception.SystemException {
906                    _wikiPageLocalService.restorePageFromTrash(userId, page);
907            }
908    
909            @Override
910            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
911                    long nodeId, java.lang.String title, double version,
912                    com.liferay.portal.service.ServiceContext serviceContext)
913                    throws com.liferay.portal.kernel.exception.PortalException,
914                            com.liferay.portal.kernel.exception.SystemException {
915                    return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
916                            serviceContext);
917            }
918    
919            @Override
920            public void subscribePage(long userId, long nodeId, java.lang.String title)
921                    throws com.liferay.portal.kernel.exception.PortalException,
922                            com.liferay.portal.kernel.exception.SystemException {
923                    _wikiPageLocalService.subscribePage(userId, nodeId, title);
924            }
925    
926            @Override
927            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
928                    throws com.liferay.portal.kernel.exception.PortalException,
929                            com.liferay.portal.kernel.exception.SystemException {
930                    _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
931            }
932    
933            @Override
934            public void updateAsset(long userId,
935                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
936                    java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
937                    throws com.liferay.portal.kernel.exception.PortalException,
938                            com.liferay.portal.kernel.exception.SystemException {
939                    _wikiPageLocalService.updateAsset(userId, page, assetCategoryIds,
940                            assetTagNames, assetLinkEntryIds);
941            }
942    
943            @Override
944            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
945                    long nodeId, java.lang.String title, double version,
946                    java.lang.String content, java.lang.String summary, boolean minorEdit,
947                    java.lang.String format, java.lang.String parentTitle,
948                    java.lang.String redirectTitle,
949                    com.liferay.portal.service.ServiceContext serviceContext)
950                    throws com.liferay.portal.kernel.exception.PortalException,
951                            com.liferay.portal.kernel.exception.SystemException {
952                    return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
953                            content, summary, minorEdit, format, parentTitle, redirectTitle,
954                            serviceContext);
955            }
956    
957            @Override
958            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
959                    long resourcePrimKey, int status,
960                    com.liferay.portal.service.ServiceContext serviceContext)
961                    throws com.liferay.portal.kernel.exception.PortalException,
962                            com.liferay.portal.kernel.exception.SystemException {
963                    return _wikiPageLocalService.updateStatus(userId, resourcePrimKey,
964                            status, serviceContext);
965            }
966    
967            @Override
968            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
969                    com.liferay.portlet.wiki.model.WikiPage page, int status,
970                    com.liferay.portal.service.ServiceContext serviceContext)
971                    throws com.liferay.portal.kernel.exception.PortalException,
972                            com.liferay.portal.kernel.exception.SystemException {
973                    return _wikiPageLocalService.updateStatus(userId, page, status,
974                            serviceContext);
975            }
976    
977            @Override
978            public void validateTitle(java.lang.String title)
979                    throws com.liferay.portal.kernel.exception.PortalException {
980                    _wikiPageLocalService.validateTitle(title);
981            }
982    
983            /**
984             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
985             */
986            public WikiPageLocalService getWrappedWikiPageLocalService() {
987                    return _wikiPageLocalService;
988            }
989    
990            /**
991             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
992             */
993            public void setWrappedWikiPageLocalService(
994                    WikiPageLocalService wikiPageLocalService) {
995                    _wikiPageLocalService = wikiPageLocalService;
996            }
997    
998            @Override
999            public WikiPageLocalService getWrappedService() {
1000                    return _wikiPageLocalService;
1001            }
1002    
1003            @Override
1004            public void setWrappedService(WikiPageLocalService wikiPageLocalService) {
1005                    _wikiPageLocalService = wikiPageLocalService;
1006            }
1007    
1008            private WikiPageLocalService _wikiPageLocalService;
1009    }