1
14
15 package com.liferay.portlet.wiki.service;
16
17
18
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 }