001
014
015 package com.liferay.portlet.wiki.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class WikiNodeLocalServiceWrapper implements WikiNodeLocalService,
029 ServiceWrapper<WikiNodeLocalService> {
030 public WikiNodeLocalServiceWrapper(
031 WikiNodeLocalService wikiNodeLocalService) {
032 _wikiNodeLocalService = wikiNodeLocalService;
033 }
034
035
042 public com.liferay.portlet.wiki.model.WikiNode addWikiNode(
043 com.liferay.portlet.wiki.model.WikiNode wikiNode)
044 throws com.liferay.portal.kernel.exception.SystemException {
045 return _wikiNodeLocalService.addWikiNode(wikiNode);
046 }
047
048
054 public com.liferay.portlet.wiki.model.WikiNode createWikiNode(long nodeId) {
055 return _wikiNodeLocalService.createWikiNode(nodeId);
056 }
057
058
066 public com.liferay.portlet.wiki.model.WikiNode deleteWikiNode(long nodeId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _wikiNodeLocalService.deleteWikiNode(nodeId);
070 }
071
072
079 public com.liferay.portlet.wiki.model.WikiNode deleteWikiNode(
080 com.liferay.portlet.wiki.model.WikiNode wikiNode)
081 throws com.liferay.portal.kernel.exception.SystemException {
082 return _wikiNodeLocalService.deleteWikiNode(wikiNode);
083 }
084
085 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
086 return _wikiNodeLocalService.dynamicQuery();
087 }
088
089
096 @SuppressWarnings("rawtypes")
097 public java.util.List dynamicQuery(
098 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
099 throws com.liferay.portal.kernel.exception.SystemException {
100 return _wikiNodeLocalService.dynamicQuery(dynamicQuery);
101 }
102
103
116 @SuppressWarnings("rawtypes")
117 public java.util.List dynamicQuery(
118 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
119 int end) throws com.liferay.portal.kernel.exception.SystemException {
120 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end);
121 }
122
123
137 @SuppressWarnings("rawtypes")
138 public java.util.List dynamicQuery(
139 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
140 int end,
141 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
142 throws com.liferay.portal.kernel.exception.SystemException {
143 return _wikiNodeLocalService.dynamicQuery(dynamicQuery, start, end,
144 orderByComparator);
145 }
146
147
154 public long dynamicQueryCount(
155 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
156 throws com.liferay.portal.kernel.exception.SystemException {
157 return _wikiNodeLocalService.dynamicQueryCount(dynamicQuery);
158 }
159
160 public com.liferay.portlet.wiki.model.WikiNode fetchWikiNode(long nodeId)
161 throws com.liferay.portal.kernel.exception.SystemException {
162 return _wikiNodeLocalService.fetchWikiNode(nodeId);
163 }
164
165
173 public com.liferay.portlet.wiki.model.WikiNode getWikiNode(long nodeId)
174 throws com.liferay.portal.kernel.exception.PortalException,
175 com.liferay.portal.kernel.exception.SystemException {
176 return _wikiNodeLocalService.getWikiNode(nodeId);
177 }
178
179 public com.liferay.portal.model.PersistedModel getPersistedModel(
180 java.io.Serializable primaryKeyObj)
181 throws com.liferay.portal.kernel.exception.PortalException,
182 com.liferay.portal.kernel.exception.SystemException {
183 return _wikiNodeLocalService.getPersistedModel(primaryKeyObj);
184 }
185
186
195 public com.liferay.portlet.wiki.model.WikiNode getWikiNodeByUuidAndGroupId(
196 java.lang.String uuid, long groupId)
197 throws com.liferay.portal.kernel.exception.PortalException,
198 com.liferay.portal.kernel.exception.SystemException {
199 return _wikiNodeLocalService.getWikiNodeByUuidAndGroupId(uuid, groupId);
200 }
201
202
214 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getWikiNodes(
215 int start, int end)
216 throws com.liferay.portal.kernel.exception.SystemException {
217 return _wikiNodeLocalService.getWikiNodes(start, end);
218 }
219
220
226 public int getWikiNodesCount()
227 throws com.liferay.portal.kernel.exception.SystemException {
228 return _wikiNodeLocalService.getWikiNodesCount();
229 }
230
231
238 public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
239 com.liferay.portlet.wiki.model.WikiNode wikiNode)
240 throws com.liferay.portal.kernel.exception.SystemException {
241 return _wikiNodeLocalService.updateWikiNode(wikiNode);
242 }
243
244
252 public com.liferay.portlet.wiki.model.WikiNode updateWikiNode(
253 com.liferay.portlet.wiki.model.WikiNode wikiNode, boolean merge)
254 throws com.liferay.portal.kernel.exception.SystemException {
255 return _wikiNodeLocalService.updateWikiNode(wikiNode, merge);
256 }
257
258
263 public java.lang.String getBeanIdentifier() {
264 return _wikiNodeLocalService.getBeanIdentifier();
265 }
266
267
272 public void setBeanIdentifier(java.lang.String beanIdentifier) {
273 _wikiNodeLocalService.setBeanIdentifier(beanIdentifier);
274 }
275
276 public com.liferay.portlet.wiki.model.WikiNode addDefaultNode(long userId,
277 com.liferay.portal.service.ServiceContext serviceContext)
278 throws com.liferay.portal.kernel.exception.PortalException,
279 com.liferay.portal.kernel.exception.SystemException {
280 return _wikiNodeLocalService.addDefaultNode(userId, serviceContext);
281 }
282
283 public com.liferay.portlet.wiki.model.WikiNode addNode(long userId,
284 java.lang.String name, java.lang.String description,
285 com.liferay.portal.service.ServiceContext serviceContext)
286 throws com.liferay.portal.kernel.exception.PortalException,
287 com.liferay.portal.kernel.exception.SystemException {
288 return _wikiNodeLocalService.addNode(userId, name, description,
289 serviceContext);
290 }
291
292 public void addNodeResources(long nodeId, boolean addGroupPermissions,
293 boolean addGuestPermissions)
294 throws com.liferay.portal.kernel.exception.PortalException,
295 com.liferay.portal.kernel.exception.SystemException {
296 _wikiNodeLocalService.addNodeResources(nodeId, addGroupPermissions,
297 addGuestPermissions);
298 }
299
300 public void addNodeResources(long nodeId,
301 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
302 throws com.liferay.portal.kernel.exception.PortalException,
303 com.liferay.portal.kernel.exception.SystemException {
304 _wikiNodeLocalService.addNodeResources(nodeId, groupPermissions,
305 guestPermissions);
306 }
307
308 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
309 boolean addGroupPermissions, boolean addGuestPermissions)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 _wikiNodeLocalService.addNodeResources(node, addGroupPermissions,
313 addGuestPermissions);
314 }
315
316 public void addNodeResources(com.liferay.portlet.wiki.model.WikiNode node,
317 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
318 throws com.liferay.portal.kernel.exception.PortalException,
319 com.liferay.portal.kernel.exception.SystemException {
320 _wikiNodeLocalService.addNodeResources(node, groupPermissions,
321 guestPermissions);
322 }
323
324 public void deleteNode(long nodeId)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 _wikiNodeLocalService.deleteNode(nodeId);
328 }
329
330 public void deleteNode(com.liferay.portlet.wiki.model.WikiNode node)
331 throws com.liferay.portal.kernel.exception.PortalException,
332 com.liferay.portal.kernel.exception.SystemException {
333 _wikiNodeLocalService.deleteNode(node);
334 }
335
336 public void deleteNodes(long groupId)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 _wikiNodeLocalService.deleteNodes(groupId);
340 }
341
342 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getCompanyNodes(
343 long companyId, int start, int end)
344 throws com.liferay.portal.kernel.exception.SystemException {
345 return _wikiNodeLocalService.getCompanyNodes(companyId, start, end);
346 }
347
348 public int getCompanyNodesCount(long companyId)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _wikiNodeLocalService.getCompanyNodesCount(companyId);
351 }
352
353 public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
354 throws com.liferay.portal.kernel.exception.PortalException,
355 com.liferay.portal.kernel.exception.SystemException {
356 return _wikiNodeLocalService.getNode(nodeId);
357 }
358
359 public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
360 java.lang.String nodeName)
361 throws com.liferay.portal.kernel.exception.PortalException,
362 com.liferay.portal.kernel.exception.SystemException {
363 return _wikiNodeLocalService.getNode(groupId, nodeName);
364 }
365
366 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
367 long groupId)
368 throws com.liferay.portal.kernel.exception.PortalException,
369 com.liferay.portal.kernel.exception.SystemException {
370 return _wikiNodeLocalService.getNodes(groupId);
371 }
372
373 public java.util.List<com.liferay.portlet.wiki.model.WikiNode> getNodes(
374 long groupId, int start, int end)
375 throws com.liferay.portal.kernel.exception.PortalException,
376 com.liferay.portal.kernel.exception.SystemException {
377 return _wikiNodeLocalService.getNodes(groupId, start, end);
378 }
379
380 public int getNodesCount(long groupId)
381 throws com.liferay.portal.kernel.exception.SystemException {
382 return _wikiNodeLocalService.getNodesCount(groupId);
383 }
384
385 public void importPages(long userId, long nodeId,
386 java.lang.String importer, java.io.InputStream[] inputStreams,
387 java.util.Map<java.lang.String, java.lang.String[]> options)
388 throws com.liferay.portal.kernel.exception.PortalException,
389 com.liferay.portal.kernel.exception.SystemException {
390 _wikiNodeLocalService.importPages(userId, nodeId, importer,
391 inputStreams, options);
392 }
393
394 public void subscribeNode(long userId, long nodeId)
395 throws com.liferay.portal.kernel.exception.PortalException,
396 com.liferay.portal.kernel.exception.SystemException {
397 _wikiNodeLocalService.subscribeNode(userId, nodeId);
398 }
399
400 public void unsubscribeNode(long userId, long nodeId)
401 throws com.liferay.portal.kernel.exception.PortalException,
402 com.liferay.portal.kernel.exception.SystemException {
403 _wikiNodeLocalService.unsubscribeNode(userId, nodeId);
404 }
405
406 public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
407 java.lang.String name, java.lang.String description,
408 com.liferay.portal.service.ServiceContext serviceContext)
409 throws com.liferay.portal.kernel.exception.PortalException,
410 com.liferay.portal.kernel.exception.SystemException {
411 return _wikiNodeLocalService.updateNode(nodeId, name, description,
412 serviceContext);
413 }
414
415
418 public WikiNodeLocalService getWrappedWikiNodeLocalService() {
419 return _wikiNodeLocalService;
420 }
421
422
425 public void setWrappedWikiNodeLocalService(
426 WikiNodeLocalService wikiNodeLocalService) {
427 _wikiNodeLocalService = wikiNodeLocalService;
428 }
429
430 public WikiNodeLocalService getWrappedService() {
431 return _wikiNodeLocalService;
432 }
433
434 public void setWrappedService(WikiNodeLocalService wikiNodeLocalService) {
435 _wikiNodeLocalService = wikiNodeLocalService;
436 }
437
438 private WikiNodeLocalService _wikiNodeLocalService;
439 }