001
014
015 package com.liferay.blogs.kernel.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
044
050 public static com.liferay.blogs.kernel.model.BlogsEntry addBlogsEntry(
051 com.liferay.blogs.kernel.model.BlogsEntry blogsEntry) {
052 return getService().addBlogsEntry(blogsEntry);
053 }
054
055 public static com.liferay.blogs.kernel.model.BlogsEntry addEntry(
056 long userId, java.lang.String title, java.lang.String content,
057 com.liferay.portal.kernel.service.ServiceContext serviceContext)
058 throws com.liferay.portal.kernel.exception.PortalException {
059 return getService().addEntry(userId, title, content, serviceContext);
060 }
061
062 public static com.liferay.blogs.kernel.model.BlogsEntry addEntry(
063 long userId, java.lang.String title, java.lang.String content,
064 java.util.Date displayDate,
065 com.liferay.portal.kernel.service.ServiceContext serviceContext)
066 throws com.liferay.portal.kernel.exception.PortalException {
067 return getService()
068 .addEntry(userId, title, content, displayDate, serviceContext);
069 }
070
071
077 @Deprecated
078 public static com.liferay.blogs.kernel.model.BlogsEntry addEntry(
079 long userId, java.lang.String title, java.lang.String description,
080 java.lang.String content, int displayDateMonth, int displayDateDay,
081 int displayDateYear, int displayDateHour, int displayDateMinute,
082 boolean allowPingbacks, boolean allowTrackbacks,
083 java.lang.String[] trackbacks, boolean smallImage,
084 java.lang.String smallImageURL, java.lang.String smallImageFileName,
085 java.io.InputStream smallImageInputStream,
086 com.liferay.portal.kernel.service.ServiceContext serviceContext)
087 throws com.liferay.portal.kernel.exception.PortalException {
088 return getService()
089 .addEntry(userId, title, description, content,
090 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
091 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
092 smallImage, smallImageURL, smallImageFileName,
093 smallImageInputStream, serviceContext);
094 }
095
096 public static com.liferay.blogs.kernel.model.BlogsEntry addEntry(
097 long userId, java.lang.String title, java.lang.String subtitle,
098 java.lang.String description, java.lang.String content,
099 int displayDateMonth, int displayDateDay, int displayDateYear,
100 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
101 boolean allowTrackbacks, java.lang.String[] trackbacks,
102 java.lang.String coverImageCaption,
103 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
104 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
105 com.liferay.portal.kernel.service.ServiceContext serviceContext)
106 throws com.liferay.portal.kernel.exception.PortalException {
107 return getService()
108 .addEntry(userId, title, subtitle, description, content,
109 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
110 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
111 coverImageCaption, coverImageImageSelector,
112 smallImageImageSelector, serviceContext);
113 }
114
115 public static com.liferay.blogs.kernel.model.BlogsEntry addEntry(
116 long userId, java.lang.String title, java.lang.String subtitle,
117 java.lang.String description, java.lang.String content,
118 java.util.Date displayDate, boolean allowPingbacks,
119 boolean allowTrackbacks, java.lang.String[] trackbacks,
120 java.lang.String coverImageCaption,
121 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
122 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
123 com.liferay.portal.kernel.service.ServiceContext serviceContext)
124 throws com.liferay.portal.kernel.exception.PortalException {
125 return getService()
126 .addEntry(userId, title, subtitle, description, content,
127 displayDate, allowPingbacks, allowTrackbacks, trackbacks,
128 coverImageCaption, coverImageImageSelector,
129 smallImageImageSelector, serviceContext);
130 }
131
132
138 public static com.liferay.blogs.kernel.model.BlogsEntry createBlogsEntry(
139 long entryId) {
140 return getService().createBlogsEntry(entryId);
141 }
142
143
149 public static com.liferay.blogs.kernel.model.BlogsEntry deleteBlogsEntry(
150 com.liferay.blogs.kernel.model.BlogsEntry blogsEntry) {
151 return getService().deleteBlogsEntry(blogsEntry);
152 }
153
154
161 public static com.liferay.blogs.kernel.model.BlogsEntry deleteBlogsEntry(
162 long entryId)
163 throws com.liferay.portal.kernel.exception.PortalException {
164 return getService().deleteBlogsEntry(entryId);
165 }
166
167 public static com.liferay.blogs.kernel.model.BlogsEntry deleteEntry(
168 com.liferay.blogs.kernel.model.BlogsEntry entry)
169 throws com.liferay.portal.kernel.exception.PortalException {
170 return getService().deleteEntry(entry);
171 }
172
173 public static com.liferay.blogs.kernel.model.BlogsEntry fetchBlogsEntry(
174 long entryId) {
175 return getService().fetchBlogsEntry(entryId);
176 }
177
178
185 public static com.liferay.blogs.kernel.model.BlogsEntry fetchBlogsEntryByUuidAndGroupId(
186 java.lang.String uuid, long groupId) {
187 return getService().fetchBlogsEntryByUuidAndGroupId(uuid, groupId);
188 }
189
190
197 public static com.liferay.blogs.kernel.model.BlogsEntry getBlogsEntry(
198 long entryId)
199 throws com.liferay.portal.kernel.exception.PortalException {
200 return getService().getBlogsEntry(entryId);
201 }
202
203
211 public static com.liferay.blogs.kernel.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
212 java.lang.String uuid, long groupId)
213 throws com.liferay.portal.kernel.exception.PortalException {
214 return getService().getBlogsEntryByUuidAndGroupId(uuid, groupId);
215 }
216
217 public static com.liferay.blogs.kernel.model.BlogsEntry getEntry(
218 long entryId)
219 throws com.liferay.portal.kernel.exception.PortalException {
220 return getService().getEntry(entryId);
221 }
222
223 public static com.liferay.blogs.kernel.model.BlogsEntry getEntry(
224 long groupId, java.lang.String urlTitle)
225 throws com.liferay.portal.kernel.exception.PortalException {
226 return getService().getEntry(groupId, urlTitle);
227 }
228
229
237 public static com.liferay.blogs.kernel.model.BlogsEntry moveEntryToTrash(
238 long userId, com.liferay.blogs.kernel.model.BlogsEntry entry)
239 throws com.liferay.portal.kernel.exception.PortalException {
240 return getService().moveEntryToTrash(userId, entry);
241 }
242
243
250 public static com.liferay.blogs.kernel.model.BlogsEntry moveEntryToTrash(
251 long userId, long entryId)
252 throws com.liferay.portal.kernel.exception.PortalException {
253 return getService().moveEntryToTrash(userId, entryId);
254 }
255
256
264 public static com.liferay.blogs.kernel.model.BlogsEntry restoreEntryFromTrash(
265 long userId, long entryId)
266 throws com.liferay.portal.kernel.exception.PortalException {
267 return getService().restoreEntryFromTrash(userId, entryId);
268 }
269
270
276 public static com.liferay.blogs.kernel.model.BlogsEntry updateBlogsEntry(
277 com.liferay.blogs.kernel.model.BlogsEntry blogsEntry) {
278 return getService().updateBlogsEntry(blogsEntry);
279 }
280
281 public static com.liferay.blogs.kernel.model.BlogsEntry updateEntry(
282 long userId, long entryId, java.lang.String title,
283 java.lang.String content,
284 com.liferay.portal.kernel.service.ServiceContext serviceContext)
285 throws com.liferay.portal.kernel.exception.PortalException {
286 return getService()
287 .updateEntry(userId, entryId, title, content, serviceContext);
288 }
289
290
296 @Deprecated
297 public static com.liferay.blogs.kernel.model.BlogsEntry updateEntry(
298 long userId, long entryId, java.lang.String title,
299 java.lang.String description, java.lang.String content,
300 int displayDateMonth, int displayDateDay, int displayDateYear,
301 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
302 boolean allowTrackbacks, java.lang.String[] trackbacks,
303 boolean smallImage, java.lang.String smallImageURL,
304 java.lang.String smallImageFileName,
305 java.io.InputStream smallImageInputStream,
306 com.liferay.portal.kernel.service.ServiceContext serviceContext)
307 throws com.liferay.portal.kernel.exception.PortalException {
308 return getService()
309 .updateEntry(userId, entryId, title, description, content,
310 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
311 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
312 smallImage, smallImageURL, smallImageFileName,
313 smallImageInputStream, serviceContext);
314 }
315
316 public static com.liferay.blogs.kernel.model.BlogsEntry updateEntry(
317 long userId, long entryId, java.lang.String title,
318 java.lang.String subtitle, java.lang.String description,
319 java.lang.String content, int displayDateMonth, int displayDateDay,
320 int displayDateYear, int displayDateHour, int displayDateMinute,
321 boolean allowPingbacks, boolean allowTrackbacks,
322 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
323 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
324 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
325 com.liferay.portal.kernel.service.ServiceContext serviceContext)
326 throws com.liferay.portal.kernel.exception.PortalException {
327 return getService()
328 .updateEntry(userId, entryId, title, subtitle, description,
329 content, displayDateMonth, displayDateDay, displayDateYear,
330 displayDateHour, displayDateMinute, allowPingbacks,
331 allowTrackbacks, trackbacks, coverImageCaption,
332 coverImageImageSelector, smallImageImageSelector, serviceContext);
333 }
334
335 public static com.liferay.blogs.kernel.model.BlogsEntry updateEntry(
336 long userId, long entryId, java.lang.String title,
337 java.lang.String subtitle, java.lang.String description,
338 java.lang.String content, java.util.Date displayDate,
339 boolean allowPingbacks, boolean allowTrackbacks,
340 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
341 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
342 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
343 com.liferay.portal.kernel.service.ServiceContext serviceContext)
344 throws com.liferay.portal.kernel.exception.PortalException {
345 return getService()
346 .updateEntry(userId, entryId, title, subtitle, description,
347 content, displayDate, allowPingbacks, allowTrackbacks, trackbacks,
348 coverImageCaption, coverImageImageSelector,
349 smallImageImageSelector, serviceContext);
350 }
351
352
356 @Deprecated
357 public static com.liferay.blogs.kernel.model.BlogsEntry updateStatus(
358 long userId, long entryId, int status,
359 com.liferay.portal.kernel.service.ServiceContext serviceContext)
360 throws com.liferay.portal.kernel.exception.PortalException {
361 return getService().updateStatus(userId, entryId, status, serviceContext);
362 }
363
364 public static com.liferay.blogs.kernel.model.BlogsEntry updateStatus(
365 long userId, long entryId, int status,
366 com.liferay.portal.kernel.service.ServiceContext serviceContext,
367 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
368 throws com.liferay.portal.kernel.exception.PortalException {
369 return getService()
370 .updateStatus(userId, entryId, status, serviceContext,
371 workflowContext);
372 }
373
374 public static com.liferay.blogs.kernel.model.BlogsEntry[] getEntriesPrevAndNext(
375 long entryId)
376 throws com.liferay.portal.kernel.exception.PortalException {
377 return getService().getEntriesPrevAndNext(entryId);
378 }
379
380 public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
381 return getService().getActionableDynamicQuery();
382 }
383
384 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
385 return getService().dynamicQuery();
386 }
387
388 public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
389 com.liferay.exportimport.kernel.lar.PortletDataContext portletDataContext) {
390 return getService().getExportActionableDynamicQuery(portletDataContext);
391 }
392
393 public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
394 return getService().getIndexableActionableDynamicQuery();
395 }
396
397
400 public static com.liferay.portal.kernel.model.PersistedModel deletePersistedModel(
401 com.liferay.portal.kernel.model.PersistedModel persistedModel)
402 throws com.liferay.portal.kernel.exception.PortalException {
403 return getService().deletePersistedModel(persistedModel);
404 }
405
406 public static com.liferay.portal.kernel.model.PersistedModel getPersistedModel(
407 java.io.Serializable primaryKeyObj)
408 throws com.liferay.portal.kernel.exception.PortalException {
409 return getService().getPersistedModel(primaryKeyObj);
410 }
411
412 public static com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder(
413 long userId, long groupId)
414 throws com.liferay.portal.kernel.exception.PortalException {
415 return getService().addAttachmentsFolder(userId, groupId);
416 }
417
418 public static com.liferay.portal.kernel.repository.model.Folder fetchAttachmentsFolder(
419 long userId, long groupId) {
420 return getService().fetchAttachmentsFolder(userId, groupId);
421 }
422
423
428 public static int getBlogsEntriesCount() {
429 return getService().getBlogsEntriesCount();
430 }
431
432 public static int getCompanyEntriesCount(long companyId,
433 java.util.Date displayDate,
434 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
435 return getService()
436 .getCompanyEntriesCount(companyId, displayDate,
437 queryDefinition);
438 }
439
440 public static int getGroupEntriesCount(long groupId,
441 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
442 return getService().getGroupEntriesCount(groupId, queryDefinition);
443 }
444
445 public static int getGroupEntriesCount(long groupId,
446 java.util.Date displayDate,
447 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
448 return getService()
449 .getGroupEntriesCount(groupId, displayDate, queryDefinition);
450 }
451
452 public static int getGroupUserEntriesCount(long groupId, long userId,
453 java.util.Date displayDate,
454 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
455 return getService()
456 .getGroupUserEntriesCount(groupId, userId, displayDate,
457 queryDefinition);
458 }
459
460 public static int getOrganizationEntriesCount(long organizationId,
461 java.util.Date displayDate,
462 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
463 return getService()
464 .getOrganizationEntriesCount(organizationId, displayDate,
465 queryDefinition);
466 }
467
468
473 public static java.lang.String getOSGiServiceIdentifier() {
474 return getService().getOSGiServiceIdentifier();
475 }
476
477
483 public static <T> java.util.List<T> dynamicQuery(
484 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
485 return getService().dynamicQuery(dynamicQuery);
486 }
487
488
500 public static <T> java.util.List<T> dynamicQuery(
501 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
502 int end) {
503 return getService().dynamicQuery(dynamicQuery, start, end);
504 }
505
506
519 public static <T> java.util.List<T> dynamicQuery(
520 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
521 int end,
522 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
523 return getService()
524 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
525 }
526
527
538 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getBlogsEntries(
539 int start, int end) {
540 return getService().getBlogsEntries(start, end);
541 }
542
543
550 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
551 java.lang.String uuid, long companyId) {
552 return getService().getBlogsEntriesByUuidAndCompanyId(uuid, companyId);
553 }
554
555
565 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
566 java.lang.String uuid, long companyId, int start, int end,
567 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.blogs.kernel.model.BlogsEntry> orderByComparator) {
568 return getService()
569 .getBlogsEntriesByUuidAndCompanyId(uuid, companyId, start,
570 end, orderByComparator);
571 }
572
573 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getCompanyEntries(
574 long companyId, java.util.Date displayDate,
575 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
576 return getService()
577 .getCompanyEntries(companyId, displayDate, queryDefinition);
578 }
579
580 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(
581 long groupId,
582 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
583 return getService().getGroupEntries(groupId, queryDefinition);
584 }
585
586 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupEntries(
587 long groupId, java.util.Date displayDate,
588 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
589 return getService()
590 .getGroupEntries(groupId, displayDate, queryDefinition);
591 }
592
593 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupUserEntries(
594 long groupId, long userId, java.util.Date displayDate,
595 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
596 return getService()
597 .getGroupUserEntries(groupId, userId, displayDate,
598 queryDefinition);
599 }
600
601 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getGroupsEntries(
602 long companyId, long groupId, java.util.Date displayDate,
603 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
604 return getService()
605 .getGroupsEntries(companyId, groupId, displayDate,
606 queryDefinition);
607 }
608
609 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getNoAssetEntries() {
610 return getService().getNoAssetEntries();
611 }
612
613 public static java.util.List<com.liferay.blogs.kernel.model.BlogsEntry> getOrganizationEntries(
614 long organizationId, java.util.Date displayDate,
615 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.blogs.kernel.model.BlogsEntry> queryDefinition) {
616 return getService()
617 .getOrganizationEntries(organizationId, displayDate,
618 queryDefinition);
619 }
620
621 public static long addOriginalImageFileEntry(long userId, long groupId,
622 long entryId,
623 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector imageSelector)
624 throws com.liferay.portal.kernel.exception.PortalException {
625 return getService()
626 .addOriginalImageFileEntry(userId, groupId, entryId,
627 imageSelector);
628 }
629
630
636 public static long dynamicQueryCount(
637 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
638 return getService().dynamicQueryCount(dynamicQuery);
639 }
640
641
648 public static long dynamicQueryCount(
649 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
650 com.liferay.portal.kernel.dao.orm.Projection projection) {
651 return getService().dynamicQueryCount(dynamicQuery, projection);
652 }
653
654 public static void addCoverImage(long entryId,
655 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector imageSelector)
656 throws com.liferay.portal.kernel.exception.PortalException {
657 getService().addCoverImage(entryId, imageSelector);
658 }
659
660 public static void addEntryResources(
661 com.liferay.blogs.kernel.model.BlogsEntry entry,
662 boolean addGroupPermissions, boolean addGuestPermissions)
663 throws com.liferay.portal.kernel.exception.PortalException {
664 getService()
665 .addEntryResources(entry, addGroupPermissions, addGuestPermissions);
666 }
667
668 public static void addEntryResources(
669 com.liferay.blogs.kernel.model.BlogsEntry entry,
670 com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions)
671 throws com.liferay.portal.kernel.exception.PortalException {
672 getService().addEntryResources(entry, modelPermissions);
673 }
674
675 public static void addEntryResources(long entryId,
676 boolean addGroupPermissions, boolean addGuestPermissions)
677 throws com.liferay.portal.kernel.exception.PortalException {
678 getService()
679 .addEntryResources(entryId, addGroupPermissions, addGuestPermissions);
680 }
681
682 public static void addEntryResources(long entryId,
683 com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions)
684 throws com.liferay.portal.kernel.exception.PortalException {
685 getService().addEntryResources(entryId, modelPermissions);
686 }
687
688 public static void addSmallImage(long entryId,
689 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector imageSelector)
690 throws com.liferay.portal.kernel.exception.PortalException {
691 getService().addSmallImage(entryId, imageSelector);
692 }
693
694 public static void checkEntries()
695 throws com.liferay.portal.kernel.exception.PortalException {
696 getService().checkEntries();
697 }
698
699 public static void deleteEntries(long groupId)
700 throws com.liferay.portal.kernel.exception.PortalException {
701 getService().deleteEntries(groupId);
702 }
703
704 public static void deleteEntry(long entryId)
705 throws com.liferay.portal.kernel.exception.PortalException {
706 getService().deleteEntry(entryId);
707 }
708
709 public static void moveEntriesToTrash(long groupId, long userId)
710 throws com.liferay.portal.kernel.exception.PortalException {
711 getService().moveEntriesToTrash(groupId, userId);
712 }
713
714 public static void subscribe(long userId, long groupId)
715 throws com.liferay.portal.kernel.exception.PortalException {
716 getService().subscribe(userId, groupId);
717 }
718
719 public static void unsubscribe(long userId, long groupId)
720 throws com.liferay.portal.kernel.exception.PortalException {
721 getService().unsubscribe(userId, groupId);
722 }
723
724 public static void updateAsset(long userId,
725 com.liferay.blogs.kernel.model.BlogsEntry entry,
726 long[] assetCategoryIds, java.lang.String[] assetTagNames,
727 long[] assetLinkEntryIds, java.lang.Double priority)
728 throws com.liferay.portal.kernel.exception.PortalException {
729 getService()
730 .updateAsset(userId, entry, assetCategoryIds, assetTagNames,
731 assetLinkEntryIds, priority);
732 }
733
734 public static void updateEntryResources(
735 com.liferay.blogs.kernel.model.BlogsEntry entry,
736 com.liferay.portal.kernel.service.permission.ModelPermissions modelPermissions)
737 throws com.liferay.portal.kernel.exception.PortalException {
738 getService().updateEntryResources(entry, modelPermissions);
739 }
740
741 public static void updateEntryResources(
742 com.liferay.blogs.kernel.model.BlogsEntry entry,
743 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
744 throws com.liferay.portal.kernel.exception.PortalException {
745 getService()
746 .updateEntryResources(entry, groupPermissions, guestPermissions);
747 }
748
749 public static BlogsEntryLocalService getService() {
750 if (_service == null) {
751 _service = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName());
752
753 ReferenceRegistry.registerReference(BlogsEntryLocalServiceUtil.class,
754 "_service");
755 }
756
757 return _service;
758 }
759
760 private static BlogsEntryLocalService _service;
761 }