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