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