1
14
15 package com.liferay.portlet.journal.service;
16
17
33 public class JournalTemplateServiceWrapper implements JournalTemplateService {
34 public JournalTemplateServiceWrapper(
35 JournalTemplateService journalTemplateService) {
36 _journalTemplateService = journalTemplateService;
37 }
38
39 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
40 long groupId, java.lang.String templateId, boolean autoTemplateId,
41 java.lang.String structureId, java.lang.String name,
42 java.lang.String description, java.lang.String xsl, boolean formatXsl,
43 java.lang.String langType, boolean cacheable,
44 com.liferay.portal.service.ServiceContext serviceContext)
45 throws com.liferay.portal.PortalException,
46 com.liferay.portal.SystemException {
47 return _journalTemplateService.addTemplate(groupId, templateId,
48 autoTemplateId, structureId, name, description, xsl, formatXsl,
49 langType, cacheable, serviceContext);
50 }
51
52 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
53 long groupId, java.lang.String templateId, boolean autoTemplateId,
54 java.lang.String structureId, java.lang.String name,
55 java.lang.String description, java.lang.String xsl, boolean formatXsl,
56 java.lang.String langType, boolean cacheable, boolean smallImage,
57 java.lang.String smallImageURL, java.io.File smallFile,
58 com.liferay.portal.service.ServiceContext serviceContext)
59 throws com.liferay.portal.PortalException,
60 com.liferay.portal.SystemException {
61 return _journalTemplateService.addTemplate(groupId, templateId,
62 autoTemplateId, structureId, name, description, xsl, formatXsl,
63 langType, cacheable, smallImage, smallImageURL, smallFile,
64 serviceContext);
65 }
66
67 public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
68 long groupId, java.lang.String oldTemplateId,
69 java.lang.String newTemplateId, boolean autoTemplateId)
70 throws com.liferay.portal.PortalException,
71 com.liferay.portal.SystemException {
72 return _journalTemplateService.copyTemplate(groupId, oldTemplateId,
73 newTemplateId, autoTemplateId);
74 }
75
76 public void deleteTemplate(long groupId, java.lang.String templateId)
77 throws com.liferay.portal.PortalException,
78 com.liferay.portal.SystemException {
79 _journalTemplateService.deleteTemplate(groupId, templateId);
80 }
81
82 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
83 long groupId, java.lang.String structureId)
84 throws com.liferay.portal.PortalException,
85 com.liferay.portal.SystemException {
86 return _journalTemplateService.getStructureTemplates(groupId,
87 structureId);
88 }
89
90 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
91 long groupId, java.lang.String templateId)
92 throws com.liferay.portal.PortalException,
93 com.liferay.portal.SystemException {
94 return _journalTemplateService.getTemplate(groupId, templateId);
95 }
96
97 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
98 long groupId, java.lang.String templateId,
99 java.lang.String structureId, java.lang.String name,
100 java.lang.String description, java.lang.String xsl, boolean formatXsl,
101 java.lang.String langType, boolean cacheable,
102 com.liferay.portal.service.ServiceContext serviceContext)
103 throws com.liferay.portal.PortalException,
104 com.liferay.portal.SystemException {
105 return _journalTemplateService.updateTemplate(groupId, templateId,
106 structureId, name, description, xsl, formatXsl, langType,
107 cacheable, serviceContext);
108 }
109
110 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
111 long groupId, java.lang.String templateId,
112 java.lang.String structureId, java.lang.String name,
113 java.lang.String description, java.lang.String xsl, boolean formatXsl,
114 java.lang.String langType, boolean cacheable, boolean smallImage,
115 java.lang.String smallImageURL, java.io.File smallFile,
116 com.liferay.portal.service.ServiceContext serviceContext)
117 throws com.liferay.portal.PortalException,
118 com.liferay.portal.SystemException {
119 return _journalTemplateService.updateTemplate(groupId, templateId,
120 structureId, name, description, xsl, formatXsl, langType,
121 cacheable, smallImage, smallImageURL, smallFile, serviceContext);
122 }
123
124 public JournalTemplateService getWrappedJournalTemplateService() {
125 return _journalTemplateService;
126 }
127
128 private JournalTemplateService _journalTemplateService;
129 }