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