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     * Provides a wrapper for {@link WikiNodeLocalService}.
021     *
022     * @author Brian Wing Shun Chan
023     * @see WikiNodeLocalService
024     * @generated
025     */
026    public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService,
027            ServiceWrapper<WikiNodeLocalService> {
028            public WikiNodeLocalServiceWrapper(
029                    WikiNodeLocalService wikiNodeLocalService) {
030                    _wikiNodeLocalService = wikiNodeLocalService;
031            }
032    
033            /**
034            * Adds the wiki node to the database. Also notifies the appropriate model listeners.
035            *
036            * @param wikiNode the wiki node
037            * @return the wiki node that was added
038            * @throws SystemException if a system exception occurred
039            */
040            @Override
041            public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
042                    com.liferay.portlet.wiki.model.WikiNode wikiNode)
043                    throws com.liferay.portal.kernel.exception.SystemException {
044                    return _wikiNodeLocalService.addWikiNode(wikiNode);
045            }
046    
047            /**
048            * Creates a new wiki node with the primary key. Does not add the wiki node to the database.
049            *
050            * @param nodeId the primary key for the new wiki node
051            * @return the new wiki node
052            */
053            @Override
054            public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
055                    return _wikiNodeLocalService.createWikiNode(nodeId);
056            }
057    
058            /**
059            * Deletes the wiki node with the primary key from the database. Also notifies the appropriate model listeners.
060            *
061            * @param nodeId the primary key of the wiki node
062            * @return the wiki node that was removed
063            * @throws PortalException if a wiki node with the primary key could not be found
064            * @throws SystemException if a system exception occurred
065            */
066            @Override
067            public com.liferay.portlet.wiki.model.WikiNode deleteWikiNode(long nodeId)
068                    throws com.liferay.portal.kernel.exception.PortalException,
069                            com.liferay.portal.kernel.exception.SystemException {
070                    return _wikiNodeLocalService.deleteWikiNode(nodeId);
071            }
072    
073            /**
074            * Deletes the wiki node from the database. Also notifies the appropriate model listeners.
075            *
076            * @param wikiNode the wiki node
077            * @return the wiki node that was removed
078            * @throws SystemException if a system exception occurred
079            */
080            @Override
081            public com.liferay.portlet.wiki.model.WikiNode deleteWikiNode(
082                    com.liferay.portlet.wiki.model.WikiNode wikiNode)
083                    throws com.liferay.portal.kernel.exception.SystemException {
084                    return _wikiNodeLocalService.deleteWikiNode(wikiNode);
085            }
086    
087            @Override
088            public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089                    return _wikiNodeLocalService.dynamicQuery();
090            }
091    
092            /**
093            * Performs a dynamic query on the database and returns the matching rows.
094            *
095            * @param dynamicQuery the dynamic query
096            * @return the matching rows
097            * @throws SystemException if a system exception occurred
098            */
099            @Override
100            @SuppressWarnings("rawtypes")
101            public java.util.List dynamicQuery(
102                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
103                    throws com.liferay.portal.kernel.exception.SystemException {
104                    return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
105            }
106    
107            /**
108            * Performs a dynamic query on the database and returns a range of the matching rows.
109            *
110            * <p>
111            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiNodeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
112            * </p>
113            *
114            * @param dynamicQuery the dynamic query
115            * @param start the lower bound of the range of model instances
116            * @param end the upper bound of the range of model instances (not inclusive)
117            * @return the range of matching rows
118            * @throws SystemException if a system exception occurred
119            */
120            @Override
121            @SuppressWarnings("rawtypes")
122            public java.util.List dynamicQuery(
123                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
124                    int end) throws com.liferay.portal.kernel.exception.SystemException {
125                    return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
126            }
127    
128            /**
129            * Performs a dynamic query on the database and returns an ordered range of the matching rows.
130            *
131            * <p>
132            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiNodeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
133            * </p>
134            *
135            * @param dynamicQuery the dynamic query
136            * @param start the lower bound of the range of model instances
137            * @param end the upper bound of the range of model instances (not inclusive)
138            * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
139            * @return the ordered range of matching rows
140            * @throws SystemException if a system exception occurred
141            */
142            @Override
143            @SuppressWarnings("rawtypes")
144            public java.util.List dynamicQuery(
145                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
146                    int end,
147                    com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
148                    throws com.liferay.portal.kernel.exception.SystemException {
149                    return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end,
150                            orderByComparator);
151            }
152    
153            /**
154            * Returns the number of rows that match the dynamic query.
155            *
156            * @param dynamicQuery the dynamic query
157            * @return the number of rows that match the dynamic query
158            * @throws SystemException if a system exception occurred
159            */
160            @Override
161            public long dynamicQueryCount(
162                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
163                    throws com.liferay.portal.kernel.exception.SystemException {
164                    return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery);
165            }
166    
167            /**
168            * Returns the number of rows that match the dynamic query.
169            *
170            * @param dynamicQuery the dynamic query
171            * @param projection the projection to apply to the query
172            * @return the number of rows that match the dynamic query
173            * @throws SystemException if a system exception occurred
174            */
175            @Override
176            public long dynamicQueryCount(
177                    com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
178                    com.liferay.portal.kernel.dao.orm.Projection projection)
179                    throws com.liferay.portal.kernel.exception.SystemException {
180                    return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery, projection);
181            }
182    
183            @Override
184            public com.liferay.portlet.wiki.model.WikiNode fetchWikiNode(long nodeId)
185                    throws com.liferay.portal.kernel.exception.SystemException {
186                    return _wikiNodeLocalService.fetchWikiNode(nodeId);
187            }
188    
189            /**
190            * Returns the wiki node with the matching UUID and company.
191            *
192            * @param uuid the wiki node's UUID
193            * @param companyId the primary key of the company
194            * @return the matching wiki node, or <code>null</code> if a matching wiki node could not be found
195            * @throws SystemException if a system exception occurred
196            */
197            @Override
198            public com.liferay.portlet.wiki.model.WikiNode fetchWikiNodeByUuidAndCompanyId(
199                    java.lang.String uuid, long companyId)
200                    throws com.liferay.portal.kernel.exception.SystemException {
201                    return _wikiNodeLocalService.fetchWikiNodeByUuidAndCompanyId(uuid,
202                            companyId);
203            }
204    
205            /**
206            * Returns the wiki node matching the UUID and group.
207            *
208            * @param uuid the wiki node's UUID
209            * @param groupId the primary key of the group
210            * @return the matching wiki node, or <code>null</code> if a matching wiki node could not be found
211            * @throws SystemException if a system exception occurred
212            */
213            @Override
214            public com.liferay.portlet.wiki.model.WikiNode fetchWikiNodeByUuidAndGroupId(
215                    java.lang.String uuid, long groupId)
216                    throws com.liferay.portal.kernel.exception.SystemException {
217                    return _wikiNodeLocalService.fetchWikiNodeByUuidAndGroupId(uuid, groupId);
218            }
219    
220            /**
221            * Returns the wiki node with the primary key.
222            *
223            * @param nodeId the primary key of the wiki node
224            * @return the wiki node
225            * @throws PortalException if a wiki node with the primary key could not be found
226            * @throws SystemException if a system exception occurred
227            */
228            @Override
229            public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
230                    throws com.liferay.portal.kernel.exception.PortalException,
231                            com.liferay.portal.kernel.exception.SystemException {
232                    return _wikiNodeLocalService.getWikiNode(nodeId);
233            }
234    
235            @Override
236            public com.liferay.portal.model.PersistedModel getPersistedModel(
237                    java.io.Serializable primaryKeyObj)
238                    throws com.liferay.portal.kernel.exception.PortalException,
239                            com.liferay.portal.kernel.exception.SystemException {
240                    return _wikiNodeLocalService.getPersistedModel(primaryKeyObj);
241            }
242    
243            /**
244            * Returns the wiki node with the matching UUID and company.
245            *
246            * @param uuid the wiki node's UUID
247            * @param companyId the primary key of the company
248            * @return the matching wiki node
249            * @throws PortalException if a matching wiki node could not be found
250            * @throws SystemException if a system exception occurred
251            */
252            @Override
253            public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndCompanyId(
254                    java.lang.String uuid, long companyId)
255                    throws com.liferay.portal.kernel.exception.PortalException,
256                            com.liferay.portal.kernel.exception.SystemException {
257                    return _wikiNodeLocalService.getWikiNodeByUuidAndCompanyId(uuid,
258                            companyId);
259            }
260    
261            /**
262            * Returns the wiki node matching the UUID and group.
263            *
264            * @param uuid the wiki node's UUID
265            * @param groupId the primary key of the group
266            * @return the matching wiki node
267            * @throws PortalException if a matching wiki node could not be found
268            * @throws SystemException if a system exception occurred
269            */
270            @Override
271            public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndGroupId(
272                    java.lang.String uuid, long groupId)
273                    throws com.liferay.portal.kernel.exception.PortalException,
274                            com.liferay.portal.kernel.exception.SystemException {
275                    return _wikiNodeLocalService.getWikiNodeByUuidAndGroupId(uuid, groupId);
276            }
277    
278            /**
279            * Returns a range of all the wiki nodes.
280            *
281            * <p>
282            * 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. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.wiki.model.impl.WikiNodeModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
283            * </p>
284            *
285            * @param start the lower bound of the range of wiki nodes
286            * @param end the upper bound of the range of wiki nodes (not inclusive)
287            * @return the range of wiki nodes
288            * @throws SystemException if a system exception occurred
289            */
290            @Override
291            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
292                    int start, int end)
293                    throws com.liferay.portal.kernel.exception.SystemException {
294                    return _wikiNodeLocalService.getWikiNodes(start, end);
295            }
296    
297            /**
298            * Returns the number of wiki nodes.
299            *
300            * @return the number of wiki nodes
301            * @throws SystemException if a system exception occurred
302            */
303            @Override
304            public int getWikiNodesCount()
305                    throws com.liferay.portal.kernel.exception.SystemException {
306                    return _wikiNodeLocalService.getWikiNodesCount();
307            }
308    
309            /**
310            * Updates the wiki node in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
311            *
312            * @param wikiNode the wiki node
313            * @return the wiki node that was updated
314            * @throws SystemException if a system exception occurred
315            */
316            @Override
317            public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
318                    com.liferay.portlet.wiki.model.WikiNode wikiNode)
319                    throws com.liferay.portal.kernel.exception.SystemException {
320                    return _wikiNodeLocalService.updateWikiNode(wikiNode);
321            }
322    
323            /**
324            * Returns the Spring bean ID for this bean.
325            *
326            * @return the Spring bean ID for this bean
327            */
328            @Override
329            public java.lang.String getBeanIdentifier() {
330                    return _wikiNodeLocalService.getBeanIdentifier();
331            }
332    
333            /**
334            * Sets the Spring bean ID for this bean.
335            *
336            * @param beanIdentifier the Spring bean ID for this bean
337            */
338            @Override
339            public void setBeanIdentifier(java.lang.String beanIdentifier) {
340                    _wikiNodeLocalService.setBeanIdentifier(beanIdentifier);
341            }
342    
343            @Override
344            public com.liferay.portlet.wiki.model.WikiNode addDefaultNode(long userId,
345                    com.liferay.portal.service.ServiceContext serviceContext)
346                    throws com.liferay.portal.kernel.exception.PortalException,
347                            com.liferay.portal.kernel.exception.SystemException {
348                    return _wikiNodeLocalService.addDefaultNode(userId, serviceContext);
349            }
350    
351            @Override
352            public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
353                    java.lang.String name, java.lang.String description,
354                    com.liferay.portal.service.ServiceContext serviceContext)
355                    throws com.liferay.portal.kernel.exception.PortalException,
356                            com.liferay.portal.kernel.exception.SystemException {
357                    return _wikiNodeLocalService.addNode(userId, name, description,
358                            serviceContext);
359            }
360    
361            @Override
362            public void addNodeResources(long nodeId, boolean addGroupPermissions,
363                    boolean addGuestPermissions)
364                    throws com.liferay.portal.kernel.exception.PortalException,
365                            com.liferay.portal.kernel.exception.SystemException {
366                    _wikiNodeLocalService.addNodeResources(nodeId, addGroupPermissions,
367                            addGuestPermissions);
368            }
369    
370            @Override
371            public void addNodeResources(long nodeId,
372                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
373                    throws com.liferay.portal.kernel.exception.PortalException,
374                            com.liferay.portal.kernel.exception.SystemException {
375                    _wikiNodeLocalService.addNodeResources(nodeId, groupPermissions,
376                            guestPermissions);
377            }
378    
379            @Override
380            public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
381                    boolean addGroupPermissions, boolean addGuestPermissions)
382                    throws com.liferay.portal.kernel.exception.PortalException,
383                            com.liferay.portal.kernel.exception.SystemException {
384                    _wikiNodeLocalService.addNodeResources(node, addGroupPermissions,
385                            addGuestPermissions);
386            }
387    
388            @Override
389            public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
390                    java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
391                    throws com.liferay.portal.kernel.exception.PortalException,
392                            com.liferay.portal.kernel.exception.SystemException {
393                    _wikiNodeLocalService.addNodeResources(node, groupPermissions,
394                            guestPermissions);
395            }
396    
397            @Override
398            public void deleteNode(long nodeId)
399                    throws com.liferay.portal.kernel.exception.PortalException,
400                            com.liferay.portal.kernel.exception.SystemException {
401                    _wikiNodeLocalService.deleteNode(nodeId);
402            }
403    
404            @Override
405            public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
406                    throws com.liferay.portal.kernel.exception.PortalException,
407                            com.liferay.portal.kernel.exception.SystemException {
408                    _wikiNodeLocalService.deleteNode(node);
409            }
410    
411            @Override
412            public void deleteNodes(long groupId)
413                    throws com.liferay.portal.kernel.exception.PortalException,
414                            com.liferay.portal.kernel.exception.SystemException {
415                    _wikiNodeLocalService.deleteNodes(groupId);
416            }
417    
418            @Override
419            public com.liferay.portlet.wiki.model.WikiNode fetchNode(long groupId,
420                    java.lang.String name)
421                    throws com.liferay.portal.kernel.exception.SystemException {
422                    return _wikiNodeLocalService.fetchNode(groupId, name);
423            }
424    
425            @Override
426            public com.liferay.portlet.wiki.model.WikiNode fetchNodeByUuidAndGroupId(
427                    java.lang.String uuid, long groupId)
428                    throws com.liferay.portal.kernel.exception.SystemException {
429                    return _wikiNodeLocalService.fetchNodeByUuidAndGroupId(uuid, groupId);
430            }
431    
432            @Override
433            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
434                    long companyId, int start, int end)
435                    throws com.liferay.portal.kernel.exception.SystemException {
436                    return _wikiNodeLocalService.getCompanyNodes(companyId, start, end);
437            }
438    
439            @Override
440            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
441                    long companyId, int status, int start, int end)
442                    throws com.liferay.portal.kernel.exception.SystemException {
443                    return _wikiNodeLocalService.getCompanyNodes(companyId, status, start,
444                            end);
445            }
446    
447            @Override
448            public int getCompanyNodesCount(long companyId)
449                    throws com.liferay.portal.kernel.exception.SystemException {
450                    return _wikiNodeLocalService.getCompanyNodesCount(companyId);
451            }
452    
453            @Override
454            public int getCompanyNodesCount(long companyId, int status)
455                    throws com.liferay.portal.kernel.exception.SystemException {
456                    return _wikiNodeLocalService.getCompanyNodesCount(companyId, status);
457            }
458    
459            @Override
460            public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
461                    throws com.liferay.portal.kernel.exception.PortalException,
462                            com.liferay.portal.kernel.exception.SystemException {
463                    return _wikiNodeLocalService.getNode(nodeId);
464            }
465    
466            @Override
467            public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
468                    java.lang.String nodeName)
469                    throws com.liferay.portal.kernel.exception.PortalException,
470                            com.liferay.portal.kernel.exception.SystemException {
471                    return _wikiNodeLocalService.getNode(groupId, nodeName);
472            }
473    
474            @Override
475            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
476                    long groupId)
477                    throws com.liferay.portal.kernel.exception.PortalException,
478                            com.liferay.portal.kernel.exception.SystemException {
479                    return _wikiNodeLocalService.getNodes(groupId);
480            }
481    
482            @Override
483            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
484                    long groupId, int status)
485                    throws com.liferay.portal.kernel.exception.PortalException,
486                            com.liferay.portal.kernel.exception.SystemException {
487                    return _wikiNodeLocalService.getNodes(groupId, status);
488            }
489    
490            @Override
491            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
492                    long groupId, int start, int end)
493                    throws com.liferay.portal.kernel.exception.PortalException,
494                            com.liferay.portal.kernel.exception.SystemException {
495                    return _wikiNodeLocalService.getNodes(groupId, start, end);
496            }
497    
498            @Override
499            public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
500                    long groupId, int status, int start, int end)
501                    throws com.liferay.portal.kernel.exception.PortalException,
502                            com.liferay.portal.kernel.exception.SystemException {
503                    return _wikiNodeLocalService.getNodes(groupId, status, start, end);
504            }
505    
506            @Override
507            public int getNodesCount(long groupId)
508                    throws com.liferay.portal.kernel.exception.SystemException {
509                    return _wikiNodeLocalService.getNodesCount(groupId);
510            }
511    
512            @Override
513            public int getNodesCount(long groupId, int status)
514                    throws com.liferay.portal.kernel.exception.SystemException {
515                    return _wikiNodeLocalService.getNodesCount(groupId, status);
516            }
517    
518            @Override
519            public void importPages(long userId, long nodeId,
520                    java.lang.String importer, java.io.InputStream[] inputStreams,
521                    java.util.Map<java.lang.String, java.lang.String[]> options)
522                    throws com.liferay.portal.kernel.exception.PortalException,
523                            com.liferay.portal.kernel.exception.SystemException {
524                    _wikiNodeLocalService.importPages(userId, nodeId, importer,
525                            inputStreams, options);
526            }
527    
528            @Override
529            public com.liferay.portlet.wiki.model.WikiNode moveNodeToTrash(
530                    long userId, long nodeId)
531                    throws com.liferay.portal.kernel.exception.PortalException,
532                            com.liferay.portal.kernel.exception.SystemException {
533                    return _wikiNodeLocalService.moveNodeToTrash(userId, nodeId);
534            }
535    
536            @Override
537            public com.liferay.portlet.wiki.model.WikiNode moveNodeToTrash(
538                    long userId, com.liferay.portlet.wiki.model.WikiNode node)
539                    throws com.liferay.portal.kernel.exception.PortalException,
540                            com.liferay.portal.kernel.exception.SystemException {
541                    return _wikiNodeLocalService.moveNodeToTrash(userId, node);
542            }
543    
544            @Override
545            public void restoreNodeFromTrash(long userId,
546                    com.liferay.portlet.wiki.model.WikiNode node)
547                    throws com.liferay.portal.kernel.exception.PortalException,
548                            com.liferay.portal.kernel.exception.SystemException {
549                    _wikiNodeLocalService.restoreNodeFromTrash(userId, node);
550            }
551    
552            @Override
553            public void subscribeNode(long userId, long nodeId)
554                    throws com.liferay.portal.kernel.exception.PortalException,
555                            com.liferay.portal.kernel.exception.SystemException {
556                    _wikiNodeLocalService.subscribeNode(userId, nodeId);
557            }
558    
559            @Override
560            public void unsubscribeNode(long userId, long nodeId)
561                    throws com.liferay.portal.kernel.exception.PortalException,
562                            com.liferay.portal.kernel.exception.SystemException {
563                    _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
564            }
565    
566            @Override
567            public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
568                    java.lang.String name, java.lang.String description,
569                    com.liferay.portal.service.ServiceContext serviceContext)
570                    throws com.liferay.portal.kernel.exception.PortalException,
571                            com.liferay.portal.kernel.exception.SystemException {
572                    return _wikiNodeLocalService.updateNode(nodeId, name, description,
573                            serviceContext);
574            }
575    
576            @Override
577            public com.liferay.portlet.wiki.model.WikiNode updateStatus(long userId,
578                    com.liferay.portlet.wiki.model.WikiNode node, int status,
579                    com.liferay.portal.service.ServiceContext serviceContext)
580                    throws com.liferay.portal.kernel.exception.PortalException,
581                            com.liferay.portal.kernel.exception.SystemException {
582                    return _wikiNodeLocalService.updateStatus(userId, node, status,
583                            serviceContext);
584            }
585    
586            /**
587             * @deprecated As of 6.1.0, replaced by {@link #getWrappedService}
588             */
589            public WikiNodeLocalService getWrappedWikiNodeLocalService() {
590                    return _wikiNodeLocalService;
591            }
592    
593            /**
594             * @deprecated As of 6.1.0, replaced by {@link #setWrappedService}
595             */
596            public void setWrappedWikiNodeLocalService(
597                    WikiNodeLocalService wikiNodeLocalService) {
598                    _wikiNodeLocalService = wikiNodeLocalService;
599            }
600    
601            @Override
602            public WikiNodeLocalService getWrappedService() {
603                    return _wikiNodeLocalService;
604            }
605    
606            @Override
607            public void setWrappedService(WikiNodeLocalService wikiNodeLocalService) {
608                    _wikiNodeLocalService = wikiNodeLocalService;
609            }
610    
611            private WikiNodeLocalService _wikiNodeLocalService;
612    }