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