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 void addCoverImage(long entryId,
061 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector imageSelector)
062 throws com.liferay.portal.kernel.exception.PortalException {
063 getService().addCoverImage(entryId, imageSelector);
064 }
065
066 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
067 long userId, java.lang.String title, java.lang.String content,
068 java.util.Date displayDate,
069 com.liferay.portal.service.ServiceContext serviceContext)
070 throws com.liferay.portal.kernel.exception.PortalException {
071 return getService()
072 .addEntry(userId, title, content, displayDate, serviceContext);
073 }
074
075 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
076 long userId, java.lang.String title, java.lang.String content,
077 com.liferay.portal.service.ServiceContext serviceContext)
078 throws com.liferay.portal.kernel.exception.PortalException {
079 return getService().addEntry(userId, title, content, serviceContext);
080 }
081
082
088 @Deprecated
089 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
090 long userId, java.lang.String title, java.lang.String description,
091 java.lang.String content, int displayDateMonth, int displayDateDay,
092 int displayDateYear, int displayDateHour, int displayDateMinute,
093 boolean allowPingbacks, boolean allowTrackbacks,
094 java.lang.String[] trackbacks, boolean smallImage,
095 java.lang.String smallImageURL, java.lang.String smallImageFileName,
096 java.io.InputStream smallImageInputStream,
097 com.liferay.portal.service.ServiceContext serviceContext)
098 throws com.liferay.portal.kernel.exception.PortalException {
099 return getService()
100 .addEntry(userId, title, description, content,
101 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
102 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
103 smallImage, smallImageURL, smallImageFileName,
104 smallImageInputStream, serviceContext);
105 }
106
107 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
108 long userId, java.lang.String title, java.lang.String subtitle,
109 java.lang.String description, java.lang.String content,
110 java.util.Date displayDate, boolean allowPingbacks,
111 boolean allowTrackbacks, java.lang.String[] trackbacks,
112 java.lang.String coverImageCaption,
113 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
114 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
115 com.liferay.portal.service.ServiceContext serviceContext)
116 throws com.liferay.portal.kernel.exception.PortalException {
117 return getService()
118 .addEntry(userId, title, subtitle, description, content,
119 displayDate, allowPingbacks, allowTrackbacks, trackbacks,
120 coverImageCaption, coverImageImageSelector,
121 smallImageImageSelector, serviceContext);
122 }
123
124 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
125 long userId, java.lang.String title, java.lang.String subtitle,
126 java.lang.String description, java.lang.String content,
127 int displayDateMonth, int displayDateDay, int displayDateYear,
128 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
129 boolean allowTrackbacks, java.lang.String[] trackbacks,
130 java.lang.String coverImageCaption,
131 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
132 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
133 com.liferay.portal.service.ServiceContext serviceContext)
134 throws com.liferay.portal.kernel.exception.PortalException {
135 return getService()
136 .addEntry(userId, title, subtitle, description, content,
137 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
138 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
139 coverImageCaption, coverImageImageSelector,
140 smallImageImageSelector, serviceContext);
141 }
142
143 public static void addEntryResources(
144 com.liferay.portlet.blogs.model.BlogsEntry entry,
145 boolean addGroupPermissions, boolean addGuestPermissions)
146 throws com.liferay.portal.kernel.exception.PortalException {
147 getService()
148 .addEntryResources(entry, addGroupPermissions, addGuestPermissions);
149 }
150
151 public static void addEntryResources(
152 com.liferay.portlet.blogs.model.BlogsEntry entry,
153 com.liferay.portal.service.permission.ModelPermissions modelPermissions)
154 throws com.liferay.portal.kernel.exception.PortalException {
155 getService().addEntryResources(entry, modelPermissions);
156 }
157
158 public static void addEntryResources(long entryId,
159 boolean addGroupPermissions, boolean addGuestPermissions)
160 throws com.liferay.portal.kernel.exception.PortalException {
161 getService()
162 .addEntryResources(entryId, addGroupPermissions, addGuestPermissions);
163 }
164
165 public static void addEntryResources(long entryId,
166 com.liferay.portal.service.permission.ModelPermissions modelPermissions)
167 throws com.liferay.portal.kernel.exception.PortalException {
168 getService().addEntryResources(entryId, modelPermissions);
169 }
170
171 public static long addOriginalImageFileEntry(long userId, long groupId,
172 long entryId,
173 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector imageSelector)
174 throws com.liferay.portal.kernel.exception.PortalException {
175 return getService()
176 .addOriginalImageFileEntry(userId, groupId, entryId,
177 imageSelector);
178 }
179
180 public static void addSmallImage(long entryId,
181 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector imageSelector)
182 throws com.liferay.portal.kernel.exception.PortalException {
183 getService().addSmallImage(entryId, imageSelector);
184 }
185
186 public static void checkEntries()
187 throws com.liferay.portal.kernel.exception.PortalException {
188 getService().checkEntries();
189 }
190
191
197 public static com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
198 long entryId) {
199 return getService().createBlogsEntry(entryId);
200 }
201
202
208 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
209 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
210 return getService().deleteBlogsEntry(blogsEntry);
211 }
212
213
220 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
221 long entryId)
222 throws com.liferay.portal.kernel.exception.PortalException {
223 return getService().deleteBlogsEntry(entryId);
224 }
225
226 public static void deleteEntries(long groupId)
227 throws com.liferay.portal.kernel.exception.PortalException {
228 getService().deleteEntries(groupId);
229 }
230
231 public static com.liferay.portlet.blogs.model.BlogsEntry deleteEntry(
232 com.liferay.portlet.blogs.model.BlogsEntry entry)
233 throws com.liferay.portal.kernel.exception.PortalException {
234 return getService().deleteEntry(entry);
235 }
236
237 public static void deleteEntry(long entryId)
238 throws com.liferay.portal.kernel.exception.PortalException {
239 getService().deleteEntry(entryId);
240 }
241
242
245 public static com.liferay.portal.model.PersistedModel deletePersistedModel(
246 com.liferay.portal.model.PersistedModel persistedModel)
247 throws com.liferay.portal.kernel.exception.PortalException {
248 return getService().deletePersistedModel(persistedModel);
249 }
250
251 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
252 return getService().dynamicQuery();
253 }
254
255
261 public static <T> java.util.List<T> dynamicQuery(
262 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
263 return getService().dynamicQuery(dynamicQuery);
264 }
265
266
278 public static <T> java.util.List<T> dynamicQuery(
279 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
280 int end) {
281 return getService().dynamicQuery(dynamicQuery, start, end);
282 }
283
284
297 public static <T> java.util.List<T> dynamicQuery(
298 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
299 int end,
300 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
301 return getService()
302 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
303 }
304
305
311 public static long dynamicQueryCount(
312 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
313 return getService().dynamicQueryCount(dynamicQuery);
314 }
315
316
323 public static long dynamicQueryCount(
324 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
325 com.liferay.portal.kernel.dao.orm.Projection projection) {
326 return getService().dynamicQueryCount(dynamicQuery, projection);
327 }
328
329 public static com.liferay.portal.kernel.repository.model.Folder fetchAttachmentsFolder(
330 long userId, long groupId) {
331 return getService().fetchAttachmentsFolder(userId, groupId);
332 }
333
334 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(
335 long entryId) {
336 return getService().fetchBlogsEntry(entryId);
337 }
338
339
346 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntryByUuidAndGroupId(
347 java.lang.String uuid, long groupId) {
348 return getService().fetchBlogsEntryByUuidAndGroupId(uuid, groupId);
349 }
350
351 public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
352 return getService().getActionableDynamicQuery();
353 }
354
355
366 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
367 int start, int end) {
368 return getService().getBlogsEntries(start, end);
369 }
370
371
378 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
379 java.lang.String uuid, long companyId) {
380 return getService().getBlogsEntriesByUuidAndCompanyId(uuid, companyId);
381 }
382
383
393 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
394 java.lang.String uuid, long companyId, int start, int end,
395 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> orderByComparator) {
396 return getService()
397 .getBlogsEntriesByUuidAndCompanyId(uuid, companyId, start,
398 end, orderByComparator);
399 }
400
401
406 public static int getBlogsEntriesCount() {
407 return getService().getBlogsEntriesCount();
408 }
409
410
417 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
418 long entryId)
419 throws com.liferay.portal.kernel.exception.PortalException {
420 return getService().getBlogsEntry(entryId);
421 }
422
423
431 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
432 java.lang.String uuid, long groupId)
433 throws com.liferay.portal.kernel.exception.PortalException {
434 return getService().getBlogsEntryByUuidAndGroupId(uuid, groupId);
435 }
436
437 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
438 long companyId, java.util.Date displayDate,
439 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
440 return getService()
441 .getCompanyEntries(companyId, displayDate, queryDefinition);
442 }
443
444 public static int getCompanyEntriesCount(long companyId,
445 java.util.Date displayDate,
446 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
447 return getService()
448 .getCompanyEntriesCount(companyId, displayDate,
449 queryDefinition);
450 }
451
452 public static com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
453 long entryId)
454 throws com.liferay.portal.kernel.exception.PortalException {
455 return getService().getEntriesPrevAndNext(entryId);
456 }
457
458 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
459 long entryId)
460 throws com.liferay.portal.kernel.exception.PortalException {
461 return getService().getEntry(entryId);
462 }
463
464 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
465 long groupId, java.lang.String urlTitle)
466 throws com.liferay.portal.kernel.exception.PortalException {
467 return getService().getEntry(groupId, urlTitle);
468 }
469
470 public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
471 com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
472 return getService().getExportActionableDynamicQuery(portletDataContext);
473 }
474
475 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
476 long groupId, java.util.Date displayDate,
477 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
478 return getService()
479 .getGroupEntries(groupId, displayDate, queryDefinition);
480 }
481
482 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
483 long groupId,
484 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
485 return getService().getGroupEntries(groupId, queryDefinition);
486 }
487
488 public static int getGroupEntriesCount(long groupId,
489 java.util.Date displayDate,
490 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
491 return getService()
492 .getGroupEntriesCount(groupId, displayDate, queryDefinition);
493 }
494
495 public static int getGroupEntriesCount(long groupId,
496 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
497 return getService().getGroupEntriesCount(groupId, queryDefinition);
498 }
499
500 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
501 long groupId, long userId, java.util.Date displayDate,
502 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
503 return getService()
504 .getGroupUserEntries(groupId, userId, displayDate,
505 queryDefinition);
506 }
507
508 public static int getGroupUserEntriesCount(long groupId, long userId,
509 java.util.Date displayDate,
510 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
511 return getService()
512 .getGroupUserEntriesCount(groupId, userId, displayDate,
513 queryDefinition);
514 }
515
516 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
517 long companyId, long groupId, java.util.Date displayDate,
518 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
519 return getService()
520 .getGroupsEntries(companyId, groupId, displayDate,
521 queryDefinition);
522 }
523
524 public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
525 return getService().getIndexableActionableDynamicQuery();
526 }
527
528 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries() {
529 return getService().getNoAssetEntries();
530 }
531
532
537 public static java.lang.String getOSGiServiceIdentifier() {
538 return getService().getOSGiServiceIdentifier();
539 }
540
541 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
542 long organizationId, java.util.Date displayDate,
543 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
544 return getService()
545 .getOrganizationEntries(organizationId, displayDate,
546 queryDefinition);
547 }
548
549 public static int getOrganizationEntriesCount(long organizationId,
550 java.util.Date displayDate,
551 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
552 return getService()
553 .getOrganizationEntriesCount(organizationId, displayDate,
554 queryDefinition);
555 }
556
557 public static com.liferay.portal.model.PersistedModel getPersistedModel(
558 java.io.Serializable primaryKeyObj)
559 throws com.liferay.portal.kernel.exception.PortalException {
560 return getService().getPersistedModel(primaryKeyObj);
561 }
562
563 public static void moveEntriesToTrash(long groupId, long userId)
564 throws com.liferay.portal.kernel.exception.PortalException {
565 getService().moveEntriesToTrash(groupId, userId);
566 }
567
568
576 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
577 long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
578 throws com.liferay.portal.kernel.exception.PortalException {
579 return getService().moveEntryToTrash(userId, entry);
580 }
581
582
589 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
590 long userId, long entryId)
591 throws com.liferay.portal.kernel.exception.PortalException {
592 return getService().moveEntryToTrash(userId, entryId);
593 }
594
595
603 public static com.liferay.portlet.blogs.model.BlogsEntry restoreEntryFromTrash(
604 long userId, long entryId)
605 throws com.liferay.portal.kernel.exception.PortalException {
606 return getService().restoreEntryFromTrash(userId, entryId);
607 }
608
609 public static void subscribe(long userId, long groupId)
610 throws com.liferay.portal.kernel.exception.PortalException {
611 getService().subscribe(userId, groupId);
612 }
613
614 public static void unsubscribe(long userId, long groupId)
615 throws com.liferay.portal.kernel.exception.PortalException {
616 getService().unsubscribe(userId, groupId);
617 }
618
619 public static void updateAsset(long userId,
620 com.liferay.portlet.blogs.model.BlogsEntry entry,
621 long[] assetCategoryIds, java.lang.String[] assetTagNames,
622 long[] assetLinkEntryIds, java.lang.Double priority)
623 throws com.liferay.portal.kernel.exception.PortalException {
624 getService()
625 .updateAsset(userId, entry, assetCategoryIds, assetTagNames,
626 assetLinkEntryIds, priority);
627 }
628
629
635 public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
636 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
637 return getService().updateBlogsEntry(blogsEntry);
638 }
639
640 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
641 long userId, long entryId, java.lang.String title,
642 java.lang.String content,
643 com.liferay.portal.service.ServiceContext serviceContext)
644 throws com.liferay.portal.kernel.exception.PortalException {
645 return getService()
646 .updateEntry(userId, entryId, title, content, serviceContext);
647 }
648
649
655 @Deprecated
656 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
657 long userId, long entryId, java.lang.String title,
658 java.lang.String description, java.lang.String content,
659 int displayDateMonth, int displayDateDay, int displayDateYear,
660 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
661 boolean allowTrackbacks, java.lang.String[] trackbacks,
662 boolean smallImage, java.lang.String smallImageURL,
663 java.lang.String smallImageFileName,
664 java.io.InputStream smallImageInputStream,
665 com.liferay.portal.service.ServiceContext serviceContext)
666 throws com.liferay.portal.kernel.exception.PortalException {
667 return getService()
668 .updateEntry(userId, entryId, title, description, content,
669 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
670 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
671 smallImage, smallImageURL, smallImageFileName,
672 smallImageInputStream, serviceContext);
673 }
674
675 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
676 long userId, long entryId, java.lang.String title,
677 java.lang.String subtitle, java.lang.String description,
678 java.lang.String content, java.util.Date displayDate,
679 boolean allowPingbacks, boolean allowTrackbacks,
680 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
681 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
682 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
683 com.liferay.portal.service.ServiceContext serviceContext)
684 throws com.liferay.portal.kernel.exception.PortalException {
685 return getService()
686 .updateEntry(userId, entryId, title, subtitle, description,
687 content, displayDate, allowPingbacks, allowTrackbacks, trackbacks,
688 coverImageCaption, coverImageImageSelector,
689 smallImageImageSelector, serviceContext);
690 }
691
692 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
693 long userId, long entryId, java.lang.String title,
694 java.lang.String subtitle, java.lang.String description,
695 java.lang.String content, int displayDateMonth, int displayDateDay,
696 int displayDateYear, int displayDateHour, int displayDateMinute,
697 boolean allowPingbacks, boolean allowTrackbacks,
698 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
699 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
700 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
701 com.liferay.portal.service.ServiceContext serviceContext)
702 throws com.liferay.portal.kernel.exception.PortalException {
703 return getService()
704 .updateEntry(userId, entryId, title, subtitle, description,
705 content, displayDateMonth, displayDateDay, displayDateYear,
706 displayDateHour, displayDateMinute, allowPingbacks,
707 allowTrackbacks, trackbacks, coverImageCaption,
708 coverImageImageSelector, smallImageImageSelector, serviceContext);
709 }
710
711 public static void updateEntryResources(
712 com.liferay.portlet.blogs.model.BlogsEntry entry,
713 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
714 throws com.liferay.portal.kernel.exception.PortalException {
715 getService()
716 .updateEntryResources(entry, groupPermissions, guestPermissions);
717 }
718
719 public static void updateEntryResources(
720 com.liferay.portlet.blogs.model.BlogsEntry entry,
721 com.liferay.portal.service.permission.ModelPermissions modelPermissions)
722 throws com.liferay.portal.kernel.exception.PortalException {
723 getService().updateEntryResources(entry, modelPermissions);
724 }
725
726
730 @Deprecated
731 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
732 long userId, long entryId, int status,
733 com.liferay.portal.service.ServiceContext serviceContext)
734 throws com.liferay.portal.kernel.exception.PortalException {
735 return getService().updateStatus(userId, entryId, status, serviceContext);
736 }
737
738 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
739 long userId, long entryId, int status,
740 com.liferay.portal.service.ServiceContext serviceContext,
741 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
742 throws com.liferay.portal.kernel.exception.PortalException {
743 return getService()
744 .updateStatus(userId, entryId, status, serviceContext,
745 workflowContext);
746 }
747
748 public static BlogsEntryLocalService getService() {
749 if (_service == null) {
750 _service = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName());
751
752 ReferenceRegistry.registerReference(BlogsEntryLocalServiceUtil.class,
753 "_service");
754 }
755
756 return _service;
757 }
758
759 private static BlogsEntryLocalService _service;
760 }