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