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(long plid,
40          java.lang.String name, java.lang.String description,
41          boolean addCommunityPermissions, boolean addGuestPermissions)
42          throws com.liferay.portal.PortalException,
43              com.liferay.portal.SystemException, java.rmi.RemoteException {
44          return _wikiNodeService.addNode(plid, name, description,
45              addCommunityPermissions, addGuestPermissions);
46      }
47  
48      public com.liferay.portlet.wiki.model.WikiNode addNode(long plid,
49          java.lang.String name, java.lang.String description,
50          java.lang.String[] communityPermissions,
51          java.lang.String[] guestPermissions)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException, java.rmi.RemoteException {
54          return _wikiNodeService.addNode(plid, name, description,
55              communityPermissions, guestPermissions);
56      }
57  
58      public void deleteNode(long nodeId)
59          throws com.liferay.portal.PortalException,
60              com.liferay.portal.SystemException, java.rmi.RemoteException {
61          _wikiNodeService.deleteNode(nodeId);
62      }
63  
64      public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
65          throws com.liferay.portal.PortalException,
66              com.liferay.portal.SystemException, java.rmi.RemoteException {
67          return _wikiNodeService.getNode(nodeId);
68      }
69  
70      public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
71          java.lang.String name)
72          throws com.liferay.portal.PortalException,
73              com.liferay.portal.SystemException, java.rmi.RemoteException {
74          return _wikiNodeService.getNode(groupId, name);
75      }
76  
77      public void importPages(long nodeId, java.lang.String importer,
78          java.io.File[] files, java.util.Map<String, String[]> options)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException, java.rmi.RemoteException {
81          _wikiNodeService.importPages(nodeId, importer, files, options);
82      }
83  
84      public void subscribeNode(long nodeId)
85          throws com.liferay.portal.PortalException,
86              com.liferay.portal.SystemException, java.rmi.RemoteException {
87          _wikiNodeService.subscribeNode(nodeId);
88      }
89  
90      public void unsubscribeNode(long nodeId)
91          throws com.liferay.portal.PortalException,
92              com.liferay.portal.SystemException, java.rmi.RemoteException {
93          _wikiNodeService.unsubscribeNode(nodeId);
94      }
95  
96      public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
97          java.lang.String name, java.lang.String description)
98          throws com.liferay.portal.PortalException,
99              com.liferay.portal.SystemException, java.rmi.RemoteException {
100         return _wikiNodeService.updateNode(nodeId, name, description);
101     }
102 
103     public WikiNodeService getWrappedWikiNodeService() {
104         return _wikiNodeService;
105     }
106 
107     private WikiNodeService _wikiNodeService;
108 }