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