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            * @throws PortalException if a wiki page with the primary key could not be found
063            * @throws SystemException if a system exception occurred
064            */
065            public void deleteWikiPage(long pageId)
066                    throws com.liferay.portal.kernel.exception.PortalException,
067                            com.liferay.portal.kernel.exception.SystemException {
068                    _wikiPageLocalService.deleteWikiPage(pageId);
069            }
070    
071            /**
072            * Deletes the wiki page from the database. Also notifies the appropriate model listeners.
073            *
074            * @param wikiPage the wiki page
075            * @throws SystemException if a system exception occurred
076            */
077            public void deleteWikiPage(com.liferay.portlet.wiki.model.WikiPage wikiPage)
078                    throws com.liferay.portal.kernel.exception.SystemException {
079                    _wikiPageLocalService.deleteWikiPage(wikiPage);
080            }
081    
082            /**
083            * Performs a dynamic query on the database and returns the matching rows.
084            *
085            * @param dynamicQuery the dynamic query
086            * @return the matching rows
087            * @throws SystemException if a system exception occurred
088            */
089            @SuppressWarnings("rawtypes")
090            public java.util.List dynamicQuery(
091                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092                    throws com.liferay.portal.kernel.exception.SystemException {
093                    return _wikiPageLocalService.dynamicQuery(dynamicQuery);
094            }
095    
096            /**
097            * Performs a dynamic query on the database and returns a range of the matching rows.
098            *
099            * <p>
100            * 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.
101            * </p>
102            *
103            * @param dynamicQuery the dynamic query
104            * @param start the lower bound of the range of model instances
105            * @param end the upper bound of the range of model instances (not inclusive)
106            * @return the range of matching rows
107            * @throws SystemException if a system exception occurred
108            */
109            @SuppressWarnings("rawtypes")
110            public java.util.List dynamicQuery(
111                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112                    int end) throws com.liferay.portal.kernel.exception.SystemException {
113                    return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end);
114            }
115    
116            /**
117            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
118            *
119            * <p>
120            * 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.
121            * </p>
122            *
123            * @param dynamicQuery the dynamic query
124            * @param start the lower bound of the range of model instances
125            * @param end the upper bound of the range of model instances (not inclusive)
126            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
127            * @return the ordered range of matching rows
128            * @throws SystemException if a system exception occurred
129            */
130            @SuppressWarnings("rawtypes")
131            public java.util.List dynamicQuery(
132                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
133                    int end,
134                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
135                    throws com.liferay.portal.kernel.exception.SystemException {
136                    return _wikiPageLocalService.dynamicQuery(dynamicQuery, start, end,
137                            orderByComparator);
138            }
139    
140            /**
141            * Returns the number of rows that match the dynamic query.
142            *
143            * @param dynamicQuery the dynamic query
144            * @return the number of rows that match the dynamic query
145            * @throws SystemException if a system exception occurred
146            */
147            public long dynamicQueryCount(
148                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
149                    throws com.liferay.portal.kernel.exception.SystemException {
150                    return _wikiPageLocalService.dynamicQueryCount(dynamicQuery);
151            }
152    
153            public com.liferay.portlet.wiki.model.WikiPage fetchWikiPage(long pageId)
154                    throws com.liferay.portal.kernel.exception.SystemException {
155                    return _wikiPageLocalService.fetchWikiPage(pageId);
156            }
157    
158            /**
159            * Returns the wiki page with the primary key.
160            *
161            * @param pageId the primary key of the wiki page
162            * @return the wiki page
163            * @throws PortalException if a wiki page with the primary key could not be found
164            * @throws SystemException if a system exception occurred
165            */
166            public com.liferay.portlet.wiki.model.WikiPage getWikiPage(long pageId)
167                    throws com.liferay.portal.kernel.exception.PortalException,
168                            com.liferay.portal.kernel.exception.SystemException {
169                    return _wikiPageLocalService.getWikiPage(pageId);
170            }
171    
172            public com.liferay.portal.model.PersistedModel getPersistedModel(
173                    java.io.Serializable primaryKeyObj)
174                    throws com.liferay.portal.kernel.exception.PortalException,
175                            com.liferay.portal.kernel.exception.SystemException {
176                    return _wikiPageLocalService.getPersistedModel(primaryKeyObj);
177            }
178    
179            /**
180            * Returns the wiki page with the UUID in the group.
181            *
182            * @param uuid the UUID of wiki page
183            * @param groupId the group id of the wiki page
184            * @return the wiki page
185            * @throws PortalException if a wiki page with the UUID in the group could not be found
186            * @throws SystemException if a system exception occurred
187            */
188            public com.liferay.portlet.wiki.model.WikiPage getWikiPageByUuidAndGroupId(
189                    java.lang.String uuid, long groupId)
190                    throws com.liferay.portal.kernel.exception.PortalException,
191                            com.liferay.portal.kernel.exception.SystemException {
192                    return _wikiPageLocalService.getWikiPageByUuidAndGroupId(uuid, groupId);
193            }
194    
195            /**
196            * Returns a range of all the wiki pages.
197            *
198            * <p>
199            * 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.
200            * </p>
201            *
202            * @param start the lower bound of the range of wiki pages
203            * @param end the upper bound of the range of wiki pages (not inclusive)
204            * @return the range of wiki pages
205            * @throws SystemException if a system exception occurred
206            */
207            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getWikiPages(
208                    int start, int end)
209                    throws com.liferay.portal.kernel.exception.SystemException {
210                    return _wikiPageLocalService.getWikiPages(start, end);
211            }
212    
213            /**
214            * Returns the number of wiki pages.
215            *
216            * @return the number of wiki pages
217            * @throws SystemException if a system exception occurred
218            */
219            public int getWikiPagesCount()
220                    throws com.liferay.portal.kernel.exception.SystemException {
221                    return _wikiPageLocalService.getWikiPagesCount();
222            }
223    
224            /**
225            * Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
226            *
227            * @param wikiPage the wiki page
228            * @return the wiki page that was updated
229            * @throws SystemException if a system exception occurred
230            */
231            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
232                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
233                    throws com.liferay.portal.kernel.exception.SystemException {
234                    return _wikiPageLocalService.updateWikiPage(wikiPage);
235            }
236    
237            /**
238            * Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
239            *
240            * @param wikiPage the wiki page
241            * @param merge whether to merge the wiki page with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
242            * @return the wiki page that was updated
243            * @throws SystemException if a system exception occurred
244            */
245            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
246                    com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
247                    throws com.liferay.portal.kernel.exception.SystemException {
248                    return _wikiPageLocalService.updateWikiPage(wikiPage, merge);
249            }
250    
251            /**
252            * Returns the Spring bean ID for this bean.
253            *
254            * @return the Spring bean ID for this bean
255            */
256            public java.lang.String getBeanIdentifier() {
257                    return _wikiPageLocalService.getBeanIdentifier();
258            }
259    
260            /**
261            * Sets the Spring bean ID for this bean.
262            *
263            * @param beanIdentifier the Spring bean ID for this bean
264            */
265            public void setBeanIdentifier(java.lang.String beanIdentifier) {
266                    _wikiPageLocalService.setBeanIdentifier(beanIdentifier);
267            }
268    
269            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
270                    long nodeId, java.lang.String title, double version,
271                    java.lang.String content, java.lang.String summary, boolean minorEdit,
272                    java.lang.String format, boolean head, java.lang.String parentTitle,
273                    java.lang.String redirectTitle,
274                    com.liferay.portal.service.ServiceContext serviceContext)
275                    throws com.liferay.portal.kernel.exception.PortalException,
276                            com.liferay.portal.kernel.exception.SystemException {
277                    return _wikiPageLocalService.addPage(userId, nodeId, title, version,
278                            content, summary, minorEdit, format, head, parentTitle,
279                            redirectTitle, serviceContext);
280            }
281    
282            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
283                    long nodeId, java.lang.String title, java.lang.String content,
284                    java.lang.String summary, boolean minorEdit,
285                    com.liferay.portal.service.ServiceContext serviceContext)
286                    throws com.liferay.portal.kernel.exception.PortalException,
287                            com.liferay.portal.kernel.exception.SystemException {
288                    return _wikiPageLocalService.addPage(userId, nodeId, title, content,
289                            summary, minorEdit, serviceContext);
290            }
291    
292            public void addPageAttachment(long userId, long nodeId,
293                    java.lang.String title, java.lang.String fileName, java.io.File file)
294                    throws com.liferay.portal.kernel.exception.PortalException,
295                            com.liferay.portal.kernel.exception.SystemException {
296                    _wikiPageLocalService.addPageAttachment(userId, nodeId, title,
297                            fileName, file);
298            }
299    
300            public void addPageAttachment(long userId, long nodeId,
301                    java.lang.String title, java.lang.String fileName,
302                    java.io.InputStream inputStream)
303                    throws com.liferay.portal.kernel.exception.PortalException,
304                            com.liferay.portal.kernel.exception.SystemException {
305                    _wikiPageLocalService.addPageAttachment(userId, nodeId, title,
306                            fileName, inputStream);
307            }
308    
309            public void addPageAttachment(long companyId, java.lang.String dirName,
310                    java.util.Date modifiedDate, java.lang.String fileName,
311                    java.io.InputStream inputStream)
312                    throws com.liferay.portal.kernel.exception.PortalException,
313                            com.liferay.portal.kernel.exception.SystemException {
314                    _wikiPageLocalService.addPageAttachment(companyId, dirName,
315                            modifiedDate, fileName, inputStream);
316            }
317    
318            public void addPageAttachments(long userId, long nodeId,
319                    java.lang.String title,
320                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreams)
321                    throws com.liferay.portal.kernel.exception.PortalException,
322                            com.liferay.portal.kernel.exception.SystemException {
323                    _wikiPageLocalService.addPageAttachments(userId, nodeId, title,
324                            inputStreams);
325            }
326    
327            public void addPageResources(long nodeId, java.lang.String title,
328                    boolean addGroupPermissions, boolean addGuestPermissions)
329                    throws com.liferay.portal.kernel.exception.PortalException,
330                            com.liferay.portal.kernel.exception.SystemException {
331                    _wikiPageLocalService.addPageResources(nodeId, title,
332                            addGroupPermissions, addGuestPermissions);
333            }
334    
335            public void addPageResources(long nodeId, java.lang.String title,
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(nodeId, title, groupPermissions,
340                            guestPermissions);
341            }
342    
343            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
344                    boolean addGroupPermissions, boolean addGuestPermissions)
345                    throws com.liferay.portal.kernel.exception.PortalException,
346                            com.liferay.portal.kernel.exception.SystemException {
347                    _wikiPageLocalService.addPageResources(page, addGroupPermissions,
348                            addGuestPermissions);
349            }
350    
351            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
352                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
353                    throws com.liferay.portal.kernel.exception.PortalException,
354                            com.liferay.portal.kernel.exception.SystemException {
355                    _wikiPageLocalService.addPageResources(page, groupPermissions,
356                            guestPermissions);
357            }
358    
359            public java.lang.String addTempPageAttachment(long userId,
360                    java.lang.String fileName, java.lang.String tempFolderName,
361                    java.io.InputStream inputStream)
362                    throws com.liferay.portal.kernel.exception.PortalException,
363                            com.liferay.portal.kernel.exception.SystemException,
364                            java.io.IOException {
365                    return _wikiPageLocalService.addTempPageAttachment(userId, fileName,
366                            tempFolderName, inputStream);
367            }
368    
369            public void changeParent(long userId, long nodeId, java.lang.String title,
370                    java.lang.String newParentTitle,
371                    com.liferay.portal.service.ServiceContext serviceContext)
372                    throws com.liferay.portal.kernel.exception.PortalException,
373                            com.liferay.portal.kernel.exception.SystemException {
374                    _wikiPageLocalService.changeParent(userId, nodeId, title,
375                            newParentTitle, serviceContext);
376            }
377    
378            public void deletePage(long nodeId, java.lang.String title)
379                    throws com.liferay.portal.kernel.exception.PortalException,
380                            com.liferay.portal.kernel.exception.SystemException {
381                    _wikiPageLocalService.deletePage(nodeId, title);
382            }
383    
384            public void deletePage(long nodeId, java.lang.String title, double version)
385                    throws com.liferay.portal.kernel.exception.PortalException,
386                            com.liferay.portal.kernel.exception.SystemException {
387                    _wikiPageLocalService.deletePage(nodeId, title, version);
388            }
389    
390            public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
391                    throws com.liferay.portal.kernel.exception.PortalException,
392                            com.liferay.portal.kernel.exception.SystemException {
393                    _wikiPageLocalService.deletePage(page);
394            }
395    
396            public void deletePageAttachment(long nodeId, java.lang.String title,
397                    java.lang.String fileName)
398                    throws com.liferay.portal.kernel.exception.PortalException,
399                            com.liferay.portal.kernel.exception.SystemException {
400                    _wikiPageLocalService.deletePageAttachment(nodeId, title, fileName);
401            }
402    
403            public void deletePages(long nodeId)
404                    throws com.liferay.portal.kernel.exception.PortalException,
405                            com.liferay.portal.kernel.exception.SystemException {
406                    _wikiPageLocalService.deletePages(nodeId);
407            }
408    
409            public void deleteTempPageAttachment(long userId,
410                    java.lang.String fileName, java.lang.String tempFolderName) {
411                    _wikiPageLocalService.deleteTempPageAttachment(userId, fileName,
412                            tempFolderName);
413            }
414    
415            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
416                    long nodeId, boolean head, java.lang.String parentTitle)
417                    throws com.liferay.portal.kernel.exception.SystemException {
418                    return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
419            }
420    
421            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
422                    java.lang.String title)
423                    throws com.liferay.portal.kernel.exception.PortalException,
424                            com.liferay.portal.kernel.exception.SystemException {
425                    return _wikiPageLocalService.getDraftPage(nodeId, title);
426            }
427    
428            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
429                    long nodeId, java.lang.String title)
430                    throws com.liferay.portal.kernel.exception.PortalException,
431                            com.liferay.portal.kernel.exception.SystemException {
432                    return _wikiPageLocalService.getIncomingLinks(nodeId, title);
433            }
434    
435            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
436                    throws com.liferay.portal.kernel.exception.SystemException {
437                    return _wikiPageLocalService.getNoAssetPages();
438            }
439    
440            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
441                    long nodeId)
442                    throws com.liferay.portal.kernel.exception.PortalException,
443                            com.liferay.portal.kernel.exception.SystemException {
444                    return _wikiPageLocalService.getOrphans(nodeId);
445            }
446    
447            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
448                    long nodeId, java.lang.String title)
449                    throws com.liferay.portal.kernel.exception.PortalException,
450                            com.liferay.portal.kernel.exception.SystemException {
451                    return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
452            }
453    
454            public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
455                    throws com.liferay.portal.kernel.exception.PortalException,
456                            com.liferay.portal.kernel.exception.SystemException {
457                    return _wikiPageLocalService.getPage(resourcePrimKey);
458            }
459    
460            public com.liferay.portlet.wiki.model.WikiPage getPage(
461                    long resourcePrimKey, java.lang.Boolean head)
462                    throws com.liferay.portal.kernel.exception.PortalException,
463                            com.liferay.portal.kernel.exception.SystemException {
464                    return _wikiPageLocalService.getPage(resourcePrimKey, head);
465            }
466    
467            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
468                    java.lang.String title)
469                    throws com.liferay.portal.kernel.exception.PortalException,
470                            com.liferay.portal.kernel.exception.SystemException {
471                    return _wikiPageLocalService.getPage(nodeId, title);
472            }
473    
474            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
475                    java.lang.String title, java.lang.Boolean head)
476                    throws com.liferay.portal.kernel.exception.PortalException,
477                            com.liferay.portal.kernel.exception.SystemException {
478                    return _wikiPageLocalService.getPage(nodeId, title, head);
479            }
480    
481            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
482                    java.lang.String title, double version)
483                    throws com.liferay.portal.kernel.exception.PortalException,
484                            com.liferay.portal.kernel.exception.SystemException {
485                    return _wikiPageLocalService.getPage(nodeId, title, version);
486            }
487    
488            public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
489                    throws com.liferay.portal.kernel.exception.PortalException,
490                            com.liferay.portal.kernel.exception.SystemException {
491                    return _wikiPageLocalService.getPageByPageId(pageId);
492            }
493    
494            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
495                    long nodeId, java.lang.String title,
496                    javax.portlet.PortletURL viewPageURL,
497                    javax.portlet.PortletURL editPageURL,
498                    java.lang.String attachmentURLPrefix)
499                    throws com.liferay.portal.kernel.exception.PortalException,
500                            com.liferay.portal.kernel.exception.SystemException {
501                    return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
502                            editPageURL, attachmentURLPrefix);
503            }
504    
505            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
506                    com.liferay.portlet.wiki.model.WikiPage page,
507                    javax.portlet.PortletURL viewPageURL,
508                    javax.portlet.PortletURL editPageURL,
509                    java.lang.String attachmentURLPrefix)
510                    throws com.liferay.portal.kernel.exception.PortalException,
511                            com.liferay.portal.kernel.exception.SystemException {
512                    return _wikiPageLocalService.getPageDisplay(page, viewPageURL,
513                            editPageURL, attachmentURLPrefix);
514            }
515    
516            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
517                    long nodeId, boolean head, int start, int end)
518                    throws com.liferay.portal.kernel.exception.SystemException {
519                    return _wikiPageLocalService.getPages(nodeId, head, start, end);
520            }
521    
522            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
523                    long nodeId, boolean head, int start, int end,
524                    com.liferay.portal.kernel.util.OrderByComparator obc)
525                    throws com.liferay.portal.kernel.exception.SystemException {
526                    return _wikiPageLocalService.getPages(nodeId, head, start, end, obc);
527            }
528    
529            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
530                    long nodeId, int start, int end)
531                    throws com.liferay.portal.kernel.exception.SystemException {
532                    return _wikiPageLocalService.getPages(nodeId, start, end);
533            }
534    
535            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
536                    long nodeId, int start, int end,
537                    com.liferay.portal.kernel.util.OrderByComparator obc)
538                    throws com.liferay.portal.kernel.exception.SystemException {
539                    return _wikiPageLocalService.getPages(nodeId, start, end, obc);
540            }
541    
542            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
543                    long resourcePrimKey, long nodeId, int status)
544                    throws com.liferay.portal.kernel.exception.SystemException {
545                    return _wikiPageLocalService.getPages(resourcePrimKey, nodeId, status);
546            }
547    
548            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
549                    long userId, long nodeId, int status, int start, int end)
550                    throws com.liferay.portal.kernel.exception.SystemException {
551                    return _wikiPageLocalService.getPages(userId, nodeId, status, start, end);
552            }
553    
554            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
555                    long nodeId, java.lang.String title, boolean head, int start, int end)
556                    throws com.liferay.portal.kernel.exception.SystemException {
557                    return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
558            }
559    
560            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
561                    long nodeId, java.lang.String title, int start, int end)
562                    throws com.liferay.portal.kernel.exception.SystemException {
563                    return _wikiPageLocalService.getPages(nodeId, title, start, end);
564            }
565    
566            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
567                    long nodeId, java.lang.String title, int start, int end,
568                    com.liferay.portal.kernel.util.OrderByComparator obc)
569                    throws com.liferay.portal.kernel.exception.SystemException {
570                    return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
571            }
572    
573            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
574                    java.lang.String format)
575                    throws com.liferay.portal.kernel.exception.SystemException {
576                    return _wikiPageLocalService.getPages(format);
577            }
578    
579            public int getPagesCount(long nodeId)
580                    throws com.liferay.portal.kernel.exception.SystemException {
581                    return _wikiPageLocalService.getPagesCount(nodeId);
582            }
583    
584            public int getPagesCount(long nodeId, boolean head)
585                    throws com.liferay.portal.kernel.exception.SystemException {
586                    return _wikiPageLocalService.getPagesCount(nodeId, head);
587            }
588    
589            public int getPagesCount(long userId, long nodeId, int status)
590                    throws com.liferay.portal.kernel.exception.SystemException {
591                    return _wikiPageLocalService.getPagesCount(userId, nodeId, status);
592            }
593    
594            public int getPagesCount(long nodeId, java.lang.String title)
595                    throws com.liferay.portal.kernel.exception.SystemException {
596                    return _wikiPageLocalService.getPagesCount(nodeId, title);
597            }
598    
599            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
600                    throws com.liferay.portal.kernel.exception.SystemException {
601                    return _wikiPageLocalService.getPagesCount(nodeId, title, head);
602            }
603    
604            public int getPagesCount(java.lang.String format)
605                    throws com.liferay.portal.kernel.exception.SystemException {
606                    return _wikiPageLocalService.getPagesCount(format);
607            }
608    
609            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
610                    long nodeId, int start, int end)
611                    throws com.liferay.portal.kernel.exception.SystemException {
612                    return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
613            }
614    
615            public int getRecentChangesCount(long nodeId)
616                    throws com.liferay.portal.kernel.exception.SystemException {
617                    return _wikiPageLocalService.getRecentChangesCount(nodeId);
618            }
619    
620            public java.lang.String[] getTempPageAttachmentNames(long userId,
621                    java.lang.String tempFolderName) {
622                    return _wikiPageLocalService.getTempPageAttachmentNames(userId,
623                            tempFolderName);
624            }
625    
626            public boolean hasDraftPage(long nodeId, java.lang.String title)
627                    throws com.liferay.portal.kernel.exception.SystemException {
628                    return _wikiPageLocalService.hasDraftPage(nodeId, title);
629            }
630    
631            public void movePage(long userId, long nodeId, java.lang.String title,
632                    java.lang.String newTitle, boolean strict,
633                    com.liferay.portal.service.ServiceContext serviceContext)
634                    throws com.liferay.portal.kernel.exception.PortalException,
635                            com.liferay.portal.kernel.exception.SystemException {
636                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
637                            serviceContext);
638            }
639    
640            public void movePage(long userId, long nodeId, java.lang.String title,
641                    java.lang.String newTitle,
642                    com.liferay.portal.service.ServiceContext serviceContext)
643                    throws com.liferay.portal.kernel.exception.PortalException,
644                            com.liferay.portal.kernel.exception.SystemException {
645                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
646                            serviceContext);
647            }
648    
649            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
650                    long nodeId, java.lang.String title, double version,
651                    com.liferay.portal.service.ServiceContext serviceContext)
652                    throws com.liferay.portal.kernel.exception.PortalException,
653                            com.liferay.portal.kernel.exception.SystemException {
654                    return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
655                            serviceContext);
656            }
657    
658            public void subscribePage(long userId, long nodeId, java.lang.String title)
659                    throws com.liferay.portal.kernel.exception.PortalException,
660                            com.liferay.portal.kernel.exception.SystemException {
661                    _wikiPageLocalService.subscribePage(userId, nodeId, title);
662            }
663    
664            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
665                    throws com.liferay.portal.kernel.exception.PortalException,
666                            com.liferay.portal.kernel.exception.SystemException {
667                    _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
668            }
669    
670            public void updateAsset(long userId,
671                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
672                    java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
673                    throws com.liferay.portal.kernel.exception.PortalException,
674                            com.liferay.portal.kernel.exception.SystemException {
675                    _wikiPageLocalService.updateAsset(userId, page, assetCategoryIds,
676                            assetTagNames, assetLinkEntryIds);
677            }
678    
679            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
680                    long nodeId, java.lang.String title, double version,
681                    java.lang.String content, java.lang.String summary, boolean minorEdit,
682                    java.lang.String format, java.lang.String parentTitle,
683                    java.lang.String redirectTitle,
684                    com.liferay.portal.service.ServiceContext serviceContext)
685                    throws com.liferay.portal.kernel.exception.PortalException,
686                            com.liferay.portal.kernel.exception.SystemException {
687                    return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
688                            content, summary, minorEdit, format, parentTitle, redirectTitle,
689                            serviceContext);
690            }
691    
692            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
693                    long resourcePrimKey, int status,
694                    com.liferay.portal.service.ServiceContext serviceContext)
695                    throws com.liferay.portal.kernel.exception.PortalException,
696                            com.liferay.portal.kernel.exception.SystemException {
697                    return _wikiPageLocalService.updateStatus(userId, resourcePrimKey,
698                            status, serviceContext);
699            }
700    
701            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
702                    com.liferay.portlet.wiki.model.WikiPage page, int status,
703                    com.liferay.portal.service.ServiceContext serviceContext)
704                    throws com.liferay.portal.kernel.exception.PortalException,
705                            com.liferay.portal.kernel.exception.SystemException {
706                    return _wikiPageLocalService.updateStatus(userId, page, status,
707                            serviceContext);
708            }
709    
710            public void validateTitle(java.lang.String title)
711                    throws com.liferay.portal.kernel.exception.PortalException {
712                    _wikiPageLocalService.validateTitle(title);
713            }
714    
715            /**
716             * @deprecated Renamed to {@link #getWrappedService}
717             */
718            public WikiPageLocalService getWrappedWikiPageLocalService() {
719                    return _wikiPageLocalService;
720            }
721    
722            /**
723             * @deprecated Renamed to {@link #setWrappedService}
724             */
725            public void setWrappedWikiPageLocalService(
726                    WikiPageLocalService wikiPageLocalService) {
727                    _wikiPageLocalService = wikiPageLocalService;
728            }
729    
730            public WikiPageLocalService getWrappedService() {
731                    return _wikiPageLocalService;
732            }
733    
734            public void setWrappedService(WikiPageLocalService wikiPageLocalService) {
735                    _wikiPageLocalService = wikiPageLocalService;
736            }
737    
738            private WikiPageLocalService _wikiPageLocalService;
739    }