1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.journal.service;
16  
17  
18  /**
19   * <a href="JournalStructureLocalServiceUtil.java.html"><b><i>View Source</i></b></a>
20   *
21   * <p>
22   * ServiceBuilder generated this class. Modifications in this class will be
23   * overwritten the next time is generated.
24   * </p>
25   *
26   * <p>
27   * This class is a wrapper for {@link JournalStructureLocalService}.
28   * </p>
29   *
30   * @author    Brian Wing Shun Chan
31   * @see       JournalStructureLocalService
32   * @generated
33   */
34  public class JournalStructureLocalServiceWrapper
35      implements JournalStructureLocalService {
36      public JournalStructureLocalServiceWrapper(
37          JournalStructureLocalService journalStructureLocalService) {
38          _journalStructureLocalService = journalStructureLocalService;
39      }
40  
41      public com.liferay.portlet.journal.model.JournalStructure addJournalStructure(
42          com.liferay.portlet.journal.model.JournalStructure journalStructure)
43          throws com.liferay.portal.SystemException {
44          return _journalStructureLocalService.addJournalStructure(journalStructure);
45      }
46  
47      public com.liferay.portlet.journal.model.JournalStructure createJournalStructure(
48          long id) {
49          return _journalStructureLocalService.createJournalStructure(id);
50      }
51  
52      public void deleteJournalStructure(long id)
53          throws com.liferay.portal.PortalException,
54              com.liferay.portal.SystemException {
55          _journalStructureLocalService.deleteJournalStructure(id);
56      }
57  
58      public void deleteJournalStructure(
59          com.liferay.portlet.journal.model.JournalStructure journalStructure)
60          throws com.liferay.portal.SystemException {
61          _journalStructureLocalService.deleteJournalStructure(journalStructure);
62      }
63  
64      public java.util.List<Object> dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _journalStructureLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      public java.util.List<Object> dynamicQuery(
71          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
72          int end) throws com.liferay.portal.SystemException {
73          return _journalStructureLocalService.dynamicQuery(dynamicQuery, start,
74              end);
75      }
76  
77      public com.liferay.portlet.journal.model.JournalStructure getJournalStructure(
78          long id)
79          throws com.liferay.portal.PortalException,
80              com.liferay.portal.SystemException {
81          return _journalStructureLocalService.getJournalStructure(id);
82      }
83  
84      public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getJournalStructures(
85          int start, int end) throws com.liferay.portal.SystemException {
86          return _journalStructureLocalService.getJournalStructures(start, end);
87      }
88  
89      public int getJournalStructuresCount()
90          throws com.liferay.portal.SystemException {
91          return _journalStructureLocalService.getJournalStructuresCount();
92      }
93  
94      public com.liferay.portlet.journal.model.JournalStructure updateJournalStructure(
95          com.liferay.portlet.journal.model.JournalStructure journalStructure)
96          throws com.liferay.portal.SystemException {
97          return _journalStructureLocalService.updateJournalStructure(journalStructure);
98      }
99  
100     public com.liferay.portlet.journal.model.JournalStructure updateJournalStructure(
101         com.liferay.portlet.journal.model.JournalStructure journalStructure,
102         boolean merge) throws com.liferay.portal.SystemException {
103         return _journalStructureLocalService.updateJournalStructure(journalStructure,
104             merge);
105     }
106 
107     public com.liferay.portlet.journal.model.JournalStructure addStructure(
108         long userId, java.lang.String structureId, boolean autoStructureId,
109         long plid, java.lang.String name, java.lang.String description,
110         java.lang.String xsd, boolean addCommunityPermissions,
111         boolean addGuestPermissions)
112         throws com.liferay.portal.PortalException,
113             com.liferay.portal.SystemException {
114         return _journalStructureLocalService.addStructure(userId, structureId,
115             autoStructureId, plid, name, description, xsd,
116             addCommunityPermissions, addGuestPermissions);
117     }
118 
119     public com.liferay.portlet.journal.model.JournalStructure addStructure(
120         java.lang.String uuid, long userId, java.lang.String structureId,
121         boolean autoStructureId, long plid, java.lang.String name,
122         java.lang.String description, java.lang.String xsd,
123         boolean addCommunityPermissions, boolean addGuestPermissions)
124         throws com.liferay.portal.PortalException,
125             com.liferay.portal.SystemException {
126         return _journalStructureLocalService.addStructure(uuid, userId,
127             structureId, autoStructureId, plid, name, description, xsd,
128             addCommunityPermissions, addGuestPermissions);
129     }
130 
131     public com.liferay.portlet.journal.model.JournalStructure addStructure(
132         long userId, java.lang.String structureId, boolean autoStructureId,
133         long plid, java.lang.String name, java.lang.String description,
134         java.lang.String xsd, java.lang.String[] communityPermissions,
135         java.lang.String[] guestPermissions)
136         throws com.liferay.portal.PortalException,
137             com.liferay.portal.SystemException {
138         return _journalStructureLocalService.addStructure(userId, structureId,
139             autoStructureId, plid, name, description, xsd,
140             communityPermissions, guestPermissions);
141     }
142 
143     public com.liferay.portlet.journal.model.JournalStructure addStructure(
144         java.lang.String uuid, long userId, java.lang.String structureId,
145         boolean autoStructureId, long plid, java.lang.String name,
146         java.lang.String description, java.lang.String xsd,
147         java.lang.Boolean addCommunityPermissions,
148         java.lang.Boolean addGuestPermissions,
149         java.lang.String[] communityPermissions,
150         java.lang.String[] guestPermissions)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         return _journalStructureLocalService.addStructure(uuid, userId,
154             structureId, autoStructureId, plid, name, description, xsd,
155             addCommunityPermissions, addGuestPermissions, communityPermissions,
156             guestPermissions);
157     }
158 
159     public com.liferay.portlet.journal.model.JournalStructure addStructureToGroup(
160         java.lang.String uuid, long userId, java.lang.String structureId,
161         boolean autoStructureId, long groupId, java.lang.String name,
162         java.lang.String description, java.lang.String xsd,
163         java.lang.Boolean addCommunityPermissions,
164         java.lang.Boolean addGuestPermissions,
165         java.lang.String[] communityPermissions,
166         java.lang.String[] guestPermissions)
167         throws com.liferay.portal.PortalException,
168             com.liferay.portal.SystemException {
169         return _journalStructureLocalService.addStructureToGroup(uuid, userId,
170             structureId, autoStructureId, groupId, name, description, xsd,
171             addCommunityPermissions, addGuestPermissions, communityPermissions,
172             guestPermissions);
173     }
174 
175     public void addStructureResources(long groupId,
176         java.lang.String structureId, boolean addCommunityPermissions,
177         boolean addGuestPermissions)
178         throws com.liferay.portal.PortalException,
179             com.liferay.portal.SystemException {
180         _journalStructureLocalService.addStructureResources(groupId,
181             structureId, addCommunityPermissions, addGuestPermissions);
182     }
183 
184     public void addStructureResources(
185         com.liferay.portlet.journal.model.JournalStructure structure,
186         boolean addCommunityPermissions, boolean addGuestPermissions)
187         throws com.liferay.portal.PortalException,
188             com.liferay.portal.SystemException {
189         _journalStructureLocalService.addStructureResources(structure,
190             addCommunityPermissions, addGuestPermissions);
191     }
192 
193     public void addStructureResources(long groupId,
194         java.lang.String structureId, java.lang.String[] communityPermissions,
195         java.lang.String[] guestPermissions)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         _journalStructureLocalService.addStructureResources(groupId,
199             structureId, communityPermissions, guestPermissions);
200     }
201 
202     public void addStructureResources(
203         com.liferay.portlet.journal.model.JournalStructure structure,
204         java.lang.String[] communityPermissions,
205         java.lang.String[] guestPermissions)
206         throws com.liferay.portal.PortalException,
207             com.liferay.portal.SystemException {
208         _journalStructureLocalService.addStructureResources(structure,
209             communityPermissions, guestPermissions);
210     }
211 
212     public void checkNewLine(long groupId, java.lang.String structureId)
213         throws com.liferay.portal.PortalException,
214             com.liferay.portal.SystemException {
215         _journalStructureLocalService.checkNewLine(groupId, structureId);
216     }
217 
218     public com.liferay.portlet.journal.model.JournalStructure copyStructure(
219         long userId, long groupId, java.lang.String oldStructureId,
220         java.lang.String newStructureId, boolean autoStructureId)
221         throws com.liferay.portal.PortalException,
222             com.liferay.portal.SystemException {
223         return _journalStructureLocalService.copyStructure(userId, groupId,
224             oldStructureId, newStructureId, autoStructureId);
225     }
226 
227     public void deleteStructure(long groupId, java.lang.String structureId)
228         throws com.liferay.portal.PortalException,
229             com.liferay.portal.SystemException {
230         _journalStructureLocalService.deleteStructure(groupId, structureId);
231     }
232 
233     public void deleteStructure(
234         com.liferay.portlet.journal.model.JournalStructure structure)
235         throws com.liferay.portal.PortalException,
236             com.liferay.portal.SystemException {
237         _journalStructureLocalService.deleteStructure(structure);
238     }
239 
240     public void deleteStructures(long groupId)
241         throws com.liferay.portal.PortalException,
242             com.liferay.portal.SystemException {
243         _journalStructureLocalService.deleteStructures(groupId);
244     }
245 
246     public com.liferay.portlet.journal.model.JournalStructure getStructure(
247         long id)
248         throws com.liferay.portal.PortalException,
249             com.liferay.portal.SystemException {
250         return _journalStructureLocalService.getStructure(id);
251     }
252 
253     public com.liferay.portlet.journal.model.JournalStructure getStructure(
254         long groupId, java.lang.String structureId)
255         throws com.liferay.portal.PortalException,
256             com.liferay.portal.SystemException {
257         return _journalStructureLocalService.getStructure(groupId, structureId);
258     }
259 
260     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures()
261         throws com.liferay.portal.SystemException {
262         return _journalStructureLocalService.getStructures();
263     }
264 
265     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
266         long groupId) throws com.liferay.portal.SystemException {
267         return _journalStructureLocalService.getStructures(groupId);
268     }
269 
270     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
271         long groupId, int start, int end)
272         throws com.liferay.portal.SystemException {
273         return _journalStructureLocalService.getStructures(groupId, start, end);
274     }
275 
276     public int getStructuresCount(long groupId)
277         throws com.liferay.portal.SystemException {
278         return _journalStructureLocalService.getStructuresCount(groupId);
279     }
280 
281     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
282         long companyId, long groupId, java.lang.String keywords, int start,
283         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
284         throws com.liferay.portal.SystemException {
285         return _journalStructureLocalService.search(companyId, groupId,
286             keywords, start, end, obc);
287     }
288 
289     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
290         long companyId, long groupId, java.lang.String structureId,
291         java.lang.String name, java.lang.String description,
292         boolean andOperator, int start, int end,
293         com.liferay.portal.kernel.util.OrderByComparator obc)
294         throws com.liferay.portal.SystemException {
295         return _journalStructureLocalService.search(companyId, groupId,
296             structureId, name, description, andOperator, start, end, obc);
297     }
298 
299     public int searchCount(long companyId, long groupId,
300         java.lang.String keywords) throws com.liferay.portal.SystemException {
301         return _journalStructureLocalService.searchCount(companyId, groupId,
302             keywords);
303     }
304 
305     public int searchCount(long companyId, long groupId,
306         java.lang.String structureId, java.lang.String name,
307         java.lang.String description, boolean andOperator)
308         throws com.liferay.portal.SystemException {
309         return _journalStructureLocalService.searchCount(companyId, groupId,
310             structureId, name, description, andOperator);
311     }
312 
313     public com.liferay.portlet.journal.model.JournalStructure updateStructure(
314         long groupId, java.lang.String structureId, java.lang.String name,
315         java.lang.String description, java.lang.String xsd)
316         throws com.liferay.portal.PortalException,
317             com.liferay.portal.SystemException {
318         return _journalStructureLocalService.updateStructure(groupId,
319             structureId, name, description, xsd);
320     }
321 
322     public JournalStructureLocalService getWrappedJournalStructureLocalService() {
323         return _journalStructureLocalService;
324     }
325 
326     private JournalStructureLocalService _journalStructureLocalService;
327 }