001
014
015 package com.liferay.portlet.journal.service;
016
017
026 public class JournalTemplateLocalServiceWrapper
027 implements JournalTemplateLocalService {
028 public JournalTemplateLocalServiceWrapper(
029 JournalTemplateLocalService journalTemplateLocalService) {
030 _journalTemplateLocalService = journalTemplateLocalService;
031 }
032
033
040 public com.liferay.portlet.journal.model.JournalTemplate addJournalTemplate(
041 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
042 throws com.liferay.portal.kernel.exception.SystemException {
043 return _journalTemplateLocalService.addJournalTemplate(journalTemplate);
044 }
045
046
052 public com.liferay.portlet.journal.model.JournalTemplate createJournalTemplate(
053 long id) {
054 return _journalTemplateLocalService.createJournalTemplate(id);
055 }
056
057
064 public void deleteJournalTemplate(long id)
065 throws com.liferay.portal.kernel.exception.PortalException,
066 com.liferay.portal.kernel.exception.SystemException {
067 _journalTemplateLocalService.deleteJournalTemplate(id);
068 }
069
070
076 public void deleteJournalTemplate(
077 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
078 throws com.liferay.portal.kernel.exception.SystemException {
079 _journalTemplateLocalService.deleteJournalTemplate(journalTemplate);
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 _journalTemplateLocalService.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 _journalTemplateLocalService.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 _journalTemplateLocalService.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 _journalTemplateLocalService.dynamicQueryCount(dynamicQuery);
152 }
153
154
162 public com.liferay.portlet.journal.model.JournalTemplate getJournalTemplate(
163 long id)
164 throws com.liferay.portal.kernel.exception.PortalException,
165 com.liferay.portal.kernel.exception.SystemException {
166 return _journalTemplateLocalService.getJournalTemplate(id);
167 }
168
169
178 public com.liferay.portlet.journal.model.JournalTemplate getJournalTemplateByUuidAndGroupId(
179 java.lang.String uuid, long groupId)
180 throws com.liferay.portal.kernel.exception.PortalException,
181 com.liferay.portal.kernel.exception.SystemException {
182 return _journalTemplateLocalService.getJournalTemplateByUuidAndGroupId(uuid,
183 groupId);
184 }
185
186
198 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getJournalTemplates(
199 int start, int end)
200 throws com.liferay.portal.kernel.exception.SystemException {
201 return _journalTemplateLocalService.getJournalTemplates(start, end);
202 }
203
204
210 public int getJournalTemplatesCount()
211 throws com.liferay.portal.kernel.exception.SystemException {
212 return _journalTemplateLocalService.getJournalTemplatesCount();
213 }
214
215
222 public com.liferay.portlet.journal.model.JournalTemplate updateJournalTemplate(
223 com.liferay.portlet.journal.model.JournalTemplate journalTemplate)
224 throws com.liferay.portal.kernel.exception.SystemException {
225 return _journalTemplateLocalService.updateJournalTemplate(journalTemplate);
226 }
227
228
236 public com.liferay.portlet.journal.model.JournalTemplate updateJournalTemplate(
237 com.liferay.portlet.journal.model.JournalTemplate journalTemplate,
238 boolean merge)
239 throws com.liferay.portal.kernel.exception.SystemException {
240 return _journalTemplateLocalService.updateJournalTemplate(journalTemplate,
241 merge);
242 }
243
244 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
245 long userId, long groupId, java.lang.String templateId,
246 boolean autoTemplateId, java.lang.String structureId,
247 java.lang.String name, java.lang.String description,
248 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
249 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
250 java.io.File smallFile,
251 com.liferay.portal.service.ServiceContext serviceContext)
252 throws com.liferay.portal.kernel.exception.PortalException,
253 com.liferay.portal.kernel.exception.SystemException {
254 return _journalTemplateLocalService.addTemplate(userId, groupId,
255 templateId, autoTemplateId, structureId, name, description, xsl,
256 formatXsl, langType, cacheable, smallImage, smallImageURL,
257 smallFile, serviceContext);
258 }
259
260 public void addTemplateResources(long groupId, java.lang.String templateId,
261 boolean addCommunityPermissions, boolean addGuestPermissions)
262 throws com.liferay.portal.kernel.exception.PortalException,
263 com.liferay.portal.kernel.exception.SystemException {
264 _journalTemplateLocalService.addTemplateResources(groupId, templateId,
265 addCommunityPermissions, addGuestPermissions);
266 }
267
268 public void addTemplateResources(
269 com.liferay.portlet.journal.model.JournalTemplate template,
270 boolean addCommunityPermissions, boolean addGuestPermissions)
271 throws com.liferay.portal.kernel.exception.PortalException,
272 com.liferay.portal.kernel.exception.SystemException {
273 _journalTemplateLocalService.addTemplateResources(template,
274 addCommunityPermissions, addGuestPermissions);
275 }
276
277 public void addTemplateResources(long groupId, java.lang.String templateId,
278 java.lang.String[] communityPermissions,
279 java.lang.String[] guestPermissions)
280 throws com.liferay.portal.kernel.exception.PortalException,
281 com.liferay.portal.kernel.exception.SystemException {
282 _journalTemplateLocalService.addTemplateResources(groupId, templateId,
283 communityPermissions, guestPermissions);
284 }
285
286 public void addTemplateResources(
287 com.liferay.portlet.journal.model.JournalTemplate template,
288 java.lang.String[] communityPermissions,
289 java.lang.String[] guestPermissions)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException {
292 _journalTemplateLocalService.addTemplateResources(template,
293 communityPermissions, guestPermissions);
294 }
295
296 public void checkNewLine(long groupId, java.lang.String templateId)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException {
299 _journalTemplateLocalService.checkNewLine(groupId, templateId);
300 }
301
302 public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
303 long userId, long groupId, java.lang.String oldTemplateId,
304 java.lang.String newTemplateId, boolean autoTemplateId)
305 throws com.liferay.portal.kernel.exception.PortalException,
306 com.liferay.portal.kernel.exception.SystemException {
307 return _journalTemplateLocalService.copyTemplate(userId, groupId,
308 oldTemplateId, newTemplateId, autoTemplateId);
309 }
310
311 public void deleteTemplate(long groupId, java.lang.String templateId)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException {
314 _journalTemplateLocalService.deleteTemplate(groupId, templateId);
315 }
316
317 public void deleteTemplate(
318 com.liferay.portlet.journal.model.JournalTemplate template)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException {
321 _journalTemplateLocalService.deleteTemplate(template);
322 }
323
324 public void deleteTemplates(long groupId)
325 throws com.liferay.portal.kernel.exception.PortalException,
326 com.liferay.portal.kernel.exception.SystemException {
327 _journalTemplateLocalService.deleteTemplates(groupId);
328 }
329
330 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
331 long groupId, java.lang.String structureId)
332 throws com.liferay.portal.kernel.exception.SystemException {
333 return _journalTemplateLocalService.getStructureTemplates(groupId,
334 structureId);
335 }
336
337 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
338 long groupId, java.lang.String structureId, int start, int end)
339 throws com.liferay.portal.kernel.exception.SystemException {
340 return _journalTemplateLocalService.getStructureTemplates(groupId,
341 structureId, start, end);
342 }
343
344 public int getStructureTemplatesCount(long groupId,
345 java.lang.String structureId)
346 throws com.liferay.portal.kernel.exception.SystemException {
347 return _journalTemplateLocalService.getStructureTemplatesCount(groupId,
348 structureId);
349 }
350
351 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
352 long id)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException {
355 return _journalTemplateLocalService.getTemplate(id);
356 }
357
358 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
359 long groupId, java.lang.String templateId)
360 throws com.liferay.portal.kernel.exception.PortalException,
361 com.liferay.portal.kernel.exception.SystemException {
362 return _journalTemplateLocalService.getTemplate(groupId, templateId);
363 }
364
365 public com.liferay.portlet.journal.model.JournalTemplate getTemplateBySmallImageId(
366 long smallImageId)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException {
369 return _journalTemplateLocalService.getTemplateBySmallImageId(smallImageId);
370 }
371
372 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates()
373 throws com.liferay.portal.kernel.exception.SystemException {
374 return _journalTemplateLocalService.getTemplates();
375 }
376
377 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
378 long groupId)
379 throws com.liferay.portal.kernel.exception.SystemException {
380 return _journalTemplateLocalService.getTemplates(groupId);
381 }
382
383 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
384 long groupId, int start, int end)
385 throws com.liferay.portal.kernel.exception.SystemException {
386 return _journalTemplateLocalService.getTemplates(groupId, start, end);
387 }
388
389 public int getTemplatesCount(long groupId)
390 throws com.liferay.portal.kernel.exception.SystemException {
391 return _journalTemplateLocalService.getTemplatesCount(groupId);
392 }
393
394 public boolean hasTemplate(long groupId, java.lang.String templateId)
395 throws com.liferay.portal.kernel.exception.SystemException {
396 return _journalTemplateLocalService.hasTemplate(groupId, templateId);
397 }
398
399 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
400 long companyId, long groupId, java.lang.String keywords,
401 java.lang.String structureId, java.lang.String structureIdComparator,
402 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
403 throws com.liferay.portal.kernel.exception.SystemException {
404 return _journalTemplateLocalService.search(companyId, groupId,
405 keywords, structureId, structureIdComparator, start, end, obc);
406 }
407
408 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
409 long companyId, long groupId, java.lang.String templateId,
410 java.lang.String structureId, java.lang.String structureIdComparator,
411 java.lang.String name, java.lang.String description,
412 boolean andOperator, int start, int end,
413 com.liferay.portal.kernel.util.OrderByComparator obc)
414 throws com.liferay.portal.kernel.exception.SystemException {
415 return _journalTemplateLocalService.search(companyId, groupId,
416 templateId, structureId, structureIdComparator, name, description,
417 andOperator, start, end, obc);
418 }
419
420 public int searchCount(long companyId, long groupId,
421 java.lang.String keywords, java.lang.String structureId,
422 java.lang.String structureIdComparator)
423 throws com.liferay.portal.kernel.exception.SystemException {
424 return _journalTemplateLocalService.searchCount(companyId, groupId,
425 keywords, structureId, structureIdComparator);
426 }
427
428 public int searchCount(long companyId, long groupId,
429 java.lang.String templateId, java.lang.String structureId,
430 java.lang.String structureIdComparator, java.lang.String name,
431 java.lang.String description, boolean andOperator)
432 throws com.liferay.portal.kernel.exception.SystemException {
433 return _journalTemplateLocalService.searchCount(companyId, groupId,
434 templateId, structureId, structureIdComparator, name, description,
435 andOperator);
436 }
437
438 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
439 long groupId, java.lang.String templateId,
440 java.lang.String structureId, java.lang.String name,
441 java.lang.String description, java.lang.String xsl, boolean formatXsl,
442 java.lang.String langType, boolean cacheable, boolean smallImage,
443 java.lang.String smallImageURL, java.io.File smallFile,
444 com.liferay.portal.service.ServiceContext serviceContext)
445 throws com.liferay.portal.kernel.exception.PortalException,
446 com.liferay.portal.kernel.exception.SystemException {
447 return _journalTemplateLocalService.updateTemplate(groupId, templateId,
448 structureId, name, description, xsl, formatXsl, langType,
449 cacheable, smallImage, smallImageURL, smallFile, serviceContext);
450 }
451
452 public JournalTemplateLocalService getWrappedJournalTemplateLocalService() {
453 return _journalTemplateLocalService;
454 }
455
456 private JournalTemplateLocalService _journalTemplateLocalService;
457 }