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
339 public static java.lang.String getBeanIdentifier() {
340 return getService().getBeanIdentifier();
341 }
342
343
354 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntries(
355 int start, int end) {
356 return getService().getBlogsEntries(start, end);
357 }
358
359
366 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
367 java.lang.String uuid, long companyId) {
368 return getService().getBlogsEntriesByUuidAndCompanyId(uuid, companyId);
369 }
370
371
381 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getBlogsEntriesByUuidAndCompanyId(
382 java.lang.String uuid, long companyId, int start, int end,
383 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> orderByComparator) {
384 return getService()
385 .getBlogsEntriesByUuidAndCompanyId(uuid, companyId, start,
386 end, orderByComparator);
387 }
388
389
394 public static int getBlogsEntriesCount() {
395 return getService().getBlogsEntriesCount();
396 }
397
398
405 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntry(
406 long entryId)
407 throws com.liferay.portal.kernel.exception.PortalException {
408 return getService().getBlogsEntry(entryId);
409 }
410
411
419 public static com.liferay.portlet.blogs.model.BlogsEntry getBlogsEntryByUuidAndGroupId(
420 java.lang.String uuid, long groupId)
421 throws com.liferay.portal.kernel.exception.PortalException {
422 return getService().getBlogsEntryByUuidAndGroupId(uuid, groupId);
423 }
424
425 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
426 long companyId, java.util.Date displayDate,
427 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
428 return getService()
429 .getCompanyEntries(companyId, displayDate, queryDefinition);
430 }
431
432
436 @Deprecated
437 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
438 long companyId, java.util.Date displayDate, int status, int start,
439 int end) {
440 return getService()
441 .getCompanyEntries(companyId, displayDate, status, start, end);
442 }
443
444
448 @Deprecated
449 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getCompanyEntries(
450 long companyId, java.util.Date displayDate, int status, int start,
451 int end,
452 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
453 return getService()
454 .getCompanyEntries(companyId, displayDate, status, start,
455 end, obc);
456 }
457
458 public static int getCompanyEntriesCount(long companyId,
459 java.util.Date displayDate,
460 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
461 return getService()
462 .getCompanyEntriesCount(companyId, displayDate,
463 queryDefinition);
464 }
465
466
470 @Deprecated
471 public static int getCompanyEntriesCount(long companyId,
472 java.util.Date displayDate, int status) {
473 return getService()
474 .getCompanyEntriesCount(companyId, displayDate, status);
475 }
476
477 public static com.liferay.portlet.blogs.model.BlogsEntry[] getEntriesPrevAndNext(
478 long entryId)
479 throws com.liferay.portal.kernel.exception.PortalException {
480 return getService().getEntriesPrevAndNext(entryId);
481 }
482
483 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
484 long entryId)
485 throws com.liferay.portal.kernel.exception.PortalException {
486 return getService().getEntry(entryId);
487 }
488
489 public static com.liferay.portlet.blogs.model.BlogsEntry getEntry(
490 long groupId, java.lang.String urlTitle)
491 throws com.liferay.portal.kernel.exception.PortalException {
492 return getService().getEntry(groupId, urlTitle);
493 }
494
495 public static com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery getExportActionableDynamicQuery(
496 com.liferay.portlet.exportimport.lar.PortletDataContext portletDataContext) {
497 return getService().getExportActionableDynamicQuery(portletDataContext);
498 }
499
500 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
501 long groupId, java.util.Date displayDate,
502 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
503 return getService()
504 .getGroupEntries(groupId, displayDate, queryDefinition);
505 }
506
507
511 @Deprecated
512 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
513 long groupId, java.util.Date displayDate, int status, int start, int end) {
514 return getService()
515 .getGroupEntries(groupId, displayDate, status, start, end);
516 }
517
518
522 @Deprecated
523 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
524 long groupId, java.util.Date displayDate, int status, int start,
525 int end,
526 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
527 return getService()
528 .getGroupEntries(groupId, displayDate, status, start, end,
529 obc);
530 }
531
532 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
533 long groupId,
534 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
535 return getService().getGroupEntries(groupId, queryDefinition);
536 }
537
538
542 @Deprecated
543 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
544 long groupId, int status, int start, int end) {
545 return getService().getGroupEntries(groupId, status, start, end);
546 }
547
548
552 @Deprecated
553 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupEntries(
554 long groupId, int status, int start, int end,
555 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
556 return getService().getGroupEntries(groupId, status, start, end, obc);
557 }
558
559 public static int getGroupEntriesCount(long groupId,
560 java.util.Date displayDate,
561 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
562 return getService()
563 .getGroupEntriesCount(groupId, displayDate, queryDefinition);
564 }
565
566
570 @Deprecated
571 public static int getGroupEntriesCount(long groupId,
572 java.util.Date displayDate, int status) {
573 return getService().getGroupEntriesCount(groupId, displayDate, status);
574 }
575
576 public static int getGroupEntriesCount(long groupId,
577 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
578 return getService().getGroupEntriesCount(groupId, queryDefinition);
579 }
580
581
585 @Deprecated
586 public static int getGroupEntriesCount(long groupId, int status) {
587 return getService().getGroupEntriesCount(groupId, status);
588 }
589
590 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
591 long groupId, long userId, java.util.Date displayDate,
592 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
593 return getService()
594 .getGroupUserEntries(groupId, userId, displayDate,
595 queryDefinition);
596 }
597
598
602 @Deprecated
603 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
604 long groupId, long userId, java.util.Date displayDate, int status,
605 int start, int end) {
606 return getService()
607 .getGroupUserEntries(groupId, userId, displayDate, status,
608 start, end);
609 }
610
611
615 @Deprecated
616 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupUserEntries(
617 long groupId, long userId, java.util.Date displayDate, int status,
618 int start, int end,
619 com.liferay.portal.kernel.util.OrderByComparator<com.liferay.portlet.blogs.model.BlogsEntry> obc) {
620 return getService()
621 .getGroupUserEntries(groupId, userId, displayDate, status,
622 start, end, obc);
623 }
624
625 public static int getGroupUserEntriesCount(long groupId, long userId,
626 java.util.Date displayDate,
627 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
628 return getService()
629 .getGroupUserEntriesCount(groupId, userId, displayDate,
630 queryDefinition);
631 }
632
633
637 @Deprecated
638 public static int getGroupUserEntriesCount(long groupId, long userId,
639 java.util.Date displayDate, int status) {
640 return getService()
641 .getGroupUserEntriesCount(groupId, userId, displayDate,
642 status);
643 }
644
645 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
646 long companyId, long groupId, java.util.Date displayDate,
647 com.liferay.portal.kernel.dao.orm.QueryDefinition<com.liferay.portlet.blogs.model.BlogsEntry> queryDefinition) {
648 return getService()
649 .getGroupsEntries(companyId, groupId, displayDate,
650 queryDefinition);
651 }
652
653
657 @Deprecated
658 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getGroupsEntries(
659 long companyId, long groupId, java.util.Date displayDate, int status,
660 int start, int end) {
661 return getService()
662 .getGroupsEntries(companyId, groupId, displayDate, status,
663 start, end);
664 }
665
666 public static java.util.List<com.liferay.portlet.blogs.model.BlogsEntry> getNoAssetEntries() {
667 return getService().getNoAssetEntries();
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
747 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
748 long userId, com.liferay.portlet.blogs.model.BlogsEntry entry)
749 throws com.liferay.portal.kernel.exception.PortalException {
750 return getService().moveEntryToTrash(userId, entry);
751 }
752
753
763 public static com.liferay.portlet.blogs.model.BlogsEntry moveEntryToTrash(
764 long userId, long entryId)
765 throws com.liferay.portal.kernel.exception.PortalException {
766 return getService().moveEntryToTrash(userId, entryId);
767 }
768
769
780 public static com.liferay.portlet.blogs.model.BlogsEntry restoreEntryFromTrash(
781 long userId, long entryId)
782 throws com.liferay.portal.kernel.exception.PortalException {
783 return getService().restoreEntryFromTrash(userId, entryId);
784 }
785
786
791 public static void setBeanIdentifier(java.lang.String beanIdentifier) {
792 getService().setBeanIdentifier(beanIdentifier);
793 }
794
795 public static void subscribe(long userId, long groupId)
796 throws com.liferay.portal.kernel.exception.PortalException {
797 getService().subscribe(userId, groupId);
798 }
799
800 public static void unsubscribe(long userId, long groupId)
801 throws com.liferay.portal.kernel.exception.PortalException {
802 getService().unsubscribe(userId, groupId);
803 }
804
805 public static void updateAsset(long userId,
806 com.liferay.portlet.blogs.model.BlogsEntry entry,
807 long[] assetCategoryIds, java.lang.String[] assetTagNames,
808 long[] assetLinkEntryIds)
809 throws com.liferay.portal.kernel.exception.PortalException {
810 getService()
811 .updateAsset(userId, entry, assetCategoryIds, assetTagNames,
812 assetLinkEntryIds);
813 }
814
815
821 public static com.liferay.portlet.blogs.model.BlogsEntry updateBlogsEntry(
822 com.liferay.portlet.blogs.model.BlogsEntry blogsEntry) {
823 return getService().updateBlogsEntry(blogsEntry);
824 }
825
826 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
827 long userId, long entryId, java.lang.String title,
828 java.lang.String content,
829 com.liferay.portal.service.ServiceContext serviceContext)
830 throws com.liferay.portal.kernel.exception.PortalException {
831 return getService()
832 .updateEntry(userId, entryId, title, content, serviceContext);
833 }
834
835
841 @Deprecated
842 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
843 long userId, long entryId, java.lang.String title,
844 java.lang.String description, java.lang.String content,
845 int displayDateMonth, int displayDateDay, int displayDateYear,
846 int displayDateHour, int displayDateMinute, boolean allowPingbacks,
847 boolean allowTrackbacks, java.lang.String[] trackbacks,
848 boolean smallImage, java.lang.String smallImageURL,
849 java.lang.String smallImageFileName,
850 java.io.InputStream smallImageInputStream,
851 com.liferay.portal.service.ServiceContext serviceContext)
852 throws com.liferay.portal.kernel.exception.PortalException {
853 return getService()
854 .updateEntry(userId, entryId, title, description, content,
855 displayDateMonth, displayDateDay, displayDateYear, displayDateHour,
856 displayDateMinute, allowPingbacks, allowTrackbacks, trackbacks,
857 smallImage, smallImageURL, smallImageFileName,
858 smallImageInputStream, serviceContext);
859 }
860
861 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
862 long userId, long entryId, java.lang.String title,
863 java.lang.String subtitle, java.lang.String description,
864 java.lang.String content, java.util.Date displayDate,
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, displayDate, allowPingbacks, allowTrackbacks, trackbacks,
874 coverImageCaption, coverImageImageSelector,
875 smallImageImageSelector, serviceContext);
876 }
877
878 public static com.liferay.portlet.blogs.model.BlogsEntry updateEntry(
879 long userId, long entryId, java.lang.String title,
880 java.lang.String subtitle, java.lang.String description,
881 java.lang.String content, int displayDateMonth, int displayDateDay,
882 int displayDateYear, int displayDateHour, int displayDateMinute,
883 boolean allowPingbacks, boolean allowTrackbacks,
884 java.lang.String[] trackbacks, java.lang.String coverImageCaption,
885 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector coverImageImageSelector,
886 com.liferay.portal.kernel.servlet.taglib.ui.ImageSelector smallImageImageSelector,
887 com.liferay.portal.service.ServiceContext serviceContext)
888 throws com.liferay.portal.kernel.exception.PortalException {
889 return getService()
890 .updateEntry(userId, entryId, title, subtitle, description,
891 content, displayDateMonth, displayDateDay, displayDateYear,
892 displayDateHour, displayDateMinute, allowPingbacks,
893 allowTrackbacks, trackbacks, coverImageCaption,
894 coverImageImageSelector, smallImageImageSelector, serviceContext);
895 }
896
897 public static void updateEntryResources(
898 com.liferay.portlet.blogs.model.BlogsEntry entry,
899 java.lang.String[] groupPermissions, java.lang.String[] guestPermissions)
900 throws com.liferay.portal.kernel.exception.PortalException {
901 getService()
902 .updateEntryResources(entry, groupPermissions, guestPermissions);
903 }
904
905 public static void updateEntryResources(
906 com.liferay.portlet.blogs.model.BlogsEntry entry,
907 com.liferay.portal.service.permission.ModelPermissions modelPermissions)
908 throws com.liferay.portal.kernel.exception.PortalException {
909 getService().updateEntryResources(entry, modelPermissions);
910 }
911
912
916 @Deprecated
917 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
918 long userId, long entryId, int status,
919 com.liferay.portal.service.ServiceContext serviceContext)
920 throws com.liferay.portal.kernel.exception.PortalException {
921 return getService().updateStatus(userId, entryId, status, serviceContext);
922 }
923
924 public static com.liferay.portlet.blogs.model.BlogsEntry updateStatus(
925 long userId, long entryId, int status,
926 com.liferay.portal.service.ServiceContext serviceContext,
927 java.util.Map<java.lang.String, java.io.Serializable> workflowContext)
928 throws com.liferay.portal.kernel.exception.PortalException {
929 return getService()
930 .updateStatus(userId, entryId, status, serviceContext,
931 workflowContext);
932 }
933
934 public static BlogsEntryLocalService getService() {
935 if (_service == null) {
936 _service = (BlogsEntryLocalService)PortalBeanLocatorUtil.locate(BlogsEntryLocalService.class.getName());
937
938 ReferenceRegistry.registerReference(BlogsEntryLocalServiceUtil.class,
939 "_service");
940 }
941
942 return _service;
943 }
944
945
948 @Deprecated
949 public void setService(BlogsEntryLocalService service) {
950 }
951
952 private static BlogsEntryLocalService _service;
953 }