001
014
015 package com.liferay.portlet.wiki.service;
016
017
026 public class WikiNodeServiceWrapper implements WikiNodeService {
027 public WikiNodeServiceWrapper(WikiNodeService wikiNodeService) {
028 _wikiNodeService = wikiNodeService;
029 }
030
031 public com.liferay.portlet.wiki.model.WikiNode addNode(
032 java.lang.String name, java.lang.String description,
033 com.liferay.portal.service.ServiceContext serviceContext)
034 throws com.liferay.portal.kernel.exception.PortalException,
035 com.liferay.portal.kernel.exception.SystemException {
036 return _wikiNodeService.addNode(name, description, serviceContext);
037 }
038
039 public void deleteNode(long nodeId)
040 throws com.liferay.portal.kernel.exception.PortalException,
041 com.liferay.portal.kernel.exception.SystemException {
042 _wikiNodeService.deleteNode(nodeId);
043 }
044
045 public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
046 throws com.liferay.portal.kernel.exception.PortalException,
047 com.liferay.portal.kernel.exception.SystemException {
048 return _wikiNodeService.getNode(nodeId);
049 }
050
051 public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
052 java.lang.String name)
053 throws com.liferay.portal.kernel.exception.PortalException,
054 com.liferay.portal.kernel.exception.SystemException {
055 return _wikiNodeService.getNode(groupId, name);
056 }
057
058 public void importPages(long nodeId, java.lang.String importer,
059 java.io.File[] files,
060 java.util.Map<java.lang.String, java.lang.String[]> options)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 _wikiNodeService.importPages(nodeId, importer, files, options);
064 }
065
066 public void subscribeNode(long nodeId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 _wikiNodeService.subscribeNode(nodeId);
070 }
071
072 public void unsubscribeNode(long nodeId)
073 throws com.liferay.portal.kernel.exception.PortalException,
074 com.liferay.portal.kernel.exception.SystemException {
075 _wikiNodeService.unsubscribeNode(nodeId);
076 }
077
078 public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
079 java.lang.String name, java.lang.String description,
080 com.liferay.portal.service.ServiceContext serviceContext)
081 throws com.liferay.portal.kernel.exception.PortalException,
082 com.liferay.portal.kernel.exception.SystemException {
083 return _wikiNodeService.updateNode(nodeId, name, description,
084 serviceContext);
085 }
086
087 public WikiNodeService getWrappedWikiNodeService() {
088 return _wikiNodeService;
089 }
090
091 private WikiNodeService _wikiNodeService;
092 }