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