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