001    /**
002     * Copyright (c) 2000-2013 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.wiki.service;
016    
017    import com.liferay.portal.service.ServiceWrapper;
018    
019    /**
020     * <p>
021     * This class is a wrapper for {@link WikiPageLocalService}.
022     * </p>
023     *
024     * @author    Brian Wing Shun Chan
025     * @see       WikiPageLocalService
026     * @generated
027     */
028    public class WikiPageLocalServiceWrapper implements WikiPageLocalService,
029            ServiceWrapper<WikiPageLocalService> {
030            public WikiPageLocalServiceWrapper(
031                    WikiPageLocalService wikiPageLocalService) {
032                    _wikiPageLocalService = wikiPageLocalService;
033            }
034    
035            /**
036            * Adds the wiki page to the database. Also notifies the appropriate model listeners.
037            *
038            * @param wikiPage the wiki page
039            * @return the wiki page that was added
040            * @throws SystemException if a system exception occurred
041            */
042            public com.liferay.portlet.wiki.model.WikiPage addWikiPage(
043                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
044                    throws com.liferay.portal.kernel.exception.SystemException {
045                    return _wikiPageLocalService.addWikiPage(wikiPage);
046            }
047    
048            /**
049            * Creates a new wiki page with the primary key. Does not add the wiki page to the database.
050            *
051            * @param pageId the primary key for the new wiki page
052            * @return the new wiki page
053            */
054            public com.liferay.portlet.wiki.model.WikiPage createWikiPage(long pageId) {
055                    return _wikiPageLocalService.createWikiPage(pageId);
056            }
057    
058            /**
059            * Deletes the wiki page with the primary key from the database. Also notifies the appropriate model listeners.
060            *
061            * @param pageId the primary key of the wiki page
062            * @return the wiki page that was removed
063            * @throws PortalException if a wiki page with the primary key could not be found
064            * @throws SystemException if a system exception occurred
065            */
066            public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(long pageId)
067                    throws com.liferay.portal.kernel.exception.PortalException,
068                            com.liferay.portal.kernel.exception.SystemException {
069                    return _wikiPageLocalService.deleteWikiPage(pageId);
070            }
071    
072            /**
073            * Deletes the wiki page from the database. Also notifies the appropriate model listeners.
074            *
075            * @param wikiPage the wiki page
076            * @return the wiki page that was removed
077            * @throws SystemException if a system exception occurred
078            */
079            public com.liferay.portlet.wiki.model.WikiPage deleteWikiPage(
080                    com.liferay.portlet.wiki.model.WikiPage wikiPage)
081                    throws com.liferay.portal.kernel.exception.SystemException {
082                    return _wikiPageLocalService.deleteWikiPage(wikiPage);
083            }
084    
085            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
086                    return _wikiPageLocalService.dynamicQuery();
087            }
088    
089            /**
090            * Performs a dynamic query on the database and returns the matching rows.
091            *
092            * @param dynamicQuery the dynamic query
093            * @return the matching rows
094            * @throws SystemException if a system exception occurred
095            */
096            @SuppressWarnings("rawtypes")
097            public java.util.List dynamicQuery(
098                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
099                    throws com.liferay.portal.kernel.exception.SystemException {
100                    return _wikiPageLocalService.dynamicQuery(dynamicQuery);
101            }
102    
103            /**
104            * Performs a dynamic query on the database and returns a range of the matching rows.
105            *
106            * <p>
107            * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
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            * Updates the wiki page in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
246            *
247            * @param wikiPage the wiki page
248            * @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.
249            * @return the wiki page that was updated
250            * @throws SystemException if a system exception occurred
251            */
252            public com.liferay.portlet.wiki.model.WikiPage updateWikiPage(
253                    com.liferay.portlet.wiki.model.WikiPage wikiPage, boolean merge)
254                    throws com.liferay.portal.kernel.exception.SystemException {
255                    return _wikiPageLocalService.updateWikiPage(wikiPage, merge);
256            }
257    
258            /**
259            * Returns the Spring bean ID for this bean.
260            *
261            * @return the Spring bean ID for this bean
262            */
263            public java.lang.String getBeanIdentifier() {
264                    return _wikiPageLocalService.getBeanIdentifier();
265            }
266    
267            /**
268            * Sets the Spring bean ID for this bean.
269            *
270            * @param beanIdentifier the Spring bean ID for this bean
271            */
272            public void setBeanIdentifier(java.lang.String beanIdentifier) {
273                    _wikiPageLocalService.setBeanIdentifier(beanIdentifier);
274            }
275    
276            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
277                    long nodeId, java.lang.String title, double version,
278                    java.lang.String content, java.lang.String summary, boolean minorEdit,
279                    java.lang.String format, boolean head, java.lang.String parentTitle,
280                    java.lang.String redirectTitle,
281                    com.liferay.portal.service.ServiceContext serviceContext)
282                    throws com.liferay.portal.kernel.exception.PortalException,
283                            com.liferay.portal.kernel.exception.SystemException {
284                    return _wikiPageLocalService.addPage(userId, nodeId, title, version,
285                            content, summary, minorEdit, format, head, parentTitle,
286                            redirectTitle, serviceContext);
287            }
288    
289            public com.liferay.portlet.wiki.model.WikiPage addPage(long userId,
290                    long nodeId, java.lang.String title, java.lang.String content,
291                    java.lang.String summary, boolean minorEdit,
292                    com.liferay.portal.service.ServiceContext serviceContext)
293                    throws com.liferay.portal.kernel.exception.PortalException,
294                            com.liferay.portal.kernel.exception.SystemException {
295                    return _wikiPageLocalService.addPage(userId, nodeId, title, content,
296                            summary, minorEdit, serviceContext);
297            }
298    
299            public void addPageAttachment(long userId, long nodeId,
300                    java.lang.String title, java.lang.String fileName, java.io.File file)
301                    throws com.liferay.portal.kernel.exception.PortalException,
302                            com.liferay.portal.kernel.exception.SystemException {
303                    _wikiPageLocalService.addPageAttachment(userId, nodeId, title,
304                            fileName, file);
305            }
306    
307            public void addPageAttachment(long userId, long nodeId,
308                    java.lang.String title, java.lang.String fileName,
309                    java.io.InputStream inputStream)
310                    throws com.liferay.portal.kernel.exception.PortalException,
311                            com.liferay.portal.kernel.exception.SystemException {
312                    _wikiPageLocalService.addPageAttachment(userId, nodeId, title,
313                            fileName, inputStream);
314            }
315    
316            public void addPageAttachment(long companyId, java.lang.String dirName,
317                    java.util.Date modifiedDate, java.lang.String fileName,
318                    java.io.InputStream inputStream)
319                    throws com.liferay.portal.kernel.exception.PortalException,
320                            com.liferay.portal.kernel.exception.SystemException {
321                    _wikiPageLocalService.addPageAttachment(companyId, dirName,
322                            modifiedDate, fileName, inputStream);
323            }
324    
325            public void addPageAttachments(long userId, long nodeId,
326                    java.lang.String title,
327                    java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, java.io.InputStream>> inputStreams)
328                    throws com.liferay.portal.kernel.exception.PortalException,
329                            com.liferay.portal.kernel.exception.SystemException {
330                    _wikiPageLocalService.addPageAttachments(userId, nodeId, title,
331                            inputStreams);
332            }
333    
334            public void addPageResources(long nodeId, java.lang.String title,
335                    boolean addGroupPermissions, boolean addGuestPermissions)
336                    throws com.liferay.portal.kernel.exception.PortalException,
337                            com.liferay.portal.kernel.exception.SystemException {
338                    _wikiPageLocalService.addPageResources(nodeId, title,
339                            addGroupPermissions, addGuestPermissions);
340            }
341    
342            public void addPageResources(long nodeId, java.lang.String title,
343                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
344                    throws com.liferay.portal.kernel.exception.PortalException,
345                            com.liferay.portal.kernel.exception.SystemException {
346                    _wikiPageLocalService.addPageResources(nodeId, title, groupPermissions,
347                            guestPermissions);
348            }
349    
350            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
351                    boolean addGroupPermissions, boolean addGuestPermissions)
352                    throws com.liferay.portal.kernel.exception.PortalException,
353                            com.liferay.portal.kernel.exception.SystemException {
354                    _wikiPageLocalService.addPageResources(page, addGroupPermissions,
355                            addGuestPermissions);
356            }
357    
358            public void addPageResources(com.liferay.portlet.wiki.model.WikiPage page,
359                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
360                    throws com.liferay.portal.kernel.exception.PortalException,
361                            com.liferay.portal.kernel.exception.SystemException {
362                    _wikiPageLocalService.addPageResources(page, groupPermissions,
363                            guestPermissions);
364            }
365    
366            public java.lang.String addTempPageAttachment(long userId,
367                    java.lang.String fileName, java.lang.String tempFolderName,
368                    java.io.InputStream inputStream)
369                    throws com.liferay.portal.kernel.exception.PortalException,
370                            com.liferay.portal.kernel.exception.SystemException {
371                    return _wikiPageLocalService.addTempPageAttachment(userId, fileName,
372                            tempFolderName, inputStream);
373            }
374    
375            public void changeParent(long userId, long nodeId, java.lang.String title,
376                    java.lang.String newParentTitle,
377                    com.liferay.portal.service.ServiceContext serviceContext)
378                    throws com.liferay.portal.kernel.exception.PortalException,
379                            com.liferay.portal.kernel.exception.SystemException {
380                    _wikiPageLocalService.changeParent(userId, nodeId, title,
381                            newParentTitle, serviceContext);
382            }
383    
384            public void deletePage(long nodeId, java.lang.String title)
385                    throws com.liferay.portal.kernel.exception.PortalException,
386                            com.liferay.portal.kernel.exception.SystemException {
387                    _wikiPageLocalService.deletePage(nodeId, title);
388            }
389    
390            public void deletePage(long nodeId, java.lang.String title, double version)
391                    throws com.liferay.portal.kernel.exception.PortalException,
392                            com.liferay.portal.kernel.exception.SystemException {
393                    _wikiPageLocalService.deletePage(nodeId, title, version);
394            }
395    
396            public void deletePage(com.liferay.portlet.wiki.model.WikiPage page)
397                    throws com.liferay.portal.kernel.exception.PortalException,
398                            com.liferay.portal.kernel.exception.SystemException {
399                    _wikiPageLocalService.deletePage(page);
400            }
401    
402            public void deletePageAttachment(long nodeId, java.lang.String title,
403                    java.lang.String fileName)
404                    throws com.liferay.portal.kernel.exception.PortalException,
405                            com.liferay.portal.kernel.exception.SystemException {
406                    _wikiPageLocalService.deletePageAttachment(nodeId, title, fileName);
407            }
408    
409            public void deletePages(long nodeId)
410                    throws com.liferay.portal.kernel.exception.PortalException,
411                            com.liferay.portal.kernel.exception.SystemException {
412                    _wikiPageLocalService.deletePages(nodeId);
413            }
414    
415            public void deleteTempPageAttachment(long userId,
416                    java.lang.String fileName, java.lang.String tempFolderName)
417                    throws com.liferay.portal.kernel.exception.PortalException,
418                            com.liferay.portal.kernel.exception.SystemException {
419                    _wikiPageLocalService.deleteTempPageAttachment(userId, fileName,
420                            tempFolderName);
421            }
422    
423            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getChildren(
424                    long nodeId, boolean head, java.lang.String parentTitle)
425                    throws com.liferay.portal.kernel.exception.SystemException {
426                    return _wikiPageLocalService.getChildren(nodeId, head, parentTitle);
427            }
428    
429            public com.liferay.portlet.wiki.model.WikiPage getDraftPage(long nodeId,
430                    java.lang.String title)
431                    throws com.liferay.portal.kernel.exception.PortalException,
432                            com.liferay.portal.kernel.exception.SystemException {
433                    return _wikiPageLocalService.getDraftPage(nodeId, title);
434            }
435    
436            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getIncomingLinks(
437                    long nodeId, java.lang.String title)
438                    throws com.liferay.portal.kernel.exception.PortalException,
439                            com.liferay.portal.kernel.exception.SystemException {
440                    return _wikiPageLocalService.getIncomingLinks(nodeId, title);
441            }
442    
443            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNoAssetPages()
444                    throws com.liferay.portal.kernel.exception.SystemException {
445                    return _wikiPageLocalService.getNoAssetPages();
446            }
447    
448            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOrphans(
449                    long nodeId)
450                    throws com.liferay.portal.kernel.exception.PortalException,
451                            com.liferay.portal.kernel.exception.SystemException {
452                    return _wikiPageLocalService.getOrphans(nodeId);
453            }
454    
455            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getOutgoingLinks(
456                    long nodeId, java.lang.String title)
457                    throws com.liferay.portal.kernel.exception.PortalException,
458                            com.liferay.portal.kernel.exception.SystemException {
459                    return _wikiPageLocalService.getOutgoingLinks(nodeId, title);
460            }
461    
462            public com.liferay.portlet.wiki.model.WikiPage getPage(long resourcePrimKey)
463                    throws com.liferay.portal.kernel.exception.PortalException,
464                            com.liferay.portal.kernel.exception.SystemException {
465                    return _wikiPageLocalService.getPage(resourcePrimKey);
466            }
467    
468            public com.liferay.portlet.wiki.model.WikiPage getPage(
469                    long resourcePrimKey, java.lang.Boolean head)
470                    throws com.liferay.portal.kernel.exception.PortalException,
471                            com.liferay.portal.kernel.exception.SystemException {
472                    return _wikiPageLocalService.getPage(resourcePrimKey, head);
473            }
474    
475            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
476                    java.lang.String title)
477                    throws com.liferay.portal.kernel.exception.PortalException,
478                            com.liferay.portal.kernel.exception.SystemException {
479                    return _wikiPageLocalService.getPage(nodeId, title);
480            }
481    
482            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
483                    java.lang.String title, java.lang.Boolean head)
484                    throws com.liferay.portal.kernel.exception.PortalException,
485                            com.liferay.portal.kernel.exception.SystemException {
486                    return _wikiPageLocalService.getPage(nodeId, title, head);
487            }
488    
489            public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
490                    java.lang.String title, double version)
491                    throws com.liferay.portal.kernel.exception.PortalException,
492                            com.liferay.portal.kernel.exception.SystemException {
493                    return _wikiPageLocalService.getPage(nodeId, title, version);
494            }
495    
496            public com.liferay.portlet.wiki.model.WikiPage getPageByPageId(long pageId)
497                    throws com.liferay.portal.kernel.exception.PortalException,
498                            com.liferay.portal.kernel.exception.SystemException {
499                    return _wikiPageLocalService.getPageByPageId(pageId);
500            }
501    
502            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
503                    long nodeId, java.lang.String title,
504                    javax.portlet.PortletURL viewPageURL,
505                    javax.portlet.PortletURL editPageURL,
506                    java.lang.String attachmentURLPrefix)
507                    throws com.liferay.portal.kernel.exception.PortalException,
508                            com.liferay.portal.kernel.exception.SystemException {
509                    return _wikiPageLocalService.getPageDisplay(nodeId, title, viewPageURL,
510                            editPageURL, attachmentURLPrefix);
511            }
512    
513            public com.liferay.portlet.wiki.model.WikiPageDisplay getPageDisplay(
514                    com.liferay.portlet.wiki.model.WikiPage page,
515                    javax.portlet.PortletURL viewPageURL,
516                    javax.portlet.PortletURL editPageURL,
517                    java.lang.String attachmentURLPrefix)
518                    throws com.liferay.portal.kernel.exception.PortalException,
519                            com.liferay.portal.kernel.exception.SystemException {
520                    return _wikiPageLocalService.getPageDisplay(page, viewPageURL,
521                            editPageURL, attachmentURLPrefix);
522            }
523    
524            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
525                    long nodeId, boolean head, int start, int end)
526                    throws com.liferay.portal.kernel.exception.SystemException {
527                    return _wikiPageLocalService.getPages(nodeId, head, start, end);
528            }
529    
530            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
531                    long nodeId, boolean head, int start, int end,
532                    com.liferay.portal.kernel.util.OrderByComparator obc)
533                    throws com.liferay.portal.kernel.exception.SystemException {
534                    return _wikiPageLocalService.getPages(nodeId, head, start, end, obc);
535            }
536    
537            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
538                    long nodeId, int start, int end)
539                    throws com.liferay.portal.kernel.exception.SystemException {
540                    return _wikiPageLocalService.getPages(nodeId, start, end);
541            }
542    
543            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
544                    long nodeId, int start, int end,
545                    com.liferay.portal.kernel.util.OrderByComparator obc)
546                    throws com.liferay.portal.kernel.exception.SystemException {
547                    return _wikiPageLocalService.getPages(nodeId, start, end, obc);
548            }
549    
550            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
551                    long resourcePrimKey, long nodeId, int status)
552                    throws com.liferay.portal.kernel.exception.SystemException {
553                    return _wikiPageLocalService.getPages(resourcePrimKey, nodeId, status);
554            }
555    
556            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
557                    long userId, long nodeId, int status, int start, int end)
558                    throws com.liferay.portal.kernel.exception.SystemException {
559                    return _wikiPageLocalService.getPages(userId, nodeId, status, start, end);
560            }
561    
562            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
563                    long nodeId, java.lang.String title, boolean head, int start, int end)
564                    throws com.liferay.portal.kernel.exception.SystemException {
565                    return _wikiPageLocalService.getPages(nodeId, title, head, start, end);
566            }
567    
568            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
569                    long nodeId, java.lang.String title, int start, int end)
570                    throws com.liferay.portal.kernel.exception.SystemException {
571                    return _wikiPageLocalService.getPages(nodeId, title, 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                    com.liferay.portal.kernel.util.OrderByComparator obc)
577                    throws com.liferay.portal.kernel.exception.SystemException {
578                    return _wikiPageLocalService.getPages(nodeId, title, start, end, obc);
579            }
580    
581            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getPages(
582                    java.lang.String format)
583                    throws com.liferay.portal.kernel.exception.SystemException {
584                    return _wikiPageLocalService.getPages(format);
585            }
586    
587            public int getPagesCount(long nodeId)
588                    throws com.liferay.portal.kernel.exception.SystemException {
589                    return _wikiPageLocalService.getPagesCount(nodeId);
590            }
591    
592            public int getPagesCount(long nodeId, boolean head)
593                    throws com.liferay.portal.kernel.exception.SystemException {
594                    return _wikiPageLocalService.getPagesCount(nodeId, head);
595            }
596    
597            public int getPagesCount(long userId, long nodeId, int status)
598                    throws com.liferay.portal.kernel.exception.SystemException {
599                    return _wikiPageLocalService.getPagesCount(userId, nodeId, status);
600            }
601    
602            public int getPagesCount(long nodeId, java.lang.String title)
603                    throws com.liferay.portal.kernel.exception.SystemException {
604                    return _wikiPageLocalService.getPagesCount(nodeId, title);
605            }
606    
607            public int getPagesCount(long nodeId, java.lang.String title, boolean head)
608                    throws com.liferay.portal.kernel.exception.SystemException {
609                    return _wikiPageLocalService.getPagesCount(nodeId, title, head);
610            }
611    
612            public int getPagesCount(java.lang.String format)
613                    throws com.liferay.portal.kernel.exception.SystemException {
614                    return _wikiPageLocalService.getPagesCount(format);
615            }
616    
617            /**
618            * @deprecated {@link #getRecentChanges(long, long, int, int)}
619            */
620            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
621                    long nodeId, int start, int end)
622                    throws com.liferay.portal.kernel.exception.PortalException,
623                            com.liferay.portal.kernel.exception.SystemException {
624                    return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
625            }
626    
627            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
628                    long groupId, long nodeId, int start, int end)
629                    throws com.liferay.portal.kernel.exception.SystemException {
630                    return _wikiPageLocalService.getRecentChanges(groupId, nodeId, start,
631                            end);
632            }
633    
634            /**
635            * @deprecated {@link #getRecentChangesCount(long, long)}
636            */
637            public int getRecentChangesCount(long nodeId)
638                    throws com.liferay.portal.kernel.exception.PortalException,
639                            com.liferay.portal.kernel.exception.SystemException {
640                    return _wikiPageLocalService.getRecentChangesCount(nodeId);
641            }
642    
643            public int getRecentChangesCount(long groupId, long nodeId)
644                    throws com.liferay.portal.kernel.exception.SystemException {
645                    return _wikiPageLocalService.getRecentChangesCount(groupId, nodeId);
646            }
647    
648            public java.lang.String[] getTempPageAttachmentNames(long userId,
649                    java.lang.String tempFolderName) {
650                    return _wikiPageLocalService.getTempPageAttachmentNames(userId,
651                            tempFolderName);
652            }
653    
654            public boolean hasDraftPage(long nodeId, java.lang.String title)
655                    throws com.liferay.portal.kernel.exception.SystemException {
656                    return _wikiPageLocalService.hasDraftPage(nodeId, title);
657            }
658    
659            public void movePage(long userId, long nodeId, java.lang.String title,
660                    java.lang.String newTitle, boolean strict,
661                    com.liferay.portal.service.ServiceContext serviceContext)
662                    throws com.liferay.portal.kernel.exception.PortalException,
663                            com.liferay.portal.kernel.exception.SystemException {
664                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
665                            serviceContext);
666            }
667    
668            public void movePage(long userId, long nodeId, java.lang.String title,
669                    java.lang.String newTitle,
670                    com.liferay.portal.service.ServiceContext serviceContext)
671                    throws com.liferay.portal.kernel.exception.PortalException,
672                            com.liferay.portal.kernel.exception.SystemException {
673                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
674                            serviceContext);
675            }
676    
677            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
678                    long nodeId, java.lang.String title, double version,
679                    com.liferay.portal.service.ServiceContext serviceContext)
680                    throws com.liferay.portal.kernel.exception.PortalException,
681                            com.liferay.portal.kernel.exception.SystemException {
682                    return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
683                            serviceContext);
684            }
685    
686            public void subscribePage(long userId, long nodeId, java.lang.String title)
687                    throws com.liferay.portal.kernel.exception.PortalException,
688                            com.liferay.portal.kernel.exception.SystemException {
689                    _wikiPageLocalService.subscribePage(userId, nodeId, title);
690            }
691    
692            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
693                    throws com.liferay.portal.kernel.exception.PortalException,
694                            com.liferay.portal.kernel.exception.SystemException {
695                    _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
696            }
697    
698            public void updateAsset(long userId,
699                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
700                    java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
701                    throws com.liferay.portal.kernel.exception.PortalException,
702                            com.liferay.portal.kernel.exception.SystemException {
703                    _wikiPageLocalService.updateAsset(userId, page, assetCategoryIds,
704                            assetTagNames, assetLinkEntryIds);
705            }
706    
707            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
708                    long nodeId, java.lang.String title, double version,
709                    java.lang.String content, java.lang.String summary, boolean minorEdit,
710                    java.lang.String format, java.lang.String parentTitle,
711                    java.lang.String redirectTitle,
712                    com.liferay.portal.service.ServiceContext serviceContext)
713                    throws com.liferay.portal.kernel.exception.PortalException,
714                            com.liferay.portal.kernel.exception.SystemException {
715                    return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
716                            content, summary, minorEdit, format, parentTitle, redirectTitle,
717                            serviceContext);
718            }
719    
720            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
721                    long resourcePrimKey, int status,
722                    com.liferay.portal.service.ServiceContext serviceContext)
723                    throws com.liferay.portal.kernel.exception.PortalException,
724                            com.liferay.portal.kernel.exception.SystemException {
725                    return _wikiPageLocalService.updateStatus(userId, resourcePrimKey,
726                            status, serviceContext);
727            }
728    
729            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
730                    com.liferay.portlet.wiki.model.WikiPage page, int status,
731                    com.liferay.portal.service.ServiceContext serviceContext)
732                    throws com.liferay.portal.kernel.exception.PortalException,
733                            com.liferay.portal.kernel.exception.SystemException {
734                    return _wikiPageLocalService.updateStatus(userId, page, status,
735                            serviceContext);
736            }
737    
738            public void validateTitle(java.lang.String title)
739                    throws com.liferay.portal.kernel.exception.PortalException {
740                    _wikiPageLocalService.validateTitle(title);
741            }
742    
743            /**
744             * @deprecated Renamed to {@link #getWrappedService}
745             */
746            public WikiPageLocalService getWrappedWikiPageLocalService() {
747                    return _wikiPageLocalService;
748            }
749    
750            /**
751             * @deprecated Renamed to {@link #setWrappedService}
752             */
753            public void setWrappedWikiPageLocalService(
754                    WikiPageLocalService wikiPageLocalService) {
755                    _wikiPageLocalService = wikiPageLocalService;
756            }
757    
758            public WikiPageLocalService getWrappedService() {
759                    return _wikiPageLocalService;
760            }
761    
762            public void setWrappedService(WikiPageLocalService wikiPageLocalService) {
763                    _wikiPageLocalService = wikiPageLocalService;
764            }
765    
766            private WikiPageLocalService _wikiPageLocalService;
767    }