001    /**
002     * Copyright (c) 2000-2012 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 with the UUID in the group.
188            *
189            * @param uuid the UUID of wiki page
190            * @param groupId the group id of the wiki page
191            * @return the wiki page
192            * @throws PortalException if a wiki page with the UUID in the group 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            public void deletePage(long nodeId, java.lang.String title, double version)
369                    throws com.liferay.portal.kernel.exception.PortalException,
370                            com.liferay.portal.kernel.exception.SystemException {
371                    _wikiPageLocalService.deletePage(nodeId, title, version);
372            }
373    
374            public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
375                    throws com.liferay.portal.kernel.exception.PortalException,
376                            com.liferay.portal.kernel.exception.SystemException {
377                    _wikiPageLocalService.deletePage(page);
378            }
379    
380            public void deletePageAttachment(long nodeId, java.lang.String title,
381                    java.lang.String fileName)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException {
384                    _wikiPageLocalService.deletePageAttachment(nodeId, title, fileName);
385            }
386    
387            public void deletePageAttachments(long nodeId, java.lang.String title)
388                    throws com.liferay.portal.kernel.exception.PortalException,
389                            com.liferay.portal.kernel.exception.SystemException {
390                    _wikiPageLocalService.deletePageAttachments(nodeId, title);
391            }
392    
393            public void deletePages(long nodeId)
394                    throws com.liferay.portal.kernel.exception.PortalException,
395                            com.liferay.portal.kernel.exception.SystemException {
396                    _wikiPageLocalService.deletePages(nodeId);
397            }
398    
399            public void deleteTempPageAttachment(long groupId, long userId,
400                    java.lang.String fileName, java.lang.String tempFolderName)
401                    throws com.liferay.portal.kernel.exception.PortalException,
402                            com.liferay.portal.kernel.exception.SystemException {
403                    _wikiPageLocalService.deleteTempPageAttachment(groupId, userId,
404                            fileName, tempFolderName);
405            }
406    
407            public void deleteTrashPageAttachments(long nodeId, java.lang.String title)
408                    throws com.liferay.portal.kernel.exception.PortalException,
409                            com.liferay.portal.kernel.exception.SystemException {
410                    _wikiPageLocalService.deleteTrashPageAttachments(nodeId, title);
411            }
412    
413            public com.liferay.portlet.wiki.model.WikiPage fetchPage(long nodeId,
414                    java.lang.String title, double version)
415                    throws com.liferay.portal.kernel.exception.SystemException {
416                    return _wikiPageLocalService.fetchPage(nodeId, title, version);
417            }
418    
419            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
420                    long nodeId, boolean head, java.lang.String parentTitle)
421                    throws com.liferay.portal.kernel.exception.SystemException {
422                    return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
423            }
424    
425            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
426                    java.lang.String title)
427                    throws com.liferay.portal.kernel.exception.PortalException,
428                            com.liferay.portal.kernel.exception.SystemException {
429                    return _wikiPageLocalService.getDraftPage(nodeId, title);
430            }
431    
432            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
433                    long nodeId, java.lang.String title)
434                    throws com.liferay.portal.kernel.exception.PortalException,
435                            com.liferay.portal.kernel.exception.SystemException {
436                    return _wikiPageLocalService.getIncomingLinks(nodeId, title);
437            }
438    
439            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
440                    throws com.liferay.portal.kernel.exception.SystemException {
441                    return _wikiPageLocalService.getNoAssetPages();
442            }
443    
444            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
445                    long nodeId)
446                    throws com.liferay.portal.kernel.exception.PortalException,
447                            com.liferay.portal.kernel.exception.SystemException {
448                    return _wikiPageLocalService.getOrphans(nodeId);
449            }
450    
451            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
452                    long nodeId, java.lang.String title)
453                    throws com.liferay.portal.kernel.exception.PortalException,
454                            com.liferay.portal.kernel.exception.SystemException {
455                    return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
456            }
457    
458            public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
459                    throws com.liferay.portal.kernel.exception.PortalException,
460                            com.liferay.portal.kernel.exception.SystemException {
461                    return _wikiPageLocalService.getPage(resourcePrimKey);
462            }
463    
464            public com.liferay.portlet.wiki.model.WikiPage getPage(
465                    long resourcePrimKey, java.lang.Boolean head)
466                    throws com.liferay.portal.kernel.exception.PortalException,
467                            com.liferay.portal.kernel.exception.SystemException {
468                    return _wikiPageLocalService.getPage(resourcePrimKey, head);
469            }
470    
471            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
472                    java.lang.String title)
473                    throws com.liferay.portal.kernel.exception.PortalException,
474                            com.liferay.portal.kernel.exception.SystemException {
475                    return _wikiPageLocalService.getPage(nodeId, title);
476            }
477    
478            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
479                    java.lang.String title, java.lang.Boolean head)
480                    throws com.liferay.portal.kernel.exception.PortalException,
481                            com.liferay.portal.kernel.exception.SystemException {
482                    return _wikiPageLocalService.getPage(nodeId, title, head);
483            }
484    
485            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
486                    java.lang.String title, double version)
487                    throws com.liferay.portal.kernel.exception.PortalException,
488                            com.liferay.portal.kernel.exception.SystemException {
489                    return _wikiPageLocalService.getPage(nodeId, title, version);
490            }
491    
492            public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
493                    throws com.liferay.portal.kernel.exception.PortalException,
494                            com.liferay.portal.kernel.exception.SystemException {
495                    return _wikiPageLocalService.getPageByPageId(pageId);
496            }
497    
498            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
499                    long nodeId, java.lang.String title,
500                    javax.portlet.PortletURL viewPageURL,
501                    javax.portlet.PortletURL editPageURL,
502                    java.lang.String attachmentURLPrefix)
503                    throws com.liferay.portal.kernel.exception.PortalException,
504                            com.liferay.portal.kernel.exception.SystemException {
505                    return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
506                            editPageURL, attachmentURLPrefix);
507            }
508    
509            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
510                    com.liferay.portlet.wiki.model.WikiPage page,
511                    javax.portlet.PortletURL viewPageURL,
512                    javax.portlet.PortletURL editPageURL,
513                    java.lang.String attachmentURLPrefix)
514                    throws com.liferay.portal.kernel.exception.PortalException,
515                            com.liferay.portal.kernel.exception.SystemException {
516                    return _wikiPageLocalService.getPageDisplay(page, viewPageURL,
517                            editPageURL, attachmentURLPrefix);
518            }
519    
520            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
521                    long nodeId, boolean head, int start, int end)
522                    throws com.liferay.portal.kernel.exception.SystemException {
523                    return _wikiPageLocalService.getPages(nodeId, head, start, end);
524            }
525    
526            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
527                    long nodeId, boolean head, int status, int start, int end,
528                    com.liferay.portal.kernel.util.OrderByComparator obc)
529                    throws com.liferay.portal.kernel.exception.SystemException {
530                    return _wikiPageLocalService.getPages(nodeId, head, status, start, end,
531                            obc);
532            }
533    
534            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
535                    long nodeId, boolean head, int start, int end,
536                    com.liferay.portal.kernel.util.OrderByComparator obc)
537                    throws com.liferay.portal.kernel.exception.SystemException {
538                    return _wikiPageLocalService.getPages(nodeId, head, start, end, obc);
539            }
540    
541            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
542                    long nodeId, int start, int end)
543                    throws com.liferay.portal.kernel.exception.SystemException {
544                    return _wikiPageLocalService.getPages(nodeId, start, end);
545            }
546    
547            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
548                    long nodeId, int start, int end,
549                    com.liferay.portal.kernel.util.OrderByComparator obc)
550                    throws com.liferay.portal.kernel.exception.SystemException {
551                    return _wikiPageLocalService.getPages(nodeId, start, end, obc);
552            }
553    
554            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
555                    long resourcePrimKey, long nodeId, int status)
556                    throws com.liferay.portal.kernel.exception.SystemException {
557                    return _wikiPageLocalService.getPages(resourcePrimKey, nodeId, status);
558            }
559    
560            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
561                    long userId, long nodeId, int status, int start, int end)
562                    throws com.liferay.portal.kernel.exception.SystemException {
563                    return _wikiPageLocalService.getPages(userId, nodeId, status, start, end);
564            }
565    
566            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
567                    long nodeId, java.lang.String title, boolean head, int start, int end)
568                    throws com.liferay.portal.kernel.exception.SystemException {
569                    return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
570            }
571    
572            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
573                    long nodeId, java.lang.String title, int start, int end)
574                    throws com.liferay.portal.kernel.exception.SystemException {
575                    return _wikiPageLocalService.getPages(nodeId, title, start, end);
576            }
577    
578            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
579                    long nodeId, java.lang.String title, int start, int end,
580                    com.liferay.portal.kernel.util.OrderByComparator obc)
581                    throws com.liferay.portal.kernel.exception.SystemException {
582                    return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
583            }
584    
585            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
586                    java.lang.String format)
587                    throws com.liferay.portal.kernel.exception.SystemException {
588                    return _wikiPageLocalService.getPages(format);
589            }
590    
591            public int getPagesCount(long nodeId)
592                    throws com.liferay.portal.kernel.exception.SystemException {
593                    return _wikiPageLocalService.getPagesCount(nodeId);
594            }
595    
596            public int getPagesCount(long nodeId, boolean head)
597                    throws com.liferay.portal.kernel.exception.SystemException {
598                    return _wikiPageLocalService.getPagesCount(nodeId, head);
599            }
600    
601            public int getPagesCount(long nodeId, boolean head, int status)
602                    throws com.liferay.portal.kernel.exception.SystemException {
603                    return _wikiPageLocalService.getPagesCount(nodeId, head, status);
604            }
605    
606            public int getPagesCount(long nodeId, int status)
607                    throws com.liferay.portal.kernel.exception.SystemException {
608                    return _wikiPageLocalService.getPagesCount(nodeId, status);
609            }
610    
611            public int getPagesCount(long userId, long nodeId, int status)
612                    throws com.liferay.portal.kernel.exception.SystemException {
613                    return _wikiPageLocalService.getPagesCount(userId, nodeId, status);
614            }
615    
616            public int getPagesCount(long nodeId, java.lang.String title)
617                    throws com.liferay.portal.kernel.exception.SystemException {
618                    return _wikiPageLocalService.getPagesCount(nodeId, title);
619            }
620    
621            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
622                    throws com.liferay.portal.kernel.exception.SystemException {
623                    return _wikiPageLocalService.getPagesCount(nodeId, title, head);
624            }
625    
626            public int getPagesCount(java.lang.String format)
627                    throws com.liferay.portal.kernel.exception.SystemException {
628                    return _wikiPageLocalService.getPagesCount(format);
629            }
630    
631            /**
632            * @deprecated {@link #getRecentChanges(long, long, int, int)}
633            */
634            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
635                    long nodeId, int start, int end)
636                    throws com.liferay.portal.kernel.exception.PortalException,
637                            com.liferay.portal.kernel.exception.SystemException {
638                    return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
639            }
640    
641            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
642                    long groupId, long nodeId, int start, int end)
643                    throws com.liferay.portal.kernel.exception.SystemException {
644                    return _wikiPageLocalService.getRecentChanges(groupId, nodeId, start,
645                            end);
646            }
647    
648            /**
649            * @deprecated {@link #getRecentChangesCount(long, long)}
650            */
651            public int getRecentChangesCount(long nodeId)
652                    throws com.liferay.portal.kernel.exception.PortalException,
653                            com.liferay.portal.kernel.exception.SystemException {
654                    return _wikiPageLocalService.getRecentChangesCount(nodeId);
655            }
656    
657            public int getRecentChangesCount(long groupId, long nodeId)
658                    throws com.liferay.portal.kernel.exception.SystemException {
659                    return _wikiPageLocalService.getRecentChangesCount(groupId, nodeId);
660            }
661    
662            public java.lang.String[] getTempPageAttachmentNames(long groupId,
663                    long userId, java.lang.String tempFolderName)
664                    throws com.liferay.portal.kernel.exception.PortalException,
665                            com.liferay.portal.kernel.exception.SystemException {
666                    return _wikiPageLocalService.getTempPageAttachmentNames(groupId,
667                            userId, tempFolderName);
668            }
669    
670            public boolean hasDraftPage(long nodeId, java.lang.String title)
671                    throws com.liferay.portal.kernel.exception.SystemException {
672                    return _wikiPageLocalService.hasDraftPage(nodeId, title);
673            }
674    
675            public void movePage(long userId, long nodeId, java.lang.String title,
676                    java.lang.String newTitle, boolean strict,
677                    com.liferay.portal.service.ServiceContext serviceContext)
678                    throws com.liferay.portal.kernel.exception.PortalException,
679                            com.liferay.portal.kernel.exception.SystemException {
680                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
681                            serviceContext);
682            }
683    
684            public void movePage(long userId, long nodeId, java.lang.String title,
685                    java.lang.String newTitle,
686                    com.liferay.portal.service.ServiceContext serviceContext)
687                    throws com.liferay.portal.kernel.exception.PortalException,
688                            com.liferay.portal.kernel.exception.SystemException {
689                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
690                            serviceContext);
691            }
692    
693            public long movePageAttachmentToTrash(long userId, long nodeId,
694                    java.lang.String title, java.lang.String fileName)
695                    throws com.liferay.portal.kernel.exception.PortalException,
696                            com.liferay.portal.kernel.exception.SystemException {
697                    return _wikiPageLocalService.movePageAttachmentToTrash(userId, nodeId,
698                            title, fileName);
699            }
700    
701            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
702                    long userId, long nodeId, java.lang.String title)
703                    throws com.liferay.portal.kernel.exception.PortalException,
704                            com.liferay.portal.kernel.exception.SystemException {
705                    return _wikiPageLocalService.movePageToTrash(userId, nodeId, title);
706            }
707    
708            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
709                    long userId, long nodeId, java.lang.String title, double version)
710                    throws com.liferay.portal.kernel.exception.PortalException,
711                            com.liferay.portal.kernel.exception.SystemException {
712                    return _wikiPageLocalService.movePageToTrash(userId, nodeId, title,
713                            version);
714            }
715    
716            public com.liferay.portlet.wiki.model.WikiPage movePageToTrash(
717                    long userId, com.liferay.portlet.wiki.model.WikiPage page)
718                    throws com.liferay.portal.kernel.exception.PortalException,
719                            com.liferay.portal.kernel.exception.SystemException {
720                    return _wikiPageLocalService.movePageToTrash(userId, page);
721            }
722    
723            public void restorePageAttachmentFromTrash(long userId, long nodeId,
724                    java.lang.String title, java.lang.String fileName)
725                    throws com.liferay.portal.kernel.exception.PortalException,
726                            com.liferay.portal.kernel.exception.SystemException {
727                    _wikiPageLocalService.restorePageAttachmentFromTrash(userId, nodeId,
728                            title, fileName);
729            }
730    
731            public void restorePageFromTrash(long userId,
732                    com.liferay.portlet.wiki.model.WikiPage page)
733                    throws com.liferay.portal.kernel.exception.PortalException,
734                            com.liferay.portal.kernel.exception.SystemException {
735                    _wikiPageLocalService.restorePageFromTrash(userId, page);
736            }
737    
738            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
739                    long nodeId, java.lang.String title, double version,
740                    com.liferay.portal.service.ServiceContext serviceContext)
741                    throws com.liferay.portal.kernel.exception.PortalException,
742                            com.liferay.portal.kernel.exception.SystemException {
743                    return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
744                            serviceContext);
745            }
746    
747            public void subscribePage(long userId, long nodeId, java.lang.String title)
748                    throws com.liferay.portal.kernel.exception.PortalException,
749                            com.liferay.portal.kernel.exception.SystemException {
750                    _wikiPageLocalService.subscribePage(userId, nodeId, title);
751            }
752    
753            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
754                    throws com.liferay.portal.kernel.exception.PortalException,
755                            com.liferay.portal.kernel.exception.SystemException {
756                    _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
757            }
758    
759            public void updateAsset(long userId,
760                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
761                    java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
762                    throws com.liferay.portal.kernel.exception.PortalException,
763                            com.liferay.portal.kernel.exception.SystemException {
764                    _wikiPageLocalService.updateAsset(userId, page, assetCategoryIds,
765                            assetTagNames, assetLinkEntryIds);
766            }
767    
768            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
769                    long nodeId, java.lang.String title, double version,
770                    java.lang.String content, java.lang.String summary, boolean minorEdit,
771                    java.lang.String format, java.lang.String parentTitle,
772                    java.lang.String redirectTitle,
773                    com.liferay.portal.service.ServiceContext serviceContext)
774                    throws com.liferay.portal.kernel.exception.PortalException,
775                            com.liferay.portal.kernel.exception.SystemException {
776                    return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
777                            content, summary, minorEdit, format, parentTitle, redirectTitle,
778                            serviceContext);
779            }
780    
781            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
782                    long resourcePrimKey, int status,
783                    com.liferay.portal.service.ServiceContext serviceContext)
784                    throws com.liferay.portal.kernel.exception.PortalException,
785                            com.liferay.portal.kernel.exception.SystemException {
786                    return _wikiPageLocalService.updateStatus(userId, resourcePrimKey,
787                            status, serviceContext);
788            }
789    
790            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
791                    com.liferay.portlet.wiki.model.WikiPage page, int status,
792                    com.liferay.portal.service.ServiceContext serviceContext)
793                    throws com.liferay.portal.kernel.exception.PortalException,
794                            com.liferay.portal.kernel.exception.SystemException {
795                    return _wikiPageLocalService.updateStatus(userId, page, status,
796                            serviceContext);
797            }
798    
799            public void validateTitle(java.lang.String title)
800                    throws com.liferay.portal.kernel.exception.PortalException {
801                    _wikiPageLocalService.validateTitle(title);
802            }
803    
804            /**
805             * @deprecated Renamed to {@link #getWrappedService}
806             */
807            public WikiPageLocalService getWrappedWikiPageLocalService() {
808                    return _wikiPageLocalService;
809            }
810    
811            /**
812             * @deprecated Renamed to {@link #setWrappedService}
813             */
814            public void setWrappedWikiPageLocalService(
815                    WikiPageLocalService wikiPageLocalService) {
816                    _wikiPageLocalService = wikiPageLocalService;
817            }
818    
819            public WikiPageLocalService getWrappedService() {
820                    return _wikiPageLocalService;
821            }
822    
823            public void setWrappedService(WikiPageLocalService wikiPageLocalService) {
824                    _wikiPageLocalService = wikiPageLocalService;
825            }
826    
827            private WikiPageLocalService _wikiPageLocalService;
828    }