001
014
015 package com.liferay.portlet.blogs.service;
016
017 import aQute.bnd.annotation.ProviderType;
018
019 import com.liferay.portal.kernel.bean.PortalBeanLocatorUtil;
020 import com.liferay.portal.kernel.util.ReferenceRegistry;
021
022
036 @ProviderType
037 public class BlogsEntryLocalServiceUtil {
038
043 public static com.liferay.portal.kernel.repository.model.Folder addAttachmentsFolder(
044 long userId, long groupId)
045 throws com.liferay.portal.kernel.exception.PortalException {
046 return getService().addAttachmentsFolder(userId, groupId);
047 }
048
049
055 public static com.liferay.portlet.blogs.model.BlogsEntry addBlogsEntry(
056 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
057 return getService().addBlogsEntry(blogsEntry);
058 }
059
060 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
061 long userId, java.lang.String title, java.lang.String content,
062 java.util.Date displayDate,
063 com.liferay.portal.service.ServiceContext serviceContext)
064 throws com.liferay.portal.kernel.exception.PortalException {
065 return getService()
066 .addEntry(userId, title, content, displayDate, serviceContext);
067 }
068
069 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
070 long userId, java.lang.String title, java.lang.String content,
071 com.liferay.portal.service.ServiceContext serviceContext)
072 throws com.liferay.portal.kernel.exception.PortalException {
073 return getService().addEntry(userId, title, content, serviceContext);
074 }
075
076
082 @Deprecated
083 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
084 long userId, java.lang.String title, java.lang.String description,
085 java.lang.String content, int displayDateMonth, int displayDateDay,
086 int displayDateYear, int displayDateHour, int displayDateMinute,
087 boolean allowPingbacks, boolean allowTrackbacks,
088 java.lang.String[] trackbacks, boolean smallImage,
089 java.lang.String smallImageURL, java.lang.String smallImageFileName,
090 java.io.InputStream smallImageInputStream,
091 com.liferay.portal.service.ServiceContext serviceContext)
092 throws com.liferay.portal.kernel.exception.PortalException {
093 return getService()
094 .addEntry(userId, title, description, content,
095 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
096 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
097 smallImage, smallImageURL, smallImageFileName,
098 smallImageInputStream, serviceContext);
099 }
100
101 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
102 long userId, java.lang.String title, java.lang.String subtitle,
103 java.lang.String description, java.lang.String content,
104 java.util.Date displayDate, boolean allowPingbacks,
105 boolean allowTrackbacks, java.lang.String[] trackbacks,
106 java.lang.String coverImageCaption,
107 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
108 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
109 com.liferay.portal.service.ServiceContext serviceContext)
110 throws com.liferay.portal.kernel.exception.PortalException {
111 return getService()
112 .addEntry(userId, title, subtitle, description, content,
113 displayDate, allowPingbacks, allowTrackbacks, trackbacks,
114 coverImageCaption, coverImageImageSelector,
115 smallImageImageSelector, serviceContext);
116 }
117
118 public static com.liferay.portlet.blogs.model.BlogsEntry addEntry(
119 long userId, java.lang.String title, java.lang.String subtitle,
120 java.lang.String description, java.lang.String content,
121 int displayDateMonth, int displayDateDay, int displayDateYear,
122 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
123 boolean allowTrackbacks, java.lang.String[] trackbacks,
124 java.lang.String coverImageCaption,
125 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
126 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
127 com.liferay.portal.service.ServiceContext serviceContext)
128 throws com.liferay.portal.kernel.exception.PortalException {
129 return getService()
130 .addEntry(userId, title, subtitle, description, content,
131 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
132 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
133 coverImageCaption, coverImageImageSelector,
134 smallImageImageSelector, serviceContext);
135 }
136
137 public static void addEntryResources(
138 com.liferay.portlet.blogs.model.BlogsEntry entry,
139 boolean addGroupPermissions, boolean addGuestPermissions)
140 throws com.liferay.portal.kernel.exception.PortalException {
141 getService()
142 .addEntryResources(entry, addGroupPermissions, addGuestPermissions);
143 }
144
145 public static void addEntryResources(
146 com.liferay.portlet.blogs.model.BlogsEntry entry,
147 com.liferay.portal.service.permission.ModelPermissions modelPermissions)
148 throws com.liferay.portal.kernel.exception.PortalException {
149 getService().addEntryResources(entry, modelPermissions);
150 }
151
152 public static void addEntryResources(long entryId,
153 boolean addGroupPermissions, boolean addGuestPermissions)
154 throws com.liferay.portal.kernel.exception.PortalException {
155 getService()
156 .addEntryResources(entryId, addGroupPermissions, addGuestPermissions);
157 }
158
159 public static void addEntryResources(long entryId,
160 com.liferay.portal.service.permission.ModelPermissions modelPermissions)
161 throws com.liferay.portal.kernel.exception.PortalException {
162 getService().addEntryResources(entryId, modelPermissions);
163 }
164
165 public static void checkEntries()
166 throws com.liferay.portal.kernel.exception.PortalException {
167 getService().checkEntries();
168 }
169
170
176 public static com.liferay.portlet.blogs.model.BlogsEntry createBlogsEntry(
177 long entryId) {
178 return getService().createBlogsEntry(entryId);
179 }
180
181
187 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
188 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
189 return getService().deleteBlogsEntry(blogsEntry);
190 }
191
192
199 public static com.liferay.portlet.blogs.model.BlogsEntry deleteBlogsEntry(
200 long entryId)
201 throws com.liferay.portal.kernel.exception.PortalException {
202 return getService().deleteBlogsEntry(entryId);
203 }
204
205 public static void deleteEntries(long groupId)
206 throws com.liferay.portal.kernel.exception.PortalException {
207 getService().deleteEntries(groupId);
208 }
209
210 public static com.liferay.portlet.blogs.model.BlogsEntry deleteEntry(
211 com.liferay.portlet.blogs.model.BlogsEntry entry)
212 throws com.liferay.portal.kernel.exception.PortalException {
213 return getService().deleteEntry(entry);
214 }
215
216 public static void deleteEntry(long entryId)
217 throws com.liferay.portal.kernel.exception.PortalException {
218 getService().deleteEntry(entryId);
219 }
220
221
224 public static com.liferay.portal.model.PersistedModel deletePersistedModel(
225 com.liferay.portal.model.PersistedModel persistedModel)
226 throws com.liferay.portal.kernel.exception.PortalException {
227 return getService().deletePersistedModel(persistedModel);
228 }
229
230 public static com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery() {
231 return getService().dynamicQuery();
232 }
233
234
240 public static <T> java.util.List<T> dynamicQuery(
241 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
242 return getService().dynamicQuery(dynamicQuery);
243 }
244
245
257 public static <T> java.util.List<T> dynamicQuery(
258 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
259 int end) {
260 return getService().dynamicQuery(dynamicQuery, start, end);
261 }
262
263
276 public static <T> java.util.List<T> dynamicQuery(
277 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery, int start,
278 int end,
279 com.liferay.portal.kernel.util.OrderByComparator<T> orderByComparator) {
280 return getService()
281 .dynamicQuery(dynamicQuery, start, end, orderByComparator);
282 }
283
284
290 public static long dynamicQueryCount(
291 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery) {
292 return getService().dynamicQueryCount(dynamicQuery);
293 }
294
295
302 public static long dynamicQueryCount(
303 com.liferay.portal.kernel.dao.orm.DynamicQuery dynamicQuery,
304 com.liferay.portal.kernel.dao.orm.Projection projection) {
305 return getService().dynamicQueryCount(dynamicQuery, projection);
306 }
307
308 public static com.liferay.portal.kernel.repository.model.Folder fetchAttachmentsFolder(
309 long userId, long groupId) {
310 return getService().fetchAttachmentsFolder(userId, groupId);
311 }
312
313 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntry(
314 long entryId) {
315 return getService().fetchBlogsEntry(entryId);
316 }
317
318
325 public static com.liferay.portlet.blogs.model.BlogsEntry fetchBlogsEntryByUuidAndGroupId(
326 java.lang.String uuid, long groupId) {
327 return getService().fetchBlogsEntryByUuidAndGroupId(uuid, groupId);
328 }
329
330 public static com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery getActionableDynamicQuery() {
331 return getService().getActionableDynamicQuery();
332 }
333
334
345 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
346 int start, int end) {
347 return getService().getBlogsEntries(start, end);
348 }
349
350
357 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
358 java.lang.String uuid, long companyId) {
359 return getService().getBlogsEntriesByUuidAndCompanyId(uuid, companyId);
360 }
361
362
372 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
373 java.lang.String uuid, long companyId, int start, int end,
374 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> orderByComparator) {
375 return getService()
376 .getBlogsEntriesByUuidAndCompanyId(uuid, companyId, start,
377 end, orderByComparator);
378 }
379
380
385 public static int getBlogsEntriesCount() {
386 return getService().getBlogsEntriesCount();
387 }
388
389
396 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
397 long entryId)
398 throws com.liferay.portal.kernel.exception.PortalException {
399 return getService().getBlogsEntry(entryId);
400 }
401
402
410 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
411 java.lang.String uuid, long groupId)
412 throws com.liferay.portal.kernel.exception.PortalException {
413 return getService().getBlogsEntryByUuidAndGroupId(uuid, groupId);
414 }
415
416 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
417 long companyId, java.util.Date displayDate,
418 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
419 return getService()
420 .getCompanyEntries(companyId, displayDate, queryDefinition);
421 }
422
423
427 @Deprecated
428 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
429 long companyId, java.util.Date displayDate, int status, int start,
430 int end) {
431 return getService()
432 .getCompanyEntries(companyId, displayDate, status, start, end);
433 }
434
435
439 @Deprecated
440 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
441 long companyId, java.util.Date displayDate, int status, int start,
442 int end,
443 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
444 return getService()
445 .getCompanyEntries(companyId, displayDate, status, start,
446 end, obc);
447 }
448
449 public static int getCompanyEntriesCount(long companyId,
450 java.util.Date displayDate,
451 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
452 return getService()
453 .getCompanyEntriesCount(companyId, displayDate,
454 queryDefinition);
455 }
456
457
461 @Deprecated
462 public static int getCompanyEntriesCount(long companyId,
463 java.util.Date displayDate, int status) {
464 return getService()
465 .getCompanyEntriesCount(companyId, displayDate, status);
466 }
467
468 public static com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
469 long entryId)
470 throws com.liferay.portal.kernel.exception.PortalException {
471 return getService().getEntriesPrevAndNext(entryId);
472 }
473
474 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
475 long entryId)
476 throws com.liferay.portal.kernel.exception.PortalException {
477 return getService().getEntry(entryId);
478 }
479
480 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
481 long groupId, java.lang.String urlTitle)
482 throws com.liferay.portal.kernel.exception.PortalException {
483 return getService().getEntry(groupId, urlTitle);
484 }
485
486 public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
487 com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
488 return getService().getExportActionableDynamicQuery(portletDataContext);
489 }
490
491 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
492 long groupId, java.util.Date displayDate,
493 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
494 return getService()
495 .getGroupEntries(groupId, displayDate, queryDefinition);
496 }
497
498
502 @Deprecated
503 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
504 long groupId, java.util.Date displayDate, int status, int start, int end) {
505 return getService()
506 .getGroupEntries(groupId, displayDate, status, start, end);
507 }
508
509
513 @Deprecated
514 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
515 long groupId, java.util.Date displayDate, int status, int start,
516 int end,
517 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
518 return getService()
519 .getGroupEntries(groupId, displayDate, status, start, end,
520 obc);
521 }
522
523 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
524 long groupId,
525 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
526 return getService().getGroupEntries(groupId, queryDefinition);
527 }
528
529
533 @Deprecated
534 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
535 long groupId, int status, int start, int end) {
536 return getService().getGroupEntries(groupId, status, start, end);
537 }
538
539
543 @Deprecated
544 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
545 long groupId, int status, int start, int end,
546 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
547 return getService().getGroupEntries(groupId, status, start, end, obc);
548 }
549
550 public static int getGroupEntriesCount(long groupId,
551 java.util.Date displayDate,
552 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
553 return getService()
554 .getGroupEntriesCount(groupId, displayDate, queryDefinition);
555 }
556
557
561 @Deprecated
562 public static int getGroupEntriesCount(long groupId,
563 java.util.Date displayDate, int status) {
564 return getService().getGroupEntriesCount(groupId, displayDate, status);
565 }
566
567 public static int getGroupEntriesCount(long groupId,
568 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
569 return getService().getGroupEntriesCount(groupId, queryDefinition);
570 }
571
572
576 @Deprecated
577 public static int getGroupEntriesCount(long groupId, int status) {
578 return getService().getGroupEntriesCount(groupId, status);
579 }
580
581 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
582 long groupId, long userId, java.util.Date displayDate,
583 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
584 return getService()
585 .getGroupUserEntries(groupId, userId, displayDate,
586 queryDefinition);
587 }
588
589
593 @Deprecated
594 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
595 long groupId, long userId, java.util.Date displayDate, int status,
596 int start, int end) {
597 return getService()
598 .getGroupUserEntries(groupId, userId, displayDate, status,
599 start, end);
600 }
601
602
606 @Deprecated
607 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
608 long groupId, long userId, java.util.Date displayDate, int status,
609 int start, int end,
610 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
611 return getService()
612 .getGroupUserEntries(groupId, userId, displayDate, status,
613 start, end, obc);
614 }
615
616 public static int getGroupUserEntriesCount(long groupId, long userId,
617 java.util.Date displayDate,
618 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
619 return getService()
620 .getGroupUserEntriesCount(groupId, userId, displayDate,
621 queryDefinition);
622 }
623
624
628 @Deprecated
629 public static int getGroupUserEntriesCount(long groupId, long userId,
630 java.util.Date displayDate, int status) {
631 return getService()
632 .getGroupUserEntriesCount(groupId, userId, displayDate,
633 status);
634 }
635
636 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
637 long companyId, long groupId, java.util.Date displayDate,
638 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
639 return getService()
640 .getGroupsEntries(companyId, groupId, displayDate,
641 queryDefinition);
642 }
643
644
648 @Deprecated
649 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
650 long companyId, long groupId, java.util.Date displayDate, int status,
651 int start, int end) {
652 return getService()
653 .getGroupsEntries(companyId, groupId, displayDate, status,
654 start, end);
655 }
656
657 public static com.liferay.portal.kernel.dao.orm.IndexableActionableDynamicQuery getIndexableActionableDynamicQuery() {
658 return getService().getIndexableActionableDynamicQuery();
659 }
660
661 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries() {
662 return getService().getNoAssetEntries();
663 }
664
665
670 public static java.lang.String getOSGiServiceIdentifier() {
671 return getService().getOSGiServiceIdentifier();
672 }
673
674 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
675 long organizationId, java.util.Date displayDate,
676 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
677 return getService()
678 .getOrganizationEntries(organizationId, displayDate,
679 queryDefinition);
680 }
681
682
686 @Deprecated
687 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
688 long organizationId, java.util.Date displayDate, int status, int start,
689 int end) {
690 return getService()
691 .getOrganizationEntries(organizationId, displayDate, status,
692 start, end);
693 }
694
695
699 @Deprecated
700 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
701 long organizationId, java.util.Date displayDate, int status, int start,
702 int end,
703 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
704 return getService()
705 .getOrganizationEntries(organizationId, displayDate, status,
706 start, end, obc);
707 }
708
709 public static int getOrganizationEntriesCount(long organizationId,
710 java.util.Date displayDate,
711 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
712 return getService()
713 .getOrganizationEntriesCount(organizationId, displayDate,
714 queryDefinition);
715 }
716
717
721 @Deprecated
722 public static int getOrganizationEntriesCount(long organizationId,
723 java.util.Date displayDate, int status) {
724 return getService()
725 .getOrganizationEntriesCount(organizationId, displayDate,
726 status);
727 }
728
729 public static com.liferay.portal.model.PersistedModel getPersistedModel(
730 java.io.Serializable primaryKeyObj)
731 throws com.liferay.portal.kernel.exception.PortalException {
732 return getService().getPersistedModel(primaryKeyObj);
733 }
734
735 public static void moveEntriesToTrash(long groupId, long userId)
736 throws com.liferay.portal.kernel.exception.PortalException {
737 getService().moveEntriesToTrash(groupId, userId);
738 }
739
740
748 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
749 long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
750 throws com.liferay.portal.kernel.exception.PortalException {
751 return getService().moveEntryToTrash(userId, entry);
752 }
753
754
761 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
762 long userId, long entryId)
763 throws com.liferay.portal.kernel.exception.PortalException {
764 return getService().moveEntryToTrash(userId, entryId);
765 }
766
767
775 public static com.liferay.portlet.blogs.model.BlogsEntry restoreEntryFromTrash(
776 long userId, long entryId)
777 throws com.liferay.portal.kernel.exception.PortalException {
778 return getService().restoreEntryFromTrash(userId, entryId);
779 }
780
781 public static void subscribe(long userId, long groupId)
782 throws com.liferay.portal.kernel.exception.PortalException {
783 getService().subscribe(userId, groupId);
784 }
785
786 public static void unsubscribe(long userId, long groupId)
787 throws com.liferay.portal.kernel.exception.PortalException {
788 getService().unsubscribe(userId, groupId);
789 }
790
791 public static void updateAsset(long userId,
792 com.liferay.portlet.blogs.model.BlogsEntry entry,
793 long[] assetCategoryIds, java.lang.String[] assetTagNames,
794 long[] assetLinkEntryIds)
795 throws com.liferay.portal.kernel.exception.PortalException {
796 getService()
797 .updateAsset(userId, entry, assetCategoryIds, assetTagNames,
798 assetLinkEntryIds);
799 }
800
801
807 public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
808 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
809 return getService().updateBlogsEntry(blogsEntry);
810 }
811
812 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
813 long userId, long entryId, java.lang.String title,
814 java.lang.String content,
815 com.liferay.portal.service.ServiceContext serviceContext)
816 throws com.liferay.portal.kernel.exception.PortalException {
817 return getService()
818 .updateEntry(userId, entryId, title, content, serviceContext);
819 }
820
821
827 @Deprecated
828 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
829 long userId, long entryId, java.lang.String title,
830 java.lang.String description, java.lang.String content,
831 int displayDateMonth, int displayDateDay, int displayDateYear,
832 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
833 boolean allowTrackbacks, java.lang.String[] trackbacks,
834 boolean smallImage, java.lang.String smallImageURL,
835 java.lang.String smallImageFileName,
836 java.io.InputStream smallImageInputStream,
837 com.liferay.portal.service.ServiceContext serviceContext)
838 throws com.liferay.portal.kernel.exception.PortalException {
839 return getService()
840 .updateEntry(userId, entryId, title, description, content,
841 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
842 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
843 smallImage, smallImageURL, smallImageFileName,
844 smallImageInputStream, serviceContext);
845 }
846
847 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
848 long userId, long entryId, java.lang.String title,
849 java.lang.String subtitle, java.lang.String description,
850 java.lang.String content, java.util.Date displayDate,
851 boolean allowPingbacks, boolean allowTrackbacks,
852 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
853 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
854 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
855 com.liferay.portal.service.ServiceContext serviceContext)
856 throws com.liferay.portal.kernel.exception.PortalException {
857 return getService()
858 .updateEntry(userId, entryId, title, subtitle, description,
859 content, displayDate, allowPingbacks, allowTrackbacks, trackbacks,
860 coverImageCaption, coverImageImageSelector,
861 smallImageImageSelector, serviceContext);
862 }
863
864 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
865 long userId, long entryId, java.lang.String title,
866 java.lang.String subtitle, java.lang.String description,
867 java.lang.String content, int displayDateMonth, int displayDateDay,
868 int displayDateYear, int displayDateHour, int displayDateMinute,
869 boolean allowPingbacks, boolean allowTrackbacks,
870 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
871 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
872 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
873 com.liferay.portal.service.ServiceContext serviceContext)
874 throws com.liferay.portal.kernel.exception.PortalException {
875 return getService()
876 .updateEntry(userId, entryId, title, subtitle, description,
877 content, displayDateMonth, displayDateDay, displayDateYear,
878 displayDateHour, displayDateMinute, allowPingbacks,
879 allowTrackbacks, trackbacks, coverImageCaption,
880 coverImageImageSelector, smallImageImageSelector, serviceContext);
881 }
882
883 public static void updateEntryResources(
884 com.liferay.portlet.blogs.model.BlogsEntry entry,
885 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
886 throws com.liferay.portal.kernel.exception.PortalException {
887 getService()
888 .updateEntryResources(entry, groupPermissions, guestPermissions);
889 }
890
891 public static void updateEntryResources(
892 com.liferay.portlet.blogs.model.BlogsEntry entry,
893 com.liferay.portal.service.permission.ModelPermissions modelPermissions)
894 throws com.liferay.portal.kernel.exception.PortalException {
895 getService().updateEntryResources(entry, modelPermissions);
896 }
897
898
902 @Deprecated
903 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
904 long userId, long entryId, int status,
905 com.liferay.portal.service.ServiceContext serviceContext)
906 throws com.liferay.portal.kernel.exception.PortalException {
907 return getService().updateStatus(userId, entryId, status, serviceContext);
908 }
909
910 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
911 long userId, long entryId, int status,
912 com.liferay.portal.service.ServiceContext serviceContext,
913 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
914 throws com.liferay.portal.kernel.exception.PortalException {
915 return getService()
916 .updateStatus(userId, entryId, status, serviceContext,
917 workflowContext);
918 }
919
920 public static BlogsEntryLocalService getService() {
921 if (_service == null) {
922 _service = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName());
923
924 ReferenceRegistry.registerReference(BlogsEntryLocalServiceUtil.class,
925 "_service");
926 }
927
928 return _service;
929 }
930
931
934 @Deprecated
935 public void setService(BlogsEntryLocalService service) {
936 }
937
938 private static BlogsEntryLocalService _service;
939 }