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