1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.journal.service;
24  
25  
26  /**
27   * <a href="JournalStructureLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
28   *
29   * <p>
30   * ServiceBuilder generated this class. Modifications in this class will be
31   * overwritten the next time is generated.
32   * </p>
33   *
34   * <p>
35   * This class is a wrapper for {@link JournalStructureLocalService}.
36   * </p>
37   *
38   * @author    Brian Wing Shun Chan
39   * @see       JournalStructureLocalService
40   * @generated
41   */
42  public class JournalStructureLocalServiceWrapper
43      implements JournalStructureLocalService {
44      public JournalStructureLocalServiceWrapper(
45          JournalStructureLocalService journalStructureLocalService) {
46          _journalStructureLocalService = journalStructureLocalService;
47      }
48  
49      public com.liferay.portlet.journal.model.JournalStructure addJournalStructure(
50          com.liferay.portlet.journal.model.JournalStructure journalStructure)
51          throws com.liferay.portal.SystemException {
52          return _journalStructureLocalService.addJournalStructure(journalStructure);
53      }
54  
55      public com.liferay.portlet.journal.model.JournalStructure createJournalStructure(
56          long id) {
57          return _journalStructureLocalService.createJournalStructure(id);
58      }
59  
60      public void deleteJournalStructure(long id)
61          throws com.liferay.portal.PortalException,
62              com.liferay.portal.SystemException {
63          _journalStructureLocalService.deleteJournalStructure(id);
64      }
65  
66      public void deleteJournalStructure(
67          com.liferay.portlet.journal.model.JournalStructure journalStructure)
68          throws com.liferay.portal.SystemException {
69          _journalStructureLocalService.deleteJournalStructure(journalStructure);
70      }
71  
72      public java.util.List<Object> dynamicQuery(
73          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74          throws com.liferay.portal.SystemException {
75          return _journalStructureLocalService.dynamicQuery(dynamicQuery);
76      }
77  
78      public java.util.List<Object> dynamicQuery(
79          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80          int end) throws com.liferay.portal.SystemException {
81          return _journalStructureLocalService.dynamicQuery(dynamicQuery, start,
82              end);
83      }
84  
85      public com.liferay.portlet.journal.model.JournalStructure getJournalStructure(
86          long id)
87          throws com.liferay.portal.PortalException,
88              com.liferay.portal.SystemException {
89          return _journalStructureLocalService.getJournalStructure(id);
90      }
91  
92      public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getJournalStructures(
93          int start, int end) throws com.liferay.portal.SystemException {
94          return _journalStructureLocalService.getJournalStructures(start, end);
95      }
96  
97      public int getJournalStructuresCount()
98          throws com.liferay.portal.SystemException {
99          return _journalStructureLocalService.getJournalStructuresCount();
100     }
101 
102     public com.liferay.portlet.journal.model.JournalStructure updateJournalStructure(
103         com.liferay.portlet.journal.model.JournalStructure journalStructure)
104         throws com.liferay.portal.SystemException {
105         return _journalStructureLocalService.updateJournalStructure(journalStructure);
106     }
107 
108     public com.liferay.portlet.journal.model.JournalStructure updateJournalStructure(
109         com.liferay.portlet.journal.model.JournalStructure journalStructure,
110         boolean merge) throws com.liferay.portal.SystemException {
111         return _journalStructureLocalService.updateJournalStructure(journalStructure,
112             merge);
113     }
114 
115     public com.liferay.portlet.journal.model.JournalStructure addStructure(
116         long userId, long groupId, java.lang.String structureId,
117         boolean autoStructureId, java.lang.String parentStructureId,
118         java.lang.String name, java.lang.String description,
119         java.lang.String xsd,
120         com.liferay.portal.service.ServiceContext serviceContext)
121         throws com.liferay.portal.PortalException,
122             com.liferay.portal.SystemException {
123         return _journalStructureLocalService.addStructure(userId, groupId,
124             structureId, autoStructureId, parentStructureId, name, description,
125             xsd, serviceContext);
126     }
127 
128     public com.liferay.portlet.journal.model.JournalStructure addStructure(
129         java.lang.String uuid, long userId, long groupId,
130         java.lang.String structureId, boolean autoStructureId,
131         java.lang.String parentStructureId, java.lang.String name,
132         java.lang.String description, java.lang.String xsd,
133         com.liferay.portal.service.ServiceContext serviceContext)
134         throws com.liferay.portal.PortalException,
135             com.liferay.portal.SystemException {
136         return _journalStructureLocalService.addStructure(uuid, userId,
137             groupId, structureId, autoStructureId, parentStructureId, name,
138             description, xsd, serviceContext);
139     }
140 
141     public void addStructureResources(long groupId,
142         java.lang.String structureId, boolean addCommunityPermissions,
143         boolean addGuestPermissions)
144         throws com.liferay.portal.PortalException,
145             com.liferay.portal.SystemException {
146         _journalStructureLocalService.addStructureResources(groupId,
147             structureId, addCommunityPermissions, addGuestPermissions);
148     }
149 
150     public void addStructureResources(
151         com.liferay.portlet.journal.model.JournalStructure structure,
152         boolean addCommunityPermissions, boolean addGuestPermissions)
153         throws com.liferay.portal.PortalException,
154             com.liferay.portal.SystemException {
155         _journalStructureLocalService.addStructureResources(structure,
156             addCommunityPermissions, addGuestPermissions);
157     }
158 
159     public void addStructureResources(long groupId,
160         java.lang.String structureId, java.lang.String[] communityPermissions,
161         java.lang.String[] guestPermissions)
162         throws com.liferay.portal.PortalException,
163             com.liferay.portal.SystemException {
164         _journalStructureLocalService.addStructureResources(groupId,
165             structureId, communityPermissions, guestPermissions);
166     }
167 
168     public void addStructureResources(
169         com.liferay.portlet.journal.model.JournalStructure structure,
170         java.lang.String[] communityPermissions,
171         java.lang.String[] guestPermissions)
172         throws com.liferay.portal.PortalException,
173             com.liferay.portal.SystemException {
174         _journalStructureLocalService.addStructureResources(structure,
175             communityPermissions, guestPermissions);
176     }
177 
178     public void checkNewLine(long groupId, java.lang.String structureId)
179         throws com.liferay.portal.PortalException,
180             com.liferay.portal.SystemException {
181         _journalStructureLocalService.checkNewLine(groupId, structureId);
182     }
183 
184     public com.liferay.portlet.journal.model.JournalStructure copyStructure(
185         long userId, long groupId, java.lang.String oldStructureId,
186         java.lang.String newStructureId, boolean autoStructureId)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         return _journalStructureLocalService.copyStructure(userId, groupId,
190             oldStructureId, newStructureId, autoStructureId);
191     }
192 
193     public void deleteStructure(long groupId, java.lang.String structureId)
194         throws com.liferay.portal.PortalException,
195             com.liferay.portal.SystemException {
196         _journalStructureLocalService.deleteStructure(groupId, structureId);
197     }
198 
199     public void deleteStructure(
200         com.liferay.portlet.journal.model.JournalStructure structure)
201         throws com.liferay.portal.PortalException,
202             com.liferay.portal.SystemException {
203         _journalStructureLocalService.deleteStructure(structure);
204     }
205 
206     public void deleteStructures(long groupId)
207         throws com.liferay.portal.PortalException,
208             com.liferay.portal.SystemException {
209         _journalStructureLocalService.deleteStructures(groupId);
210     }
211 
212     public com.liferay.portlet.journal.model.JournalStructure getStructure(
213         long id)
214         throws com.liferay.portal.PortalException,
215             com.liferay.portal.SystemException {
216         return _journalStructureLocalService.getStructure(id);
217     }
218 
219     public com.liferay.portlet.journal.model.JournalStructure getStructure(
220         long groupId, java.lang.String structureId)
221         throws com.liferay.portal.PortalException,
222             com.liferay.portal.SystemException {
223         return _journalStructureLocalService.getStructure(groupId, structureId);
224     }
225 
226     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures()
227         throws com.liferay.portal.SystemException {
228         return _journalStructureLocalService.getStructures();
229     }
230 
231     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
232         long groupId) throws com.liferay.portal.SystemException {
233         return _journalStructureLocalService.getStructures(groupId);
234     }
235 
236     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
237         long groupId, int start, int end)
238         throws com.liferay.portal.SystemException {
239         return _journalStructureLocalService.getStructures(groupId, start, end);
240     }
241 
242     public int getStructuresCount(long groupId)
243         throws com.liferay.portal.SystemException {
244         return _journalStructureLocalService.getStructuresCount(groupId);
245     }
246 
247     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
248         long companyId, long groupId, java.lang.String keywords, int start,
249         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
250         throws com.liferay.portal.SystemException {
251         return _journalStructureLocalService.search(companyId, groupId,
252             keywords, start, end, obc);
253     }
254 
255     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
256         long companyId, long groupId, java.lang.String structureId,
257         java.lang.String name, java.lang.String description,
258         boolean andOperator, int start, int end,
259         com.liferay.portal.kernel.util.OrderByComparator obc)
260         throws com.liferay.portal.SystemException {
261         return _journalStructureLocalService.search(companyId, groupId,
262             structureId, name, description, andOperator, start, end, obc);
263     }
264 
265     public int searchCount(long companyId, long groupId,
266         java.lang.String keywords) throws com.liferay.portal.SystemException {
267         return _journalStructureLocalService.searchCount(companyId, groupId,
268             keywords);
269     }
270 
271     public int searchCount(long companyId, long groupId,
272         java.lang.String structureId, java.lang.String name,
273         java.lang.String description, boolean andOperator)
274         throws com.liferay.portal.SystemException {
275         return _journalStructureLocalService.searchCount(companyId, groupId,
276             structureId, name, description, andOperator);
277     }
278 
279     public com.liferay.portlet.journal.model.JournalStructure updateStructure(
280         long groupId, java.lang.String structureId,
281         java.lang.String parentStructureId, java.lang.String name,
282         java.lang.String description, java.lang.String xsd,
283         com.liferay.portal.service.ServiceContext serviceContext)
284         throws com.liferay.portal.PortalException,
285             com.liferay.portal.SystemException {
286         return _journalStructureLocalService.updateStructure(groupId,
287             structureId, parentStructureId, name, description, xsd,
288             serviceContext);
289     }
290 
291     public JournalStructureLocalService getWrappedJournalStructureLocalService() {
292         return _journalStructureLocalService;
293     }
294 
295     private JournalStructureLocalService _journalStructureLocalService;
296 }