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