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
066 @Deprecated
067 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
068 long userId, java.lang.String title, java.lang.String description,
069 java.lang.String content, int displayDateMonth, int displayDateDay,
070 int displayDateYear, int displayDateHour, int displayDateMinute,
071 boolean allowPingbacks, boolean allowTrackbacks,
072 java.lang.String[] trackbacks, boolean smallImage,
073 java.lang.String smallImageURL, java.lang.String smallImageFileName,
074 java.io.InputStream smallImageInputStream,
075 com.liferay.portal.service.ServiceContext serviceContext)
076 throws com.liferay.portal.kernel.exception.PortalException {
077 return getService()
078 .addEntry(userId, title, description, content,
079 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
080 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
081 smallImage, smallImageURL, smallImageFileName,
082 smallImageInputStream, serviceContext);
083 }
084
085 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
086 long userId, java.lang.String title, java.lang.String subtitle,
087 java.lang.String description, java.lang.String content,
088 int displayDateMonth, int displayDateDay, int displayDateYear,
089 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
090 boolean allowTrackbacks, java.lang.String[] trackbacks,
091 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
092 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
093 com.liferay.portal.service.ServiceContext serviceContext)
094 throws com.liferay.portal.kernel.exception.PortalException {
095 return getService()
096 .addEntry(userId, title, subtitle, description, content,
097 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
098 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
099 coverImageImageSelector, smallImageImageSelector, serviceContext);
100 }
101
102 public static void addEntryResources(
103 com.liferay.portlet.blogs.model.BlogsEntry entry,
104 boolean addGroupPermissions, boolean addGuestPermissions)
105 throws com.liferay.portal.kernel.exception.PortalException {
106 getService()
107 .addEntryResources(entry, addGroupPermissions, addGuestPermissions);
108 }
109
110 public static void addEntryResources(
111 com.liferay.portlet.blogs.model.BlogsEntry entry,
112 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
113 throws com.liferay.portal.kernel.exception.PortalException {
114 getService().addEntryResources(entry, groupPermissions, guestPermissions);
115 }
116
117 public static void addEntryResources(long entryId,
118 boolean addGroupPermissions, boolean addGuestPermissions)
119 throws com.liferay.portal.kernel.exception.PortalException {
120 getService()
121 .addEntryResources(entryId, addGroupPermissions, addGuestPermissions);
122 }
123
124 public static void addEntryResources(long entryId,
125 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
126 throws com.liferay.portal.kernel.exception.PortalException {
127 getService()
128 .addEntryResources(entryId, groupPermissions, guestPermissions);
129 }
130
131 public static void checkEntries()
132 throws com.liferay.portal.kernel.exception.PortalException {
133 getService().checkEntries();
134 }
135
136
142 public static com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
143 long entryId) {
144 return getService().createBlogsEntry(entryId);
145 }
146
147
153 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
154 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
155 return getService().deleteBlogsEntry(blogsEntry);
156 }
157
158
165 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
166 long entryId)
167 throws com.liferay.portal.kernel.exception.PortalException {
168 return getService().deleteBlogsEntry(entryId);
169 }
170
171 public static void deleteEntries(long groupId)
172 throws com.liferay.portal.kernel.exception.PortalException {
173 getService().deleteEntries(groupId);
174 }
175
176 public static com.liferay.portlet.blogs.model.BlogsEntry deleteEntry(
177 com.liferay.portlet.blogs.model.BlogsEntry entry)
178 throws com.liferay.portal.kernel.exception.PortalException {
179 return getService().deleteEntry(entry);
180 }
181
182 public static void deleteEntry(long entryId)
183 throws com.liferay.portal.kernel.exception.PortalException {
184 getService().deleteEntry(entryId);
185 }
186
187
190 public static com.liferay.portal.model.PersistedModel deletePersistedModel(
191 com.liferay.portal.model.PersistedModel persistedModel)
192 throws com.liferay.portal.kernel.exception.PortalException {
193 return getService().deletePersistedModel(persistedModel);
194 }
195
196 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
197 return getService().dynamicQuery();
198 }
199
200
206 public static <T> java.util.List<T> dynamicQuery(
207 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
208 return getService().dynamicQuery(dynamicQuery);
209 }
210
211
223 public static <T> java.util.List<T> dynamicQuery(
224 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
225 int end) {
226 return getService().dynamicQuery(dynamicQuery, start, end);
227 }
228
229
242 public static <T> java.util.List<T> dynamicQuery(
243 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
244 int end,
245 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
246 return getService()
247 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
248 }
249
250
256 public static long dynamicQueryCount(
257 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
258 return getService().dynamicQueryCount(dynamicQuery);
259 }
260
261
268 public static long dynamicQueryCount(
269 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
270 com.liferay.portal.kernel.dao.orm.Projection projection) {
271 return getService().dynamicQueryCount(dynamicQuery, projection);
272 }
273
274 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(
275 long entryId) {
276 return getService().fetchBlogsEntry(entryId);
277 }
278
279
286 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntryByUuidAndGroupId(
287 java.lang.String uuid, long groupId) {
288 return getService().fetchBlogsEntryByUuidAndGroupId(uuid, groupId);
289 }
290
291 public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
292 return getService().getActionableDynamicQuery();
293 }
294
295
300 public static java.lang.String getBeanIdentifier() {
301 return getService().getBeanIdentifier();
302 }
303
304
315 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
316 int start, int end) {
317 return getService().getBlogsEntries(start, end);
318 }
319
320
327 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
328 java.lang.String uuid, long companyId) {
329 return getService().getBlogsEntriesByUuidAndCompanyId(uuid, companyId);
330 }
331
332
342 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
343 java.lang.String uuid, long companyId, int start, int end,
344 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> orderByComparator) {
345 return getService()
346 .getBlogsEntriesByUuidAndCompanyId(uuid, companyId, start,
347 end, orderByComparator);
348 }
349
350
355 public static int getBlogsEntriesCount() {
356 return getService().getBlogsEntriesCount();
357 }
358
359
366 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
367 long entryId)
368 throws com.liferay.portal.kernel.exception.PortalException {
369 return getService().getBlogsEntry(entryId);
370 }
371
372
380 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
381 java.lang.String uuid, long groupId)
382 throws com.liferay.portal.kernel.exception.PortalException {
383 return getService().getBlogsEntryByUuidAndGroupId(uuid, groupId);
384 }
385
386 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
387 long companyId, java.util.Date displayDate,
388 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
389 return getService()
390 .getCompanyEntries(companyId, displayDate, queryDefinition);
391 }
392
393
397 @Deprecated
398 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
399 long companyId, java.util.Date displayDate, int status, int start,
400 int end) {
401 return getService()
402 .getCompanyEntries(companyId, displayDate, status, start, end);
403 }
404
405
409 @Deprecated
410 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
411 long companyId, java.util.Date displayDate, int status, int start,
412 int end,
413 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
414 return getService()
415 .getCompanyEntries(companyId, displayDate, status, start,
416 end, obc);
417 }
418
419 public static int getCompanyEntriesCount(long companyId,
420 java.util.Date displayDate,
421 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
422 return getService()
423 .getCompanyEntriesCount(companyId, displayDate,
424 queryDefinition);
425 }
426
427
431 @Deprecated
432 public static int getCompanyEntriesCount(long companyId,
433 java.util.Date displayDate, int status) {
434 return getService()
435 .getCompanyEntriesCount(companyId, displayDate, status);
436 }
437
438 public static com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
439 long entryId)
440 throws com.liferay.portal.kernel.exception.PortalException {
441 return getService().getEntriesPrevAndNext(entryId);
442 }
443
444 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
445 long entryId)
446 throws com.liferay.portal.kernel.exception.PortalException {
447 return getService().getEntry(entryId);
448 }
449
450 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
451 long groupId, java.lang.String urlTitle)
452 throws com.liferay.portal.kernel.exception.PortalException {
453 return getService().getEntry(groupId, urlTitle);
454 }
455
456 public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
457 com.liferay.portal.kernel.lar.PortletDataContext portletDataContext) {
458 return getService().getExportActionableDynamicQuery(portletDataContext);
459 }
460
461 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
462 long groupId, java.util.Date displayDate,
463 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
464 return getService()
465 .getGroupEntries(groupId, displayDate, queryDefinition);
466 }
467
468
472 @Deprecated
473 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
474 long groupId, java.util.Date displayDate, int status, int start, int end) {
475 return getService()
476 .getGroupEntries(groupId, displayDate, status, start, end);
477 }
478
479
483 @Deprecated
484 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
485 long groupId, java.util.Date displayDate, int status, int start,
486 int end,
487 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
488 return getService()
489 .getGroupEntries(groupId, displayDate, status, start, end,
490 obc);
491 }
492
493 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
494 long groupId,
495 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
496 return getService().getGroupEntries(groupId, queryDefinition);
497 }
498
499
503 @Deprecated
504 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
505 long groupId, int status, int start, int end) {
506 return getService().getGroupEntries(groupId, status, start, end);
507 }
508
509
513 @Deprecated
514 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
515 long groupId, int status, int start, int end,
516 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
517 return getService().getGroupEntries(groupId, status, start, end, obc);
518 }
519
520 public static int getGroupEntriesCount(long groupId,
521 java.util.Date displayDate,
522 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
523 return getService()
524 .getGroupEntriesCount(groupId, displayDate, queryDefinition);
525 }
526
527
531 @Deprecated
532 public static int getGroupEntriesCount(long groupId,
533 java.util.Date displayDate, int status) {
534 return getService().getGroupEntriesCount(groupId, displayDate, status);
535 }
536
537 public static int getGroupEntriesCount(long groupId,
538 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
539 return getService().getGroupEntriesCount(groupId, queryDefinition);
540 }
541
542
546 @Deprecated
547 public static int getGroupEntriesCount(long groupId, int status) {
548 return getService().getGroupEntriesCount(groupId, status);
549 }
550
551 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
552 long groupId, long userId, java.util.Date displayDate,
553 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
554 return getService()
555 .getGroupUserEntries(groupId, userId, displayDate,
556 queryDefinition);
557 }
558
559
563 @Deprecated
564 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
565 long groupId, long userId, java.util.Date displayDate, int status,
566 int start, int end) {
567 return getService()
568 .getGroupUserEntries(groupId, userId, displayDate, status,
569 start, end);
570 }
571
572
576 @Deprecated
577 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
578 long groupId, long userId, java.util.Date displayDate, int status,
579 int start, int end,
580 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
581 return getService()
582 .getGroupUserEntries(groupId, userId, displayDate, status,
583 start, end, obc);
584 }
585
586 public static int getGroupUserEntriesCount(long groupId, long userId,
587 java.util.Date displayDate,
588 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
589 return getService()
590 .getGroupUserEntriesCount(groupId, userId, displayDate,
591 queryDefinition);
592 }
593
594
598 @Deprecated
599 public static int getGroupUserEntriesCount(long groupId, long userId,
600 java.util.Date displayDate, int status) {
601 return getService()
602 .getGroupUserEntriesCount(groupId, userId, displayDate,
603 status);
604 }
605
606 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
607 long companyId, long groupId, java.util.Date displayDate,
608 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
609 return getService()
610 .getGroupsEntries(companyId, groupId, displayDate,
611 queryDefinition);
612 }
613
614
618 @Deprecated
619 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
620 long companyId, long groupId, java.util.Date displayDate, int status,
621 int start, int end) {
622 return getService()
623 .getGroupsEntries(companyId, groupId, displayDate, status,
624 start, end);
625 }
626
627 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries() {
628 return getService().getNoAssetEntries();
629 }
630
631 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
632 long organizationId, java.util.Date displayDate,
633 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
634 return getService()
635 .getOrganizationEntries(organizationId, displayDate,
636 queryDefinition);
637 }
638
639
643 @Deprecated
644 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
645 long organizationId, java.util.Date displayDate, int status, int start,
646 int end) {
647 return getService()
648 .getOrganizationEntries(organizationId, displayDate, status,
649 start, end);
650 }
651
652
656 @Deprecated
657 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
658 long organizationId, java.util.Date displayDate, int status, int start,
659 int end,
660 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
661 return getService()
662 .getOrganizationEntries(organizationId, displayDate, status,
663 start, end, obc);
664 }
665
666 public static int getOrganizationEntriesCount(long organizationId,
667 java.util.Date displayDate,
668 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
669 return getService()
670 .getOrganizationEntriesCount(organizationId, displayDate,
671 queryDefinition);
672 }
673
674
678 @Deprecated
679 public static int getOrganizationEntriesCount(long organizationId,
680 java.util.Date displayDate, int status) {
681 return getService()
682 .getOrganizationEntriesCount(organizationId, displayDate,
683 status);
684 }
685
686 public static com.liferay.portal.model.PersistedModel getPersistedModel(
687 java.io.Serializable primaryKeyObj)
688 throws com.liferay.portal.kernel.exception.PortalException {
689 return getService().getPersistedModel(primaryKeyObj);
690 }
691
692 public static void moveEntriesToTrash(long groupId, long userId)
693 throws com.liferay.portal.kernel.exception.PortalException {
694 getService().moveEntriesToTrash(groupId, userId);
695 }
696
697
708 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
709 long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
710 throws com.liferay.portal.kernel.exception.PortalException {
711 return getService().moveEntryToTrash(userId, entry);
712 }
713
714
724 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
725 long userId, long entryId)
726 throws com.liferay.portal.kernel.exception.PortalException {
727 return getService().moveEntryToTrash(userId, entryId);
728 }
729
730
741 public static com.liferay.portlet.blogs.model.BlogsEntry restoreEntryFromTrash(
742 long userId, long entryId)
743 throws com.liferay.portal.kernel.exception.PortalException {
744 return getService().restoreEntryFromTrash(userId, entryId);
745 }
746
747
752 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
753 getService().setBeanIdentifier(beanIdentifier);
754 }
755
756 public static void subscribe(long userId, long groupId)
757 throws com.liferay.portal.kernel.exception.PortalException {
758 getService().subscribe(userId, groupId);
759 }
760
761 public static void unsubscribe(long userId, long groupId)
762 throws com.liferay.portal.kernel.exception.PortalException {
763 getService().unsubscribe(userId, groupId);
764 }
765
766 public static void updateAsset(long userId,
767 com.liferay.portlet.blogs.model.BlogsEntry entry,
768 long[] assetCategoryIds, java.lang.String[] assetTagNames,
769 long[] assetLinkEntryIds)
770 throws com.liferay.portal.kernel.exception.PortalException {
771 getService()
772 .updateAsset(userId, entry, assetCategoryIds, assetTagNames,
773 assetLinkEntryIds);
774 }
775
776
782 public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
783 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
784 return getService().updateBlogsEntry(blogsEntry);
785 }
786
787
793 @Deprecated
794 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
795 long userId, long entryId, java.lang.String title,
796 java.lang.String description, java.lang.String content,
797 int displayDateMonth, int displayDateDay, int displayDateYear,
798 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
799 boolean allowTrackbacks, java.lang.String[] trackbacks,
800 boolean smallImage, java.lang.String smallImageURL,
801 java.lang.String smallImageFileName,
802 java.io.InputStream smallImageInputStream,
803 com.liferay.portal.service.ServiceContext serviceContext)
804 throws com.liferay.portal.kernel.exception.PortalException {
805 return getService()
806 .updateEntry(userId, entryId, title, description, content,
807 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
808 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
809 smallImage, smallImageURL, smallImageFileName,
810 smallImageInputStream, serviceContext);
811 }
812
813 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
814 long userId, long entryId, java.lang.String title,
815 java.lang.String subtitle, java.lang.String description,
816 java.lang.String content, int displayDateMonth, int displayDateDay,
817 int displayDateYear, int displayDateHour, int displayDateMinute,
818 boolean allowPingbacks, boolean allowTrackbacks,
819 java.lang.String[] trackbacks,
820 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
821 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
822 com.liferay.portal.service.ServiceContext serviceContext)
823 throws com.liferay.portal.kernel.exception.PortalException {
824 return getService()
825 .updateEntry(userId, entryId, title, subtitle, description,
826 content, displayDateMonth, displayDateDay, displayDateYear,
827 displayDateHour, displayDateMinute, allowPingbacks,
828 allowTrackbacks, trackbacks, coverImageImageSelector,
829 smallImageImageSelector, serviceContext);
830 }
831
832 public static void updateEntryResources(
833 com.liferay.portlet.blogs.model.BlogsEntry entry,
834 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
835 throws com.liferay.portal.kernel.exception.PortalException {
836 getService()
837 .updateEntryResources(entry, groupPermissions, guestPermissions);
838 }
839
840
844 @Deprecated
845 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
846 long userId, long entryId, int status,
847 com.liferay.portal.service.ServiceContext serviceContext)
848 throws com.liferay.portal.kernel.exception.PortalException {
849 return getService().updateStatus(userId, entryId, status, serviceContext);
850 }
851
852 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
853 long userId, long entryId, int status,
854 com.liferay.portal.service.ServiceContext serviceContext,
855 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
856 throws com.liferay.portal.kernel.exception.PortalException {
857 return getService()
858 .updateStatus(userId, entryId, status, serviceContext,
859 workflowContext);
860 }
861
862 public static BlogsEntryLocalService getService() {
863 if (_service == null) {
864 _service = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName());
865
866 ReferenceRegistry.registerReference(BlogsEntryLocalServiceUtil.class,
867 "_service");
868 }
869
870 return _service;
871 }
872
873
876 @Deprecated
877 public void setService(BlogsEntryLocalService service) {
878 }
879
880 private static BlogsEntryLocalService _service;
881 }