001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * The contents of this file are subject to the terms of the Liferay Enterprise
005     * Subscription License ("License"). You may not use this file except in
006     * compliance with the License. You can obtain a copy of the License by
007     * contacting Liferay, Inc. See the License for the specific language governing
008     * permissions and limitations under the License, including but not limited to
009     * distribution rights of the Software.
010     *
011     *
012     *
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            public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getRecentChanges(
618                    long nodeId, int start, int end)
619                    throws com.liferay.portal.kernel.exception.SystemException {
620                    return _wikiPageLocalService.getRecentChanges(nodeId, start, end);
621            }
622    
623            public int getRecentChangesCount(long nodeId)
624                    throws com.liferay.portal.kernel.exception.SystemException {
625                    return _wikiPageLocalService.getRecentChangesCount(nodeId);
626            }
627    
628            public java.lang.String[] getTempPageAttachmentNames(long userId,
629                    java.lang.String tempFolderName) {
630                    return _wikiPageLocalService.getTempPageAttachmentNames(userId,
631                            tempFolderName);
632            }
633    
634            public boolean hasDraftPage(long nodeId, java.lang.String title)
635                    throws com.liferay.portal.kernel.exception.SystemException {
636                    return _wikiPageLocalService.hasDraftPage(nodeId, title);
637            }
638    
639            public void movePage(long userId, long nodeId, java.lang.String title,
640                    java.lang.String newTitle, boolean strict,
641                    com.liferay.portal.service.ServiceContext serviceContext)
642                    throws com.liferay.portal.kernel.exception.PortalException,
643                            com.liferay.portal.kernel.exception.SystemException {
644                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle, strict,
645                            serviceContext);
646            }
647    
648            public void movePage(long userId, long nodeId, java.lang.String title,
649                    java.lang.String newTitle,
650                    com.liferay.portal.service.ServiceContext serviceContext)
651                    throws com.liferay.portal.kernel.exception.PortalException,
652                            com.liferay.portal.kernel.exception.SystemException {
653                    _wikiPageLocalService.movePage(userId, nodeId, title, newTitle,
654                            serviceContext);
655            }
656    
657            public com.liferay.portlet.wiki.model.WikiPage revertPage(long userId,
658                    long nodeId, java.lang.String title, double version,
659                    com.liferay.portal.service.ServiceContext serviceContext)
660                    throws com.liferay.portal.kernel.exception.PortalException,
661                            com.liferay.portal.kernel.exception.SystemException {
662                    return _wikiPageLocalService.revertPage(userId, nodeId, title, version,
663                            serviceContext);
664            }
665    
666            public void subscribePage(long userId, long nodeId, java.lang.String title)
667                    throws com.liferay.portal.kernel.exception.PortalException,
668                            com.liferay.portal.kernel.exception.SystemException {
669                    _wikiPageLocalService.subscribePage(userId, nodeId, title);
670            }
671    
672            public void unsubscribePage(long userId, long nodeId, java.lang.String title)
673                    throws com.liferay.portal.kernel.exception.PortalException,
674                            com.liferay.portal.kernel.exception.SystemException {
675                    _wikiPageLocalService.unsubscribePage(userId, nodeId, title);
676            }
677    
678            public void updateAsset(long userId,
679                    com.liferay.portlet.wiki.model.WikiPage page, long[] assetCategoryIds,
680                    java.lang.String[] assetTagNames, long[] assetLinkEntryIds)
681                    throws com.liferay.portal.kernel.exception.PortalException,
682                            com.liferay.portal.kernel.exception.SystemException {
683                    _wikiPageLocalService.updateAsset(userId, page, assetCategoryIds,
684                            assetTagNames, assetLinkEntryIds);
685            }
686    
687            public com.liferay.portlet.wiki.model.WikiPage updatePage(long userId,
688                    long nodeId, java.lang.String title, double version,
689                    java.lang.String content, java.lang.String summary, boolean minorEdit,
690                    java.lang.String format, java.lang.String parentTitle,
691                    java.lang.String redirectTitle,
692                    com.liferay.portal.service.ServiceContext serviceContext)
693                    throws com.liferay.portal.kernel.exception.PortalException,
694                            com.liferay.portal.kernel.exception.SystemException {
695                    return _wikiPageLocalService.updatePage(userId, nodeId, title, version,
696                            content, summary, minorEdit, format, parentTitle, redirectTitle,
697                            serviceContext);
698            }
699    
700            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
701                    long resourcePrimKey, int status,
702                    com.liferay.portal.service.ServiceContext serviceContext)
703                    throws com.liferay.portal.kernel.exception.PortalException,
704                            com.liferay.portal.kernel.exception.SystemException {
705                    return _wikiPageLocalService.updateStatus(userId, resourcePrimKey,
706                            status, serviceContext);
707            }
708    
709            public com.liferay.portlet.wiki.model.WikiPage updateStatus(long userId,
710                    com.liferay.portlet.wiki.model.WikiPage page, int status,
711                    com.liferay.portal.service.ServiceContext serviceContext)
712                    throws com.liferay.portal.kernel.exception.PortalException,
713                            com.liferay.portal.kernel.exception.SystemException {
714                    return _wikiPageLocalService.updateStatus(userId, page, status,
715                            serviceContext);
716            }
717    
718            public void validateTitle(java.lang.String title)
719                    throws com.liferay.portal.kernel.exception.PortalException {
720                    _wikiPageLocalService.validateTitle(title);
721            }
722    
723            /**
724             * @deprecated Renamed to {@link #getWrappedService}
725             */
726            public WikiPageLocalService getWrappedWikiPageLocalService() {
727                    return _wikiPageLocalService;
728            }
729    
730            /**
731             * @deprecated Renamed to {@link #setWrappedService}
732             */
733            public void setWrappedWikiPageLocalService(
734                    WikiPageLocalService wikiPageLocalService) {
735                    _wikiPageLocalService = wikiPageLocalService;
736            }
737    
738            public WikiPageLocalService getWrappedService() {
739                    return _wikiPageLocalService;
740            }
741    
742            public void setWrappedService(WikiPageLocalService wikiPageLocalService) {
743                    _wikiPageLocalService = wikiPageLocalService;
744            }
745    
746            private WikiPageLocalService _wikiPageLocalService;
747    }