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.journal.service;
16  
17  /**
18   * <a href="JournalStructureLocalServiceUtil.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 JournalStructureLocalService}.
27   * </p>
28   *
29   * @author    Brian Wing Shun Chan
30   * @see       JournalStructureLocalService
31   * @generated
32   */
33  public class JournalStructureLocalServiceWrapper
34      implements JournalStructureLocalService {
35      public JournalStructureLocalServiceWrapper(
36          JournalStructureLocalService journalStructureLocalService) {
37          _journalStructureLocalService = journalStructureLocalService;
38      }
39  
40      public com.liferay.portlet.journal.model.JournalStructure addJournalStructure(
41          com.liferay.portlet.journal.model.JournalStructure journalStructure)
42          throws com.liferay.portal.SystemException {
43          return _journalStructureLocalService.addJournalStructure(journalStructure);
44      }
45  
46      public com.liferay.portlet.journal.model.JournalStructure createJournalStructure(
47          long id) {
48          return _journalStructureLocalService.createJournalStructure(id);
49      }
50  
51      public void deleteJournalStructure(long id)
52          throws com.liferay.portal.PortalException,
53              com.liferay.portal.SystemException {
54          _journalStructureLocalService.deleteJournalStructure(id);
55      }
56  
57      public void deleteJournalStructure(
58          com.liferay.portlet.journal.model.JournalStructure journalStructure)
59          throws com.liferay.portal.SystemException {
60          _journalStructureLocalService.deleteJournalStructure(journalStructure);
61      }
62  
63      @SuppressWarnings("rawtypes")
64      public java.util.List dynamicQuery(
65          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
66          throws com.liferay.portal.SystemException {
67          return _journalStructureLocalService.dynamicQuery(dynamicQuery);
68      }
69  
70      @SuppressWarnings("rawtypes")
71      public java.util.List dynamicQuery(
72          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
73          int end) throws com.liferay.portal.SystemException {
74          return _journalStructureLocalService.dynamicQuery(dynamicQuery, start,
75              end);
76      }
77  
78      @SuppressWarnings("rawtypes")
79      public java.util.List dynamicQuery(
80          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
81          int end,
82          com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
83          throws com.liferay.portal.SystemException {
84          return _journalStructureLocalService.dynamicQuery(dynamicQuery, start,
85              end, orderByComparator);
86      }
87  
88      public int dynamicQueryCount(
89          com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
90          throws com.liferay.portal.SystemException {
91          return _journalStructureLocalService.dynamicQueryCount(dynamicQuery);
92      }
93  
94      public com.liferay.portlet.journal.model.JournalStructure getJournalStructure(
95          long id)
96          throws com.liferay.portal.PortalException,
97              com.liferay.portal.SystemException {
98          return _journalStructureLocalService.getJournalStructure(id);
99      }
100 
101     public com.liferay.portlet.journal.model.JournalStructure getJournalStructureByUuidAndGroupId(
102         java.lang.String uuid, long groupId)
103         throws com.liferay.portal.PortalException,
104             com.liferay.portal.SystemException {
105         return _journalStructureLocalService.getJournalStructureByUuidAndGroupId(uuid,
106             groupId);
107     }
108 
109     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getJournalStructures(
110         int start, int end) throws com.liferay.portal.SystemException {
111         return _journalStructureLocalService.getJournalStructures(start, end);
112     }
113 
114     public int getJournalStructuresCount()
115         throws com.liferay.portal.SystemException {
116         return _journalStructureLocalService.getJournalStructuresCount();
117     }
118 
119     public com.liferay.portlet.journal.model.JournalStructure updateJournalStructure(
120         com.liferay.portlet.journal.model.JournalStructure journalStructure)
121         throws com.liferay.portal.SystemException {
122         return _journalStructureLocalService.updateJournalStructure(journalStructure);
123     }
124 
125     public com.liferay.portlet.journal.model.JournalStructure updateJournalStructure(
126         com.liferay.portlet.journal.model.JournalStructure journalStructure,
127         boolean merge) throws com.liferay.portal.SystemException {
128         return _journalStructureLocalService.updateJournalStructure(journalStructure,
129             merge);
130     }
131 
132     public com.liferay.portlet.journal.model.JournalStructure addStructure(
133         long userId, long groupId, java.lang.String structureId,
134         boolean autoStructureId, java.lang.String parentStructureId,
135         java.lang.String name, java.lang.String description,
136         java.lang.String xsd,
137         com.liferay.portal.service.ServiceContext serviceContext)
138         throws com.liferay.portal.PortalException,
139             com.liferay.portal.SystemException {
140         return _journalStructureLocalService.addStructure(userId, groupId,
141             structureId, autoStructureId, parentStructureId, name, description,
142             xsd, serviceContext);
143     }
144 
145     public com.liferay.portlet.journal.model.JournalStructure addStructure(
146         java.lang.String uuid, long userId, long groupId,
147         java.lang.String structureId, boolean autoStructureId,
148         java.lang.String parentStructureId, java.lang.String name,
149         java.lang.String description, java.lang.String xsd,
150         com.liferay.portal.service.ServiceContext serviceContext)
151         throws com.liferay.portal.PortalException,
152             com.liferay.portal.SystemException {
153         return _journalStructureLocalService.addStructure(uuid, userId,
154             groupId, structureId, autoStructureId, parentStructureId, name,
155             description, xsd, serviceContext);
156     }
157 
158     public void addStructureResources(long groupId,
159         java.lang.String structureId, boolean addCommunityPermissions,
160         boolean addGuestPermissions)
161         throws com.liferay.portal.PortalException,
162             com.liferay.portal.SystemException {
163         _journalStructureLocalService.addStructureResources(groupId,
164             structureId, addCommunityPermissions, addGuestPermissions);
165     }
166 
167     public void addStructureResources(
168         com.liferay.portlet.journal.model.JournalStructure structure,
169         boolean addCommunityPermissions, boolean addGuestPermissions)
170         throws com.liferay.portal.PortalException,
171             com.liferay.portal.SystemException {
172         _journalStructureLocalService.addStructureResources(structure,
173             addCommunityPermissions, addGuestPermissions);
174     }
175 
176     public void addStructureResources(long groupId,
177         java.lang.String structureId, java.lang.String[] communityPermissions,
178         java.lang.String[] guestPermissions)
179         throws com.liferay.portal.PortalException,
180             com.liferay.portal.SystemException {
181         _journalStructureLocalService.addStructureResources(groupId,
182             structureId, communityPermissions, guestPermissions);
183     }
184 
185     public void addStructureResources(
186         com.liferay.portlet.journal.model.JournalStructure structure,
187         java.lang.String[] communityPermissions,
188         java.lang.String[] guestPermissions)
189         throws com.liferay.portal.PortalException,
190             com.liferay.portal.SystemException {
191         _journalStructureLocalService.addStructureResources(structure,
192             communityPermissions, guestPermissions);
193     }
194 
195     public void checkNewLine(long groupId, java.lang.String structureId)
196         throws com.liferay.portal.PortalException,
197             com.liferay.portal.SystemException {
198         _journalStructureLocalService.checkNewLine(groupId, structureId);
199     }
200 
201     public com.liferay.portlet.journal.model.JournalStructure copyStructure(
202         long userId, long groupId, java.lang.String oldStructureId,
203         java.lang.String newStructureId, boolean autoStructureId)
204         throws com.liferay.portal.PortalException,
205             com.liferay.portal.SystemException {
206         return _journalStructureLocalService.copyStructure(userId, groupId,
207             oldStructureId, newStructureId, autoStructureId);
208     }
209 
210     public void deleteStructure(long groupId, java.lang.String structureId)
211         throws com.liferay.portal.PortalException,
212             com.liferay.portal.SystemException {
213         _journalStructureLocalService.deleteStructure(groupId, structureId);
214     }
215 
216     public void deleteStructure(
217         com.liferay.portlet.journal.model.JournalStructure structure)
218         throws com.liferay.portal.PortalException,
219             com.liferay.portal.SystemException {
220         _journalStructureLocalService.deleteStructure(structure);
221     }
222 
223     public void deleteStructures(long groupId)
224         throws com.liferay.portal.PortalException,
225             com.liferay.portal.SystemException {
226         _journalStructureLocalService.deleteStructures(groupId);
227     }
228 
229     public com.liferay.portlet.journal.model.JournalStructure getStructure(
230         long id)
231         throws com.liferay.portal.PortalException,
232             com.liferay.portal.SystemException {
233         return _journalStructureLocalService.getStructure(id);
234     }
235 
236     public com.liferay.portlet.journal.model.JournalStructure getStructure(
237         long groupId, java.lang.String structureId)
238         throws com.liferay.portal.PortalException,
239             com.liferay.portal.SystemException {
240         return _journalStructureLocalService.getStructure(groupId, structureId);
241     }
242 
243     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures()
244         throws com.liferay.portal.SystemException {
245         return _journalStructureLocalService.getStructures();
246     }
247 
248     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
249         long groupId) throws com.liferay.portal.SystemException {
250         return _journalStructureLocalService.getStructures(groupId);
251     }
252 
253     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
254         long groupId, int start, int end)
255         throws com.liferay.portal.SystemException {
256         return _journalStructureLocalService.getStructures(groupId, start, end);
257     }
258 
259     public int getStructuresCount(long groupId)
260         throws com.liferay.portal.SystemException {
261         return _journalStructureLocalService.getStructuresCount(groupId);
262     }
263 
264     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
265         long companyId, long groupId, java.lang.String keywords, int start,
266         int end, com.liferay.portal.kernel.util.OrderByComparator obc)
267         throws com.liferay.portal.SystemException {
268         return _journalStructureLocalService.search(companyId, groupId,
269             keywords, start, end, obc);
270     }
271 
272     public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
273         long companyId, long groupId, java.lang.String structureId,
274         java.lang.String name, java.lang.String description,
275         boolean andOperator, int start, int end,
276         com.liferay.portal.kernel.util.OrderByComparator obc)
277         throws com.liferay.portal.SystemException {
278         return _journalStructureLocalService.search(companyId, groupId,
279             structureId, name, description, andOperator, start, end, obc);
280     }
281 
282     public int searchCount(long companyId, long groupId,
283         java.lang.String keywords) throws com.liferay.portal.SystemException {
284         return _journalStructureLocalService.searchCount(companyId, groupId,
285             keywords);
286     }
287 
288     public int searchCount(long companyId, long groupId,
289         java.lang.String structureId, java.lang.String name,
290         java.lang.String description, boolean andOperator)
291         throws com.liferay.portal.SystemException {
292         return _journalStructureLocalService.searchCount(companyId, groupId,
293             structureId, name, description, andOperator);
294     }
295 
296     public com.liferay.portlet.journal.model.JournalStructure updateStructure(
297         long groupId, java.lang.String structureId,
298         java.lang.String parentStructureId, java.lang.String name,
299         java.lang.String description, java.lang.String xsd,
300         com.liferay.portal.service.ServiceContext serviceContext)
301         throws com.liferay.portal.PortalException,
302             com.liferay.portal.SystemException {
303         return _journalStructureLocalService.updateStructure(groupId,
304             structureId, parentStructureId, name, description, xsd,
305             serviceContext);
306     }
307 
308     public JournalStructureLocalService getWrappedJournalStructureLocalService() {
309         return _journalStructureLocalService;
310     }
311 
312     private JournalStructureLocalService _journalStructureLocalService;
313 }