001
014
015 package com.liferay.portlet.blogs.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
036 @ProviderType
037 public class BlogsEntryLocalServiceUtil {
038
043 public static com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder(
044 long userId, long groupId)
045 throws com.liferay.portal.kernel.exception.PortalException {
046 return getService().addAttachmentsFolder(userId, groupId);
047 }
048
049
055 public static com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
056 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
057 return getService().addBlogsEntry(blogsEntry);
058 }
059
060 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
061 long userId, java.lang.String title, java.lang.String content,
062 java.util.Date displayDate,
063 com.liferay.portal.service.ServiceContext serviceContext)
064 throws com.liferay.portal.kernel.exception.PortalException {
065 return getService()
066 .addEntry(userId, title, content, displayDate, serviceContext);
067 }
068
069 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
070 long userId, java.lang.String title, java.lang.String content,
071 com.liferay.portal.service.ServiceContext serviceContext)
072 throws com.liferay.portal.kernel.exception.PortalException {
073 return getService().addEntry(userId, title, content, serviceContext);
074 }
075
076
082 @Deprecated
083 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
084 long userId, java.lang.String title, java.lang.String description,
085 java.lang.String content, int displayDateMonth, int displayDateDay,
086 int displayDateYear, int displayDateHour, int displayDateMinute,
087 boolean allowPingbacks, boolean allowTrackbacks,
088 java.lang.String[] trackbacks, boolean smallImage,
089 java.lang.String smallImageURL, java.lang.String smallImageFileName,
090 java.io.InputStream smallImageInputStream,
091 com.liferay.portal.service.ServiceContext serviceContext)
092 throws com.liferay.portal.kernel.exception.PortalException {
093 return getService()
094 .addEntry(userId, title, description, content,
095 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
096 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
097 smallImage, smallImageURL, smallImageFileName,
098 smallImageInputStream, serviceContext);
099 }
100
101 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
102 long userId, java.lang.String title, java.lang.String subtitle,
103 java.lang.String description, java.lang.String content,
104 java.util.Date displayDate, boolean allowPingbacks,
105 boolean allowTrackbacks, java.lang.String[] trackbacks,
106 java.lang.String coverImageCaption,
107 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
108 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
109 com.liferay.portal.service.ServiceContext serviceContext)
110 throws com.liferay.portal.kernel.exception.PortalException {
111 return getService()
112 .addEntry(userId, title, subtitle, description, content,
113 displayDate, allowPingbacks, allowTrackbacks, trackbacks,
114 coverImageCaption, coverImageImageSelector,
115 smallImageImageSelector, serviceContext);
116 }
117
118 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
119 long userId, java.lang.String title, java.lang.String subtitle,
120 java.lang.String description, java.lang.String content,
121 int displayDateMonth, int displayDateDay, int displayDateYear,
122 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
123 boolean allowTrackbacks, java.lang.String[] trackbacks,
124 java.lang.String coverImageCaption,
125 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
126 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
127 com.liferay.portal.service.ServiceContext serviceContext)
128 throws com.liferay.portal.kernel.exception.PortalException {
129 return getService()
130 .addEntry(userId, title, subtitle, description, content,
131 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
132 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
133 coverImageCaption, coverImageImageSelector,
134 smallImageImageSelector, serviceContext);
135 }
136
137 public static void addEntryResources(
138 com.liferay.portlet.blogs.model.BlogsEntry entry,
139 boolean addGroupPermissions, boolean addGuestPermissions)
140 throws com.liferay.portal.kernel.exception.PortalException {
141 getService()
142 .addEntryResources(entry, addGroupPermissions, addGuestPermissions);
143 }
144
145 public static void addEntryResources(
146 com.liferay.portlet.blogs.model.BlogsEntry entry,
147 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
148 throws com.liferay.portal.kernel.exception.PortalException {
149 getService().addEntryResources(entry, groupPermissions, guestPermissions);
150 }
151
152 public static void addEntryResources(long entryId,
153 boolean addGroupPermissions, boolean addGuestPermissions)
154 throws com.liferay.portal.kernel.exception.PortalException {
155 getService()
156 .addEntryResources(entryId, addGroupPermissions, addGuestPermissions);
157 }
158
159 public static void addEntryResources(long entryId,
160 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
161 throws com.liferay.portal.kernel.exception.PortalException {
162 getService()
163 .addEntryResources(entryId, groupPermissions, guestPermissions);
164 }
165
166 public static void checkEntries()
167 throws com.liferay.portal.kernel.exception.PortalException {
168 getService().checkEntries();
169 }
170
171
177 public static com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
178 long entryId) {
179 return getService().createBlogsEntry(entryId);
180 }
181
182
188 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
189 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
190 return getService().deleteBlogsEntry(blogsEntry);
191 }
192
193
200 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
201 long entryId)
202 throws com.liferay.portal.kernel.exception.PortalException {
203 return getService().deleteBlogsEntry(entryId);
204 }
205
206 public static void deleteEntries(long groupId)
207 throws com.liferay.portal.kernel.exception.PortalException {
208 getService().deleteEntries(groupId);
209 }
210
211 public static com.liferay.portlet.blogs.model.BlogsEntry deleteEntry(
212 com.liferay.portlet.blogs.model.BlogsEntry entry)
213 throws com.liferay.portal.kernel.exception.PortalException {
214 return getService().deleteEntry(entry);
215 }
216
217 public static void deleteEntry(long entryId)
218 throws com.liferay.portal.kernel.exception.PortalException {
219 getService().deleteEntry(entryId);
220 }
221
222
225 public static com.liferay.portal.model.PersistedModel deletePersistedModel(
226 com.liferay.portal.model.PersistedModel persistedModel)
227 throws com.liferay.portal.kernel.exception.PortalException {
228 return getService().deletePersistedModel(persistedModel);
229 }
230
231 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
232 return getService().dynamicQuery();
233 }
234
235
241 public static <T> java.util.List<T> dynamicQuery(
242 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
243 return getService().dynamicQuery(dynamicQuery);
244 }
245
246
258 public static <T> java.util.List<T> dynamicQuery(
259 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
260 int end) {
261 return getService().dynamicQuery(dynamicQuery, start, end);
262 }
263
264
277 public static <T> java.util.List<T> dynamicQuery(
278 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
279 int end,
280 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
281 return getService()
282 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
283 }
284
285
291 public static long dynamicQueryCount(
292 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
293 return getService().dynamicQueryCount(dynamicQuery);
294 }
295
296
303 public static long dynamicQueryCount(
304 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
305 com.liferay.portal.kernel.dao.orm.Projection projection) {
306 return getService().dynamicQueryCount(dynamicQuery, projection);
307 }
308
309 public static com.liferay.portal.kernel.repository.model.Folder fetchAttachmentsFolder(
310 long userId, long groupId) {
311 return getService().fetchAttachmentsFolder(userId, groupId);
312 }
313
314 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(
315 long entryId) {
316 return getService().fetchBlogsEntry(entryId);
317 }
318
319
326 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntryByUuidAndGroupId(
327 java.lang.String uuid, long groupId) {
328 return getService().fetchBlogsEntryByUuidAndGroupId(uuid, groupId);
329 }
330
331 public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
332 return getService().getActionableDynamicQuery();
333 }
334
335
340 public static java.lang.String getBeanIdentifier() {
341 return getService().getBeanIdentifier();
342 }
343
344
355 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
356 int start, int end) {
357 return getService().getBlogsEntries(start, end);
358 }
359
360
367 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
368 java.lang.String uuid, long companyId) {
369 return getService().getBlogsEntriesByUuidAndCompanyId(uuid, companyId);
370 }
371
372
382 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
383 java.lang.String uuid, long companyId, int start, int end,
384 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> orderByComparator) {
385 return getService()
386 .getBlogsEntriesByUuidAndCompanyId(uuid, companyId, start,
387 end, orderByComparator);
388 }
389
390
395 public static int getBlogsEntriesCount() {
396 return getService().getBlogsEntriesCount();
397 }
398
399
406 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
407 long entryId)
408 throws com.liferay.portal.kernel.exception.PortalException {
409 return getService().getBlogsEntry(entryId);
410 }
411
412
420 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
421 java.lang.String uuid, long groupId)
422 throws com.liferay.portal.kernel.exception.PortalException {
423 return getService().getBlogsEntryByUuidAndGroupId(uuid, groupId);
424 }
425
426 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
427 long companyId, java.util.Date displayDate,
428 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
429 return getService()
430 .getCompanyEntries(companyId, displayDate, queryDefinition);
431 }
432
433
437 @Deprecated
438 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
439 long companyId, java.util.Date displayDate, int status, int start,
440 int end) {
441 return getService()
442 .getCompanyEntries(companyId, displayDate, status, start, end);
443 }
444
445
449 @Deprecated
450 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
451 long companyId, java.util.Date displayDate, int status, int start,
452 int end,
453 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
454 return getService()
455 .getCompanyEntries(companyId, displayDate, status, start,
456 end, obc);
457 }
458
459 public static int getCompanyEntriesCount(long companyId,
460 java.util.Date displayDate,
461 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
462 return getService()
463 .getCompanyEntriesCount(companyId, displayDate,
464 queryDefinition);
465 }
466
467
471 @Deprecated
472 public static int getCompanyEntriesCount(long companyId,
473 java.util.Date displayDate, int status) {
474 return getService()
475 .getCompanyEntriesCount(companyId, displayDate, status);
476 }
477
478 public static com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
479 long entryId)
480 throws com.liferay.portal.kernel.exception.PortalException {
481 return getService().getEntriesPrevAndNext(entryId);
482 }
483
484 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
485 long entryId)
486 throws com.liferay.portal.kernel.exception.PortalException {
487 return getService().getEntry(entryId);
488 }
489
490 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
491 long groupId, java.lang.String urlTitle)
492 throws com.liferay.portal.kernel.exception.PortalException {
493 return getService().getEntry(groupId, urlTitle);
494 }
495
496 public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
497 com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
498 return getService().getExportActionableDynamicQuery(portletDataContext);
499 }
500
501 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
502 long groupId, java.util.Date displayDate,
503 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
504 return getService()
505 .getGroupEntries(groupId, displayDate, queryDefinition);
506 }
507
508
512 @Deprecated
513 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
514 long groupId, java.util.Date displayDate, int status, int start, int end) {
515 return getService()
516 .getGroupEntries(groupId, displayDate, status, start, end);
517 }
518
519
523 @Deprecated
524 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
525 long groupId, java.util.Date displayDate, int status, int start,
526 int end,
527 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
528 return getService()
529 .getGroupEntries(groupId, displayDate, status, start, end,
530 obc);
531 }
532
533 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
534 long groupId,
535 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
536 return getService().getGroupEntries(groupId, queryDefinition);
537 }
538
539
543 @Deprecated
544 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
545 long groupId, int status, int start, int end) {
546 return getService().getGroupEntries(groupId, status, start, end);
547 }
548
549
553 @Deprecated
554 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
555 long groupId, int status, int start, int end,
556 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
557 return getService().getGroupEntries(groupId, status, start, end, obc);
558 }
559
560 public static int getGroupEntriesCount(long groupId,
561 java.util.Date displayDate,
562 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
563 return getService()
564 .getGroupEntriesCount(groupId, displayDate, queryDefinition);
565 }
566
567
571 @Deprecated
572 public static int getGroupEntriesCount(long groupId,
573 java.util.Date displayDate, int status) {
574 return getService().getGroupEntriesCount(groupId, displayDate, status);
575 }
576
577 public static int getGroupEntriesCount(long groupId,
578 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
579 return getService().getGroupEntriesCount(groupId, queryDefinition);
580 }
581
582
586 @Deprecated
587 public static int getGroupEntriesCount(long groupId, int status) {
588 return getService().getGroupEntriesCount(groupId, status);
589 }
590
591 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
592 long groupId, long userId, java.util.Date displayDate,
593 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
594 return getService()
595 .getGroupUserEntries(groupId, userId, displayDate,
596 queryDefinition);
597 }
598
599
603 @Deprecated
604 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
605 long groupId, long userId, java.util.Date displayDate, int status,
606 int start, int end) {
607 return getService()
608 .getGroupUserEntries(groupId, userId, displayDate, status,
609 start, end);
610 }
611
612
616 @Deprecated
617 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
618 long groupId, long userId, java.util.Date displayDate, int status,
619 int start, int end,
620 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
621 return getService()
622 .getGroupUserEntries(groupId, userId, displayDate, status,
623 start, end, obc);
624 }
625
626 public static int getGroupUserEntriesCount(long groupId, long userId,
627 java.util.Date displayDate,
628 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
629 return getService()
630 .getGroupUserEntriesCount(groupId, userId, displayDate,
631 queryDefinition);
632 }
633
634
638 @Deprecated
639 public static int getGroupUserEntriesCount(long groupId, long userId,
640 java.util.Date displayDate, int status) {
641 return getService()
642 .getGroupUserEntriesCount(groupId, userId, displayDate,
643 status);
644 }
645
646 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
647 long companyId, long groupId, java.util.Date displayDate,
648 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
649 return getService()
650 .getGroupsEntries(companyId, groupId, displayDate,
651 queryDefinition);
652 }
653
654
658 @Deprecated
659 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
660 long companyId, long groupId, java.util.Date displayDate, int status,
661 int start, int end) {
662 return getService()
663 .getGroupsEntries(companyId, groupId, displayDate, status,
664 start, end);
665 }
666
667 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries() {
668 return getService().getNoAssetEntries();
669 }
670
671 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
672 long organizationId, java.util.Date displayDate,
673 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
674 return getService()
675 .getOrganizationEntries(organizationId, displayDate,
676 queryDefinition);
677 }
678
679
683 @Deprecated
684 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
685 long organizationId, java.util.Date displayDate, int status, int start,
686 int end) {
687 return getService()
688 .getOrganizationEntries(organizationId, displayDate, status,
689 start, end);
690 }
691
692
696 @Deprecated
697 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
698 long organizationId, java.util.Date displayDate, int status, int start,
699 int end,
700 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
701 return getService()
702 .getOrganizationEntries(organizationId, displayDate, status,
703 start, end, obc);
704 }
705
706 public static int getOrganizationEntriesCount(long organizationId,
707 java.util.Date displayDate,
708 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
709 return getService()
710 .getOrganizationEntriesCount(organizationId, displayDate,
711 queryDefinition);
712 }
713
714
718 @Deprecated
719 public static int getOrganizationEntriesCount(long organizationId,
720 java.util.Date displayDate, int status) {
721 return getService()
722 .getOrganizationEntriesCount(organizationId, displayDate,
723 status);
724 }
725
726 public static com.liferay.portal.model.PersistedModel getPersistedModel(
727 java.io.Serializable primaryKeyObj)
728 throws com.liferay.portal.kernel.exception.PortalException {
729 return getService().getPersistedModel(primaryKeyObj);
730 }
731
732 public static void moveEntriesToTrash(long groupId, long userId)
733 throws com.liferay.portal.kernel.exception.PortalException {
734 getService().moveEntriesToTrash(groupId, userId);
735 }
736
737
748 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
749 long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
750 throws com.liferay.portal.kernel.exception.PortalException {
751 return getService().moveEntryToTrash(userId, entry);
752 }
753
754
764 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
765 long userId, long entryId)
766 throws com.liferay.portal.kernel.exception.PortalException {
767 return getService().moveEntryToTrash(userId, entryId);
768 }
769
770
781 public static com.liferay.portlet.blogs.model.BlogsEntry restoreEntryFromTrash(
782 long userId, long entryId)
783 throws com.liferay.portal.kernel.exception.PortalException {
784 return getService().restoreEntryFromTrash(userId, entryId);
785 }
786
787
792 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
793 getService().setBeanIdentifier(beanIdentifier);
794 }
795
796 public static void subscribe(long userId, long groupId)
797 throws com.liferay.portal.kernel.exception.PortalException {
798 getService().subscribe(userId, groupId);
799 }
800
801 public static void unsubscribe(long userId, long groupId)
802 throws com.liferay.portal.kernel.exception.PortalException {
803 getService().unsubscribe(userId, groupId);
804 }
805
806 public static void updateAsset(long userId,
807 com.liferay.portlet.blogs.model.BlogsEntry entry,
808 long[] assetCategoryIds, java.lang.String[] assetTagNames,
809 long[] assetLinkEntryIds)
810 throws com.liferay.portal.kernel.exception.PortalException {
811 getService()
812 .updateAsset(userId, entry, assetCategoryIds, assetTagNames,
813 assetLinkEntryIds);
814 }
815
816
822 public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
823 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
824 return getService().updateBlogsEntry(blogsEntry);
825 }
826
827 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
828 long userId, long entryId, java.lang.String title,
829 java.lang.String content,
830 com.liferay.portal.service.ServiceContext serviceContext)
831 throws com.liferay.portal.kernel.exception.PortalException {
832 return getService()
833 .updateEntry(userId, entryId, title, content, serviceContext);
834 }
835
836
842 @Deprecated
843 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
844 long userId, long entryId, java.lang.String title,
845 java.lang.String description, java.lang.String content,
846 int displayDateMonth, int displayDateDay, int displayDateYear,
847 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
848 boolean allowTrackbacks, java.lang.String[] trackbacks,
849 boolean smallImage, java.lang.String smallImageURL,
850 java.lang.String smallImageFileName,
851 java.io.InputStream smallImageInputStream,
852 com.liferay.portal.service.ServiceContext serviceContext)
853 throws com.liferay.portal.kernel.exception.PortalException {
854 return getService()
855 .updateEntry(userId, entryId, title, description, content,
856 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
857 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
858 smallImage, smallImageURL, smallImageFileName,
859 smallImageInputStream, serviceContext);
860 }
861
862 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
863 long userId, long entryId, java.lang.String title,
864 java.lang.String subtitle, java.lang.String description,
865 java.lang.String content, java.util.Date displayDate,
866 boolean allowPingbacks, boolean allowTrackbacks,
867 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
868 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
869 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
870 com.liferay.portal.service.ServiceContext serviceContext)
871 throws com.liferay.portal.kernel.exception.PortalException {
872 return getService()
873 .updateEntry(userId, entryId, title, subtitle, description,
874 content, displayDate, allowPingbacks, allowTrackbacks, trackbacks,
875 coverImageCaption, coverImageImageSelector,
876 smallImageImageSelector, serviceContext);
877 }
878
879 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
880 long userId, long entryId, java.lang.String title,
881 java.lang.String subtitle, java.lang.String description,
882 java.lang.String content, int displayDateMonth, int displayDateDay,
883 int displayDateYear, int displayDateHour, int displayDateMinute,
884 boolean allowPingbacks, boolean allowTrackbacks,
885 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
886 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
887 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
888 com.liferay.portal.service.ServiceContext serviceContext)
889 throws com.liferay.portal.kernel.exception.PortalException {
890 return getService()
891 .updateEntry(userId, entryId, title, subtitle, description,
892 content, displayDateMonth, displayDateDay, displayDateYear,
893 displayDateHour, displayDateMinute, allowPingbacks,
894 allowTrackbacks, trackbacks, coverImageCaption,
895 coverImageImageSelector, smallImageImageSelector, serviceContext);
896 }
897
898 public static void updateEntryResources(
899 com.liferay.portlet.blogs.model.BlogsEntry entry,
900 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
901 throws com.liferay.portal.kernel.exception.PortalException {
902 getService()
903 .updateEntryResources(entry, groupPermissions, guestPermissions);
904 }
905
906
910 @Deprecated
911 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
912 long userId, long entryId, int status,
913 com.liferay.portal.service.ServiceContext serviceContext)
914 throws com.liferay.portal.kernel.exception.PortalException {
915 return getService().updateStatus(userId, entryId, status, serviceContext);
916 }
917
918 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
919 long userId, long entryId, int status,
920 com.liferay.portal.service.ServiceContext serviceContext,
921 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
922 throws com.liferay.portal.kernel.exception.PortalException {
923 return getService()
924 .updateStatus(userId, entryId, status, serviceContext,
925 workflowContext);
926 }
927
928 public static BlogsEntryLocalService getService() {
929 if (_service == null) {
930 _service = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName());
931
932 ReferenceRegistry.registerReference(BlogsEntryLocalServiceUtil.class,
933 "_service");
934 }
935
936 return _service;
937 }
938
939
942 @Deprecated
943 public void setService(BlogsEntryLocalService service) {
944 }
945
946 private static BlogsEntryLocalService _service;
947 }