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 java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries() {
658 return getService().getNoAssetEntries();
659 }
660
661
666 public static java.lang.String getOSGiServiceIdentifier() {
667 return getService().getOSGiServiceIdentifier();
668 }
669
670 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
671 long organizationId, java.util.Date displayDate,
672 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
673 return getService()
674 .getOrganizationEntries(organizationId, displayDate,
675 queryDefinition);
676 }
677
678
682 @Deprecated
683 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
684 long organizationId, java.util.Date displayDate, int status, int start,
685 int end) {
686 return getService()
687 .getOrganizationEntries(organizationId, displayDate, status,
688 start, end);
689 }
690
691
695 @Deprecated
696 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getOrganizationEntries(
697 long organizationId, java.util.Date displayDate, int status, int start,
698 int end,
699 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
700 return getService()
701 .getOrganizationEntries(organizationId, displayDate, status,
702 start, end, obc);
703 }
704
705 public static int getOrganizationEntriesCount(long organizationId,
706 java.util.Date displayDate,
707 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
708 return getService()
709 .getOrganizationEntriesCount(organizationId, displayDate,
710 queryDefinition);
711 }
712
713
717 @Deprecated
718 public static int getOrganizationEntriesCount(long organizationId,
719 java.util.Date displayDate, int status) {
720 return getService()
721 .getOrganizationEntriesCount(organizationId, displayDate,
722 status);
723 }
724
725 public static com.liferay.portal.model.PersistedModel getPersistedModel(
726 java.io.Serializable primaryKeyObj)
727 throws com.liferay.portal.kernel.exception.PortalException {
728 return getService().getPersistedModel(primaryKeyObj);
729 }
730
731 public static void moveEntriesToTrash(long groupId, long userId)
732 throws com.liferay.portal.kernel.exception.PortalException {
733 getService().moveEntriesToTrash(groupId, userId);
734 }
735
736
744 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
745 long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
746 throws com.liferay.portal.kernel.exception.PortalException {
747 return getService().moveEntryToTrash(userId, entry);
748 }
749
750
757 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
758 long userId, long entryId)
759 throws com.liferay.portal.kernel.exception.PortalException {
760 return getService().moveEntryToTrash(userId, entryId);
761 }
762
763
771 public static com.liferay.portlet.blogs.model.BlogsEntry restoreEntryFromTrash(
772 long userId, long entryId)
773 throws com.liferay.portal.kernel.exception.PortalException {
774 return getService().restoreEntryFromTrash(userId, entryId);
775 }
776
777 public static void subscribe(long userId, long groupId)
778 throws com.liferay.portal.kernel.exception.PortalException {
779 getService().subscribe(userId, groupId);
780 }
781
782 public static void unsubscribe(long userId, long groupId)
783 throws com.liferay.portal.kernel.exception.PortalException {
784 getService().unsubscribe(userId, groupId);
785 }
786
787 public static void updateAsset(long userId,
788 com.liferay.portlet.blogs.model.BlogsEntry entry,
789 long[] assetCategoryIds, java.lang.String[] assetTagNames,
790 long[] assetLinkEntryIds)
791 throws com.liferay.portal.kernel.exception.PortalException {
792 getService()
793 .updateAsset(userId, entry, assetCategoryIds, assetTagNames,
794 assetLinkEntryIds);
795 }
796
797
803 public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
804 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
805 return getService().updateBlogsEntry(blogsEntry);
806 }
807
808 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
809 long userId, long entryId, java.lang.String title,
810 java.lang.String content,
811 com.liferay.portal.service.ServiceContext serviceContext)
812 throws com.liferay.portal.kernel.exception.PortalException {
813 return getService()
814 .updateEntry(userId, entryId, title, content, serviceContext);
815 }
816
817
823 @Deprecated
824 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
825 long userId, long entryId, java.lang.String title,
826 java.lang.String description, java.lang.String content,
827 int displayDateMonth, int displayDateDay, int displayDateYear,
828 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
829 boolean allowTrackbacks, java.lang.String[] trackbacks,
830 boolean smallImage, java.lang.String smallImageURL,
831 java.lang.String smallImageFileName,
832 java.io.InputStream smallImageInputStream,
833 com.liferay.portal.service.ServiceContext serviceContext)
834 throws com.liferay.portal.kernel.exception.PortalException {
835 return getService()
836 .updateEntry(userId, entryId, title, description, content,
837 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
838 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
839 smallImage, smallImageURL, smallImageFileName,
840 smallImageInputStream, serviceContext);
841 }
842
843 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
844 long userId, long entryId, java.lang.String title,
845 java.lang.String subtitle, java.lang.String description,
846 java.lang.String content, java.util.Date displayDate,
847 boolean allowPingbacks, boolean allowTrackbacks,
848 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
849 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
850 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
851 com.liferay.portal.service.ServiceContext serviceContext)
852 throws com.liferay.portal.kernel.exception.PortalException {
853 return getService()
854 .updateEntry(userId, entryId, title, subtitle, description,
855 content, displayDate, allowPingbacks, allowTrackbacks, trackbacks,
856 coverImageCaption, coverImageImageSelector,
857 smallImageImageSelector, serviceContext);
858 }
859
860 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
861 long userId, long entryId, java.lang.String title,
862 java.lang.String subtitle, java.lang.String description,
863 java.lang.String content, int displayDateMonth, int displayDateDay,
864 int displayDateYear, int displayDateHour, int displayDateMinute,
865 boolean allowPingbacks, boolean allowTrackbacks,
866 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
867 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
868 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
869 com.liferay.portal.service.ServiceContext serviceContext)
870 throws com.liferay.portal.kernel.exception.PortalException {
871 return getService()
872 .updateEntry(userId, entryId, title, subtitle, description,
873 content, displayDateMonth, displayDateDay, displayDateYear,
874 displayDateHour, displayDateMinute, allowPingbacks,
875 allowTrackbacks, trackbacks, coverImageCaption,
876 coverImageImageSelector, smallImageImageSelector, serviceContext);
877 }
878
879 public static void updateEntryResources(
880 com.liferay.portlet.blogs.model.BlogsEntry entry,
881 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
882 throws com.liferay.portal.kernel.exception.PortalException {
883 getService()
884 .updateEntryResources(entry, groupPermissions, guestPermissions);
885 }
886
887 public static void updateEntryResources(
888 com.liferay.portlet.blogs.model.BlogsEntry entry,
889 com.liferay.portal.service.permission.ModelPermissions modelPermissions)
890 throws com.liferay.portal.kernel.exception.PortalException {
891 getService().updateEntryResources(entry, modelPermissions);
892 }
893
894
898 @Deprecated
899 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
900 long userId, long entryId, int status,
901 com.liferay.portal.service.ServiceContext serviceContext)
902 throws com.liferay.portal.kernel.exception.PortalException {
903 return getService().updateStatus(userId, entryId, status, serviceContext);
904 }
905
906 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
907 long userId, long entryId, int status,
908 com.liferay.portal.service.ServiceContext serviceContext,
909 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
910 throws com.liferay.portal.kernel.exception.PortalException {
911 return getService()
912 .updateStatus(userId, entryId, status, serviceContext,
913 workflowContext);
914 }
915
916 public static BlogsEntryLocalService getService() {
917 if (_service == null) {
918 _service = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName());
919
920 ReferenceRegistry.registerReference(BlogsEntryLocalServiceUtil.class,
921 "_service");
922 }
923
924 return _service;
925 }
926
927
930 @Deprecated
931 public void setService(BlogsEntryLocalService service) {
932 }
933
934 private static BlogsEntryLocalService _service;
935 }