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