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