001
014
015 package com.liferay.portlet.journal.service;
016
017 import com.liferay.portal.service.ServiceWrapper;
018
019
028 public class JournalTemplateServiceWrapper implements JournalTemplateService,
029 ServiceWrapper<JournalTemplateService> {
030 public JournalTemplateServiceWrapper(
031 JournalTemplateService journalTemplateService) {
032 _journalTemplateService = journalTemplateService;
033 }
034
035
040 public java.lang.String getBeanIdentifier() {
041 return _journalTemplateService.getBeanIdentifier();
042 }
043
044
049 public void setBeanIdentifier(java.lang.String beanIdentifier) {
050 _journalTemplateService.setBeanIdentifier(beanIdentifier);
051 }
052
053 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
054 long groupId, java.lang.String templateId, boolean autoTemplateId,
055 java.lang.String structureId,
056 java.util.Map<java.util.Locale, java.lang.String> nameMap,
057 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
058 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
059 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
060 java.io.File smallFile,
061 com.liferay.portal.service.ServiceContext serviceContext)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _journalTemplateService.addTemplate(groupId, templateId,
065 autoTemplateId, structureId, nameMap, descriptionMap, xsl,
066 formatXsl, langType, cacheable, smallImage, smallImageURL,
067 smallFile, serviceContext);
068 }
069
070 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
071 long groupId, java.lang.String templateId, boolean autoTemplateId,
072 java.lang.String structureId,
073 java.util.Map<java.util.Locale, java.lang.String> nameMap,
074 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
075 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
076 boolean cacheable,
077 com.liferay.portal.service.ServiceContext serviceContext)
078 throws com.liferay.portal.kernel.exception.PortalException,
079 com.liferay.portal.kernel.exception.SystemException {
080 return _journalTemplateService.addTemplate(groupId, templateId,
081 autoTemplateId, structureId, nameMap, descriptionMap, xsl,
082 formatXsl, langType, cacheable, serviceContext);
083 }
084
085 public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
086 long groupId, java.lang.String oldTemplateId,
087 java.lang.String newTemplateId, boolean autoTemplateId)
088 throws com.liferay.portal.kernel.exception.PortalException,
089 com.liferay.portal.kernel.exception.SystemException {
090 return _journalTemplateService.copyTemplate(groupId, oldTemplateId,
091 newTemplateId, autoTemplateId);
092 }
093
094 public void deleteTemplate(long groupId, java.lang.String templateId)
095 throws com.liferay.portal.kernel.exception.PortalException,
096 com.liferay.portal.kernel.exception.SystemException {
097 _journalTemplateService.deleteTemplate(groupId, templateId);
098 }
099
100 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
101 long groupId, java.lang.String structureId)
102 throws com.liferay.portal.kernel.exception.SystemException {
103 return _journalTemplateService.getStructureTemplates(groupId,
104 structureId);
105 }
106
107 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
108 long groupId, java.lang.String templateId)
109 throws com.liferay.portal.kernel.exception.PortalException,
110 com.liferay.portal.kernel.exception.SystemException {
111 return _journalTemplateService.getTemplate(groupId, templateId);
112 }
113
114 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
115 long groupId, java.lang.String templateId,
116 boolean includeGlobalTemplates)
117 throws com.liferay.portal.kernel.exception.PortalException,
118 com.liferay.portal.kernel.exception.SystemException {
119 return _journalTemplateService.getTemplate(groupId, templateId,
120 includeGlobalTemplates);
121 }
122
123 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
124 long companyId, long[] groupIds, java.lang.String keywords,
125 java.lang.String structureId, java.lang.String structureIdComparator,
126 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
127 throws com.liferay.portal.kernel.exception.SystemException {
128 return _journalTemplateService.search(companyId, groupIds, keywords,
129 structureId, structureIdComparator, start, end, obc);
130 }
131
132 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
133 long companyId, long[] groupIds, java.lang.String templateId,
134 java.lang.String structureId, java.lang.String structureIdComparator,
135 java.lang.String name, java.lang.String description,
136 boolean andOperator, int start, int end,
137 com.liferay.portal.kernel.util.OrderByComparator obc)
138 throws com.liferay.portal.kernel.exception.SystemException {
139 return _journalTemplateService.search(companyId, groupIds, templateId,
140 structureId, structureIdComparator, name, description, andOperator,
141 start, end, obc);
142 }
143
144 public int searchCount(long companyId, long[] groupIds,
145 java.lang.String keywords, java.lang.String structureId,
146 java.lang.String structureIdComparator)
147 throws com.liferay.portal.kernel.exception.SystemException {
148 return _journalTemplateService.searchCount(companyId, groupIds,
149 keywords, structureId, structureIdComparator);
150 }
151
152 public int searchCount(long companyId, long[] groupIds,
153 java.lang.String templateId, java.lang.String structureId,
154 java.lang.String structureIdComparator, java.lang.String name,
155 java.lang.String description, boolean andOperator)
156 throws com.liferay.portal.kernel.exception.SystemException {
157 return _journalTemplateService.searchCount(companyId, groupIds,
158 templateId, structureId, structureIdComparator, name, description,
159 andOperator);
160 }
161
162 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
163 long groupId, java.lang.String templateId,
164 java.lang.String structureId,
165 java.util.Map<java.util.Locale, java.lang.String> nameMap,
166 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
167 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
168 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
169 java.io.File smallFile,
170 com.liferay.portal.service.ServiceContext serviceContext)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _journalTemplateService.updateTemplate(groupId, templateId,
174 structureId, nameMap, descriptionMap, xsl, formatXsl, langType,
175 cacheable, smallImage, smallImageURL, smallFile, serviceContext);
176 }
177
178 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
179 long groupId, java.lang.String templateId,
180 java.lang.String structureId,
181 java.util.Map<java.util.Locale, java.lang.String> nameMap,
182 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
183 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
184 boolean cacheable,
185 com.liferay.portal.service.ServiceContext serviceContext)
186 throws com.liferay.portal.kernel.exception.PortalException,
187 com.liferay.portal.kernel.exception.SystemException {
188 return _journalTemplateService.updateTemplate(groupId, templateId,
189 structureId, nameMap, descriptionMap, xsl, formatXsl, langType,
190 cacheable, serviceContext);
191 }
192
193
196 public JournalTemplateService getWrappedJournalTemplateService() {
197 return _journalTemplateService;
198 }
199
200
203 public void setWrappedJournalTemplateService(
204 JournalTemplateService journalTemplateService) {
205 _journalTemplateService = journalTemplateService;
206 }
207
208 public JournalTemplateService getWrappedService() {
209 return _journalTemplateService;
210 }
211
212 public void setWrappedService(JournalTemplateService journalTemplateService) {
213 _journalTemplateService = journalTemplateService;
214 }
215
216 private JournalTemplateService _journalTemplateService;
217 }