1
22
23 package com.liferay.portlet.journal.service;
24
25
26
42 public class JournalTemplateLocalServiceWrapper
43 implements JournalTemplateLocalService {
44 public JournalTemplateLocalServiceWrapper(
45 JournalTemplateLocalService journalTemplateLocalService) {
46 _journalTemplateLocalService = journalTemplateLocalService;
47 }
48
49 public com.liferay.portlet.journal.model.JournalTemplate addJournalTemplate(
50 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
51 throws com.liferay.portal.SystemException {
52 return _journalTemplateLocalService.addJournalTemplate(journalTemplate);
53 }
54
55 public com.liferay.portlet.journal.model.JournalTemplate createJournalTemplate(
56 long id) {
57 return _journalTemplateLocalService.createJournalTemplate(id);
58 }
59
60 public void deleteJournalTemplate(long id)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException {
63 _journalTemplateLocalService.deleteJournalTemplate(id);
64 }
65
66 public void deleteJournalTemplate(
67 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
68 throws com.liferay.portal.SystemException {
69 _journalTemplateLocalService.deleteJournalTemplate(journalTemplate);
70 }
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74 throws com.liferay.portal.SystemException {
75 return _journalTemplateLocalService.dynamicQuery(dynamicQuery);
76 }
77
78 public java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end) throws com.liferay.portal.SystemException {
81 return _journalTemplateLocalService.dynamicQuery(dynamicQuery, start,
82 end);
83 }
84
85 public com.liferay.portlet.journal.model.JournalTemplate getJournalTemplate(
86 long id)
87 throws com.liferay.portal.PortalException,
88 com.liferay.portal.SystemException {
89 return _journalTemplateLocalService.getJournalTemplate(id);
90 }
91
92 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getJournalTemplates(
93 int start, int end) throws com.liferay.portal.SystemException {
94 return _journalTemplateLocalService.getJournalTemplates(start, end);
95 }
96
97 public int getJournalTemplatesCount()
98 throws com.liferay.portal.SystemException {
99 return _journalTemplateLocalService.getJournalTemplatesCount();
100 }
101
102 public com.liferay.portlet.journal.model.JournalTemplate updateJournalTemplate(
103 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
104 throws com.liferay.portal.SystemException {
105 return _journalTemplateLocalService.updateJournalTemplate(journalTemplate);
106 }
107
108 public com.liferay.portlet.journal.model.JournalTemplate updateJournalTemplate(
109 com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
110 boolean merge) throws com.liferay.portal.SystemException {
111 return _journalTemplateLocalService.updateJournalTemplate(journalTemplate,
112 merge);
113 }
114
115 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
116 long userId, long groupId, java.lang.String templateId,
117 boolean autoTemplateId, java.lang.String structureId,
118 java.lang.String name, java.lang.String description,
119 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
120 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
121 java.io.File smallFile,
122 com.liferay.portal.service.ServiceContext serviceContext)
123 throws com.liferay.portal.PortalException,
124 com.liferay.portal.SystemException {
125 return _journalTemplateLocalService.addTemplate(userId, groupId,
126 templateId, autoTemplateId, structureId, name, description, xsl,
127 formatXsl, langType, cacheable, smallImage, smallImageURL,
128 smallFile, serviceContext);
129 }
130
131 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
132 java.lang.String uuid, long userId, long groupId,
133 java.lang.String templateId, boolean autoTemplateId,
134 java.lang.String structureId, java.lang.String name,
135 java.lang.String description, java.lang.String xsl, boolean formatXsl,
136 java.lang.String langType, boolean cacheable, boolean smallImage,
137 java.lang.String smallImageURL, java.io.File smallFile,
138 com.liferay.portal.service.ServiceContext serviceContext)
139 throws com.liferay.portal.PortalException,
140 com.liferay.portal.SystemException {
141 return _journalTemplateLocalService.addTemplate(uuid, userId, groupId,
142 templateId, autoTemplateId, structureId, name, description, xsl,
143 formatXsl, langType, cacheable, smallImage, smallImageURL,
144 smallFile, serviceContext);
145 }
146
147 public void addTemplateResources(long groupId, java.lang.String templateId,
148 boolean addCommunityPermissions, boolean addGuestPermissions)
149 throws com.liferay.portal.PortalException,
150 com.liferay.portal.SystemException {
151 _journalTemplateLocalService.addTemplateResources(groupId, templateId,
152 addCommunityPermissions, addGuestPermissions);
153 }
154
155 public void addTemplateResources(
156 com.liferay.portlet.journal.model.JournalTemplate template,
157 boolean addCommunityPermissions, boolean addGuestPermissions)
158 throws com.liferay.portal.PortalException,
159 com.liferay.portal.SystemException {
160 _journalTemplateLocalService.addTemplateResources(template,
161 addCommunityPermissions, addGuestPermissions);
162 }
163
164 public void addTemplateResources(long groupId, java.lang.String templateId,
165 java.lang.String[] communityPermissions,
166 java.lang.String[] guestPermissions)
167 throws com.liferay.portal.PortalException,
168 com.liferay.portal.SystemException {
169 _journalTemplateLocalService.addTemplateResources(groupId, templateId,
170 communityPermissions, guestPermissions);
171 }
172
173 public void addTemplateResources(
174 com.liferay.portlet.journal.model.JournalTemplate template,
175 java.lang.String[] communityPermissions,
176 java.lang.String[] guestPermissions)
177 throws com.liferay.portal.PortalException,
178 com.liferay.portal.SystemException {
179 _journalTemplateLocalService.addTemplateResources(template,
180 communityPermissions, guestPermissions);
181 }
182
183 public void checkNewLine(long groupId, java.lang.String templateId)
184 throws com.liferay.portal.PortalException,
185 com.liferay.portal.SystemException {
186 _journalTemplateLocalService.checkNewLine(groupId, templateId);
187 }
188
189 public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
190 long userId, long groupId, java.lang.String oldTemplateId,
191 java.lang.String newTemplateId, boolean autoTemplateId)
192 throws com.liferay.portal.PortalException,
193 com.liferay.portal.SystemException {
194 return _journalTemplateLocalService.copyTemplate(userId, groupId,
195 oldTemplateId, newTemplateId, autoTemplateId);
196 }
197
198 public void deleteTemplate(long groupId, java.lang.String templateId)
199 throws com.liferay.portal.PortalException,
200 com.liferay.portal.SystemException {
201 _journalTemplateLocalService.deleteTemplate(groupId, templateId);
202 }
203
204 public void deleteTemplate(
205 com.liferay.portlet.journal.model.JournalTemplate template)
206 throws com.liferay.portal.PortalException,
207 com.liferay.portal.SystemException {
208 _journalTemplateLocalService.deleteTemplate(template);
209 }
210
211 public void deleteTemplates(long groupId)
212 throws com.liferay.portal.PortalException,
213 com.liferay.portal.SystemException {
214 _journalTemplateLocalService.deleteTemplates(groupId);
215 }
216
217 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
218 long groupId, java.lang.String structureId)
219 throws com.liferay.portal.SystemException {
220 return _journalTemplateLocalService.getStructureTemplates(groupId,
221 structureId);
222 }
223
224 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
225 long groupId, java.lang.String structureId, int start, int end)
226 throws com.liferay.portal.SystemException {
227 return _journalTemplateLocalService.getStructureTemplates(groupId,
228 structureId, start, end);
229 }
230
231 public int getStructureTemplatesCount(long groupId,
232 java.lang.String structureId) throws com.liferay.portal.SystemException {
233 return _journalTemplateLocalService.getStructureTemplatesCount(groupId,
234 structureId);
235 }
236
237 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
238 long id)
239 throws com.liferay.portal.PortalException,
240 com.liferay.portal.SystemException {
241 return _journalTemplateLocalService.getTemplate(id);
242 }
243
244 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
245 long groupId, java.lang.String templateId)
246 throws com.liferay.portal.PortalException,
247 com.liferay.portal.SystemException {
248 return _journalTemplateLocalService.getTemplate(groupId, templateId);
249 }
250
251 public com.liferay.portlet.journal.model.JournalTemplate getTemplateBySmallImageId(
252 long smallImageId)
253 throws com.liferay.portal.PortalException,
254 com.liferay.portal.SystemException {
255 return _journalTemplateLocalService.getTemplateBySmallImageId(smallImageId);
256 }
257
258 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates()
259 throws com.liferay.portal.SystemException {
260 return _journalTemplateLocalService.getTemplates();
261 }
262
263 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
264 long groupId) throws com.liferay.portal.SystemException {
265 return _journalTemplateLocalService.getTemplates(groupId);
266 }
267
268 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
269 long groupId, int start, int end)
270 throws com.liferay.portal.SystemException {
271 return _journalTemplateLocalService.getTemplates(groupId, start, end);
272 }
273
274 public int getTemplatesCount(long groupId)
275 throws com.liferay.portal.SystemException {
276 return _journalTemplateLocalService.getTemplatesCount(groupId);
277 }
278
279 public boolean hasTemplate(long groupId, java.lang.String templateId)
280 throws com.liferay.portal.SystemException {
281 return _journalTemplateLocalService.hasTemplate(groupId, templateId);
282 }
283
284 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
285 long companyId, long groupId, java.lang.String keywords,
286 java.lang.String structureId, java.lang.String structureIdComparator,
287 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
288 throws com.liferay.portal.SystemException {
289 return _journalTemplateLocalService.search(companyId, groupId,
290 keywords, structureId, structureIdComparator, start, end, obc);
291 }
292
293 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
294 long companyId, long groupId, java.lang.String templateId,
295 java.lang.String structureId, java.lang.String structureIdComparator,
296 java.lang.String name, java.lang.String description,
297 boolean andOperator, int start, int end,
298 com.liferay.portal.kernel.util.OrderByComparator obc)
299 throws com.liferay.portal.SystemException {
300 return _journalTemplateLocalService.search(companyId, groupId,
301 templateId, structureId, structureIdComparator, name, description,
302 andOperator, start, end, obc);
303 }
304
305 public int searchCount(long companyId, long groupId,
306 java.lang.String keywords, java.lang.String structureId,
307 java.lang.String structureIdComparator)
308 throws com.liferay.portal.SystemException {
309 return _journalTemplateLocalService.searchCount(companyId, groupId,
310 keywords, structureId, structureIdComparator);
311 }
312
313 public int searchCount(long companyId, long groupId,
314 java.lang.String templateId, java.lang.String structureId,
315 java.lang.String structureIdComparator, java.lang.String name,
316 java.lang.String description, boolean andOperator)
317 throws com.liferay.portal.SystemException {
318 return _journalTemplateLocalService.searchCount(companyId, groupId,
319 templateId, structureId, structureIdComparator, name, description,
320 andOperator);
321 }
322
323 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
324 long groupId, java.lang.String templateId,
325 java.lang.String structureId, java.lang.String name,
326 java.lang.String description, java.lang.String xsl, boolean formatXsl,
327 java.lang.String langType, boolean cacheable, boolean smallImage,
328 java.lang.String smallImageURL, java.io.File smallFile,
329 com.liferay.portal.service.ServiceContext serviceContext)
330 throws com.liferay.portal.PortalException,
331 com.liferay.portal.SystemException {
332 return _journalTemplateLocalService.updateTemplate(groupId, templateId,
333 structureId, name, description, xsl, formatXsl, langType,
334 cacheable, smallImage, smallImageURL, smallFile, serviceContext);
335 }
336
337 public JournalTemplateLocalService getWrappedJournalTemplateLocalService() {
338 return _journalTemplateLocalService;
339 }
340
341 private JournalTemplateLocalService _journalTemplateLocalService;
342 }