1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.wiki.service;
16  
17  /**
18   * <a href="WikiNodeServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link WikiNodeService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       WikiNodeService
31   * @generated
32   */
33  public class WikiNodeServiceWrapper implements WikiNodeService {
34      public WikiNodeServiceWrapper(WikiNodeService wikiNodeService) {
35          _wikiNodeService = wikiNodeService;
36      }
37  
38      public com.liferay.portlet.wiki.model.WikiNode addNode(
39          java.lang.String name, java.lang.String description,
40          com.liferay.portal.service.ServiceContext serviceContext)
41          throws com.liferay.portal.PortalException,
42              com.liferay.portal.SystemException {
43          return _wikiNodeService.addNode(name, description, serviceContext);
44      }
45  
46      public void deleteNode(long nodeId)
47          throws com.liferay.portal.PortalException,
48              com.liferay.portal.SystemException {
49          _wikiNodeService.deleteNode(nodeId);
50      }
51  
52      public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          return _wikiNodeService.getNode(nodeId);
56      }
57  
58      public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
59          java.lang.String name)
60          throws com.liferay.portal.PortalException,
61              com.liferay.portal.SystemException {
62          return _wikiNodeService.getNode(groupId, name);
63      }
64  
65      public void importPages(long nodeId, java.lang.String importer,
66          java.io.File[] files,
67          java.util.Map<java.lang.String, java.lang.String[]> options)
68          throws com.liferay.portal.PortalException,
69              com.liferay.portal.SystemException {
70          _wikiNodeService.importPages(nodeId, importer, files, options);
71      }
72  
73      public void subscribeNode(long nodeId)
74          throws com.liferay.portal.PortalException,
75              com.liferay.portal.SystemException {
76          _wikiNodeService.subscribeNode(nodeId);
77      }
78  
79      public void unsubscribeNode(long nodeId)
80          throws com.liferay.portal.PortalException,
81              com.liferay.portal.SystemException {
82          _wikiNodeService.unsubscribeNode(nodeId);
83      }
84  
85      /**
86      * @deprecated
87      */
88      public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
89          java.lang.String name, java.lang.String description)
90          throws com.liferay.portal.PortalException,
91              com.liferay.portal.SystemException {
92          return _wikiNodeService.updateNode(nodeId, name, description);
93      }
94  
95      public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
96          java.lang.String name, java.lang.String description,
97          com.liferay.portal.service.ServiceContext serviceContext)
98          throws com.liferay.portal.PortalException,
99              com.liferay.portal.SystemException {
100         return _wikiNodeService.updateNode(nodeId, name, description,
101             serviceContext);
102     }
103 
104     public WikiNodeService getWrappedWikiNodeService() {
105         return _wikiNodeService;
106     }
107 
108     private WikiNodeService _wikiNodeService;
109 }