001
014
015 package com.liferay.portlet.wiki.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class WikiNodeServiceWrapper implements WikiNodeService,
029 ServiceWrapper<WikiNodeService> {
030 public WikiNodeServiceWrapper(WikiNodeService wikiNodeService) {
031 _wikiNodeService = wikiNodeService;
032 }
033
034
039 public java.lang.String getBeanIdentifier() {
040 return _wikiNodeService.getBeanIdentifier();
041 }
042
043
048 public void setBeanIdentifier(java.lang.String beanIdentifier) {
049 _wikiNodeService.setBeanIdentifier(beanIdentifier);
050 }
051
052 public com.liferay.portlet.wiki.model.WikiNode addNode(
053 java.lang.String name, java.lang.String description,
054 com.liferay.portal.service.ServiceContext serviceContext)
055 throws com.liferay.portal.kernel.exception.PortalException,
056 com.liferay.portal.kernel.exception.SystemException {
057 return _wikiNodeService.addNode(name, description, serviceContext);
058 }
059
060 public void deleteNode(long nodeId)
061 throws com.liferay.portal.kernel.exception.PortalException,
062 com.liferay.portal.kernel.exception.SystemException {
063 _wikiNodeService.deleteNode(nodeId);
064 }
065
066 public com.liferay.portlet.wiki.model.WikiNode getNode(long nodeId)
067 throws com.liferay.portal.kernel.exception.PortalException,
068 com.liferay.portal.kernel.exception.SystemException {
069 return _wikiNodeService.getNode(nodeId);
070 }
071
072 public com.liferay.portlet.wiki.model.WikiNode getNode(long groupId,
073 java.lang.String name)
074 throws com.liferay.portal.kernel.exception.PortalException,
075 com.liferay.portal.kernel.exception.SystemException {
076 return _wikiNodeService.getNode(groupId, name);
077 }
078
079 public void importPages(long nodeId, java.lang.String importer,
080 java.io.InputStream[] inputStreams,
081 java.util.Map<java.lang.String, java.lang.String[]> options)
082 throws com.liferay.portal.kernel.exception.PortalException,
083 com.liferay.portal.kernel.exception.SystemException {
084 _wikiNodeService.importPages(nodeId, importer, inputStreams, options);
085 }
086
087 public void subscribeNode(long nodeId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 _wikiNodeService.subscribeNode(nodeId);
091 }
092
093 public void unsubscribeNode(long nodeId)
094 throws com.liferay.portal.kernel.exception.PortalException,
095 com.liferay.portal.kernel.exception.SystemException {
096 _wikiNodeService.unsubscribeNode(nodeId);
097 }
098
099 public com.liferay.portlet.wiki.model.WikiNode updateNode(long nodeId,
100 java.lang.String name, java.lang.String description,
101 com.liferay.portal.service.ServiceContext serviceContext)
102 throws com.liferay.portal.kernel.exception.PortalException,
103 com.liferay.portal.kernel.exception.SystemException {
104 return _wikiNodeService.updateNode(nodeId, name, description,
105 serviceContext);
106 }
107
108
111 public WikiNodeService getWrappedWikiNodeService() {
112 return _wikiNodeService;
113 }
114
115
118 public void setWrappedWikiNodeService(WikiNodeService wikiNodeService) {
119 _wikiNodeService = wikiNodeService;
120 }
121
122 public WikiNodeService getWrappedService() {
123 return _wikiNodeService;
124 }
125
126 public void setWrappedService(WikiNodeService wikiNodeService) {
127 _wikiNodeService = wikiNodeService;
128 }
129
130 private WikiNodeService _wikiNodeService;
131 }