001
014
015 package com.liferay.portlet.journal.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class JournalTemplateLocalServiceWrapper
029 implements JournalTemplateLocalService,
030 ServiceWrapper<JournalTemplateLocalService> {
031 public JournalTemplateLocalServiceWrapper(
032 JournalTemplateLocalService journalTemplateLocalService) {
033 _journalTemplateLocalService = journalTemplateLocalService;
034 }
035
036
043 public com.liferay.portlet.journal.model.JournalTemplate addJournalTemplate(
044 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
045 throws com.liferay.portal.kernel.exception.SystemException {
046 return _journalTemplateLocalService.addJournalTemplate(journalTemplate);
047 }
048
049
055 public com.liferay.portlet.journal.model.JournalTemplate createJournalTemplate(
056 long id) {
057 return _journalTemplateLocalService.createJournalTemplate(id);
058 }
059
060
068 public com.liferay.portlet.journal.model.JournalTemplate deleteJournalTemplate(
069 long id)
070 throws com.liferay.portal.kernel.exception.PortalException,
071 com.liferay.portal.kernel.exception.SystemException {
072 return _journalTemplateLocalService.deleteJournalTemplate(id);
073 }
074
075
082 public com.liferay.portlet.journal.model.JournalTemplate deleteJournalTemplate(
083 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
084 throws com.liferay.portal.kernel.exception.SystemException {
085 return _journalTemplateLocalService.deleteJournalTemplate(journalTemplate);
086 }
087
088 public com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
089 return _journalTemplateLocalService.dynamicQuery();
090 }
091
092
099 @SuppressWarnings("rawtypes")
100 public java.util.List dynamicQuery(
101 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _journalTemplateLocalService.dynamicQuery(dynamicQuery);
104 }
105
106
119 @SuppressWarnings("rawtypes")
120 public java.util.List dynamicQuery(
121 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
122 int end) throws com.liferay.portal.kernel.exception.SystemException {
123 return _journalTemplateLocalService.dynamicQuery(dynamicQuery, start,
124 end);
125 }
126
127
141 @SuppressWarnings("rawtypes")
142 public java.util.List dynamicQuery(
143 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
144 int end,
145 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
146 throws com.liferay.portal.kernel.exception.SystemException {
147 return _journalTemplateLocalService.dynamicQuery(dynamicQuery, start,
148 end, orderByComparator);
149 }
150
151
158 public long dynamicQueryCount(
159 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
160 throws com.liferay.portal.kernel.exception.SystemException {
161 return _journalTemplateLocalService.dynamicQueryCount(dynamicQuery);
162 }
163
164 public com.liferay.portlet.journal.model.JournalTemplate fetchJournalTemplate(
165 long id) throws com.liferay.portal.kernel.exception.SystemException {
166 return _journalTemplateLocalService.fetchJournalTemplate(id);
167 }
168
169
177 public com.liferay.portlet.journal.model.JournalTemplate getJournalTemplate(
178 long id)
179 throws com.liferay.portal.kernel.exception.PortalException,
180 com.liferay.portal.kernel.exception.SystemException {
181 return _journalTemplateLocalService.getJournalTemplate(id);
182 }
183
184 public com.liferay.portal.model.PersistedModel getPersistedModel(
185 java.io.Serializable primaryKeyObj)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _journalTemplateLocalService.getPersistedModel(primaryKeyObj);
189 }
190
191
200 public com.liferay.portlet.journal.model.JournalTemplate getJournalTemplateByUuidAndGroupId(
201 java.lang.String uuid, long groupId)
202 throws com.liferay.portal.kernel.exception.PortalException,
203 com.liferay.portal.kernel.exception.SystemException {
204 return _journalTemplateLocalService.getJournalTemplateByUuidAndGroupId(uuid,
205 groupId);
206 }
207
208
220 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getJournalTemplates(
221 int start, int end)
222 throws com.liferay.portal.kernel.exception.SystemException {
223 return _journalTemplateLocalService.getJournalTemplates(start, end);
224 }
225
226
232 public int getJournalTemplatesCount()
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return _journalTemplateLocalService.getJournalTemplatesCount();
235 }
236
237
244 public com.liferay.portlet.journal.model.JournalTemplate updateJournalTemplate(
245 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
246 throws com.liferay.portal.kernel.exception.SystemException {
247 return _journalTemplateLocalService.updateJournalTemplate(journalTemplate);
248 }
249
250
258 public com.liferay.portlet.journal.model.JournalTemplate updateJournalTemplate(
259 com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
260 boolean merge)
261 throws com.liferay.portal.kernel.exception.SystemException {
262 return _journalTemplateLocalService.updateJournalTemplate(journalTemplate,
263 merge);
264 }
265
266
271 public java.lang.String getBeanIdentifier() {
272 return _journalTemplateLocalService.getBeanIdentifier();
273 }
274
275
280 public void setBeanIdentifier(java.lang.String beanIdentifier) {
281 _journalTemplateLocalService.setBeanIdentifier(beanIdentifier);
282 }
283
284 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
285 long userId, long groupId, java.lang.String templateId,
286 boolean autoTemplateId, java.lang.String structureId,
287 java.util.Map<java.util.Locale, java.lang.String> nameMap,
288 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
289 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
290 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
291 java.io.File smallImageFile,
292 com.liferay.portal.service.ServiceContext serviceContext)
293 throws com.liferay.portal.kernel.exception.PortalException,
294 com.liferay.portal.kernel.exception.SystemException {
295 return _journalTemplateLocalService.addTemplate(userId, groupId,
296 templateId, autoTemplateId, structureId, nameMap, descriptionMap,
297 xsl, formatXsl, langType, cacheable, smallImage, smallImageURL,
298 smallImageFile, serviceContext);
299 }
300
301 public void addTemplateResources(
302 com.liferay.portlet.journal.model.JournalTemplate template,
303 boolean addGroupPermissions, boolean addGuestPermissions)
304 throws com.liferay.portal.kernel.exception.PortalException,
305 com.liferay.portal.kernel.exception.SystemException {
306 _journalTemplateLocalService.addTemplateResources(template,
307 addGroupPermissions, addGuestPermissions);
308 }
309
310 public void addTemplateResources(
311 com.liferay.portlet.journal.model.JournalTemplate template,
312 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
313 throws com.liferay.portal.kernel.exception.PortalException,
314 com.liferay.portal.kernel.exception.SystemException {
315 _journalTemplateLocalService.addTemplateResources(template,
316 groupPermissions, guestPermissions);
317 }
318
319 public void addTemplateResources(long groupId, java.lang.String templateId,
320 boolean addGroupPermissions, boolean addGuestPermissions)
321 throws com.liferay.portal.kernel.exception.PortalException,
322 com.liferay.portal.kernel.exception.SystemException {
323 _journalTemplateLocalService.addTemplateResources(groupId, templateId,
324 addGroupPermissions, addGuestPermissions);
325 }
326
327 public void addTemplateResources(long groupId, java.lang.String templateId,
328 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
329 throws com.liferay.portal.kernel.exception.PortalException,
330 com.liferay.portal.kernel.exception.SystemException {
331 _journalTemplateLocalService.addTemplateResources(groupId, templateId,
332 groupPermissions, guestPermissions);
333 }
334
335 public void checkNewLine(long groupId, java.lang.String templateId)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException {
338 _journalTemplateLocalService.checkNewLine(groupId, templateId);
339 }
340
341 public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
342 long userId, long groupId, java.lang.String oldTemplateId,
343 java.lang.String newTemplateId, boolean autoTemplateId)
344 throws com.liferay.portal.kernel.exception.PortalException,
345 com.liferay.portal.kernel.exception.SystemException {
346 return _journalTemplateLocalService.copyTemplate(userId, groupId,
347 oldTemplateId, newTemplateId, autoTemplateId);
348 }
349
350 public void deleteTemplate(
351 com.liferay.portlet.journal.model.JournalTemplate template)
352 throws com.liferay.portal.kernel.exception.PortalException,
353 com.liferay.portal.kernel.exception.SystemException {
354 _journalTemplateLocalService.deleteTemplate(template);
355 }
356
357 public void deleteTemplate(long groupId, java.lang.String templateId)
358 throws com.liferay.portal.kernel.exception.PortalException,
359 com.liferay.portal.kernel.exception.SystemException {
360 _journalTemplateLocalService.deleteTemplate(groupId, templateId);
361 }
362
363 public void deleteTemplates(long groupId)
364 throws com.liferay.portal.kernel.exception.PortalException,
365 com.liferay.portal.kernel.exception.SystemException {
366 _journalTemplateLocalService.deleteTemplates(groupId);
367 }
368
369 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
370 long groupId, java.lang.String structureId)
371 throws com.liferay.portal.kernel.exception.SystemException {
372 return _journalTemplateLocalService.getStructureTemplates(groupId,
373 structureId);
374 }
375
376 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
377 long groupId, java.lang.String structureId, int start, int end)
378 throws com.liferay.portal.kernel.exception.SystemException {
379 return _journalTemplateLocalService.getStructureTemplates(groupId,
380 structureId, start, end);
381 }
382
383 public int getStructureTemplatesCount(long groupId,
384 java.lang.String structureId)
385 throws com.liferay.portal.kernel.exception.SystemException {
386 return _journalTemplateLocalService.getStructureTemplatesCount(groupId,
387 structureId);
388 }
389
390 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
391 long id)
392 throws com.liferay.portal.kernel.exception.PortalException,
393 com.liferay.portal.kernel.exception.SystemException {
394 return _journalTemplateLocalService.getTemplate(id);
395 }
396
397 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
398 long groupId, java.lang.String templateId)
399 throws com.liferay.portal.kernel.exception.PortalException,
400 com.liferay.portal.kernel.exception.SystemException {
401 return _journalTemplateLocalService.getTemplate(groupId, templateId);
402 }
403
404 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
405 long groupId, java.lang.String templateId,
406 boolean includeGlobalTemplates)
407 throws com.liferay.portal.kernel.exception.PortalException,
408 com.liferay.portal.kernel.exception.SystemException {
409 return _journalTemplateLocalService.getTemplate(groupId, templateId,
410 includeGlobalTemplates);
411 }
412
413 public com.liferay.portlet.journal.model.JournalTemplate getTemplateBySmallImageId(
414 long smallImageId)
415 throws com.liferay.portal.kernel.exception.PortalException,
416 com.liferay.portal.kernel.exception.SystemException {
417 return _journalTemplateLocalService.getTemplateBySmallImageId(smallImageId);
418 }
419
420 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates()
421 throws com.liferay.portal.kernel.exception.SystemException {
422 return _journalTemplateLocalService.getTemplates();
423 }
424
425 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
426 long groupId)
427 throws com.liferay.portal.kernel.exception.SystemException {
428 return _journalTemplateLocalService.getTemplates(groupId);
429 }
430
431 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
432 long groupId, int start, int end)
433 throws com.liferay.portal.kernel.exception.SystemException {
434 return _journalTemplateLocalService.getTemplates(groupId, start, end);
435 }
436
437 public int getTemplatesCount(long groupId)
438 throws com.liferay.portal.kernel.exception.SystemException {
439 return _journalTemplateLocalService.getTemplatesCount(groupId);
440 }
441
442 public boolean hasTemplate(long groupId, java.lang.String templateId)
443 throws com.liferay.portal.kernel.exception.SystemException {
444 return _journalTemplateLocalService.hasTemplate(groupId, templateId);
445 }
446
447 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
448 long companyId, long[] groupIds, java.lang.String keywords,
449 java.lang.String structureId, java.lang.String structureIdComparator,
450 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
451 throws com.liferay.portal.kernel.exception.SystemException {
452 return _journalTemplateLocalService.search(companyId, groupIds,
453 keywords, structureId, structureIdComparator, start, end, obc);
454 }
455
456 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
457 long companyId, long[] groupIds, java.lang.String templateId,
458 java.lang.String structureId, java.lang.String structureIdComparator,
459 java.lang.String name, java.lang.String description,
460 boolean andOperator, int start, int end,
461 com.liferay.portal.kernel.util.OrderByComparator obc)
462 throws com.liferay.portal.kernel.exception.SystemException {
463 return _journalTemplateLocalService.search(companyId, groupIds,
464 templateId, structureId, structureIdComparator, name, description,
465 andOperator, start, end, obc);
466 }
467
468 public int searchCount(long companyId, long[] groupIds,
469 java.lang.String keywords, java.lang.String structureId,
470 java.lang.String structureIdComparator)
471 throws com.liferay.portal.kernel.exception.SystemException {
472 return _journalTemplateLocalService.searchCount(companyId, groupIds,
473 keywords, structureId, structureIdComparator);
474 }
475
476 public int searchCount(long companyId, long[] groupIds,
477 java.lang.String templateId, java.lang.String structureId,
478 java.lang.String structureIdComparator, java.lang.String name,
479 java.lang.String description, boolean andOperator)
480 throws com.liferay.portal.kernel.exception.SystemException {
481 return _journalTemplateLocalService.searchCount(companyId, groupIds,
482 templateId, structureId, structureIdComparator, name, description,
483 andOperator);
484 }
485
486 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
487 long groupId, java.lang.String templateId,
488 java.lang.String structureId,
489 java.util.Map<java.util.Locale, java.lang.String> nameMap,
490 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
491 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
492 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
493 java.io.File smallImageFile,
494 com.liferay.portal.service.ServiceContext serviceContext)
495 throws com.liferay.portal.kernel.exception.PortalException,
496 com.liferay.portal.kernel.exception.SystemException {
497 return _journalTemplateLocalService.updateTemplate(groupId, templateId,
498 structureId, nameMap, descriptionMap, xsl, formatXsl, langType,
499 cacheable, smallImage, smallImageURL, smallImageFile, serviceContext);
500 }
501
502
505 public JournalTemplateLocalService getWrappedJournalTemplateLocalService() {
506 return _journalTemplateLocalService;
507 }
508
509
512 public void setWrappedJournalTemplateLocalService(
513 JournalTemplateLocalService journalTemplateLocalService) {
514 _journalTemplateLocalService = journalTemplateLocalService;
515 }
516
517 public JournalTemplateLocalService getWrappedService() {
518 return _journalTemplateLocalService;
519 }
520
521 public void setWrappedService(
522 JournalTemplateLocalService journalTemplateLocalService) {
523 _journalTemplateLocalService = journalTemplateLocalService;
524 }
525
526 private JournalTemplateLocalService _journalTemplateLocalService;
527 }