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