001
014
015 package com.liferay.portlet.blogs.service;
016
017 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
018 import com.liferay.portal.kernel.util.ReferenceRegistry;
019
020
034 public class BlogsEntryLocalServiceUtil {
035
040
041
048 public static com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
049 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
050 throws com.liferay.portal.kernel.exception.SystemException {
051 return getService().addBlogsEntry(blogsEntry);
052 }
053
054
060 public static com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
061 long entryId) {
062 return getService().createBlogsEntry(entryId);
063 }
064
065
073 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
074 long entryId)
075 throws com.liferay.portal.kernel.exception.PortalException,
076 com.liferay.portal.kernel.exception.SystemException {
077 return getService().deleteBlogsEntry(entryId);
078 }
079
080
087 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
088 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
089 throws com.liferay.portal.kernel.exception.SystemException {
090 return getService().deleteBlogsEntry(blogsEntry);
091 }
092
093 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
094 return getService().dynamicQuery();
095 }
096
097
104 @SuppressWarnings("rawtypes")
105 public static java.util.List dynamicQuery(
106 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
107 throws com.liferay.portal.kernel.exception.SystemException {
108 return getService().dynamicQuery(dynamicQuery);
109 }
110
111
124 @SuppressWarnings("rawtypes")
125 public static java.util.List dynamicQuery(
126 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
127 int end) throws com.liferay.portal.kernel.exception.SystemException {
128 return getService().dynamicQuery(dynamicQuery, start, end);
129 }
130
131
145 @SuppressWarnings("rawtypes")
146 public static java.util.List dynamicQuery(
147 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
148 int end,
149 com.liferay.portal.kernel.util.OrderByComparator orderByComparator)
150 throws com.liferay.portal.kernel.exception.SystemException {
151 return getService()
152 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
153 }
154
155
162 public static long dynamicQueryCount(
163 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery)
164 throws com.liferay.portal.kernel.exception.SystemException {
165 return getService().dynamicQueryCount(dynamicQuery);
166 }
167
168
176 public static long dynamicQueryCount(
177 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
178 com.liferay.portal.kernel.dao.orm.Projection projection)
179 throws com.liferay.portal.kernel.exception.SystemException {
180 return getService().dynamicQueryCount(dynamicQuery, projection);
181 }
182
183 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(
184 long entryId)
185 throws com.liferay.portal.kernel.exception.SystemException {
186 return getService().fetchBlogsEntry(entryId);
187 }
188
189
197 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntryByUuidAndCompanyId(
198 java.lang.String uuid, long companyId)
199 throws com.liferay.portal.kernel.exception.SystemException {
200 return getService().fetchBlogsEntryByUuidAndCompanyId(uuid, companyId);
201 }
202
203
211 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntryByUuidAndGroupId(
212 java.lang.String uuid, long groupId)
213 throws com.liferay.portal.kernel.exception.SystemException {
214 return getService().fetchBlogsEntryByUuidAndGroupId(uuid, groupId);
215 }
216
217
225 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
226 long entryId)
227 throws com.liferay.portal.kernel.exception.PortalException,
228 com.liferay.portal.kernel.exception.SystemException {
229 return getService().getBlogsEntry(entryId);
230 }
231
232 public static com.liferay.portal.model.PersistedModel getPersistedModel(
233 java.io.Serializable primaryKeyObj)
234 throws com.liferay.portal.kernel.exception.PortalException,
235 com.liferay.portal.kernel.exception.SystemException {
236 return getService().getPersistedModel(primaryKeyObj);
237 }
238
239
248 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndCompanyId(
249 java.lang.String uuid, long companyId)
250 throws com.liferay.portal.kernel.exception.PortalException,
251 com.liferay.portal.kernel.exception.SystemException {
252 return getService().getBlogsEntryByUuidAndCompanyId(uuid, companyId);
253 }
254
255
264 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
265 java.lang.String uuid, long groupId)
266 throws com.liferay.portal.kernel.exception.PortalException,
267 com.liferay.portal.kernel.exception.SystemException {
268 return getService().getBlogsEntryByUuidAndGroupId(uuid, groupId);
269 }
270
271
283 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
284 int start, int end)
285 throws com.liferay.portal.kernel.exception.SystemException {
286 return getService().getBlogsEntries(start, end);
287 }
288
289
295 public static int getBlogsEntriesCount()
296 throws com.liferay.portal.kernel.exception.SystemException {
297 return getService().getBlogsEntriesCount();
298 }
299
300
307 public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
308 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry)
309 throws com.liferay.portal.kernel.exception.SystemException {
310 return getService().updateBlogsEntry(blogsEntry);
311 }
312
313
318 public static java.lang.String getBeanIdentifier() {
319 return getService().getBeanIdentifier();
320 }
321
322
327 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
328 getService().setBeanIdentifier(beanIdentifier);
329 }
330
331 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
332 long userId, java.lang.String title, java.lang.String description,
333 java.lang.String content, int displayDateMonth, int displayDateDay,
334 int displayDateYear, int displayDateHour, int displayDateMinute,
335 boolean allowPingbacks, boolean allowTrackbacks,
336 java.lang.String[] trackbacks, boolean smallImage,
337 java.lang.String smallImageURL, java.lang.String smallImageFileName,
338 java.io.InputStream smallImageInputStream,
339 com.liferay.portal.service.ServiceContext serviceContext)
340 throws com.liferay.portal.kernel.exception.PortalException,
341 com.liferay.portal.kernel.exception.SystemException {
342 return getService()
343 .addEntry(userId, title, description, content,
344 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
345 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
346 smallImage, smallImageURL, smallImageFileName,
347 smallImageInputStream, serviceContext);
348 }
349
350 public static void addEntryResources(
351 com.liferay.portlet.blogs.model.BlogsEntry entry,
352 boolean addGroupPermissions, boolean addGuestPermissions)
353 throws com.liferay.portal.kernel.exception.PortalException,
354 com.liferay.portal.kernel.exception.SystemException {
355 getService()
356 .addEntryResources(entry, addGroupPermissions, addGuestPermissions);
357 }
358
359 public static void addEntryResources(
360 com.liferay.portlet.blogs.model.BlogsEntry entry,
361 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
362 throws com.liferay.portal.kernel.exception.PortalException,
363 com.liferay.portal.kernel.exception.SystemException {
364 getService().addEntryResources(entry, groupPermissions, guestPermissions);
365 }
366
367 public static void addEntryResources(long entryId,
368 boolean addGroupPermissions, boolean addGuestPermissions)
369 throws com.liferay.portal.kernel.exception.PortalException,
370 com.liferay.portal.kernel.exception.SystemException {
371 getService()
372 .addEntryResources(entryId, addGroupPermissions, addGuestPermissions);
373 }
374
375 public static void addEntryResources(long entryId,
376 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
377 throws com.liferay.portal.kernel.exception.PortalException,
378 com.liferay.portal.kernel.exception.SystemException {
379 getService()
380 .addEntryResources(entryId, groupPermissions, guestPermissions);
381 }
382
383 public static void checkEntries()
384 throws com.liferay.portal.kernel.exception.PortalException,
385 com.liferay.portal.kernel.exception.SystemException {
386 getService().checkEntries();
387 }
388
389 public static void deleteEntries(long groupId)
390 throws com.liferay.portal.kernel.exception.PortalException,
391 com.liferay.portal.kernel.exception.SystemException {
392 getService().deleteEntries(groupId);
393 }
394
395 public static void deleteEntry(
396 com.liferay.portlet.blogs.model.BlogsEntry entry)
397 throws com.liferay.portal.kernel.exception.PortalException,
398 com.liferay.portal.kernel.exception.SystemException {
399 getService().deleteEntry(entry);
400 }
401
402 public static void deleteEntry(long entryId)
403 throws com.liferay.portal.kernel.exception.PortalException,
404 com.liferay.portal.kernel.exception.SystemException {
405 getService().deleteEntry(entryId);
406 }
407
408
412 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
413 long companyId, java.util.Date displayDate, int status, int start,
414 int end) throws com.liferay.portal.kernel.exception.SystemException {
415 return getService()
416 .getCompanyEntries(companyId, displayDate, status, start, end);
417 }
418
419
423 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
424 long companyId, java.util.Date displayDate, int status, int start,
425 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
426 throws com.liferay.portal.kernel.exception.SystemException {
427 return getService()
428 .getCompanyEntries(companyId, displayDate, status, start,
429 end, obc);
430 }
431
432 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
433 long companyId, java.util.Date displayDate,
434 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
435 throws com.liferay.portal.kernel.exception.SystemException {
436 return getService()
437 .getCompanyEntries(companyId, displayDate, queryDefinition);
438 }
439
440
444 public static int getCompanyEntriesCount(long companyId,
445 java.util.Date displayDate, int status)
446 throws com.liferay.portal.kernel.exception.SystemException {
447 return getService()
448 .getCompanyEntriesCount(companyId, displayDate, status);
449 }
450
451 public static int getCompanyEntriesCount(long companyId,
452 java.util.Date displayDate,
453 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
454 throws com.liferay.portal.kernel.exception.SystemException {
455 return getService()
456 .getCompanyEntriesCount(companyId, displayDate,
457 queryDefinition);
458 }
459
460 public static com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
461 long entryId)
462 throws com.liferay.portal.kernel.exception.PortalException,
463 com.liferay.portal.kernel.exception.SystemException {
464 return getService().getEntriesPrevAndNext(entryId);
465 }
466
467 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
468 long entryId)
469 throws com.liferay.portal.kernel.exception.PortalException,
470 com.liferay.portal.kernel.exception.SystemException {
471 return getService().getEntry(entryId);
472 }
473
474 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
475 long groupId, java.lang.String urlTitle)
476 throws com.liferay.portal.kernel.exception.PortalException,
477 com.liferay.portal.kernel.exception.SystemException {
478 return getService().getEntry(groupId, urlTitle);
479 }
480
481
485 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
486 long groupId, java.util.Date displayDate, int status, int start, int end)
487 throws com.liferay.portal.kernel.exception.SystemException {
488 return getService()
489 .getGroupEntries(groupId, displayDate, status, start, end);
490 }
491
492
496 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
497 long groupId, java.util.Date displayDate, int status, int start,
498 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
499 throws com.liferay.portal.kernel.exception.SystemException {
500 return getService()
501 .getGroupEntries(groupId, displayDate, status, start, end,
502 obc);
503 }
504
505 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
506 long groupId, java.util.Date displayDate,
507 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
508 throws com.liferay.portal.kernel.exception.SystemException {
509 return getService()
510 .getGroupEntries(groupId, displayDate, queryDefinition);
511 }
512
513
517 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
518 long groupId, int status, int start, int end)
519 throws com.liferay.portal.kernel.exception.SystemException {
520 return getService().getGroupEntries(groupId, status, start, end);
521 }
522
523
527 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
528 long groupId, int status, int start, int end,
529 com.liferay.portal.kernel.util.OrderByComparator obc)
530 throws com.liferay.portal.kernel.exception.SystemException {
531 return getService().getGroupEntries(groupId, status, start, end, obc);
532 }
533
534 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
535 long groupId,
536 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
537 throws com.liferay.portal.kernel.exception.SystemException {
538 return getService().getGroupEntries(groupId, queryDefinition);
539 }
540
541
545 public static int getGroupEntriesCount(long groupId,
546 java.util.Date displayDate, int status)
547 throws com.liferay.portal.kernel.exception.SystemException {
548 return getService().getGroupEntriesCount(groupId, displayDate, status);
549 }
550
551 public static int getGroupEntriesCount(long groupId,
552 java.util.Date displayDate,
553 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
554 throws com.liferay.portal.kernel.exception.SystemException {
555 return getService()
556 .getGroupEntriesCount(groupId, displayDate, queryDefinition);
557 }
558
559
563 public static int getGroupEntriesCount(long groupId, int status)
564 throws com.liferay.portal.kernel.exception.SystemException {
565 return getService().getGroupEntriesCount(groupId, status);
566 }
567
568 public static int getGroupEntriesCount(long groupId,
569 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
570 throws com.liferay.portal.kernel.exception.SystemException {
571 return getService().getGroupEntriesCount(groupId, queryDefinition);
572 }
573
574
578 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
579 long companyId, long groupId, java.util.Date displayDate, int status,
580 int start, int end)
581 throws com.liferay.portal.kernel.exception.SystemException {
582 return getService()
583 .getGroupsEntries(companyId, groupId, displayDate, status,
584 start, end);
585 }
586
587 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
588 long companyId, long groupId, java.util.Date displayDate,
589 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
590 throws com.liferay.portal.kernel.exception.SystemException {
591 return getService()
592 .getGroupsEntries(companyId, groupId, displayDate,
593 queryDefinition);
594 }
595
596
600 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
601 long groupId, long userId, java.util.Date displayDate, int status,
602 int start, int end)
603 throws com.liferay.portal.kernel.exception.SystemException {
604 return getService()
605 .getGroupUserEntries(groupId, userId, displayDate, status,
606 start, end);
607 }
608
609
613 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
614 long groupId, long userId, java.util.Date displayDate, int status,
615 int start, int end, com.liferay.portal.kernel.util.OrderByComparator obc)
616 throws com.liferay.portal.kernel.exception.SystemException {
617 return getService()
618 .getGroupUserEntries(groupId, userId, displayDate, status,
619 start, end, obc);
620 }
621
622 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
623 long groupId, long userId, java.util.Date displayDate,
624 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
625 throws com.liferay.portal.kernel.exception.SystemException {
626 return getService()
627 .getGroupUserEntries(groupId, userId, displayDate,
628 queryDefinition);
629 }
630
631
635 public static int getGroupUserEntriesCount(long groupId, long userId,
636 java.util.Date displayDate, int status)
637 throws com.liferay.portal.kernel.exception.SystemException {
638 return getService()
639 .getGroupUserEntriesCount(groupId, userId, displayDate,
640 status);
641 }
642
643 public static int getGroupUserEntriesCount(long groupId, long userId,
644 java.util.Date displayDate,
645 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
646 throws com.liferay.portal.kernel.exception.SystemException {
647 return getService()
648 .getGroupUserEntriesCount(groupId, userId, displayDate,
649 queryDefinition);
650 }
651
652 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries()
653 throws com.liferay.portal.kernel.exception.SystemException {
654 return getService().getNoAssetEntries();
655 }
656
657
661 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
662 long organizationId, java.util.Date displayDate, int status, int start,
663 int end) throws com.liferay.portal.kernel.exception.SystemException {
664 return getService()
665 .getOrganizationEntries(organizationId, displayDate, status,
666 start, end);
667 }
668
669
673 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
674 long organizationId, java.util.Date displayDate, int status, int start,
675 int end, com.liferay.portal.kernel.util.OrderByComparator obc)
676 throws com.liferay.portal.kernel.exception.SystemException {
677 return getService()
678 .getOrganizationEntries(organizationId, displayDate, status,
679 start, end, obc);
680 }
681
682 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
683 long organizationId, java.util.Date displayDate,
684 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
685 throws com.liferay.portal.kernel.exception.SystemException {
686 return getService()
687 .getOrganizationEntries(organizationId, displayDate,
688 queryDefinition);
689 }
690
691
695 public static int getOrganizationEntriesCount(long organizationId,
696 java.util.Date displayDate, int status)
697 throws com.liferay.portal.kernel.exception.SystemException {
698 return getService()
699 .getOrganizationEntriesCount(organizationId, displayDate,
700 status);
701 }
702
703 public static int getOrganizationEntriesCount(long organizationId,
704 java.util.Date displayDate,
705 com.liferay.portal.kernel.dao.orm.QueryDefinition queryDefinition)
706 throws com.liferay.portal.kernel.exception.SystemException {
707 return getService()
708 .getOrganizationEntriesCount(organizationId, displayDate,
709 queryDefinition);
710 }
711
712 public static void moveEntriesToTrash(long groupId, long userId)
713 throws com.liferay.portal.kernel.exception.PortalException,
714 com.liferay.portal.kernel.exception.SystemException {
715 getService().moveEntriesToTrash(groupId, userId);
716 }
717
718
730 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
731 long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
732 throws com.liferay.portal.kernel.exception.PortalException,
733 com.liferay.portal.kernel.exception.SystemException {
734 return getService().moveEntryToTrash(userId, entry);
735 }
736
737
748 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
749 long userId, long entryId)
750 throws com.liferay.portal.kernel.exception.PortalException,
751 com.liferay.portal.kernel.exception.SystemException {
752 return getService().moveEntryToTrash(userId, entryId);
753 }
754
755
766 public static void restoreEntryFromTrash(long userId, long entryId)
767 throws com.liferay.portal.kernel.exception.PortalException,
768 com.liferay.portal.kernel.exception.SystemException {
769 getService().restoreEntryFromTrash(userId, entryId);
770 }
771
772 public static void subscribe(long userId, long groupId)
773 throws com.liferay.portal.kernel.exception.PortalException,
774 com.liferay.portal.kernel.exception.SystemException {
775 getService().subscribe(userId, groupId);
776 }
777
778 public static void unsubscribe(long userId, long groupId)
779 throws com.liferay.portal.kernel.exception.PortalException,
780 com.liferay.portal.kernel.exception.SystemException {
781 getService().unsubscribe(userId, groupId);
782 }
783
784 public static void updateAsset(long userId,
785 com.liferay.portlet.blogs.model.BlogsEntry entry,
786 long[] assetCategoryIds, java.lang.String[] assetTagNames,
787 long[] assetLinkEntryIds)
788 throws com.liferay.portal.kernel.exception.PortalException,
789 com.liferay.portal.kernel.exception.SystemException {
790 getService()
791 .updateAsset(userId, entry, assetCategoryIds, assetTagNames,
792 assetLinkEntryIds);
793 }
794
795 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
796 long userId, long entryId, java.lang.String title,
797 java.lang.String description, java.lang.String content,
798 int displayDateMonth, int displayDateDay, int displayDateYear,
799 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
800 boolean allowTrackbacks, java.lang.String[] trackbacks,
801 boolean smallImage, java.lang.String smallImageURL,
802 java.lang.String smallImageFileName,
803 java.io.InputStream smallImageInputStream,
804 com.liferay.portal.service.ServiceContext serviceContext)
805 throws com.liferay.portal.kernel.exception.PortalException,
806 com.liferay.portal.kernel.exception.SystemException {
807 return getService()
808 .updateEntry(userId, entryId, title, description, content,
809 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
810 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
811 smallImage, smallImageURL, smallImageFileName,
812 smallImageInputStream, serviceContext);
813 }
814
815 public static void updateEntryResources(
816 com.liferay.portlet.blogs.model.BlogsEntry entry,
817 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
818 throws com.liferay.portal.kernel.exception.PortalException,
819 com.liferay.portal.kernel.exception.SystemException {
820 getService()
821 .updateEntryResources(entry, groupPermissions, guestPermissions);
822 }
823
824 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
825 long userId, long entryId, int status,
826 com.liferay.portal.service.ServiceContext serviceContext)
827 throws com.liferay.portal.kernel.exception.PortalException,
828 com.liferay.portal.kernel.exception.SystemException {
829 return getService().updateStatus(userId, entryId, status, serviceContext);
830 }
831
832 public static BlogsEntryLocalService getService() {
833 if (_service == null) {
834 _service = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName());
835
836 ReferenceRegistry.registerReference(BlogsEntryLocalServiceUtil.class,
837 "_service");
838 }
839
840 return _service;
841 }
842
843
846 public void setService(BlogsEntryLocalService service) {
847 }
848
849 private static BlogsEntryLocalService _service;
850 }