001
014
015 package com.liferay.portlet.journal.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.service.ServiceWrapper;
020
021
030 @ProviderType
031 public class JournalTemplateLocalServiceWrapper
032 implements JournalTemplateLocalService,
033 ServiceWrapper<JournalTemplateLocalService> {
034 public JournalTemplateLocalServiceWrapper(
035 JournalTemplateLocalService journalTemplateLocalService) {
036 _journalTemplateLocalService = journalTemplateLocalService;
037 }
038
039
044 @Override
045 public java.lang.String getBeanIdentifier() {
046 return _journalTemplateLocalService.getBeanIdentifier();
047 }
048
049
054 @Override
055 public void setBeanIdentifier(java.lang.String beanIdentifier) {
056 _journalTemplateLocalService.setBeanIdentifier(beanIdentifier);
057 }
058
059 @Override
060 public com.liferay.portlet.journal.model.JournalTemplate addJournalTemplate(
061 com.liferay.portlet.journal.model.JournalTemplate template)
062 throws com.liferay.portal.kernel.exception.PortalException,
063 com.liferay.portal.kernel.exception.SystemException {
064 return _journalTemplateLocalService.addJournalTemplate(template);
065 }
066
067 @Override
068 public com.liferay.portlet.journal.model.JournalTemplate addTemplate(
069 long userId, long groupId, java.lang.String templateId,
070 boolean autoTemplateId, java.lang.String structureId,
071 java.util.Map<java.util.Locale, java.lang.String> nameMap,
072 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
073 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
074 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
075 java.io.File smallImageFile,
076 com.liferay.portal.service.ServiceContext serviceContext)
077 throws com.liferay.portal.kernel.exception.PortalException,
078 com.liferay.portal.kernel.exception.SystemException {
079 return _journalTemplateLocalService.addTemplate(userId, groupId,
080 templateId, autoTemplateId, structureId, nameMap, descriptionMap,
081 xsl, formatXsl, langType, cacheable, smallImage, smallImageURL,
082 smallImageFile, serviceContext);
083 }
084
085 @Override
086 public void addTemplateResources(
087 com.liferay.portlet.journal.model.JournalTemplate template,
088 boolean addGroupPermissions, boolean addGuestPermissions)
089 throws com.liferay.portal.kernel.exception.PortalException,
090 com.liferay.portal.kernel.exception.SystemException {
091 _journalTemplateLocalService.addTemplateResources(template,
092 addGroupPermissions, addGuestPermissions);
093 }
094
095 @Override
096 public void addTemplateResources(
097 com.liferay.portlet.journal.model.JournalTemplate template,
098 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
099 throws com.liferay.portal.kernel.exception.PortalException,
100 com.liferay.portal.kernel.exception.SystemException {
101 _journalTemplateLocalService.addTemplateResources(template,
102 groupPermissions, guestPermissions);
103 }
104
105 @Override
106 public void addTemplateResources(long groupId, java.lang.String templateId,
107 boolean addGroupPermissions, boolean addGuestPermissions)
108 throws com.liferay.portal.kernel.exception.PortalException,
109 com.liferay.portal.kernel.exception.SystemException {
110 _journalTemplateLocalService.addTemplateResources(groupId, templateId,
111 addGroupPermissions, addGuestPermissions);
112 }
113
114 @Override
115 public void addTemplateResources(long groupId, java.lang.String templateId,
116 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
117 throws com.liferay.portal.kernel.exception.PortalException,
118 com.liferay.portal.kernel.exception.SystemException {
119 _journalTemplateLocalService.addTemplateResources(groupId, templateId,
120 groupPermissions, guestPermissions);
121 }
122
123 @Override
124 public void checkNewLine(long groupId, java.lang.String templateId)
125 throws com.liferay.portal.kernel.exception.PortalException,
126 com.liferay.portal.kernel.exception.SystemException {
127 _journalTemplateLocalService.checkNewLine(groupId, templateId);
128 }
129
130 @Override
131 public com.liferay.portlet.journal.model.JournalTemplate copyTemplate(
132 long userId, long groupId, java.lang.String oldTemplateId,
133 java.lang.String newTemplateId, boolean autoTemplateId)
134 throws com.liferay.portal.kernel.exception.PortalException,
135 com.liferay.portal.kernel.exception.SystemException {
136 return _journalTemplateLocalService.copyTemplate(userId, groupId,
137 oldTemplateId, newTemplateId, autoTemplateId);
138 }
139
140 @Override
141 public com.liferay.portlet.journal.model.JournalTemplate createJournalTemplate(
142 long id) {
143 return _journalTemplateLocalService.createJournalTemplate(id);
144 }
145
146 @Override
147 public void deleteTemplate(
148 com.liferay.portlet.journal.model.JournalTemplate template)
149 throws com.liferay.portal.kernel.exception.PortalException,
150 com.liferay.portal.kernel.exception.SystemException {
151 _journalTemplateLocalService.deleteTemplate(template);
152 }
153
154 @Override
155 public void deleteTemplate(long groupId, java.lang.String templateId)
156 throws com.liferay.portal.kernel.exception.PortalException,
157 com.liferay.portal.kernel.exception.SystemException {
158 _journalTemplateLocalService.deleteTemplate(groupId, templateId);
159 }
160
161 @Override
162 public void deleteTemplates(long groupId)
163 throws com.liferay.portal.kernel.exception.PortalException,
164 com.liferay.portal.kernel.exception.SystemException {
165 _journalTemplateLocalService.deleteTemplates(groupId);
166 }
167
168 @Override
169 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
170 long groupId, java.lang.String structureId)
171 throws com.liferay.portal.kernel.exception.PortalException,
172 com.liferay.portal.kernel.exception.SystemException {
173 return _journalTemplateLocalService.getStructureTemplates(groupId,
174 structureId);
175 }
176
177 @Override
178 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
179 long groupId, java.lang.String structureId,
180 boolean includeGlobalTemplates)
181 throws com.liferay.portal.kernel.exception.PortalException,
182 com.liferay.portal.kernel.exception.SystemException {
183 return _journalTemplateLocalService.getStructureTemplates(groupId,
184 structureId, includeGlobalTemplates);
185 }
186
187 @Override
188 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getStructureTemplates(
189 long groupId, java.lang.String structureId, int start, int end)
190 throws com.liferay.portal.kernel.exception.PortalException,
191 com.liferay.portal.kernel.exception.SystemException {
192 return _journalTemplateLocalService.getStructureTemplates(groupId,
193 structureId, start, end);
194 }
195
196 @Override
197 public int getStructureTemplatesCount(long groupId,
198 java.lang.String structureId)
199 throws com.liferay.portal.kernel.exception.PortalException,
200 com.liferay.portal.kernel.exception.SystemException {
201 return _journalTemplateLocalService.getStructureTemplatesCount(groupId,
202 structureId);
203 }
204
205 @Override
206 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
207 long groupId, java.lang.String templateId)
208 throws com.liferay.portal.kernel.exception.PortalException,
209 com.liferay.portal.kernel.exception.SystemException {
210 return _journalTemplateLocalService.getTemplate(groupId, templateId);
211 }
212
213 @Override
214 public com.liferay.portlet.journal.model.JournalTemplate getTemplate(
215 long groupId, java.lang.String templateId,
216 boolean includeGlobalTemplates)
217 throws com.liferay.portal.kernel.exception.PortalException,
218 com.liferay.portal.kernel.exception.SystemException {
219 return _journalTemplateLocalService.getTemplate(groupId, templateId,
220 includeGlobalTemplates);
221 }
222
223 @Override
224 public com.liferay.portlet.journal.model.JournalTemplate getTemplateBySmallImageId(
225 long smallImageId)
226 throws com.liferay.portal.kernel.exception.PortalException,
227 com.liferay.portal.kernel.exception.SystemException {
228 return _journalTemplateLocalService.getTemplateBySmallImageId(smallImageId);
229 }
230
231 @Override
232 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates()
233 throws com.liferay.portal.kernel.exception.SystemException {
234 return _journalTemplateLocalService.getTemplates();
235 }
236
237 @Override
238 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
239 long groupId)
240 throws com.liferay.portal.kernel.exception.SystemException {
241 return _journalTemplateLocalService.getTemplates(groupId);
242 }
243
244 @Override
245 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> getTemplates(
246 long groupId, int start, int end)
247 throws com.liferay.portal.kernel.exception.SystemException {
248 return _journalTemplateLocalService.getTemplates(groupId, start, end);
249 }
250
251 @Override
252 public int getTemplatesCount(long groupId)
253 throws com.liferay.portal.kernel.exception.SystemException {
254 return _journalTemplateLocalService.getTemplatesCount(groupId);
255 }
256
257 @Override
258 public boolean hasTemplate(long groupId, java.lang.String templateId)
259 throws com.liferay.portal.kernel.exception.SystemException {
260 return _journalTemplateLocalService.hasTemplate(groupId, templateId);
261 }
262
263 @Override
264 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
265 long companyId, long[] groupIds, java.lang.String keywords,
266 java.lang.String structureId, java.lang.String structureIdComparator,
267 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
268 throws com.liferay.portal.kernel.exception.SystemException {
269 return _journalTemplateLocalService.search(companyId, groupIds,
270 keywords, structureId, structureIdComparator, start, end, obc);
271 }
272
273 @Override
274 public java.util.List<com.liferay.portlet.journal.model.JournalTemplate> search(
275 long companyId, long[] groupIds, java.lang.String templateId,
276 java.lang.String structureId, java.lang.String structureIdComparator,
277 java.lang.String name, java.lang.String description,
278 boolean andOperator, int start, int end,
279 com.liferay.portal.kernel.util.OrderByComparator obc)
280 throws com.liferay.portal.kernel.exception.SystemException {
281 return _journalTemplateLocalService.search(companyId, groupIds,
282 templateId, structureId, structureIdComparator, name, description,
283 andOperator, start, end, obc);
284 }
285
286 @Override
287 public int searchCount(long companyId, long[] groupIds,
288 java.lang.String keywords, java.lang.String structureId,
289 java.lang.String structureIdComparator)
290 throws com.liferay.portal.kernel.exception.SystemException {
291 return _journalTemplateLocalService.searchCount(companyId, groupIds,
292 keywords, structureId, structureIdComparator);
293 }
294
295 @Override
296 public int searchCount(long companyId, long[] groupIds,
297 java.lang.String templateId, java.lang.String structureId,
298 java.lang.String structureIdComparator, java.lang.String name,
299 java.lang.String description, boolean andOperator)
300 throws com.liferay.portal.kernel.exception.SystemException {
301 return _journalTemplateLocalService.searchCount(companyId, groupIds,
302 templateId, structureId, structureIdComparator, name, description,
303 andOperator);
304 }
305
306 @Override
307 public com.liferay.portlet.journal.model.JournalTemplate updateJournalTemplate(
308 com.liferay.portlet.journal.model.JournalTemplate template)
309 throws com.liferay.portal.kernel.exception.PortalException,
310 com.liferay.portal.kernel.exception.SystemException {
311 return _journalTemplateLocalService.updateJournalTemplate(template);
312 }
313
314 @Override
315 public com.liferay.portlet.journal.model.JournalTemplate updateTemplate(
316 long groupId, java.lang.String templateId,
317 java.lang.String structureId,
318 java.util.Map<java.util.Locale, java.lang.String> nameMap,
319 java.util.Map<java.util.Locale, java.lang.String> descriptionMap,
320 java.lang.String xsl, boolean formatXsl, java.lang.String langType,
321 boolean cacheable, boolean smallImage, java.lang.String smallImageURL,
322 java.io.File smallImageFile,
323 com.liferay.portal.service.ServiceContext serviceContext)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException {
326 return _journalTemplateLocalService.updateTemplate(groupId, templateId,
327 structureId, nameMap, descriptionMap, xsl, formatXsl, langType,
328 cacheable, smallImage, smallImageURL, smallImageFile, serviceContext);
329 }
330
331
334 public JournalTemplateLocalService getWrappedJournalTemplateLocalService() {
335 return _journalTemplateLocalService;
336 }
337
338
341 public void setWrappedJournalTemplateLocalService(
342 JournalTemplateLocalService journalTemplateLocalService) {
343 _journalTemplateLocalService = journalTemplateLocalService;
344 }
345
346 @Override
347 public JournalTemplateLocalService getWrappedService() {
348 return _journalTemplateLocalService;
349 }
350
351 @Override
352 public void setWrappedService(
353 JournalTemplateLocalService journalTemplateLocalService) {
354 _journalTemplateLocalService = journalTemplateLocalService;
355 }
356
357 private JournalTemplateLocalService _journalTemplateLocalService;
358 }