1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.wiki.service;
16  
17  
18  /**
19   * <a href="WikiNodeServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link WikiNodeService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       WikiNodeService
32   * @generated
33   */
34  public class WikiNodeServiceWrapper implements WikiNodeService {
35      public WikiNodeServiceWrapper(WikiNodeService wikiNodeService) {
36          _wikiNodeService = wikiNodeService;
37      }
38  
39      public com.liferay.portlet.wiki.model.WikiNode addNode(
40          java.lang.String name, java.lang.String description,
41          com.liferay.portal.service.ServiceContext serviceContext)
42          throws com.liferay.portal.kernel.exception.PortalException,
43              com.liferay.portal.kernel.exception.SystemException {
44          return _wikiNodeService.addNode(name, description, serviceContext);
45      }
46  
47      public void deleteNode(long nodeId)
48          throws com.liferay.portal.kernel.exception.PortalException,
49              com.liferay.portal.kernel.exception.SystemException {
50          _wikiNodeService.deleteNode(nodeId);
51      }
52  
53      public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
54          throws com.liferay.portal.kernel.exception.PortalException,
55              com.liferay.portal.kernel.exception.SystemException {
56          return _wikiNodeService.getNode(nodeId);
57      }
58  
59      public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
60          java.lang.String name)
61          throws com.liferay.portal.kernel.exception.PortalException,
62              com.liferay.portal.kernel.exception.SystemException {
63          return _wikiNodeService.getNode(groupId, name);
64      }
65  
66      public void importPages(long nodeId, java.lang.String importer,
67          java.io.File[] files, java.util.Map<String, String[]> options)
68          throws com.liferay.portal.kernel.exception.PortalException,
69              com.liferay.portal.kernel.exception.SystemException {
70          _wikiNodeService.importPages(nodeId, importer, files, options);
71      }
72  
73      public void subscribeNode(long nodeId)
74          throws com.liferay.portal.kernel.exception.PortalException,
75              com.liferay.portal.kernel.exception.SystemException {
76          _wikiNodeService.subscribeNode(nodeId);
77      }
78  
79      public void unsubscribeNode(long nodeId)
80          throws com.liferay.portal.kernel.exception.PortalException,
81              com.liferay.portal.kernel.exception.SystemException {
82          _wikiNodeService.unsubscribeNode(nodeId);
83      }
84  
85      public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
86          java.lang.String name, java.lang.String description)
87          throws com.liferay.portal.kernel.exception.PortalException,
88              com.liferay.portal.kernel.exception.SystemException {
89          return _wikiNodeService.updateNode(nodeId, name, description);
90      }
91  
92      public WikiNodeService getWrappedWikiNodeService() {
93          return _wikiNodeService;
94      }
95  
96      private WikiNodeService _wikiNodeService;
97  }