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