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 fetchLatestPage(
535                    long resourcePrimKey, int status, boolean preferApproved)
536                    throws com.liferay.portal.kernel.exception.SystemException {
537                    return _wikiPageLocalService.fetchLatestPage(resourcePrimKey, status,
538                            preferApproved);
539            }
540    
541            @Override
542            public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
543                    long resourcePrimKey, long nodeId, int status, boolean preferApproved)
544                    throws com.liferay.portal.kernel.exception.SystemException {
545                    return _wikiPageLocalService.fetchLatestPage(resourcePrimKey, nodeId,
546                            status, preferApproved);
547            }
548    
549            @Override
550            public com.liferay.portlet.wiki.model.WikiPage fetchLatestPage(
551                    long nodeId, java.lang.String title, int status, boolean preferApproved)
552                    throws com.liferay.portal.kernel.exception.SystemException {
553                    return _wikiPageLocalService.fetchLatestPage(nodeId, title, status,
554                            preferApproved);
555            }
556    
557            @Override
558            public com.liferay.portlet.wiki.model.WikiPage fetchPage(long nodeId,
559                    java.lang.String title, double version)
560                    throws com.liferay.portal.kernel.exception.SystemException {
561                    return _wikiPageLocalService.fetchPage(nodeId, title, version);
562            }
563    
564            @Override
565            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
566                    long nodeId, boolean head, java.lang.String parentTitle)
567                    throws com.liferay.portal.kernel.exception.SystemException {
568                    return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
569            }
570    
571            @Override
572            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
573                    java.lang.String title)
574                    throws com.liferay.portal.kernel.exception.PortalException,
575                            com.liferay.portal.kernel.exception.SystemException {
576                    return _wikiPageLocalService.getDraftPage(nodeId, title);
577            }
578    
579            @Override
580            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
581                    long nodeId, java.lang.String title)
582                    throws com.liferay.portal.kernel.exception.PortalException,
583                            com.liferay.portal.kernel.exception.SystemException {
584                    return _wikiPageLocalService.getIncomingLinks(nodeId, title);
585            }
586    
587            @Override
588            public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
589                    long resourcePrimKey, int status, boolean preferApproved)
590                    throws com.liferay.portal.kernel.exception.PortalException,
591                            com.liferay.portal.kernel.exception.SystemException {
592                    return _wikiPageLocalService.getLatestPage(resourcePrimKey, status,
593                            preferApproved);
594            }
595    
596            @Override
597            public com.liferay.portlet.wiki.model.WikiPage getLatestPage(
598                    long resourcePrimKey, long nodeId, int status, boolean preferApproved)
599                    throws com.liferay.portal.kernel.exception.PortalException,
600                            com.liferay.portal.kernel.exception.SystemException {
601                    return _wikiPageLocalService.getLatestPage(resourcePrimKey, nodeId,
602                            status, preferApproved);
603            }
604    
605            @Override
606            public com.liferay.portlet.wiki.model.WikiPage getLatestPage(long nodeId,
607                    java.lang.String title, int status, boolean preferApproved)
608                    throws com.liferay.portal.kernel.exception.PortalException,
609                            com.liferay.portal.kernel.exception.SystemException {
610                    return _wikiPageLocalService.getLatestPage(nodeId, title, status,
611                            preferApproved);
612            }
613    
614            @Override
615            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
616                    throws com.liferay.portal.kernel.exception.SystemException {
617                    return _wikiPageLocalService.getNoAssetPages();
618            }
619    
620            @Override
621            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
622                    long nodeId)
623                    throws com.liferay.portal.kernel.exception.PortalException,
624                            com.liferay.portal.kernel.exception.SystemException {
625                    return _wikiPageLocalService.getOrphans(nodeId);
626            }
627    
628            @Override
629            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
630                    long nodeId, java.lang.String title)
631                    throws com.liferay.portal.kernel.exception.PortalException,
632                            com.liferay.portal.kernel.exception.SystemException {
633                    return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
634            }
635    
636            @Override
637            public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
638                    throws com.liferay.portal.kernel.exception.PortalException,
639                            com.liferay.portal.kernel.exception.SystemException {
640                    return _wikiPageLocalService.getPage(resourcePrimKey);
641            }
642    
643            @Override
644            public com.liferay.portlet.wiki.model.WikiPage getPage(
645                    long resourcePrimKey, java.lang.Boolean head)
646                    throws com.liferay.portal.kernel.exception.PortalException,
647                            com.liferay.portal.kernel.exception.SystemException {
648                    return _wikiPageLocalService.getPage(resourcePrimKey, head);
649            }
650    
651            @Override
652            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
653                    java.lang.String title)
654                    throws com.liferay.portal.kernel.exception.PortalException,
655                            com.liferay.portal.kernel.exception.SystemException {
656                    return _wikiPageLocalService.getPage(nodeId, title);
657            }
658    
659            @Override
660            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
661                    java.lang.String title, java.lang.Boolean head)
662                    throws com.liferay.portal.kernel.exception.PortalException,
663                            com.liferay.portal.kernel.exception.SystemException {
664                    return _wikiPageLocalService.getPage(nodeId, title, head);
665            }
666    
667            @Override
668            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
669                    java.lang.String title, double version)
670                    throws com.liferay.portal.kernel.exception.PortalException,
671                            com.liferay.portal.kernel.exception.SystemException {
672                    return _wikiPageLocalService.getPage(nodeId, title, version);
673            }
674    
675            @Override
676            public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
677                    throws com.liferay.portal.kernel.exception.PortalException,
678                            com.liferay.portal.kernel.exception.SystemException {
679                    return _wikiPageLocalService.getPageByPageId(pageId);
680            }
681    
682            @Override
683            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
684                    long nodeId, java.lang.String title,
685                    javax.portlet.PortletURL viewPageURL,
686                    javax.portlet.PortletURL editPageURL,
687                    java.lang.String attachmentURLPrefix)
688                    throws com.liferay.portal.kernel.exception.PortalException,
689                            com.liferay.portal.kernel.exception.SystemException {
690                    return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
691                            editPageURL, attachmentURLPrefix);
692            }
693    
694            @Override
695            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
696                    com.liferay.portlet.wiki.model.WikiPage page,
697                    javax.portlet.PortletURL viewPageURL,
698                    javax.portlet.PortletURL editPageURL,
699                    java.lang.String attachmentURLPrefix)
700                    throws com.liferay.portal.kernel.exception.PortalException,
701                            com.liferay.portal.kernel.exception.SystemException {
702                    return _wikiPageLocalService.getPageDisplay(page, viewPageURL,
703                            editPageURL, attachmentURLPrefix);
704            }
705    
706            @Override
707            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
708                    long nodeId, boolean head, int start, int end)
709                    throws com.liferay.portal.kernel.exception.SystemException {
710                    return _wikiPageLocalService.getPages(nodeId, head, start, end);
711            }
712    
713            @Override
714            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
715                    long nodeId, boolean head, int status, int start, int end,
716                    com.liferay.portal.kernel.util.OrderByComparator obc)
717                    throws com.liferay.portal.kernel.exception.SystemException {
718                    return _wikiPageLocalService.getPages(nodeId, head, status, start, end,
719                            obc);
720            }
721    
722            @Override
723            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
724                    long nodeId, boolean head, 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, head, start, end, obc);
728            }
729    
730            @Override
731            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
732                    long nodeId, int start, int end)
733                    throws com.liferay.portal.kernel.exception.SystemException {
734                    return _wikiPageLocalService.getPages(nodeId, start, end);
735            }
736    
737            @Override
738            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
739                    long nodeId, int start, int end,
740                    com.liferay.portal.kernel.util.OrderByComparator obc)
741                    throws com.liferay.portal.kernel.exception.SystemException {
742                    return _wikiPageLocalService.getPages(nodeId, start, end, obc);
743            }
744    
745            @Override
746            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
747                    long resourcePrimKey, long nodeId, int status)
748                    throws com.liferay.portal.kernel.exception.SystemException {
749                    return _wikiPageLocalService.getPages(resourcePrimKey, nodeId, status);
750            }
751    
752            @Override
753            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
754                    long userId, long nodeId, int status, int start, int end)
755                    throws com.liferay.portal.kernel.exception.SystemException {
756                    return _wikiPageLocalService.getPages(userId, nodeId, status, start, end);
757            }
758    
759            @Override
760            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
761                    long nodeId, java.lang.String title, boolean head, int start, int end)
762                    throws com.liferay.portal.kernel.exception.SystemException {
763                    return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
764            }
765    
766            @Override
767            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
768                    long nodeId, java.lang.String title, int start, int end)
769                    throws com.liferay.portal.kernel.exception.SystemException {
770                    return _wikiPageLocalService.getPages(nodeId, title, start, end);
771            }
772    
773            @Override
774            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
775                    long nodeId, java.lang.String title, int start, int end,
776                    com.liferay.portal.kernel.util.OrderByComparator obc)
777                    throws com.liferay.portal.kernel.exception.SystemException {
778                    return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
779            }
780    
781            @Override
782            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
783                    java.lang.String format)
784                    throws com.liferay.portal.kernel.exception.SystemException {
785                    return _wikiPageLocalService.getPages(format);
786            }
787    
788            @Override
789            public int getPagesCount(long nodeId)
790                    throws com.liferay.portal.kernel.exception.SystemException {
791                    return _wikiPageLocalService.getPagesCount(nodeId);
792            }
793    
794            @Override
795            public int getPagesCount(long nodeId, boolean head)
796                    throws com.liferay.portal.kernel.exception.SystemException {
797                    return _wikiPageLocalService.getPagesCount(nodeId, head);
798            }
799    
800            @Override
801            public int getPagesCount(long nodeId, boolean head, int status)
802                    throws com.liferay.portal.kernel.exception.SystemException {
803                    return _wikiPageLocalService.getPagesCount(nodeId, head, status);
804            }
805    
806            @Override
807            public int getPagesCount(long nodeId, int status)
808                    throws com.liferay.portal.kernel.exception.SystemException {
809                    return _wikiPageLocalService.getPagesCount(nodeId, status);
810            }
811    
812            @Override
813            public int getPagesCount(long userId, long nodeId, int status)
814                    throws com.liferay.portal.kernel.exception.SystemException {
815                    return _wikiPageLocalService.getPagesCount(userId, nodeId, status);
816            }
817    
818            @Override
819            public int getPagesCount(long nodeId, java.lang.String title)
820                    throws com.liferay.portal.kernel.exception.SystemException {
821                    return _wikiPageLocalService.getPagesCount(nodeId, title);
822            }
823    
824            @Override
825            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
826                    throws com.liferay.portal.kernel.exception.SystemException {
827                    return _wikiPageLocalService.getPagesCount(nodeId, title, head);
828            }
829    
830            @Override
831            public int getPagesCount(java.lang.String format)
832                    throws com.liferay.portal.kernel.exception.SystemException {
833                    return _wikiPageLocalService.getPagesCount(format);
834            }
835    
836            /**
837            * @deprecated As of 6.2.0, replaced by {@link #getRecentChanges(long, long,
838            int, int)}
839            */
840            @Override
841            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
842                    long nodeId, int start, int end)
843                    throws com.liferay.portal.kernel.exception.PortalException,
844                            com.liferay.portal.kernel.exception.SystemException {
845                    return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
846            }
847    
848            @Override
849            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
850                    long groupId, long nodeId, int start, int end)
851                    throws com.liferay.portal.kernel.exception.SystemException {
852                    return _wikiPageLocalService.getRecentChanges(groupId, nodeId, start,
853                            end);
854            }
855    
856            /**
857            * @deprecated As of 6.2.0, replaced by {@link #getRecentChangesCount(long,
858            long)}
859            */
860            @Override
861            public int getRecentChangesCount(long nodeId)
862                    throws com.liferay.portal.kernel.exception.PortalException,
863                            com.liferay.portal.kernel.exception.SystemException {
864                    return _wikiPageLocalService.getRecentChangesCount(nodeId);
865            }
866    
867            @Override
868            public int getRecentChangesCount(long groupId, long nodeId)
869                    throws com.liferay.portal.kernel.exception.SystemException {
870                    return _wikiPageLocalService.getRecentChangesCount(groupId, nodeId);
871            }
872    
873            @Override
874            public java.lang.String[] getTempPageAttachmentNames(long groupId,
875                    long userId, java.lang.String tempFolderName)
876                    throws com.liferay.portal.kernel.exception.PortalException,
877                            com.liferay.portal.kernel.exception.SystemException {
878                    return _wikiPageLocalService.getTempPageAttachmentNames(groupId,
879                            userId, tempFolderName);
880            }
881    
882            @Override
883            public boolean hasDraftPage(long nodeId, java.lang.String title)
884                    throws com.liferay.portal.kernel.exception.SystemException {
885                    return _wikiPageLocalService.hasDraftPage(nodeId, title);
886            }
887    
888            @Override
889            public void movePage(long userId, long nodeId, java.lang.String title,
890                    java.lang.String newTitle, boolean strict,
891                    com.liferay.portal.service.ServiceContext serviceContext)
892                    throws com.liferay.portal.kernel.exception.PortalException,
893                            com.liferay.portal.kernel.exception.SystemException {
894                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
895                            serviceContext);
896            }
897    
898            @Override
899            public void movePage(long userId, long nodeId, java.lang.String title,
900                    java.lang.String newTitle,
901                    com.liferay.portal.service.ServiceContext serviceContext)
902                    throws com.liferay.portal.kernel.exception.PortalException,
903                            com.liferay.portal.kernel.exception.SystemException {
904                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
905                            serviceContext);
906            }
907    
908            @Override
909            public com.liferay.portal.kernel.repository.model.FileEntry movePageAttachmentToTrash(
910                    long userId, long nodeId, java.lang.String title,
911                    java.lang.String fileName)
912                    throws com.liferay.portal.kernel.exception.PortalException,
913                            com.liferay.portal.kernel.exception.SystemException {
914                    return _wikiPageLocalService.movePageAttachmentToTrash(userId, nodeId,
915                            title, fileName);
916            }
917    
918            @Override
919            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
920                    long userId, long nodeId, java.lang.String title)
921                    throws com.liferay.portal.kernel.exception.PortalException,
922                            com.liferay.portal.kernel.exception.SystemException {
923                    return _wikiPageLocalService.movePageToTrash(userId, nodeId, title);
924            }
925    
926            @Override
927            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
928                    long userId, long nodeId, java.lang.String title, double version)
929                    throws com.liferay.portal.kernel.exception.PortalException,
930                            com.liferay.portal.kernel.exception.SystemException {
931                    return _wikiPageLocalService.movePageToTrash(userId, nodeId, title,
932                            version);
933            }
934    
935            @Override
936            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
937                    long userId, com.liferay.portlet.wiki.model.WikiPage page)
938                    throws com.liferay.portal.kernel.exception.PortalException,
939                            com.liferay.portal.kernel.exception.SystemException {
940                    return _wikiPageLocalService.movePageToTrash(userId, page);
941            }
942    
943            @Override
944            public void restorePageAttachmentFromTrash(long userId, long nodeId,
945                    java.lang.String title, java.lang.String fileName)
946                    throws com.liferay.portal.kernel.exception.PortalException,
947                            com.liferay.portal.kernel.exception.SystemException {
948                    _wikiPageLocalService.restorePageAttachmentFromTrash(userId, nodeId,
949                            title, fileName);
950            }
951    
952            @Override
953            public void restorePageFromTrash(long userId,
954                    com.liferay.portlet.wiki.model.WikiPage page)
955                    throws com.liferay.portal.kernel.exception.PortalException,
956                            com.liferay.portal.kernel.exception.SystemException {
957                    _wikiPageLocalService.restorePageFromTrash(userId, page);
958            }
959    
960            @Override
961            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
962                    long nodeId, java.lang.String title, double version,
963                    com.liferay.portal.service.ServiceContext serviceContext)
964                    throws com.liferay.portal.kernel.exception.PortalException,
965                            com.liferay.portal.kernel.exception.SystemException {
966                    return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
967                            serviceContext);
968            }
969    
970            @Override
971            public void subscribePage(long userId, long nodeId, java.lang.String title)
972                    throws com.liferay.portal.kernel.exception.PortalException,
973                            com.liferay.portal.kernel.exception.SystemException {
974                    _wikiPageLocalService.subscribePage(userId, nodeId, title);
975            }
976    
977            @Override
978            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
979                    throws com.liferay.portal.kernel.exception.PortalException,
980                            com.liferay.portal.kernel.exception.SystemException {
981                    _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
982            }
983    
984            @Override
985            public void updateAsset(long userId,
986                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
987                    java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
988                    throws com.liferay.portal.kernel.exception.PortalException,
989                            com.liferay.portal.kernel.exception.SystemException {
990                    _wikiPageLocalService.updateAsset(userId, page, assetCategoryIds,
991                            assetTagNames, assetLinkEntryIds);
992            }
993    
994            @Override
995            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
996                    long nodeId, java.lang.String title, double version,
997                    java.lang.String content, java.lang.String summary, boolean minorEdit,
998                    java.lang.String format, java.lang.String parentTitle,
999                    java.lang.String redirectTitle,
1000                    com.liferay.portal.service.ServiceContext serviceContext)
1001                    throws com.liferay.portal.kernel.exception.PortalException,
1002                            com.liferay.portal.kernel.exception.SystemException {
1003                    return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
1004                            content, summary, minorEdit, format, parentTitle, redirectTitle,
1005                            serviceContext);
1006            }
1007    
1008            @Override
1009            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
1010                    long resourcePrimKey, int status,
1011                    com.liferay.portal.service.ServiceContext serviceContext)
1012                    throws com.liferay.portal.kernel.exception.PortalException,
1013                            com.liferay.portal.kernel.exception.SystemException {
1014                    return _wikiPageLocalService.updateStatus(userId, resourcePrimKey,
1015                            status, serviceContext);
1016            }
1017    
1018            @Override
1019            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
1020                    com.liferay.portlet.wiki.model.WikiPage page, int status,
1021                    com.liferay.portal.service.ServiceContext serviceContext)
1022                    throws com.liferay.portal.kernel.exception.PortalException,
1023                            com.liferay.portal.kernel.exception.SystemException {
1024                    return _wikiPageLocalService.updateStatus(userId, page, status,
1025                            serviceContext);
1026            }
1027    
1028            @Override
1029            public void validateTitle(java.lang.String title)
1030                    throws com.liferay.portal.kernel.exception.PortalException {
1031                    _wikiPageLocalService.validateTitle(title);
1032            }
1033    
1034            /**
1035             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
1036             */
1037            public WikiPageLocalService getWrappedWikiPageLocalService() {
1038                    return _wikiPageLocalService;
1039            }
1040    
1041            /**
1042             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
1043             */
1044            public void setWrappedWikiPageLocalService(
1045                    WikiPageLocalService wikiPageLocalService) {
1046                    _wikiPageLocalService = wikiPageLocalService;
1047            }
1048    
1049            @Override
1050            public WikiPageLocalService getWrappedService() {
1051                    return _wikiPageLocalService;
1052            }
1053    
1054            @Override
1055            public void setWrappedService(WikiPageLocalService wikiPageLocalService) {
1056                    _wikiPageLocalService = wikiPageLocalService;
1057            }
1058    
1059            private WikiPageLocalService _wikiPageLocalService;
1060    }