001
014
015 package com.liferay.portlet.journal.service;
016
017
026 public class JournalStructureLocalServiceWrapper
027 implements JournalStructureLocalService {
028 public JournalStructureLocalServiceWrapper(
029 JournalStructureLocalService journalStructureLocalService) {
030 _journalStructureLocalService = journalStructureLocalService;
031 }
032
033
040 public com.liferay.portlet.journal.model.JournalStructure addJournalStructure(
041 com.liferay.portlet.journal.model.JournalStructure journalStructure)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _journalStructureLocalService.addJournalStructure(journalStructure);
044 }
045
046
052 public com.liferay.portlet.journal.model.JournalStructure createJournalStructure(
053 long id) {
054 return _journalStructureLocalService.createJournalStructure(id);
055 }
056
057
064 public void deleteJournalStructure(long id)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _journalStructureLocalService.deleteJournalStructure(id);
068 }
069
070
076 public void deleteJournalStructure(
077 com.liferay.portlet.journal.model.JournalStructure journalStructure)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _journalStructureLocalService.deleteJournalStructure(journalStructure);
080 }
081
082
089 @SuppressWarnings("rawtypes")
090 public java.util.List dynamicQuery(
091 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
092 throws com.liferay.portal.kernel.exception.SystemException {
093 return _journalStructureLocalService.dynamicQuery(dynamicQuery);
094 }
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException {
113 return _journalStructureLocalService.dynamicQuery(dynamicQuery, start,
114 end);
115 }
116
117
131 @SuppressWarnings("rawtypes")
132 public java.util.List dynamicQuery(
133 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
134 int end,
135 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
136 throws com.liferay.portal.kernel.exception.SystemException {
137 return _journalStructureLocalService.dynamicQuery(dynamicQuery, start,
138 end, orderByComparator);
139 }
140
141
148 public long dynamicQueryCount(
149 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return _journalStructureLocalService.dynamicQueryCount(dynamicQuery);
152 }
153
154
162 public com.liferay.portlet.journal.model.JournalStructure getJournalStructure(
163 long id)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _journalStructureLocalService.getJournalStructure(id);
167 }
168
169
178 public com.liferay.portlet.journal.model.JournalStructure getJournalStructureByUuidAndGroupId(
179 java.lang.String uuid, long groupId)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _journalStructureLocalService.getJournalStructureByUuidAndGroupId(uuid,
183 groupId);
184 }
185
186
198 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getJournalStructures(
199 int start, int end)
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return _journalStructureLocalService.getJournalStructures(start, end);
202 }
203
204
210 public int getJournalStructuresCount()
211 throws com.liferay.portal.kernel.exception.SystemException {
212 return _journalStructureLocalService.getJournalStructuresCount();
213 }
214
215
222 public com.liferay.portlet.journal.model.JournalStructure updateJournalStructure(
223 com.liferay.portlet.journal.model.JournalStructure journalStructure)
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return _journalStructureLocalService.updateJournalStructure(journalStructure);
226 }
227
228
236 public com.liferay.portlet.journal.model.JournalStructure updateJournalStructure(
237 com.liferay.portlet.journal.model.JournalStructure journalStructure,
238 boolean merge)
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return _journalStructureLocalService.updateJournalStructure(journalStructure,
241 merge);
242 }
243
244 public com.liferay.portlet.journal.model.JournalStructure addStructure(
245 long userId, long groupId, java.lang.String structureId,
246 boolean autoStructureId, java.lang.String parentStructureId,
247 java.lang.String name, java.lang.String description,
248 java.lang.String xsd,
249 com.liferay.portal.service.ServiceContext serviceContext)
250 throws com.liferay.portal.kernel.exception.PortalException,
251 com.liferay.portal.kernel.exception.SystemException {
252 return _journalStructureLocalService.addStructure(userId, groupId,
253 structureId, autoStructureId, parentStructureId, name, description,
254 xsd, serviceContext);
255 }
256
257 public void addStructureResources(long groupId,
258 java.lang.String structureId, boolean addCommunityPermissions,
259 boolean addGuestPermissions)
260 throws com.liferay.portal.kernel.exception.PortalException,
261 com.liferay.portal.kernel.exception.SystemException {
262 _journalStructureLocalService.addStructureResources(groupId,
263 structureId, addCommunityPermissions, addGuestPermissions);
264 }
265
266 public void addStructureResources(
267 com.liferay.portlet.journal.model.JournalStructure structure,
268 boolean addCommunityPermissions, boolean addGuestPermissions)
269 throws com.liferay.portal.kernel.exception.PortalException,
270 com.liferay.portal.kernel.exception.SystemException {
271 _journalStructureLocalService.addStructureResources(structure,
272 addCommunityPermissions, addGuestPermissions);
273 }
274
275 public void addStructureResources(long groupId,
276 java.lang.String structureId, java.lang.String[] communityPermissions,
277 java.lang.String[] guestPermissions)
278 throws com.liferay.portal.kernel.exception.PortalException,
279 com.liferay.portal.kernel.exception.SystemException {
280 _journalStructureLocalService.addStructureResources(groupId,
281 structureId, communityPermissions, guestPermissions);
282 }
283
284 public void addStructureResources(
285 com.liferay.portlet.journal.model.JournalStructure structure,
286 java.lang.String[] communityPermissions,
287 java.lang.String[] guestPermissions)
288 throws com.liferay.portal.kernel.exception.PortalException,
289 com.liferay.portal.kernel.exception.SystemException {
290 _journalStructureLocalService.addStructureResources(structure,
291 communityPermissions, guestPermissions);
292 }
293
294 public void checkNewLine(long groupId, java.lang.String structureId)
295 throws com.liferay.portal.kernel.exception.PortalException,
296 com.liferay.portal.kernel.exception.SystemException {
297 _journalStructureLocalService.checkNewLine(groupId, structureId);
298 }
299
300 public com.liferay.portlet.journal.model.JournalStructure copyStructure(
301 long userId, long groupId, java.lang.String oldStructureId,
302 java.lang.String newStructureId, boolean autoStructureId)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException {
305 return _journalStructureLocalService.copyStructure(userId, groupId,
306 oldStructureId, newStructureId, autoStructureId);
307 }
308
309 public void deleteStructure(long groupId, java.lang.String structureId)
310 throws com.liferay.portal.kernel.exception.PortalException,
311 com.liferay.portal.kernel.exception.SystemException {
312 _journalStructureLocalService.deleteStructure(groupId, structureId);
313 }
314
315 public void deleteStructure(
316 com.liferay.portlet.journal.model.JournalStructure structure)
317 throws com.liferay.portal.kernel.exception.PortalException,
318 com.liferay.portal.kernel.exception.SystemException {
319 _journalStructureLocalService.deleteStructure(structure);
320 }
321
322 public void deleteStructures(long groupId)
323 throws com.liferay.portal.kernel.exception.PortalException,
324 com.liferay.portal.kernel.exception.SystemException {
325 _journalStructureLocalService.deleteStructures(groupId);
326 }
327
328 public com.liferay.portlet.journal.model.JournalStructure getStructure(
329 long id)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException {
332 return _journalStructureLocalService.getStructure(id);
333 }
334
335 public com.liferay.portlet.journal.model.JournalStructure getStructure(
336 long groupId, java.lang.String structureId)
337 throws com.liferay.portal.kernel.exception.PortalException,
338 com.liferay.portal.kernel.exception.SystemException {
339 return _journalStructureLocalService.getStructure(groupId, structureId);
340 }
341
342 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures()
343 throws com.liferay.portal.kernel.exception.SystemException {
344 return _journalStructureLocalService.getStructures();
345 }
346
347 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
348 long groupId)
349 throws com.liferay.portal.kernel.exception.SystemException {
350 return _journalStructureLocalService.getStructures(groupId);
351 }
352
353 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> getStructures(
354 long groupId, int start, int end)
355 throws com.liferay.portal.kernel.exception.SystemException {
356 return _journalStructureLocalService.getStructures(groupId, start, end);
357 }
358
359 public int getStructuresCount(long groupId)
360 throws com.liferay.portal.kernel.exception.SystemException {
361 return _journalStructureLocalService.getStructuresCount(groupId);
362 }
363
364 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
365 long companyId, long groupId, java.lang.String keywords, int start,
366 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
367 throws com.liferay.portal.kernel.exception.SystemException {
368 return _journalStructureLocalService.search(companyId, groupId,
369 keywords, start, end, obc);
370 }
371
372 public java.util.List<com.liferay.portlet.journal.model.JournalStructure> search(
373 long companyId, long groupId, java.lang.String structureId,
374 java.lang.String name, java.lang.String description,
375 boolean andOperator, int start, int end,
376 com.liferay.portal.kernel.util.OrderByComparator obc)
377 throws com.liferay.portal.kernel.exception.SystemException {
378 return _journalStructureLocalService.search(companyId, groupId,
379 structureId, name, description, andOperator, start, end, obc);
380 }
381
382 public int searchCount(long companyId, long groupId,
383 java.lang.String keywords)
384 throws com.liferay.portal.kernel.exception.SystemException {
385 return _journalStructureLocalService.searchCount(companyId, groupId,
386 keywords);
387 }
388
389 public int searchCount(long companyId, long groupId,
390 java.lang.String structureId, java.lang.String name,
391 java.lang.String description, boolean andOperator)
392 throws com.liferay.portal.kernel.exception.SystemException {
393 return _journalStructureLocalService.searchCount(companyId, groupId,
394 structureId, name, description, andOperator);
395 }
396
397 public com.liferay.portlet.journal.model.JournalStructure updateStructure(
398 long groupId, java.lang.String structureId,
399 java.lang.String parentStructureId, java.lang.String name,
400 java.lang.String description, java.lang.String xsd,
401 com.liferay.portal.service.ServiceContext serviceContext)
402 throws com.liferay.portal.kernel.exception.PortalException,
403 com.liferay.portal.kernel.exception.SystemException {
404 return _journalStructureLocalService.updateStructure(groupId,
405 structureId, parentStructureId, name, description, xsd,
406 serviceContext);
407 }
408
409 public JournalStructureLocalService getWrappedJournalStructureLocalService() {
410 return _journalStructureLocalService;
411 }
412
413 private JournalStructureLocalService _journalStructureLocalService;
414 }