1
22
23 package com.liferay.portlet.journal.service;
24
25
26
42 public class JournalArticleLocalServiceWrapper
43 implements JournalArticleLocalService {
44 public JournalArticleLocalServiceWrapper(
45 JournalArticleLocalService journalArticleLocalService) {
46 _journalArticleLocalService = journalArticleLocalService;
47 }
48
49 public com.liferay.portlet.journal.model.JournalArticle addJournalArticle(
50 com.liferay.portlet.journal.model.JournalArticle journalArticle)
51 throws com.liferay.portal.SystemException {
52 return _journalArticleLocalService.addJournalArticle(journalArticle);
53 }
54
55 public com.liferay.portlet.journal.model.JournalArticle createJournalArticle(
56 long id) {
57 return _journalArticleLocalService.createJournalArticle(id);
58 }
59
60 public void deleteJournalArticle(long id)
61 throws com.liferay.portal.PortalException,
62 com.liferay.portal.SystemException {
63 _journalArticleLocalService.deleteJournalArticle(id);
64 }
65
66 public void deleteJournalArticle(
67 com.liferay.portlet.journal.model.JournalArticle journalArticle)
68 throws com.liferay.portal.SystemException {
69 _journalArticleLocalService.deleteJournalArticle(journalArticle);
70 }
71
72 public java.util.List<Object> dynamicQuery(
73 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
74 throws com.liferay.portal.SystemException {
75 return _journalArticleLocalService.dynamicQuery(dynamicQuery);
76 }
77
78 public java.util.List<Object> dynamicQuery(
79 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
80 int end) throws com.liferay.portal.SystemException {
81 return _journalArticleLocalService.dynamicQuery(dynamicQuery, start, end);
82 }
83
84 public com.liferay.portlet.journal.model.JournalArticle getJournalArticle(
85 long id)
86 throws com.liferay.portal.PortalException,
87 com.liferay.portal.SystemException {
88 return _journalArticleLocalService.getJournalArticle(id);
89 }
90
91 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getJournalArticles(
92 int start, int end) throws com.liferay.portal.SystemException {
93 return _journalArticleLocalService.getJournalArticles(start, end);
94 }
95
96 public int getJournalArticlesCount()
97 throws com.liferay.portal.SystemException {
98 return _journalArticleLocalService.getJournalArticlesCount();
99 }
100
101 public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
102 com.liferay.portlet.journal.model.JournalArticle journalArticle)
103 throws com.liferay.portal.SystemException {
104 return _journalArticleLocalService.updateJournalArticle(journalArticle);
105 }
106
107 public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
108 com.liferay.portlet.journal.model.JournalArticle journalArticle,
109 boolean merge) throws com.liferay.portal.SystemException {
110 return _journalArticleLocalService.updateJournalArticle(journalArticle,
111 merge);
112 }
113
114 public com.liferay.portlet.journal.model.JournalArticle addArticle(
115 long userId, long groupId, java.lang.String articleId,
116 boolean autoArticleId, java.lang.String title,
117 java.lang.String description, java.lang.String content,
118 java.lang.String type, java.lang.String structureId,
119 java.lang.String templateId, int displayDateMonth, int displayDateDay,
120 int displayDateYear, int displayDateHour, int displayDateMinute,
121 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
122 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
123 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
124 int reviewDateHour, int reviewDateMinute, boolean neverReview,
125 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
126 java.io.File smallFile, java.util.Map<String, byte[]> images,
127 java.lang.String articleURL,
128 com.liferay.portal.service.ServiceContext serviceContext)
129 throws com.liferay.portal.PortalException,
130 com.liferay.portal.SystemException {
131 return _journalArticleLocalService.addArticle(userId, groupId,
132 articleId, autoArticleId, title, description, content, type,
133 structureId, templateId, displayDateMonth, displayDateDay,
134 displayDateYear, displayDateHour, displayDateMinute,
135 expirationDateMonth, expirationDateDay, expirationDateYear,
136 expirationDateHour, expirationDateMinute, neverExpire,
137 reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
138 reviewDateMinute, neverReview, indexable, smallImage,
139 smallImageURL, smallFile, images, articleURL, serviceContext);
140 }
141
142 public com.liferay.portlet.journal.model.JournalArticle addArticle(
143 long userId, long groupId, java.lang.String articleId,
144 boolean autoArticleId, double version, java.lang.String title,
145 java.lang.String description, java.lang.String content,
146 java.lang.String type, java.lang.String structureId,
147 java.lang.String templateId, int displayDateMonth, int displayDateDay,
148 int displayDateYear, int displayDateHour, int displayDateMinute,
149 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
150 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
151 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
152 int reviewDateHour, int reviewDateMinute, boolean neverReview,
153 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
154 java.io.File smallFile, java.util.Map<String, byte[]> images,
155 java.lang.String articleURL,
156 com.liferay.portal.service.ServiceContext serviceContext)
157 throws com.liferay.portal.PortalException,
158 com.liferay.portal.SystemException {
159 return _journalArticleLocalService.addArticle(userId, groupId,
160 articleId, autoArticleId, version, title, description, content,
161 type, structureId, templateId, displayDateMonth, displayDateDay,
162 displayDateYear, displayDateHour, displayDateMinute,
163 expirationDateMonth, expirationDateDay, expirationDateYear,
164 expirationDateHour, expirationDateMinute, neverExpire,
165 reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
166 reviewDateMinute, neverReview, indexable, smallImage,
167 smallImageURL, smallFile, images, articleURL, serviceContext);
168 }
169
170 public com.liferay.portlet.journal.model.JournalArticle addArticle(
171 java.lang.String uuid, long userId, long groupId,
172 java.lang.String articleId, boolean autoArticleId, double version,
173 java.lang.String title, java.lang.String description,
174 java.lang.String content, java.lang.String type,
175 java.lang.String structureId, java.lang.String templateId,
176 int displayDateMonth, int displayDateDay, int displayDateYear,
177 int displayDateHour, int displayDateMinute, int expirationDateMonth,
178 int expirationDateDay, int expirationDateYear, int expirationDateHour,
179 int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
180 int reviewDateDay, int reviewDateYear, int reviewDateHour,
181 int reviewDateMinute, boolean neverReview, boolean indexable,
182 boolean smallImage, java.lang.String smallImageURL,
183 java.io.File smallFile, java.util.Map<String, byte[]> images,
184 java.lang.String articleURL,
185 com.liferay.portal.service.ServiceContext serviceContext)
186 throws com.liferay.portal.PortalException,
187 com.liferay.portal.SystemException {
188 return _journalArticleLocalService.addArticle(uuid, userId, groupId,
189 articleId, autoArticleId, version, title, description, content,
190 type, structureId, templateId, displayDateMonth, displayDateDay,
191 displayDateYear, displayDateHour, displayDateMinute,
192 expirationDateMonth, expirationDateDay, expirationDateYear,
193 expirationDateHour, expirationDateMinute, neverExpire,
194 reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
195 reviewDateMinute, neverReview, indexable, smallImage,
196 smallImageURL, smallFile, images, articleURL, serviceContext);
197 }
198
199 public void addArticleResources(long groupId, java.lang.String articleId,
200 boolean addCommunityPermissions, boolean addGuestPermissions)
201 throws com.liferay.portal.PortalException,
202 com.liferay.portal.SystemException {
203 _journalArticleLocalService.addArticleResources(groupId, articleId,
204 addCommunityPermissions, addGuestPermissions);
205 }
206
207 public void addArticleResources(
208 com.liferay.portlet.journal.model.JournalArticle article,
209 boolean addCommunityPermissions, boolean addGuestPermissions)
210 throws com.liferay.portal.PortalException,
211 com.liferay.portal.SystemException {
212 _journalArticleLocalService.addArticleResources(article,
213 addCommunityPermissions, addGuestPermissions);
214 }
215
216 public void addArticleResources(long groupId, java.lang.String articleId,
217 java.lang.String[] communityPermissions,
218 java.lang.String[] guestPermissions)
219 throws com.liferay.portal.PortalException,
220 com.liferay.portal.SystemException {
221 _journalArticleLocalService.addArticleResources(groupId, articleId,
222 communityPermissions, guestPermissions);
223 }
224
225 public void addArticleResources(
226 com.liferay.portlet.journal.model.JournalArticle article,
227 java.lang.String[] communityPermissions,
228 java.lang.String[] guestPermissions)
229 throws com.liferay.portal.PortalException,
230 com.liferay.portal.SystemException {
231 _journalArticleLocalService.addArticleResources(article,
232 communityPermissions, guestPermissions);
233 }
234
235 public com.liferay.portlet.journal.model.JournalArticle approveArticle(
236 long userId, long groupId, java.lang.String articleId, double version,
237 java.lang.String articleURL,
238 com.liferay.portal.service.ServiceContext serviceContext)
239 throws com.liferay.portal.PortalException,
240 com.liferay.portal.SystemException {
241 return _journalArticleLocalService.approveArticle(userId, groupId,
242 articleId, version, articleURL, serviceContext);
243 }
244
245 public com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
246 long groupId, java.lang.String articleId, double version)
247 throws com.liferay.portal.PortalException,
248 com.liferay.portal.SystemException {
249 return _journalArticleLocalService.checkArticleResourcePrimKey(groupId,
250 articleId, version);
251 }
252
253 public void checkArticles()
254 throws com.liferay.portal.PortalException,
255 com.liferay.portal.SystemException {
256 _journalArticleLocalService.checkArticles();
257 }
258
259 public void checkNewLine(long groupId, java.lang.String articleId,
260 double version)
261 throws com.liferay.portal.PortalException,
262 com.liferay.portal.SystemException {
263 _journalArticleLocalService.checkNewLine(groupId, articleId, version);
264 }
265
266 public void checkStructure(long groupId, java.lang.String articleId,
267 double version)
268 throws com.liferay.portal.PortalException,
269 com.liferay.portal.SystemException {
270 _journalArticleLocalService.checkStructure(groupId, articleId, version);
271 }
272
273 public com.liferay.portlet.journal.model.JournalArticle copyArticle(
274 long userId, long groupId, java.lang.String oldArticleId,
275 java.lang.String newArticleId, boolean autoArticleId, double version)
276 throws com.liferay.portal.PortalException,
277 com.liferay.portal.SystemException {
278 return _journalArticleLocalService.copyArticle(userId, groupId,
279 oldArticleId, newArticleId, autoArticleId, version);
280 }
281
282 public void deleteArticle(long groupId, java.lang.String articleId,
283 double version, java.lang.String articleURL,
284 com.liferay.portal.service.ServiceContext serviceContext)
285 throws com.liferay.portal.PortalException,
286 com.liferay.portal.SystemException {
287 _journalArticleLocalService.deleteArticle(groupId, articleId, version,
288 articleURL, serviceContext);
289 }
290
291 public void deleteArticle(
292 com.liferay.portlet.journal.model.JournalArticle article,
293 java.lang.String articleURL,
294 com.liferay.portal.service.ServiceContext serviceContext)
295 throws com.liferay.portal.PortalException,
296 com.liferay.portal.SystemException {
297 _journalArticleLocalService.deleteArticle(article, articleURL,
298 serviceContext);
299 }
300
301 public void deleteArticles(long groupId)
302 throws com.liferay.portal.PortalException,
303 com.liferay.portal.SystemException {
304 _journalArticleLocalService.deleteArticles(groupId);
305 }
306
307 public void expireArticle(long groupId, java.lang.String articleId,
308 double version, java.lang.String articleURL,
309 com.liferay.portal.service.ServiceContext serviceContext)
310 throws com.liferay.portal.PortalException,
311 com.liferay.portal.SystemException {
312 _journalArticleLocalService.expireArticle(groupId, articleId, version,
313 articleURL, serviceContext);
314 }
315
316 public void expireArticle(
317 com.liferay.portlet.journal.model.JournalArticle article,
318 java.lang.String articleURL,
319 com.liferay.portal.service.ServiceContext serviceContext)
320 throws com.liferay.portal.PortalException,
321 com.liferay.portal.SystemException {
322 _journalArticleLocalService.expireArticle(article, articleURL,
323 serviceContext);
324 }
325
326 public com.liferay.portlet.journal.model.JournalArticle getArticle(long id)
327 throws com.liferay.portal.PortalException,
328 com.liferay.portal.SystemException {
329 return _journalArticleLocalService.getArticle(id);
330 }
331
332 public com.liferay.portlet.journal.model.JournalArticle getArticle(
333 long groupId, java.lang.String articleId)
334 throws com.liferay.portal.PortalException,
335 com.liferay.portal.SystemException {
336 return _journalArticleLocalService.getArticle(groupId, articleId);
337 }
338
339 public com.liferay.portlet.journal.model.JournalArticle getArticle(
340 long groupId, java.lang.String articleId, double version)
341 throws com.liferay.portal.PortalException,
342 com.liferay.portal.SystemException {
343 return _journalArticleLocalService.getArticle(groupId, articleId,
344 version);
345 }
346
347 public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
348 long groupId, java.lang.String urlTitle)
349 throws com.liferay.portal.PortalException,
350 com.liferay.portal.SystemException {
351 return _journalArticleLocalService.getArticleByUrlTitle(groupId,
352 urlTitle);
353 }
354
355 public java.lang.String getArticleContent(long groupId,
356 java.lang.String articleId, java.lang.String viewMode,
357 java.lang.String languageId,
358 com.liferay.portal.theme.ThemeDisplay themeDisplay)
359 throws com.liferay.portal.PortalException,
360 com.liferay.portal.SystemException {
361 return _journalArticleLocalService.getArticleContent(groupId,
362 articleId, viewMode, languageId, themeDisplay);
363 }
364
365 public java.lang.String getArticleContent(long groupId,
366 java.lang.String articleId, java.lang.String viewMode,
367 java.lang.String templateId, java.lang.String languageId,
368 com.liferay.portal.theme.ThemeDisplay themeDisplay)
369 throws com.liferay.portal.PortalException,
370 com.liferay.portal.SystemException {
371 return _journalArticleLocalService.getArticleContent(groupId,
372 articleId, viewMode, templateId, languageId, themeDisplay);
373 }
374
375 public java.lang.String getArticleContent(long groupId,
376 java.lang.String articleId, double version, java.lang.String viewMode,
377 java.lang.String languageId,
378 com.liferay.portal.theme.ThemeDisplay themeDisplay)
379 throws com.liferay.portal.PortalException,
380 com.liferay.portal.SystemException {
381 return _journalArticleLocalService.getArticleContent(groupId,
382 articleId, version, viewMode, languageId, themeDisplay);
383 }
384
385 public java.lang.String getArticleContent(long groupId,
386 java.lang.String articleId, double version, java.lang.String viewMode,
387 java.lang.String templateId, java.lang.String languageId,
388 com.liferay.portal.theme.ThemeDisplay themeDisplay)
389 throws com.liferay.portal.PortalException,
390 com.liferay.portal.SystemException {
391 return _journalArticleLocalService.getArticleContent(groupId,
392 articleId, version, viewMode, templateId, languageId, themeDisplay);
393 }
394
395 public java.lang.String getArticleContent(
396 com.liferay.portlet.journal.model.JournalArticle article,
397 java.lang.String templateId, java.lang.String viewMode,
398 java.lang.String languageId,
399 com.liferay.portal.theme.ThemeDisplay themeDisplay)
400 throws com.liferay.portal.SystemException {
401 return _journalArticleLocalService.getArticleContent(article,
402 templateId, viewMode, languageId, themeDisplay);
403 }
404
405 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
406 long groupId, java.lang.String articleId, java.lang.String viewMode,
407 java.lang.String languageId,
408 com.liferay.portal.theme.ThemeDisplay themeDisplay)
409 throws com.liferay.portal.PortalException,
410 com.liferay.portal.SystemException {
411 return _journalArticleLocalService.getArticleDisplay(groupId,
412 articleId, viewMode, languageId, themeDisplay);
413 }
414
415 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
416 long groupId, java.lang.String articleId, java.lang.String viewMode,
417 java.lang.String languageId, int page, java.lang.String xmlRequest,
418 com.liferay.portal.theme.ThemeDisplay themeDisplay)
419 throws com.liferay.portal.PortalException,
420 com.liferay.portal.SystemException {
421 return _journalArticleLocalService.getArticleDisplay(groupId,
422 articleId, viewMode, languageId, page, xmlRequest, themeDisplay);
423 }
424
425 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
426 long groupId, java.lang.String articleId, java.lang.String templateId,
427 java.lang.String viewMode, java.lang.String languageId,
428 com.liferay.portal.theme.ThemeDisplay themeDisplay)
429 throws com.liferay.portal.PortalException,
430 com.liferay.portal.SystemException {
431 return _journalArticleLocalService.getArticleDisplay(groupId,
432 articleId, templateId, viewMode, languageId, themeDisplay);
433 }
434
435 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
436 long groupId, java.lang.String articleId, java.lang.String templateId,
437 java.lang.String viewMode, java.lang.String languageId, int page,
438 java.lang.String xmlRequest,
439 com.liferay.portal.theme.ThemeDisplay themeDisplay)
440 throws com.liferay.portal.PortalException,
441 com.liferay.portal.SystemException {
442 return _journalArticleLocalService.getArticleDisplay(groupId,
443 articleId, templateId, viewMode, languageId, page, xmlRequest,
444 themeDisplay);
445 }
446
447 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
448 long groupId, java.lang.String articleId, double version,
449 java.lang.String templateId, java.lang.String viewMode,
450 java.lang.String languageId,
451 com.liferay.portal.theme.ThemeDisplay themeDisplay)
452 throws com.liferay.portal.PortalException,
453 com.liferay.portal.SystemException {
454 return _journalArticleLocalService.getArticleDisplay(groupId,
455 articleId, version, templateId, viewMode, languageId, themeDisplay);
456 }
457
458 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
459 long groupId, java.lang.String articleId, double version,
460 java.lang.String templateId, java.lang.String viewMode,
461 java.lang.String languageId, int page, java.lang.String xmlRequest,
462 com.liferay.portal.theme.ThemeDisplay themeDisplay)
463 throws com.liferay.portal.PortalException,
464 com.liferay.portal.SystemException {
465 return _journalArticleLocalService.getArticleDisplay(groupId,
466 articleId, version, templateId, viewMode, languageId, page,
467 xmlRequest, themeDisplay);
468 }
469
470 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
471 com.liferay.portlet.journal.model.JournalArticle article,
472 java.lang.String templateId, java.lang.String viewMode,
473 java.lang.String languageId, int page, java.lang.String xmlRequest,
474 com.liferay.portal.theme.ThemeDisplay themeDisplay)
475 throws com.liferay.portal.SystemException {
476 return _journalArticleLocalService.getArticleDisplay(article,
477 templateId, viewMode, languageId, page, xmlRequest, themeDisplay);
478 }
479
480 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles()
481 throws com.liferay.portal.SystemException {
482 return _journalArticleLocalService.getArticles();
483 }
484
485 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
486 long groupId) throws com.liferay.portal.SystemException {
487 return _journalArticleLocalService.getArticles(groupId);
488 }
489
490 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
491 long groupId, int start, int end)
492 throws com.liferay.portal.SystemException {
493 return _journalArticleLocalService.getArticles(groupId, start, end);
494 }
495
496 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
497 long groupId, int start, int end,
498 com.liferay.portal.kernel.util.OrderByComparator obc)
499 throws com.liferay.portal.SystemException {
500 return _journalArticleLocalService.getArticles(groupId, start, end, obc);
501 }
502
503 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
504 long groupId, java.lang.String articleId)
505 throws com.liferay.portal.SystemException {
506 return _journalArticleLocalService.getArticles(groupId, articleId);
507 }
508
509 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesBySmallImageId(
510 long smallImageId) throws com.liferay.portal.SystemException {
511 return _journalArticleLocalService.getArticlesBySmallImageId(smallImageId);
512 }
513
514 public int getArticlesCount(long groupId)
515 throws com.liferay.portal.SystemException {
516 return _journalArticleLocalService.getArticlesCount(groupId);
517 }
518
519 public com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
520 long groupId, java.lang.String articleId)
521 throws com.liferay.portal.PortalException,
522 com.liferay.portal.SystemException {
523 return _journalArticleLocalService.getDisplayArticle(groupId, articleId);
524 }
525
526 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
527 long resourcePrimKey)
528 throws com.liferay.portal.PortalException,
529 com.liferay.portal.SystemException {
530 return _journalArticleLocalService.getLatestArticle(resourcePrimKey);
531 }
532
533 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
534 long resourcePrimKey, java.lang.Boolean approved)
535 throws com.liferay.portal.PortalException,
536 com.liferay.portal.SystemException {
537 return _journalArticleLocalService.getLatestArticle(resourcePrimKey,
538 approved);
539 }
540
541 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
542 long groupId, java.lang.String articleId)
543 throws com.liferay.portal.PortalException,
544 com.liferay.portal.SystemException {
545 return _journalArticleLocalService.getLatestArticle(groupId, articleId);
546 }
547
548 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
549 long groupId, java.lang.String articleId, java.lang.Boolean approved)
550 throws com.liferay.portal.PortalException,
551 com.liferay.portal.SystemException {
552 return _journalArticleLocalService.getLatestArticle(groupId, articleId,
553 approved);
554 }
555
556 public com.liferay.portlet.journal.model.JournalArticle getLatestArticleByUrlTitle(
557 long groupId, java.lang.String urlTitle, java.lang.Boolean approved)
558 throws com.liferay.portal.PortalException,
559 com.liferay.portal.SystemException {
560 return _journalArticleLocalService.getLatestArticleByUrlTitle(groupId,
561 urlTitle, approved);
562 }
563
564 public double getLatestVersion(long groupId, java.lang.String articleId)
565 throws com.liferay.portal.PortalException,
566 com.liferay.portal.SystemException {
567 return _journalArticleLocalService.getLatestVersion(groupId, articleId);
568 }
569
570 public double getLatestVersion(long groupId, java.lang.String articleId,
571 java.lang.Boolean approved)
572 throws com.liferay.portal.PortalException,
573 com.liferay.portal.SystemException {
574 return _journalArticleLocalService.getLatestVersion(groupId, articleId,
575 approved);
576 }
577
578 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
579 long groupId, java.lang.String structureId)
580 throws com.liferay.portal.SystemException {
581 return _journalArticleLocalService.getStructureArticles(groupId,
582 structureId);
583 }
584
585 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
586 long groupId, java.lang.String structureId, int start, int end,
587 com.liferay.portal.kernel.util.OrderByComparator obc)
588 throws com.liferay.portal.SystemException {
589 return _journalArticleLocalService.getStructureArticles(groupId,
590 structureId, start, end, obc);
591 }
592
593 public int getStructureArticlesCount(long groupId,
594 java.lang.String structureId) throws com.liferay.portal.SystemException {
595 return _journalArticleLocalService.getStructureArticlesCount(groupId,
596 structureId);
597 }
598
599 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
600 long groupId, java.lang.String templateId)
601 throws com.liferay.portal.SystemException {
602 return _journalArticleLocalService.getTemplateArticles(groupId,
603 templateId);
604 }
605
606 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
607 long groupId, java.lang.String templateId, int start, int end,
608 com.liferay.portal.kernel.util.OrderByComparator obc)
609 throws com.liferay.portal.SystemException {
610 return _journalArticleLocalService.getTemplateArticles(groupId,
611 templateId, start, end, obc);
612 }
613
614 public int getTemplateArticlesCount(long groupId,
615 java.lang.String templateId) throws com.liferay.portal.SystemException {
616 return _journalArticleLocalService.getTemplateArticlesCount(groupId,
617 templateId);
618 }
619
620 public boolean hasArticle(long groupId, java.lang.String articleId)
621 throws com.liferay.portal.SystemException {
622 return _journalArticleLocalService.hasArticle(groupId, articleId);
623 }
624
625 public boolean isLatestVersion(long groupId, java.lang.String articleId,
626 double version)
627 throws com.liferay.portal.PortalException,
628 com.liferay.portal.SystemException {
629 return _journalArticleLocalService.isLatestVersion(groupId, articleId,
630 version);
631 }
632
633 public boolean isLatestVersion(long groupId, java.lang.String articleId,
634 double version, java.lang.Boolean active)
635 throws com.liferay.portal.PortalException,
636 com.liferay.portal.SystemException {
637 return _journalArticleLocalService.isLatestVersion(groupId, articleId,
638 version, active);
639 }
640
641 public void reIndex(long resourcePrimKey)
642 throws com.liferay.portal.SystemException {
643 _journalArticleLocalService.reIndex(resourcePrimKey);
644 }
645
646 public void reIndex(
647 com.liferay.portlet.journal.model.JournalArticle article)
648 throws com.liferay.portal.SystemException {
649 _journalArticleLocalService.reIndex(article);
650 }
651
652 public void reIndex(java.lang.String[] ids)
653 throws com.liferay.portal.SystemException {
654 _journalArticleLocalService.reIndex(ids);
655 }
656
657 public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
658 long groupId, java.lang.String articleId, double version,
659 java.lang.String languageId)
660 throws com.liferay.portal.PortalException,
661 com.liferay.portal.SystemException {
662 return _journalArticleLocalService.removeArticleLocale(groupId,
663 articleId, version, languageId);
664 }
665
666 public com.liferay.portal.kernel.search.Hits search(long companyId,
667 long groupId, long userId, java.lang.String keywords, int start, int end)
668 throws com.liferay.portal.SystemException {
669 return _journalArticleLocalService.search(companyId, groupId, userId,
670 keywords, start, end);
671 }
672
673 public com.liferay.portal.kernel.search.Hits search(long companyId,
674 long groupId, long userId, java.lang.String keywords,
675 java.lang.String type, int start, int end)
676 throws com.liferay.portal.SystemException {
677 return _journalArticleLocalService.search(companyId, groupId, userId,
678 keywords, type, start, end);
679 }
680
681 public com.liferay.portal.kernel.search.Hits search(long companyId,
682 long groupId, long userId, java.lang.String keywords,
683 java.lang.String type, com.liferay.portal.kernel.search.Sort sort,
684 int start, int end) throws com.liferay.portal.SystemException {
685 return _journalArticleLocalService.search(companyId, groupId, userId,
686 keywords, type, sort, start, end);
687 }
688
689 public com.liferay.portal.kernel.search.Hits search(long companyId,
690 long groupId, long userId, java.lang.String keywords,
691 java.lang.String type, com.liferay.portal.kernel.search.Sort[] sorts,
692 int start, int end) throws com.liferay.portal.SystemException {
693 return _journalArticleLocalService.search(companyId, groupId, userId,
694 keywords, type, sorts, start, end);
695 }
696
697 public com.liferay.portal.kernel.search.Hits search(long companyId,
698 long groupId, long userId, java.lang.String keywords,
699 java.lang.String type,
700 java.util.List<com.liferay.portal.kernel.search.BooleanClause> booleanClauses,
701 com.liferay.portal.kernel.search.Sort[] sorts, int start, int end)
702 throws com.liferay.portal.SystemException {
703 return _journalArticleLocalService.search(companyId, groupId, userId,
704 keywords, type, booleanClauses, sorts, start, end);
705 }
706
707 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
708 long companyId, long groupId, java.lang.String keywords,
709 java.lang.Double version, java.lang.String type,
710 java.lang.String structureId, java.lang.String templateId,
711 java.util.Date displayDateGT, java.util.Date displayDateLT,
712 java.lang.Boolean approved, java.lang.Boolean expired,
713 java.util.Date reviewDate, int start, int end,
714 com.liferay.portal.kernel.util.OrderByComparator obc)
715 throws com.liferay.portal.SystemException {
716 return _journalArticleLocalService.search(companyId, groupId, keywords,
717 version, type, structureId, templateId, displayDateGT,
718 displayDateLT, approved, expired, reviewDate, start, end, obc);
719 }
720
721 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
722 long companyId, long groupId, java.lang.String articleId,
723 java.lang.Double version, java.lang.String title,
724 java.lang.String description, java.lang.String content,
725 java.lang.String type, java.lang.String structureId,
726 java.lang.String templateId, java.util.Date displayDateGT,
727 java.util.Date displayDateLT, java.lang.Boolean approved,
728 java.lang.Boolean expired, java.util.Date reviewDate,
729 boolean andOperator, int start, int end,
730 com.liferay.portal.kernel.util.OrderByComparator obc)
731 throws com.liferay.portal.SystemException {
732 return _journalArticleLocalService.search(companyId, groupId,
733 articleId, version, title, description, content, type, structureId,
734 templateId, displayDateGT, displayDateLT, approved, expired,
735 reviewDate, andOperator, start, end, obc);
736 }
737
738 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
739 long companyId, long groupId, java.lang.String articleId,
740 java.lang.Double version, java.lang.String title,
741 java.lang.String description, java.lang.String content,
742 java.lang.String type, java.lang.String[] structureIds,
743 java.lang.String[] templateIds, java.util.Date displayDateGT,
744 java.util.Date displayDateLT, java.lang.Boolean approved,
745 java.lang.Boolean expired, java.util.Date reviewDate,
746 boolean andOperator, int start, int end,
747 com.liferay.portal.kernel.util.OrderByComparator obc)
748 throws com.liferay.portal.SystemException {
749 return _journalArticleLocalService.search(companyId, groupId,
750 articleId, version, title, description, content, type,
751 structureIds, templateIds, displayDateGT, displayDateLT, approved,
752 expired, reviewDate, andOperator, start, end, obc);
753 }
754
755 public int searchCount(long companyId, long groupId,
756 java.lang.String keywords, java.lang.Double version,
757 java.lang.String type, java.lang.String structureId,
758 java.lang.String templateId, java.util.Date displayDateGT,
759 java.util.Date displayDateLT, java.lang.Boolean approved,
760 java.lang.Boolean expired, java.util.Date reviewDate)
761 throws com.liferay.portal.SystemException {
762 return _journalArticleLocalService.searchCount(companyId, groupId,
763 keywords, version, type, structureId, templateId, displayDateGT,
764 displayDateLT, approved, expired, reviewDate);
765 }
766
767 public int searchCount(long companyId, long groupId,
768 java.lang.String articleId, java.lang.Double version,
769 java.lang.String title, java.lang.String description,
770 java.lang.String content, java.lang.String type,
771 java.lang.String structureId, java.lang.String templateId,
772 java.util.Date displayDateGT, java.util.Date displayDateLT,
773 java.lang.Boolean approved, java.lang.Boolean expired,
774 java.util.Date reviewDate, boolean andOperator)
775 throws com.liferay.portal.SystemException {
776 return _journalArticleLocalService.searchCount(companyId, groupId,
777 articleId, version, title, description, content, type, structureId,
778 templateId, displayDateGT, displayDateLT, approved, expired,
779 reviewDate, andOperator);
780 }
781
782 public int searchCount(long companyId, long groupId,
783 java.lang.String articleId, java.lang.Double version,
784 java.lang.String title, java.lang.String description,
785 java.lang.String content, java.lang.String type,
786 java.lang.String[] structureIds, java.lang.String[] templateIds,
787 java.util.Date displayDateGT, java.util.Date displayDateLT,
788 java.lang.Boolean approved, java.lang.Boolean expired,
789 java.util.Date reviewDate, boolean andOperator)
790 throws com.liferay.portal.SystemException {
791 return _journalArticleLocalService.searchCount(companyId, groupId,
792 articleId, version, title, description, content, type,
793 structureIds, templateIds, displayDateGT, displayDateLT, approved,
794 expired, reviewDate, andOperator);
795 }
796
797 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
798 long userId, long groupId, java.lang.String articleId, double version,
799 boolean incrementVersion, java.lang.String content)
800 throws com.liferay.portal.PortalException,
801 com.liferay.portal.SystemException {
802 return _journalArticleLocalService.updateArticle(userId, groupId,
803 articleId, version, incrementVersion, content);
804 }
805
806 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
807 long userId, long groupId, java.lang.String articleId, double version,
808 boolean incrementVersion, java.lang.String title,
809 java.lang.String description, java.lang.String content,
810 java.lang.String type, java.lang.String structureId,
811 java.lang.String templateId, int displayDateMonth, int displayDateDay,
812 int displayDateYear, int displayDateHour, int displayDateMinute,
813 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
814 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
815 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
816 int reviewDateHour, int reviewDateMinute, boolean neverReview,
817 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
818 java.io.File smallFile, java.util.Map<String, byte[]> images,
819 java.lang.String articleURL,
820 com.liferay.portal.service.ServiceContext serviceContext)
821 throws com.liferay.portal.PortalException,
822 com.liferay.portal.SystemException {
823 return _journalArticleLocalService.updateArticle(userId, groupId,
824 articleId, version, incrementVersion, title, description, content,
825 type, structureId, templateId, displayDateMonth, displayDateDay,
826 displayDateYear, displayDateHour, displayDateMinute,
827 expirationDateMonth, expirationDateDay, expirationDateYear,
828 expirationDateHour, expirationDateMinute, neverExpire,
829 reviewDateMonth, reviewDateDay, reviewDateYear, reviewDateHour,
830 reviewDateMinute, neverReview, indexable, smallImage,
831 smallImageURL, smallFile, images, articleURL, serviceContext);
832 }
833
834 public com.liferay.portlet.journal.model.JournalArticle updateContent(
835 long groupId, java.lang.String articleId, double version,
836 java.lang.String content)
837 throws com.liferay.portal.PortalException,
838 com.liferay.portal.SystemException {
839 return _journalArticleLocalService.updateContent(groupId, articleId,
840 version, content);
841 }
842
843 public void updateTagsAsset(long userId,
844 com.liferay.portlet.journal.model.JournalArticle article,
845 java.lang.String[] tagsCategories, java.lang.String[] tagsEntries)
846 throws com.liferay.portal.PortalException,
847 com.liferay.portal.SystemException {
848 _journalArticleLocalService.updateTagsAsset(userId, article,
849 tagsCategories, tagsEntries);
850 }
851
852 public JournalArticleLocalService getWrappedJournalArticleLocalService() {
853 return _journalArticleLocalService;
854 }
855
856 private JournalArticleLocalService _journalArticleLocalService;
857 }