1
14
15 package com.liferay.portlet.wiki.service;
16
17
18
34 public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService {
35 public WikiNodeLocalServiceWrapper(
36 WikiNodeLocalService wikiNodeLocalService) {
37 _wikiNodeLocalService = wikiNodeLocalService;
38 }
39
40 public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
41 com.liferay.portlet.wiki.model.WikiNode wikiNode)
42 throws com.liferay.portal.kernel.exception.SystemException {
43 return _wikiNodeLocalService.addWikiNode(wikiNode);
44 }
45
46 public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
47 return _wikiNodeLocalService.createWikiNode(nodeId);
48 }
49
50 public void deleteWikiNode(long nodeId)
51 throws com.liferay.portal.kernel.exception.PortalException,
52 com.liferay.portal.kernel.exception.SystemException {
53 _wikiNodeLocalService.deleteWikiNode(nodeId);
54 }
55
56 public void deleteWikiNode(com.liferay.portlet.wiki.model.WikiNode wikiNode)
57 throws com.liferay.portal.kernel.exception.SystemException {
58 _wikiNodeLocalService.deleteWikiNode(wikiNode);
59 }
60
61 public java.util.List<Object> dynamicQuery(
62 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
63 throws com.liferay.portal.kernel.exception.SystemException {
64 return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
65 }
66
67 public java.util.List<Object> dynamicQuery(
68 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
69 int end) throws com.liferay.portal.kernel.exception.SystemException {
70 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
71 }
72
73 public java.util.List<Object> dynamicQuery(
74 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
75 int end,
76 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
77 throws com.liferay.portal.kernel.exception.SystemException {
78 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end,
79 orderByComparator);
80 }
81
82 public int dynamicQueryCount(
83 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
84 throws com.liferay.portal.kernel.exception.SystemException {
85 return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery);
86 }
87
88 public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
89 throws com.liferay.portal.kernel.exception.PortalException,
90 com.liferay.portal.kernel.exception.SystemException {
91 return _wikiNodeLocalService.getWikiNode(nodeId);
92 }
93
94 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
95 int start, int end)
96 throws com.liferay.portal.kernel.exception.SystemException {
97 return _wikiNodeLocalService.getWikiNodes(start, end);
98 }
99
100 public int getWikiNodesCount()
101 throws com.liferay.portal.kernel.exception.SystemException {
102 return _wikiNodeLocalService.getWikiNodesCount();
103 }
104
105 public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
106 com.liferay.portlet.wiki.model.WikiNode wikiNode)
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return _wikiNodeLocalService.updateWikiNode(wikiNode);
109 }
110
111 public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
112 com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
113 throws com.liferay.portal.kernel.exception.SystemException {
114 return _wikiNodeLocalService.updateWikiNode(wikiNode, merge);
115 }
116
117 public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
118 java.lang.String name, java.lang.String description,
119 com.liferay.portal.service.ServiceContext serviceContext)
120 throws com.liferay.portal.kernel.exception.PortalException,
121 com.liferay.portal.kernel.exception.SystemException {
122 return _wikiNodeLocalService.addNode(userId, name, description,
123 serviceContext);
124 }
125
126 public com.liferay.portlet.wiki.model.WikiNode addNode(
127 java.lang.String uuid, long userId, java.lang.String name,
128 java.lang.String description,
129 com.liferay.portal.service.ServiceContext serviceContext)
130 throws com.liferay.portal.kernel.exception.PortalException,
131 com.liferay.portal.kernel.exception.SystemException {
132 return _wikiNodeLocalService.addNode(uuid, userId, name, description,
133 serviceContext);
134 }
135
136 public void addNodeResources(long nodeId, boolean addCommunityPermissions,
137 boolean addGuestPermissions)
138 throws com.liferay.portal.kernel.exception.PortalException,
139 com.liferay.portal.kernel.exception.SystemException {
140 _wikiNodeLocalService.addNodeResources(nodeId, addCommunityPermissions,
141 addGuestPermissions);
142 }
143
144 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
145 boolean addCommunityPermissions, boolean addGuestPermissions)
146 throws com.liferay.portal.kernel.exception.PortalException,
147 com.liferay.portal.kernel.exception.SystemException {
148 _wikiNodeLocalService.addNodeResources(node, addCommunityPermissions,
149 addGuestPermissions);
150 }
151
152 public void addNodeResources(long nodeId,
153 java.lang.String[] communityPermissions,
154 java.lang.String[] guestPermissions)
155 throws com.liferay.portal.kernel.exception.PortalException,
156 com.liferay.portal.kernel.exception.SystemException {
157 _wikiNodeLocalService.addNodeResources(nodeId, communityPermissions,
158 guestPermissions);
159 }
160
161 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
162 java.lang.String[] communityPermissions,
163 java.lang.String[] guestPermissions)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 _wikiNodeLocalService.addNodeResources(node, communityPermissions,
167 guestPermissions);
168 }
169
170 public void deleteNode(long nodeId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 _wikiNodeLocalService.deleteNode(nodeId);
174 }
175
176 public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
177 throws com.liferay.portal.kernel.exception.PortalException,
178 com.liferay.portal.kernel.exception.SystemException {
179 _wikiNodeLocalService.deleteNode(node);
180 }
181
182 public void deleteNodes(long groupId)
183 throws com.liferay.portal.kernel.exception.PortalException,
184 com.liferay.portal.kernel.exception.SystemException {
185 _wikiNodeLocalService.deleteNodes(groupId);
186 }
187
188 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
189 long companyId, int start, int end)
190 throws com.liferay.portal.kernel.exception.SystemException {
191 return _wikiNodeLocalService.getCompanyNodes(companyId, start, end);
192 }
193
194 public int getCompanyNodesCount(long companyId)
195 throws com.liferay.portal.kernel.exception.SystemException {
196 return _wikiNodeLocalService.getCompanyNodesCount(companyId);
197 }
198
199 public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
200 throws com.liferay.portal.kernel.exception.PortalException,
201 com.liferay.portal.kernel.exception.SystemException {
202 return _wikiNodeLocalService.getNode(nodeId);
203 }
204
205 public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
206 java.lang.String nodeName)
207 throws com.liferay.portal.kernel.exception.PortalException,
208 com.liferay.portal.kernel.exception.SystemException {
209 return _wikiNodeLocalService.getNode(groupId, nodeName);
210 }
211
212 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
213 long groupId)
214 throws com.liferay.portal.kernel.exception.SystemException {
215 return _wikiNodeLocalService.getNodes(groupId);
216 }
217
218 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
219 long groupId, int start, int end)
220 throws com.liferay.portal.kernel.exception.SystemException {
221 return _wikiNodeLocalService.getNodes(groupId, start, end);
222 }
223
224 public int getNodesCount(long groupId)
225 throws com.liferay.portal.kernel.exception.SystemException {
226 return _wikiNodeLocalService.getNodesCount(groupId);
227 }
228
229 public void importPages(long userId, long nodeId,
230 java.lang.String importer, java.io.File[] files,
231 java.util.Map<String, String[]> options)
232 throws com.liferay.portal.kernel.exception.PortalException,
233 com.liferay.portal.kernel.exception.SystemException {
234 _wikiNodeLocalService.importPages(userId, nodeId, importer, files,
235 options);
236 }
237
238 public void subscribeNode(long userId, long nodeId)
239 throws com.liferay.portal.kernel.exception.PortalException,
240 com.liferay.portal.kernel.exception.SystemException {
241 _wikiNodeLocalService.subscribeNode(userId, nodeId);
242 }
243
244 public void unsubscribeNode(long userId, long nodeId)
245 throws com.liferay.portal.kernel.exception.PortalException,
246 com.liferay.portal.kernel.exception.SystemException {
247 _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
248 }
249
250 public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
251 java.lang.String name, java.lang.String description,
252 com.liferay.portal.service.ServiceContext serviceContext)
253 throws com.liferay.portal.kernel.exception.PortalException,
254 com.liferay.portal.kernel.exception.SystemException {
255 return _wikiNodeLocalService.updateNode(nodeId, name, description,
256 serviceContext);
257 }
258
259 public WikiNodeLocalService getWrappedWikiNodeLocalService() {
260 return _wikiNodeLocalService;
261 }
262
263 private WikiNodeLocalService _wikiNodeLocalService;
264 }