001
014
015 package com.liferay.portlet.journal.service;
016
017 import com.liferay.portal.kernel.annotation.Isolation;
018 import com.liferay.portal.kernel.annotation.Propagation;
019 import com.liferay.portal.kernel.annotation.Transactional;
020 import com.liferay.portal.kernel.exception.PortalException;
021 import com.liferay.portal.kernel.exception.SystemException;
022
023
040 @Transactional(isolation = Isolation.PORTAL, rollbackFor = {
041 PortalException.class, SystemException.class})
042 public interface JournalArticleLocalService {
043
050 public com.liferay.portlet.journal.model.JournalArticle addJournalArticle(
051 com.liferay.portlet.journal.model.JournalArticle journalArticle)
052 throws com.liferay.portal.kernel.exception.SystemException;
053
054
060 public com.liferay.portlet.journal.model.JournalArticle createJournalArticle(
061 long id);
062
063
070 public void deleteJournalArticle(long id)
071 throws com.liferay.portal.kernel.exception.PortalException,
072 com.liferay.portal.kernel.exception.SystemException;
073
074
080 public void deleteJournalArticle(
081 com.liferay.portlet.journal.model.JournalArticle journalArticle)
082 throws com.liferay.portal.kernel.exception.SystemException;
083
084
091 @SuppressWarnings("rawtypes")
092 public java.util.List dynamicQuery(
093 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
094 throws com.liferay.portal.kernel.exception.SystemException;
095
096
109 @SuppressWarnings("rawtypes")
110 public java.util.List dynamicQuery(
111 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
112 int end) throws com.liferay.portal.kernel.exception.SystemException;
113
114
128 @SuppressWarnings("rawtypes")
129 public java.util.List dynamicQuery(
130 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
131 int end,
132 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
133 throws com.liferay.portal.kernel.exception.SystemException;
134
135
142 public long dynamicQueryCount(
143 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
144 throws com.liferay.portal.kernel.exception.SystemException;
145
146
154 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
155 public com.liferay.portlet.journal.model.JournalArticle getJournalArticle(
156 long id)
157 throws com.liferay.portal.kernel.exception.PortalException,
158 com.liferay.portal.kernel.exception.SystemException;
159
160
169 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
170 public com.liferay.portlet.journal.model.JournalArticle getJournalArticleByUuidAndGroupId(
171 java.lang.String uuid, long groupId)
172 throws com.liferay.portal.kernel.exception.PortalException,
173 com.liferay.portal.kernel.exception.SystemException;
174
175
187 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
188 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getJournalArticles(
189 int start, int end)
190 throws com.liferay.portal.kernel.exception.SystemException;
191
192
198 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
199 public int getJournalArticlesCount()
200 throws com.liferay.portal.kernel.exception.SystemException;
201
202
209 public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
210 com.liferay.portlet.journal.model.JournalArticle journalArticle)
211 throws com.liferay.portal.kernel.exception.SystemException;
212
213
221 public com.liferay.portlet.journal.model.JournalArticle updateJournalArticle(
222 com.liferay.portlet.journal.model.JournalArticle journalArticle,
223 boolean merge)
224 throws com.liferay.portal.kernel.exception.SystemException;
225
226 public com.liferay.portlet.journal.model.JournalArticle addArticle(
227 long userId, long groupId, java.lang.String articleId,
228 boolean autoArticleId, double version, java.lang.String title,
229 java.lang.String description, java.lang.String content,
230 java.lang.String type, java.lang.String structureId,
231 java.lang.String templateId, int displayDateMonth, int displayDateDay,
232 int displayDateYear, int displayDateHour, int displayDateMinute,
233 int expirationDateMonth, int expirationDateDay, int expirationDateYear,
234 int expirationDateHour, int expirationDateMinute, boolean neverExpire,
235 int reviewDateMonth, int reviewDateDay, int reviewDateYear,
236 int reviewDateHour, int reviewDateMinute, boolean neverReview,
237 boolean indexable, boolean smallImage, java.lang.String smallImageURL,
238 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
239 java.lang.String articleURL,
240 com.liferay.portal.service.ServiceContext serviceContext)
241 throws com.liferay.portal.kernel.exception.PortalException,
242 com.liferay.portal.kernel.exception.SystemException;
243
244 public void addArticleResources(
245 com.liferay.portlet.journal.model.JournalArticle article,
246 boolean addCommunityPermissions, boolean addGuestPermissions)
247 throws com.liferay.portal.kernel.exception.PortalException,
248 com.liferay.portal.kernel.exception.SystemException;
249
250 public void addArticleResources(
251 com.liferay.portlet.journal.model.JournalArticle article,
252 java.lang.String[] communityPermissions,
253 java.lang.String[] guestPermissions)
254 throws com.liferay.portal.kernel.exception.PortalException,
255 com.liferay.portal.kernel.exception.SystemException;
256
257 public void addArticleResources(long groupId, java.lang.String articleId,
258 boolean addCommunityPermissions, boolean addGuestPermissions)
259 throws com.liferay.portal.kernel.exception.PortalException,
260 com.liferay.portal.kernel.exception.SystemException;
261
262 public void addArticleResources(long groupId, java.lang.String articleId,
263 java.lang.String[] communityPermissions,
264 java.lang.String[] guestPermissions)
265 throws com.liferay.portal.kernel.exception.PortalException,
266 com.liferay.portal.kernel.exception.SystemException;
267
268 public com.liferay.portlet.journal.model.JournalArticle checkArticleResourcePrimKey(
269 long groupId, java.lang.String articleId, double version)
270 throws com.liferay.portal.kernel.exception.PortalException,
271 com.liferay.portal.kernel.exception.SystemException;
272
273 public void checkArticles()
274 throws com.liferay.portal.kernel.exception.PortalException,
275 com.liferay.portal.kernel.exception.SystemException;
276
277 public void checkNewLine(long groupId, java.lang.String articleId,
278 double version)
279 throws com.liferay.portal.kernel.exception.PortalException,
280 com.liferay.portal.kernel.exception.SystemException;
281
282 public void checkStructure(long groupId, java.lang.String articleId,
283 double version)
284 throws com.liferay.portal.kernel.exception.PortalException,
285 com.liferay.portal.kernel.exception.SystemException;
286
287 public com.liferay.portlet.journal.model.JournalArticle copyArticle(
288 long userId, long groupId, java.lang.String oldArticleId,
289 java.lang.String newArticleId, boolean autoArticleId, double version)
290 throws com.liferay.portal.kernel.exception.PortalException,
291 com.liferay.portal.kernel.exception.SystemException;
292
293 public void deleteArticle(
294 com.liferay.portlet.journal.model.JournalArticle article,
295 java.lang.String articleURL,
296 com.liferay.portal.service.ServiceContext serviceContext)
297 throws com.liferay.portal.kernel.exception.PortalException,
298 com.liferay.portal.kernel.exception.SystemException;
299
300 public void deleteArticle(long groupId, java.lang.String articleId,
301 double version, java.lang.String articleURL,
302 com.liferay.portal.service.ServiceContext serviceContext)
303 throws com.liferay.portal.kernel.exception.PortalException,
304 com.liferay.portal.kernel.exception.SystemException;
305
306 public void deleteArticle(long groupId, java.lang.String articleId,
307 com.liferay.portal.service.ServiceContext serviceContext)
308 throws com.liferay.portal.kernel.exception.PortalException,
309 com.liferay.portal.kernel.exception.SystemException;
310
311 public void deleteArticles(long groupId)
312 throws com.liferay.portal.kernel.exception.PortalException,
313 com.liferay.portal.kernel.exception.SystemException;
314
315 public com.liferay.portlet.journal.model.JournalArticle expireArticle(
316 long userId, long groupId, java.lang.String articleId, double version,
317 java.lang.String articleURL,
318 com.liferay.portal.service.ServiceContext serviceContext)
319 throws com.liferay.portal.kernel.exception.PortalException,
320 com.liferay.portal.kernel.exception.SystemException;
321
322 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
323 public com.liferay.portlet.journal.model.JournalArticle getArticle(long id)
324 throws com.liferay.portal.kernel.exception.PortalException,
325 com.liferay.portal.kernel.exception.SystemException;
326
327 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
328 public com.liferay.portlet.journal.model.JournalArticle getArticle(
329 long groupId, java.lang.String articleId)
330 throws com.liferay.portal.kernel.exception.PortalException,
331 com.liferay.portal.kernel.exception.SystemException;
332
333 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
334 public com.liferay.portlet.journal.model.JournalArticle getArticle(
335 long groupId, java.lang.String articleId, double version)
336 throws com.liferay.portal.kernel.exception.PortalException,
337 com.liferay.portal.kernel.exception.SystemException;
338
339 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
340 public com.liferay.portlet.journal.model.JournalArticle getArticleByUrlTitle(
341 long groupId, java.lang.String urlTitle)
342 throws com.liferay.portal.kernel.exception.PortalException,
343 com.liferay.portal.kernel.exception.SystemException;
344
345 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
346 public java.lang.String getArticleContent(
347 com.liferay.portlet.journal.model.JournalArticle article,
348 java.lang.String templateId, java.lang.String viewMode,
349 java.lang.String languageId,
350 com.liferay.portal.theme.ThemeDisplay themeDisplay)
351 throws com.liferay.portal.kernel.exception.PortalException,
352 com.liferay.portal.kernel.exception.SystemException;
353
354 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
355 public java.lang.String getArticleContent(long groupId,
356 java.lang.String articleId, double version, java.lang.String viewMode,
357 java.lang.String templateId, java.lang.String languageId,
358 com.liferay.portal.theme.ThemeDisplay themeDisplay)
359 throws com.liferay.portal.kernel.exception.PortalException,
360 com.liferay.portal.kernel.exception.SystemException;
361
362 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
363 public java.lang.String getArticleContent(long groupId,
364 java.lang.String articleId, double version, java.lang.String viewMode,
365 java.lang.String languageId,
366 com.liferay.portal.theme.ThemeDisplay themeDisplay)
367 throws com.liferay.portal.kernel.exception.PortalException,
368 com.liferay.portal.kernel.exception.SystemException;
369
370 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
371 public java.lang.String getArticleContent(long groupId,
372 java.lang.String articleId, java.lang.String viewMode,
373 java.lang.String templateId, java.lang.String languageId,
374 com.liferay.portal.theme.ThemeDisplay themeDisplay)
375 throws com.liferay.portal.kernel.exception.PortalException,
376 com.liferay.portal.kernel.exception.SystemException;
377
378 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
379 public java.lang.String getArticleContent(long groupId,
380 java.lang.String articleId, java.lang.String viewMode,
381 java.lang.String languageId,
382 com.liferay.portal.theme.ThemeDisplay themeDisplay)
383 throws com.liferay.portal.kernel.exception.PortalException,
384 com.liferay.portal.kernel.exception.SystemException;
385
386 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
387 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
388 com.liferay.portlet.journal.model.JournalArticle article,
389 java.lang.String templateId, java.lang.String viewMode,
390 java.lang.String languageId, int page, java.lang.String xmlRequest,
391 com.liferay.portal.theme.ThemeDisplay themeDisplay)
392 throws com.liferay.portal.kernel.exception.PortalException,
393 com.liferay.portal.kernel.exception.SystemException;
394
395 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
396 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
397 long groupId, java.lang.String articleId, double version,
398 java.lang.String templateId, java.lang.String viewMode,
399 java.lang.String languageId, int page, java.lang.String xmlRequest,
400 com.liferay.portal.theme.ThemeDisplay themeDisplay)
401 throws com.liferay.portal.kernel.exception.PortalException,
402 com.liferay.portal.kernel.exception.SystemException;
403
404 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
405 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
406 long groupId, java.lang.String articleId, double version,
407 java.lang.String templateId, java.lang.String viewMode,
408 java.lang.String languageId,
409 com.liferay.portal.theme.ThemeDisplay themeDisplay)
410 throws com.liferay.portal.kernel.exception.PortalException,
411 com.liferay.portal.kernel.exception.SystemException;
412
413 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
414 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
415 long groupId, java.lang.String articleId, java.lang.String viewMode,
416 java.lang.String languageId, int page, java.lang.String xmlRequest,
417 com.liferay.portal.theme.ThemeDisplay themeDisplay)
418 throws com.liferay.portal.kernel.exception.PortalException,
419 com.liferay.portal.kernel.exception.SystemException;
420
421 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
422 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
423 long groupId, java.lang.String articleId, java.lang.String templateId,
424 java.lang.String viewMode, java.lang.String languageId, int page,
425 java.lang.String xmlRequest,
426 com.liferay.portal.theme.ThemeDisplay themeDisplay)
427 throws com.liferay.portal.kernel.exception.PortalException,
428 com.liferay.portal.kernel.exception.SystemException;
429
430 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
431 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
432 long groupId, java.lang.String articleId, java.lang.String templateId,
433 java.lang.String viewMode, java.lang.String languageId,
434 com.liferay.portal.theme.ThemeDisplay themeDisplay)
435 throws com.liferay.portal.kernel.exception.PortalException,
436 com.liferay.portal.kernel.exception.SystemException;
437
438 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
439 public com.liferay.portlet.journal.model.JournalArticleDisplay getArticleDisplay(
440 long groupId, java.lang.String articleId, java.lang.String viewMode,
441 java.lang.String languageId,
442 com.liferay.portal.theme.ThemeDisplay themeDisplay)
443 throws com.liferay.portal.kernel.exception.PortalException,
444 com.liferay.portal.kernel.exception.SystemException;
445
446 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
447 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles()
448 throws com.liferay.portal.kernel.exception.SystemException;
449
450 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
451 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
452 long groupId)
453 throws com.liferay.portal.kernel.exception.SystemException;
454
455 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
456 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
457 long groupId, int start, int end)
458 throws com.liferay.portal.kernel.exception.SystemException;
459
460 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
461 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
462 long groupId, int start, int end,
463 com.liferay.portal.kernel.util.OrderByComparator obc)
464 throws com.liferay.portal.kernel.exception.SystemException;
465
466 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
467 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticles(
468 long groupId, java.lang.String articleId)
469 throws com.liferay.portal.kernel.exception.SystemException;
470
471 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
472 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getArticlesBySmallImageId(
473 long smallImageId)
474 throws com.liferay.portal.kernel.exception.SystemException;
475
476 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
477 public int getArticlesCount(long groupId)
478 throws com.liferay.portal.kernel.exception.SystemException;
479
480 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
481 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getCompanyArticles(
482 long companyId, int status, int start, int end)
483 throws com.liferay.portal.kernel.exception.SystemException;
484
485 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
486 public int getCompanyArticlesCount(long companyId, int status)
487 throws com.liferay.portal.kernel.exception.SystemException;
488
489 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
490 public com.liferay.portlet.journal.model.JournalArticle getDisplayArticle(
491 long groupId, java.lang.String articleId)
492 throws com.liferay.portal.kernel.exception.PortalException,
493 com.liferay.portal.kernel.exception.SystemException;
494
495 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
496 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
497 long resourcePrimKey)
498 throws com.liferay.portal.kernel.exception.PortalException,
499 com.liferay.portal.kernel.exception.SystemException;
500
501 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
502 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
503 long resourcePrimKey, int status)
504 throws com.liferay.portal.kernel.exception.PortalException,
505 com.liferay.portal.kernel.exception.SystemException;
506
507 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
508 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
509 long resourcePrimKey, int status, boolean preferApproved)
510 throws com.liferay.portal.kernel.exception.PortalException,
511 com.liferay.portal.kernel.exception.SystemException;
512
513 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
514 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
515 long groupId, java.lang.String articleId)
516 throws com.liferay.portal.kernel.exception.PortalException,
517 com.liferay.portal.kernel.exception.SystemException;
518
519 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
520 public com.liferay.portlet.journal.model.JournalArticle getLatestArticle(
521 long groupId, java.lang.String articleId, int status)
522 throws com.liferay.portal.kernel.exception.PortalException,
523 com.liferay.portal.kernel.exception.SystemException;
524
525 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
526 public com.liferay.portlet.journal.model.JournalArticle getLatestArticleByUrlTitle(
527 long groupId, java.lang.String urlTitle, int status)
528 throws com.liferay.portal.kernel.exception.PortalException,
529 com.liferay.portal.kernel.exception.SystemException;
530
531 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
532 public double getLatestVersion(long groupId, java.lang.String articleId)
533 throws com.liferay.portal.kernel.exception.PortalException,
534 com.liferay.portal.kernel.exception.SystemException;
535
536 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
537 public double getLatestVersion(long groupId, java.lang.String articleId,
538 int status)
539 throws com.liferay.portal.kernel.exception.PortalException,
540 com.liferay.portal.kernel.exception.SystemException;
541
542 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
543 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
544 long groupId, java.lang.String structureId)
545 throws com.liferay.portal.kernel.exception.SystemException;
546
547 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
548 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getStructureArticles(
549 long groupId, java.lang.String structureId, int start, int end,
550 com.liferay.portal.kernel.util.OrderByComparator obc)
551 throws com.liferay.portal.kernel.exception.SystemException;
552
553 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
554 public int getStructureArticlesCount(long groupId,
555 java.lang.String structureId)
556 throws com.liferay.portal.kernel.exception.SystemException;
557
558 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
559 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
560 long groupId, java.lang.String templateId)
561 throws com.liferay.portal.kernel.exception.SystemException;
562
563 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
564 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> getTemplateArticles(
565 long groupId, java.lang.String templateId, int start, int end,
566 com.liferay.portal.kernel.util.OrderByComparator obc)
567 throws com.liferay.portal.kernel.exception.SystemException;
568
569 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
570 public int getTemplateArticlesCount(long groupId,
571 java.lang.String templateId)
572 throws com.liferay.portal.kernel.exception.SystemException;
573
574 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
575 public boolean hasArticle(long groupId, java.lang.String articleId)
576 throws com.liferay.portal.kernel.exception.SystemException;
577
578 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
579 public boolean isLatestVersion(long groupId, java.lang.String articleId,
580 double version)
581 throws com.liferay.portal.kernel.exception.PortalException,
582 com.liferay.portal.kernel.exception.SystemException;
583
584 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
585 public boolean isLatestVersion(long groupId, java.lang.String articleId,
586 double version, int status)
587 throws com.liferay.portal.kernel.exception.PortalException,
588 com.liferay.portal.kernel.exception.SystemException;
589
590 public com.liferay.portlet.journal.model.JournalArticle removeArticleLocale(
591 long groupId, java.lang.String articleId, double version,
592 java.lang.String languageId)
593 throws com.liferay.portal.kernel.exception.PortalException,
594 com.liferay.portal.kernel.exception.SystemException;
595
596 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
597 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
598 long companyId, long groupId, java.lang.String keywords,
599 java.lang.Double version, java.lang.String type,
600 java.lang.String structureId, java.lang.String templateId,
601 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
602 java.util.Date reviewDate, int start, int end,
603 com.liferay.portal.kernel.util.OrderByComparator obc)
604 throws com.liferay.portal.kernel.exception.SystemException;
605
606 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
607 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
608 long companyId, long groupId, java.lang.String articleId,
609 java.lang.Double version, java.lang.String title,
610 java.lang.String description, java.lang.String content,
611 java.lang.String type, java.lang.String structureId,
612 java.lang.String templateId, java.util.Date displayDateGT,
613 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
614 boolean andOperator, int start, int end,
615 com.liferay.portal.kernel.util.OrderByComparator obc)
616 throws com.liferay.portal.kernel.exception.SystemException;
617
618 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
619 public java.util.List<com.liferay.portlet.journal.model.JournalArticle> search(
620 long companyId, long groupId, java.lang.String articleId,
621 java.lang.Double version, java.lang.String title,
622 java.lang.String description, java.lang.String content,
623 java.lang.String type, java.lang.String[] structureIds,
624 java.lang.String[] templateIds, java.util.Date displayDateGT,
625 java.util.Date displayDateLT, int status, java.util.Date reviewDate,
626 boolean andOperator, int start, int end,
627 com.liferay.portal.kernel.util.OrderByComparator obc)
628 throws com.liferay.portal.kernel.exception.SystemException;
629
630 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
631 public int searchCount(long companyId, long groupId,
632 java.lang.String keywords, java.lang.Double version,
633 java.lang.String type, java.lang.String structureId,
634 java.lang.String templateId, java.util.Date displayDateGT,
635 java.util.Date displayDateLT, int status, java.util.Date reviewDate)
636 throws com.liferay.portal.kernel.exception.SystemException;
637
638 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
639 public int searchCount(long companyId, long groupId,
640 java.lang.String articleId, java.lang.Double version,
641 java.lang.String title, java.lang.String description,
642 java.lang.String content, java.lang.String type,
643 java.lang.String structureId, java.lang.String templateId,
644 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
645 java.util.Date reviewDate, boolean andOperator)
646 throws com.liferay.portal.kernel.exception.SystemException;
647
648 @Transactional(propagation = Propagation.SUPPORTS, readOnly = true)
649 public int searchCount(long companyId, long groupId,
650 java.lang.String articleId, java.lang.Double version,
651 java.lang.String title, java.lang.String description,
652 java.lang.String content, java.lang.String type,
653 java.lang.String[] structureIds, java.lang.String[] templateIds,
654 java.util.Date displayDateGT, java.util.Date displayDateLT, int status,
655 java.util.Date reviewDate, boolean andOperator)
656 throws com.liferay.portal.kernel.exception.SystemException;
657
658 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
659 long userId, long groupId, java.lang.String articleId, double version,
660 java.lang.String content)
661 throws com.liferay.portal.kernel.exception.PortalException,
662 com.liferay.portal.kernel.exception.SystemException;
663
664 public com.liferay.portlet.journal.model.JournalArticle updateArticle(
665 long userId, long groupId, java.lang.String articleId, double version,
666 java.lang.String title, java.lang.String description,
667 java.lang.String content, java.lang.String type,
668 java.lang.String structureId, java.lang.String templateId,
669 int displayDateMonth, int displayDateDay, int displayDateYear,
670 int displayDateHour, int displayDateMinute, int expirationDateMonth,
671 int expirationDateDay, int expirationDateYear, int expirationDateHour,
672 int expirationDateMinute, boolean neverExpire, int reviewDateMonth,
673 int reviewDateDay, int reviewDateYear, int reviewDateHour,
674 int reviewDateMinute, boolean neverReview, boolean indexable,
675 boolean smallImage, java.lang.String smallImageURL,
676 java.io.File smallFile, java.util.Map<java.lang.String, byte[]> images,
677 java.lang.String articleURL,
678 com.liferay.portal.service.ServiceContext serviceContext)
679 throws com.liferay.portal.kernel.exception.PortalException,
680 com.liferay.portal.kernel.exception.SystemException;
681
682 public void updateAsset(long userId,
683 com.liferay.portlet.journal.model.JournalArticle article,
684 long[] assetCategoryIds, java.lang.String[] assetTagNames)
685 throws com.liferay.portal.kernel.exception.PortalException,
686 com.liferay.portal.kernel.exception.SystemException;
687
688 public com.liferay.portlet.journal.model.JournalArticle updateContent(
689 long groupId, java.lang.String articleId, double version,
690 java.lang.String content)
691 throws com.liferay.portal.kernel.exception.PortalException,
692 com.liferay.portal.kernel.exception.SystemException;
693
694 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
695 long userId, com.liferay.portlet.journal.model.JournalArticle article,
696 int status, java.lang.String articleURL,
697 com.liferay.portal.service.ServiceContext serviceContext)
698 throws com.liferay.portal.kernel.exception.PortalException,
699 com.liferay.portal.kernel.exception.SystemException;
700
701 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
702 long userId, long classPK, int status,
703 com.liferay.portal.service.ServiceContext serviceContext)
704 throws com.liferay.portal.kernel.exception.PortalException,
705 com.liferay.portal.kernel.exception.SystemException;
706
707 public com.liferay.portlet.journal.model.JournalArticle updateStatus(
708 long userId, long groupId, java.lang.String articleId, double version,
709 int status, java.lang.String articleURL,
710 com.liferay.portal.service.ServiceContext serviceContext)
711 throws com.liferay.portal.kernel.exception.PortalException,
712 com.liferay.portal.kernel.exception.SystemException;
713 }