1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   *
12   *
13   */
14  
15  package com.liferay.portlet.wiki.service;
16  
17  /**
18   * <a href="WikiPageServiceUtil.java.html"><b><i>View Source</i></b></a>
19   *
20   * <p>
21   * ServiceBuilder generated this class. Modifications in this class will be
22   * overwritten the next time is generated.
23   * </p>
24   *
25   * <p>
26   * This class is a wrapper for {@link WikiPageService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       WikiPageService
31   * @generated
32   */
33  public class WikiPageServiceWrapper implements WikiPageService {
34      public WikiPageServiceWrapper(WikiPageService wikiPageService) {
35          _wikiPageService = wikiPageService;
36      }
37  
38      public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
39          java.lang.String title, java.lang.String content,
40          java.lang.String summary, boolean minorEdit,
41          com.liferay.portal.service.ServiceContext serviceContext)
42          throws com.liferay.portal.PortalException,
43              com.liferay.portal.SystemException {
44          return _wikiPageService.addPage(nodeId, title, content, summary,
45              minorEdit, serviceContext);
46      }
47  
48      public com.liferay.portlet.wiki.model.WikiPage addPage(long nodeId,
49          java.lang.String title, java.lang.String content,
50          java.lang.String summary, boolean minorEdit, java.lang.String format,
51          java.lang.String parentTitle, java.lang.String redirectTitle,
52          com.liferay.portal.service.ServiceContext serviceContext)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          return _wikiPageService.addPage(nodeId, title, content, summary,
56              minorEdit, format, parentTitle, redirectTitle, serviceContext);
57      }
58  
59      public void addPageAttachments(long nodeId, java.lang.String title,
60          java.util.List<com.liferay.portal.kernel.util.ObjectValuePair<java.lang.String, byte[]>> files)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _wikiPageService.addPageAttachments(nodeId, title, files);
64      }
65  
66      public void changeParent(long nodeId, java.lang.String title,
67          java.lang.String newParentTitle,
68          com.liferay.portal.service.ServiceContext serviceContext)
69          throws com.liferay.portal.PortalException,
70              com.liferay.portal.SystemException {
71          _wikiPageService.changeParent(nodeId, title, newParentTitle,
72              serviceContext);
73      }
74  
75      public void deletePage(long nodeId, java.lang.String title)
76          throws com.liferay.portal.PortalException,
77              com.liferay.portal.SystemException {
78          _wikiPageService.deletePage(nodeId, title);
79      }
80  
81      public void deletePageAttachment(long nodeId, java.lang.String title,
82          java.lang.String fileName)
83          throws com.liferay.portal.PortalException,
84              com.liferay.portal.SystemException {
85          _wikiPageService.deletePageAttachment(nodeId, title, fileName);
86      }
87  
88      public java.util.List<com.liferay.portlet.wiki.model.WikiPage> getNodePages(
89          long nodeId, int max)
90          throws com.liferay.portal.PortalException,
91              com.liferay.portal.SystemException {
92          return _wikiPageService.getNodePages(nodeId, max);
93      }
94  
95      public java.lang.String getNodePagesRSS(long nodeId, int max,
96          java.lang.String type, double version, java.lang.String displayStyle,
97          java.lang.String feedURL, java.lang.String entryURL)
98          throws com.liferay.portal.PortalException,
99              com.liferay.portal.SystemException {
100         return _wikiPageService.getNodePagesRSS(nodeId, max, type, version,
101             displayStyle, feedURL, entryURL);
102     }
103 
104     public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
105         java.lang.String title)
106         throws com.liferay.portal.PortalException,
107             com.liferay.portal.SystemException {
108         return _wikiPageService.getPage(nodeId, title);
109     }
110 
111     public com.liferay.portlet.wiki.model.WikiPage getPage(long nodeId,
112         java.lang.String title, double version)
113         throws com.liferay.portal.PortalException,
114             com.liferay.portal.SystemException {
115         return _wikiPageService.getPage(nodeId, title, version);
116     }
117 
118     public java.lang.String getPagesRSS(long companyId, long nodeId,
119         java.lang.String title, int max, java.lang.String type, double version,
120         java.lang.String displayStyle, java.lang.String feedURL,
121         java.lang.String entryURL, java.util.Locale locale)
122         throws com.liferay.portal.PortalException,
123             com.liferay.portal.SystemException {
124         return _wikiPageService.getPagesRSS(companyId, nodeId, title, max,
125             type, version, displayStyle, feedURL, entryURL, locale);
126     }
127 
128     public void movePage(long nodeId, java.lang.String title,
129         java.lang.String newTitle,
130         com.liferay.portal.service.ServiceContext serviceContext)
131         throws com.liferay.portal.PortalException,
132             com.liferay.portal.SystemException {
133         _wikiPageService.movePage(nodeId, title, newTitle, serviceContext);
134     }
135 
136     public com.liferay.portlet.wiki.model.WikiPage revertPage(long nodeId,
137         java.lang.String title, double version,
138         com.liferay.portal.service.ServiceContext serviceContext)
139         throws com.liferay.portal.PortalException,
140             com.liferay.portal.SystemException {
141         return _wikiPageService.revertPage(nodeId, title, version,
142             serviceContext);
143     }
144 
145     public void subscribePage(long nodeId, java.lang.String title)
146         throws com.liferay.portal.PortalException,
147             com.liferay.portal.SystemException {
148         _wikiPageService.subscribePage(nodeId, title);
149     }
150 
151     public void unsubscribePage(long nodeId, java.lang.String title)
152         throws com.liferay.portal.PortalException,
153             com.liferay.portal.SystemException {
154         _wikiPageService.unsubscribePage(nodeId, title);
155     }
156 
157     public com.liferay.portlet.wiki.model.WikiPage updatePage(long nodeId,
158         java.lang.String title, double version, java.lang.String content,
159         java.lang.String summary, boolean minorEdit, java.lang.String format,
160         java.lang.String parentTitle, java.lang.String redirectTitle,
161         com.liferay.portal.service.ServiceContext serviceContext)
162         throws com.liferay.portal.PortalException,
163             com.liferay.portal.SystemException {
164         return _wikiPageService.updatePage(nodeId, title, version, content,
165             summary, minorEdit, format, parentTitle, redirectTitle,
166             serviceContext);
167     }
168 
169     public WikiPageService getWrappedWikiPageService() {
170         return _wikiPageService;
171     }
172 
173     private WikiPageService _wikiPageService;
174 }