001
014
015 package com.liferay.portlet.blogs.service.base;
016
017 import com.liferay.counter.service.CounterLocalService;
018
019 import com.liferay.portal.kernel.bean.BeanReference;
020 import com.liferay.portal.kernel.bean.IdentifiableBean;
021 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
024 import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
025 import com.liferay.portal.kernel.exception.PortalException;
026 import com.liferay.portal.kernel.exception.SystemException;
027 import com.liferay.portal.kernel.search.Indexable;
028 import com.liferay.portal.kernel.search.IndexableType;
029 import com.liferay.portal.kernel.util.OrderByComparator;
030 import com.liferay.portal.model.PersistedModel;
031 import com.liferay.portal.service.BaseLocalServiceImpl;
032 import com.liferay.portal.service.CompanyLocalService;
033 import com.liferay.portal.service.CompanyService;
034 import com.liferay.portal.service.GroupLocalService;
035 import com.liferay.portal.service.GroupService;
036 import com.liferay.portal.service.ImageLocalService;
037 import com.liferay.portal.service.ImageService;
038 import com.liferay.portal.service.OrganizationLocalService;
039 import com.liferay.portal.service.OrganizationService;
040 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
041 import com.liferay.portal.service.PortletPreferencesLocalService;
042 import com.liferay.portal.service.PortletPreferencesService;
043 import com.liferay.portal.service.ResourceLocalService;
044 import com.liferay.portal.service.SubscriptionLocalService;
045 import com.liferay.portal.service.UserLocalService;
046 import com.liferay.portal.service.UserService;
047 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
048 import com.liferay.portal.service.persistence.CompanyPersistence;
049 import com.liferay.portal.service.persistence.GroupFinder;
050 import com.liferay.portal.service.persistence.GroupPersistence;
051 import com.liferay.portal.service.persistence.ImagePersistence;
052 import com.liferay.portal.service.persistence.OrganizationFinder;
053 import com.liferay.portal.service.persistence.OrganizationPersistence;
054 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
055 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
056 import com.liferay.portal.service.persistence.SubscriptionPersistence;
057 import com.liferay.portal.service.persistence.UserFinder;
058 import com.liferay.portal.service.persistence.UserPersistence;
059 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
060
061 import com.liferay.portlet.asset.service.AssetEntryLocalService;
062 import com.liferay.portlet.asset.service.AssetEntryService;
063 import com.liferay.portlet.asset.service.AssetLinkLocalService;
064 import com.liferay.portlet.asset.service.AssetTagLocalService;
065 import com.liferay.portlet.asset.service.AssetTagService;
066 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
067 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
068 import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
069 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
070 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
071 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
072 import com.liferay.portlet.blogs.model.BlogsEntry;
073 import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
074 import com.liferay.portlet.blogs.service.BlogsEntryService;
075 import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
076 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
077 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
078 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
079 import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
080 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
081 import com.liferay.portlet.expando.service.ExpandoValueService;
082 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
083 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
084 import com.liferay.portlet.messageboards.service.MBMessageService;
085 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
086 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
087 import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
088 import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
089 import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
090 import com.liferay.portlet.social.service.SocialActivityCounterLocalService;
091 import com.liferay.portlet.social.service.SocialActivityLocalService;
092 import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
093 import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
094 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
095 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
096 import com.liferay.portlet.trash.service.TrashEntryLocalService;
097 import com.liferay.portlet.trash.service.TrashEntryService;
098 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
099
100 import java.io.Serializable;
101
102 import java.util.List;
103
104 import javax.sql.DataSource;
105
106
118 public abstract class BlogsEntryLocalServiceBaseImpl
119 extends BaseLocalServiceImpl implements BlogsEntryLocalService,
120 IdentifiableBean {
121
126
127
134 @Indexable(type = IndexableType.REINDEX)
135 public BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
136 throws SystemException {
137 blogsEntry.setNew(true);
138
139 return blogsEntryPersistence.update(blogsEntry);
140 }
141
142
148 public BlogsEntry createBlogsEntry(long entryId) {
149 return blogsEntryPersistence.create(entryId);
150 }
151
152
160 @Indexable(type = IndexableType.DELETE)
161 public BlogsEntry deleteBlogsEntry(long entryId)
162 throws PortalException, SystemException {
163 return blogsEntryPersistence.remove(entryId);
164 }
165
166
173 @Indexable(type = IndexableType.DELETE)
174 public BlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry)
175 throws SystemException {
176 return blogsEntryPersistence.remove(blogsEntry);
177 }
178
179 public DynamicQuery dynamicQuery() {
180 Class<?> clazz = getClass();
181
182 return DynamicQueryFactoryUtil.forClass(BlogsEntry.class,
183 clazz.getClassLoader());
184 }
185
186
193 @SuppressWarnings("rawtypes")
194 public List dynamicQuery(DynamicQuery dynamicQuery)
195 throws SystemException {
196 return blogsEntryPersistence.findWithDynamicQuery(dynamicQuery);
197 }
198
199
212 @SuppressWarnings("rawtypes")
213 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
214 throws SystemException {
215 return blogsEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
216 end);
217 }
218
219
233 @SuppressWarnings("rawtypes")
234 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
235 OrderByComparator orderByComparator) throws SystemException {
236 return blogsEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
237 end, orderByComparator);
238 }
239
240
247 public long dynamicQueryCount(DynamicQuery dynamicQuery)
248 throws SystemException {
249 return blogsEntryPersistence.countWithDynamicQuery(dynamicQuery);
250 }
251
252 public BlogsEntry fetchBlogsEntry(long entryId) throws SystemException {
253 return blogsEntryPersistence.fetchByPrimaryKey(entryId);
254 }
255
256
264 public BlogsEntry getBlogsEntry(long entryId)
265 throws PortalException, SystemException {
266 return blogsEntryPersistence.findByPrimaryKey(entryId);
267 }
268
269 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
270 throws PortalException, SystemException {
271 return blogsEntryPersistence.findByPrimaryKey(primaryKeyObj);
272 }
273
274
283 public BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid, long groupId)
284 throws PortalException, SystemException {
285 return blogsEntryPersistence.findByUUID_G(uuid, groupId);
286 }
287
288
300 public List<BlogsEntry> getBlogsEntries(int start, int end)
301 throws SystemException {
302 return blogsEntryPersistence.findAll(start, end);
303 }
304
305
311 public int getBlogsEntriesCount() throws SystemException {
312 return blogsEntryPersistence.countAll();
313 }
314
315
322 @Indexable(type = IndexableType.REINDEX)
323 public BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
324 throws SystemException {
325 return blogsEntryPersistence.update(blogsEntry);
326 }
327
328
333 public BlogsEntryLocalService getBlogsEntryLocalService() {
334 return blogsEntryLocalService;
335 }
336
337
342 public void setBlogsEntryLocalService(
343 BlogsEntryLocalService blogsEntryLocalService) {
344 this.blogsEntryLocalService = blogsEntryLocalService;
345 }
346
347
352 public BlogsEntryService getBlogsEntryService() {
353 return blogsEntryService;
354 }
355
356
361 public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
362 this.blogsEntryService = blogsEntryService;
363 }
364
365
370 public BlogsEntryPersistence getBlogsEntryPersistence() {
371 return blogsEntryPersistence;
372 }
373
374
379 public void setBlogsEntryPersistence(
380 BlogsEntryPersistence blogsEntryPersistence) {
381 this.blogsEntryPersistence = blogsEntryPersistence;
382 }
383
384
389 public BlogsEntryFinder getBlogsEntryFinder() {
390 return blogsEntryFinder;
391 }
392
393
398 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
399 this.blogsEntryFinder = blogsEntryFinder;
400 }
401
402
407 public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
408 return blogsStatsUserLocalService;
409 }
410
411
416 public void setBlogsStatsUserLocalService(
417 BlogsStatsUserLocalService blogsStatsUserLocalService) {
418 this.blogsStatsUserLocalService = blogsStatsUserLocalService;
419 }
420
421
426 public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
427 return blogsStatsUserPersistence;
428 }
429
430
435 public void setBlogsStatsUserPersistence(
436 BlogsStatsUserPersistence blogsStatsUserPersistence) {
437 this.blogsStatsUserPersistence = blogsStatsUserPersistence;
438 }
439
440
445 public BlogsStatsUserFinder getBlogsStatsUserFinder() {
446 return blogsStatsUserFinder;
447 }
448
449
454 public void setBlogsStatsUserFinder(
455 BlogsStatsUserFinder blogsStatsUserFinder) {
456 this.blogsStatsUserFinder = blogsStatsUserFinder;
457 }
458
459
464 public CounterLocalService getCounterLocalService() {
465 return counterLocalService;
466 }
467
468
473 public void setCounterLocalService(CounterLocalService counterLocalService) {
474 this.counterLocalService = counterLocalService;
475 }
476
477
482 public CompanyLocalService getCompanyLocalService() {
483 return companyLocalService;
484 }
485
486
491 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
492 this.companyLocalService = companyLocalService;
493 }
494
495
500 public CompanyService getCompanyService() {
501 return companyService;
502 }
503
504
509 public void setCompanyService(CompanyService companyService) {
510 this.companyService = companyService;
511 }
512
513
518 public CompanyPersistence getCompanyPersistence() {
519 return companyPersistence;
520 }
521
522
527 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
528 this.companyPersistence = companyPersistence;
529 }
530
531
536 public GroupLocalService getGroupLocalService() {
537 return groupLocalService;
538 }
539
540
545 public void setGroupLocalService(GroupLocalService groupLocalService) {
546 this.groupLocalService = groupLocalService;
547 }
548
549
554 public GroupService getGroupService() {
555 return groupService;
556 }
557
558
563 public void setGroupService(GroupService groupService) {
564 this.groupService = groupService;
565 }
566
567
572 public GroupPersistence getGroupPersistence() {
573 return groupPersistence;
574 }
575
576
581 public void setGroupPersistence(GroupPersistence groupPersistence) {
582 this.groupPersistence = groupPersistence;
583 }
584
585
590 public GroupFinder getGroupFinder() {
591 return groupFinder;
592 }
593
594
599 public void setGroupFinder(GroupFinder groupFinder) {
600 this.groupFinder = groupFinder;
601 }
602
603
608 public ImageLocalService getImageLocalService() {
609 return imageLocalService;
610 }
611
612
617 public void setImageLocalService(ImageLocalService imageLocalService) {
618 this.imageLocalService = imageLocalService;
619 }
620
621
626 public ImageService getImageService() {
627 return imageService;
628 }
629
630
635 public void setImageService(ImageService imageService) {
636 this.imageService = imageService;
637 }
638
639
644 public ImagePersistence getImagePersistence() {
645 return imagePersistence;
646 }
647
648
653 public void setImagePersistence(ImagePersistence imagePersistence) {
654 this.imagePersistence = imagePersistence;
655 }
656
657
662 public OrganizationLocalService getOrganizationLocalService() {
663 return organizationLocalService;
664 }
665
666
671 public void setOrganizationLocalService(
672 OrganizationLocalService organizationLocalService) {
673 this.organizationLocalService = organizationLocalService;
674 }
675
676
681 public OrganizationService getOrganizationService() {
682 return organizationService;
683 }
684
685
690 public void setOrganizationService(OrganizationService organizationService) {
691 this.organizationService = organizationService;
692 }
693
694
699 public OrganizationPersistence getOrganizationPersistence() {
700 return organizationPersistence;
701 }
702
703
708 public void setOrganizationPersistence(
709 OrganizationPersistence organizationPersistence) {
710 this.organizationPersistence = organizationPersistence;
711 }
712
713
718 public OrganizationFinder getOrganizationFinder() {
719 return organizationFinder;
720 }
721
722
727 public void setOrganizationFinder(OrganizationFinder organizationFinder) {
728 this.organizationFinder = organizationFinder;
729 }
730
731
736 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
737 return portletPreferencesLocalService;
738 }
739
740
745 public void setPortletPreferencesLocalService(
746 PortletPreferencesLocalService portletPreferencesLocalService) {
747 this.portletPreferencesLocalService = portletPreferencesLocalService;
748 }
749
750
755 public PortletPreferencesService getPortletPreferencesService() {
756 return portletPreferencesService;
757 }
758
759
764 public void setPortletPreferencesService(
765 PortletPreferencesService portletPreferencesService) {
766 this.portletPreferencesService = portletPreferencesService;
767 }
768
769
774 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
775 return portletPreferencesPersistence;
776 }
777
778
783 public void setPortletPreferencesPersistence(
784 PortletPreferencesPersistence portletPreferencesPersistence) {
785 this.portletPreferencesPersistence = portletPreferencesPersistence;
786 }
787
788
793 public PortletPreferencesFinder getPortletPreferencesFinder() {
794 return portletPreferencesFinder;
795 }
796
797
802 public void setPortletPreferencesFinder(
803 PortletPreferencesFinder portletPreferencesFinder) {
804 this.portletPreferencesFinder = portletPreferencesFinder;
805 }
806
807
812 public ResourceLocalService getResourceLocalService() {
813 return resourceLocalService;
814 }
815
816
821 public void setResourceLocalService(
822 ResourceLocalService resourceLocalService) {
823 this.resourceLocalService = resourceLocalService;
824 }
825
826
831 public SubscriptionLocalService getSubscriptionLocalService() {
832 return subscriptionLocalService;
833 }
834
835
840 public void setSubscriptionLocalService(
841 SubscriptionLocalService subscriptionLocalService) {
842 this.subscriptionLocalService = subscriptionLocalService;
843 }
844
845
850 public SubscriptionPersistence getSubscriptionPersistence() {
851 return subscriptionPersistence;
852 }
853
854
859 public void setSubscriptionPersistence(
860 SubscriptionPersistence subscriptionPersistence) {
861 this.subscriptionPersistence = subscriptionPersistence;
862 }
863
864
869 public UserLocalService getUserLocalService() {
870 return userLocalService;
871 }
872
873
878 public void setUserLocalService(UserLocalService userLocalService) {
879 this.userLocalService = userLocalService;
880 }
881
882
887 public UserService getUserService() {
888 return userService;
889 }
890
891
896 public void setUserService(UserService userService) {
897 this.userService = userService;
898 }
899
900
905 public UserPersistence getUserPersistence() {
906 return userPersistence;
907 }
908
909
914 public void setUserPersistence(UserPersistence userPersistence) {
915 this.userPersistence = userPersistence;
916 }
917
918
923 public UserFinder getUserFinder() {
924 return userFinder;
925 }
926
927
932 public void setUserFinder(UserFinder userFinder) {
933 this.userFinder = userFinder;
934 }
935
936
941 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
942 return workflowInstanceLinkLocalService;
943 }
944
945
950 public void setWorkflowInstanceLinkLocalService(
951 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
952 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
953 }
954
955
960 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
961 return workflowInstanceLinkPersistence;
962 }
963
964
969 public void setWorkflowInstanceLinkPersistence(
970 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
971 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
972 }
973
974
979 public AssetEntryLocalService getAssetEntryLocalService() {
980 return assetEntryLocalService;
981 }
982
983
988 public void setAssetEntryLocalService(
989 AssetEntryLocalService assetEntryLocalService) {
990 this.assetEntryLocalService = assetEntryLocalService;
991 }
992
993
998 public AssetEntryService getAssetEntryService() {
999 return assetEntryService;
1000 }
1001
1002
1007 public void setAssetEntryService(AssetEntryService assetEntryService) {
1008 this.assetEntryService = assetEntryService;
1009 }
1010
1011
1016 public AssetEntryPersistence getAssetEntryPersistence() {
1017 return assetEntryPersistence;
1018 }
1019
1020
1025 public void setAssetEntryPersistence(
1026 AssetEntryPersistence assetEntryPersistence) {
1027 this.assetEntryPersistence = assetEntryPersistence;
1028 }
1029
1030
1035 public AssetEntryFinder getAssetEntryFinder() {
1036 return assetEntryFinder;
1037 }
1038
1039
1044 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1045 this.assetEntryFinder = assetEntryFinder;
1046 }
1047
1048
1053 public AssetLinkLocalService getAssetLinkLocalService() {
1054 return assetLinkLocalService;
1055 }
1056
1057
1062 public void setAssetLinkLocalService(
1063 AssetLinkLocalService assetLinkLocalService) {
1064 this.assetLinkLocalService = assetLinkLocalService;
1065 }
1066
1067
1072 public AssetLinkPersistence getAssetLinkPersistence() {
1073 return assetLinkPersistence;
1074 }
1075
1076
1081 public void setAssetLinkPersistence(
1082 AssetLinkPersistence assetLinkPersistence) {
1083 this.assetLinkPersistence = assetLinkPersistence;
1084 }
1085
1086
1091 public AssetLinkFinder getAssetLinkFinder() {
1092 return assetLinkFinder;
1093 }
1094
1095
1100 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
1101 this.assetLinkFinder = assetLinkFinder;
1102 }
1103
1104
1109 public AssetTagLocalService getAssetTagLocalService() {
1110 return assetTagLocalService;
1111 }
1112
1113
1118 public void setAssetTagLocalService(
1119 AssetTagLocalService assetTagLocalService) {
1120 this.assetTagLocalService = assetTagLocalService;
1121 }
1122
1123
1128 public AssetTagService getAssetTagService() {
1129 return assetTagService;
1130 }
1131
1132
1137 public void setAssetTagService(AssetTagService assetTagService) {
1138 this.assetTagService = assetTagService;
1139 }
1140
1141
1146 public AssetTagPersistence getAssetTagPersistence() {
1147 return assetTagPersistence;
1148 }
1149
1150
1155 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1156 this.assetTagPersistence = assetTagPersistence;
1157 }
1158
1159
1164 public AssetTagFinder getAssetTagFinder() {
1165 return assetTagFinder;
1166 }
1167
1168
1173 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1174 this.assetTagFinder = assetTagFinder;
1175 }
1176
1177
1182 public ExpandoValueLocalService getExpandoValueLocalService() {
1183 return expandoValueLocalService;
1184 }
1185
1186
1191 public void setExpandoValueLocalService(
1192 ExpandoValueLocalService expandoValueLocalService) {
1193 this.expandoValueLocalService = expandoValueLocalService;
1194 }
1195
1196
1201 public ExpandoValueService getExpandoValueService() {
1202 return expandoValueService;
1203 }
1204
1205
1210 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1211 this.expandoValueService = expandoValueService;
1212 }
1213
1214
1219 public ExpandoValuePersistence getExpandoValuePersistence() {
1220 return expandoValuePersistence;
1221 }
1222
1223
1228 public void setExpandoValuePersistence(
1229 ExpandoValuePersistence expandoValuePersistence) {
1230 this.expandoValuePersistence = expandoValuePersistence;
1231 }
1232
1233
1238 public MBMessageLocalService getMBMessageLocalService() {
1239 return mbMessageLocalService;
1240 }
1241
1242
1247 public void setMBMessageLocalService(
1248 MBMessageLocalService mbMessageLocalService) {
1249 this.mbMessageLocalService = mbMessageLocalService;
1250 }
1251
1252
1257 public MBMessageService getMBMessageService() {
1258 return mbMessageService;
1259 }
1260
1261
1266 public void setMBMessageService(MBMessageService mbMessageService) {
1267 this.mbMessageService = mbMessageService;
1268 }
1269
1270
1275 public MBMessagePersistence getMBMessagePersistence() {
1276 return mbMessagePersistence;
1277 }
1278
1279
1284 public void setMBMessagePersistence(
1285 MBMessagePersistence mbMessagePersistence) {
1286 this.mbMessagePersistence = mbMessagePersistence;
1287 }
1288
1289
1294 public MBMessageFinder getMBMessageFinder() {
1295 return mbMessageFinder;
1296 }
1297
1298
1303 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1304 this.mbMessageFinder = mbMessageFinder;
1305 }
1306
1307
1312 public RatingsStatsLocalService getRatingsStatsLocalService() {
1313 return ratingsStatsLocalService;
1314 }
1315
1316
1321 public void setRatingsStatsLocalService(
1322 RatingsStatsLocalService ratingsStatsLocalService) {
1323 this.ratingsStatsLocalService = ratingsStatsLocalService;
1324 }
1325
1326
1331 public RatingsStatsPersistence getRatingsStatsPersistence() {
1332 return ratingsStatsPersistence;
1333 }
1334
1335
1340 public void setRatingsStatsPersistence(
1341 RatingsStatsPersistence ratingsStatsPersistence) {
1342 this.ratingsStatsPersistence = ratingsStatsPersistence;
1343 }
1344
1345
1350 public RatingsStatsFinder getRatingsStatsFinder() {
1351 return ratingsStatsFinder;
1352 }
1353
1354
1359 public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1360 this.ratingsStatsFinder = ratingsStatsFinder;
1361 }
1362
1363
1368 public SocialActivityLocalService getSocialActivityLocalService() {
1369 return socialActivityLocalService;
1370 }
1371
1372
1377 public void setSocialActivityLocalService(
1378 SocialActivityLocalService socialActivityLocalService) {
1379 this.socialActivityLocalService = socialActivityLocalService;
1380 }
1381
1382
1387 public SocialActivityPersistence getSocialActivityPersistence() {
1388 return socialActivityPersistence;
1389 }
1390
1391
1396 public void setSocialActivityPersistence(
1397 SocialActivityPersistence socialActivityPersistence) {
1398 this.socialActivityPersistence = socialActivityPersistence;
1399 }
1400
1401
1406 public SocialActivityFinder getSocialActivityFinder() {
1407 return socialActivityFinder;
1408 }
1409
1410
1415 public void setSocialActivityFinder(
1416 SocialActivityFinder socialActivityFinder) {
1417 this.socialActivityFinder = socialActivityFinder;
1418 }
1419
1420
1425 public SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
1426 return socialActivityCounterLocalService;
1427 }
1428
1429
1434 public void setSocialActivityCounterLocalService(
1435 SocialActivityCounterLocalService socialActivityCounterLocalService) {
1436 this.socialActivityCounterLocalService = socialActivityCounterLocalService;
1437 }
1438
1439
1444 public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
1445 return socialActivityCounterPersistence;
1446 }
1447
1448
1453 public void setSocialActivityCounterPersistence(
1454 SocialActivityCounterPersistence socialActivityCounterPersistence) {
1455 this.socialActivityCounterPersistence = socialActivityCounterPersistence;
1456 }
1457
1458
1463 public SocialActivityCounterFinder getSocialActivityCounterFinder() {
1464 return socialActivityCounterFinder;
1465 }
1466
1467
1472 public void setSocialActivityCounterFinder(
1473 SocialActivityCounterFinder socialActivityCounterFinder) {
1474 this.socialActivityCounterFinder = socialActivityCounterFinder;
1475 }
1476
1477
1482 public TrashEntryLocalService getTrashEntryLocalService() {
1483 return trashEntryLocalService;
1484 }
1485
1486
1491 public void setTrashEntryLocalService(
1492 TrashEntryLocalService trashEntryLocalService) {
1493 this.trashEntryLocalService = trashEntryLocalService;
1494 }
1495
1496
1501 public TrashEntryService getTrashEntryService() {
1502 return trashEntryService;
1503 }
1504
1505
1510 public void setTrashEntryService(TrashEntryService trashEntryService) {
1511 this.trashEntryService = trashEntryService;
1512 }
1513
1514
1519 public TrashEntryPersistence getTrashEntryPersistence() {
1520 return trashEntryPersistence;
1521 }
1522
1523
1528 public void setTrashEntryPersistence(
1529 TrashEntryPersistence trashEntryPersistence) {
1530 this.trashEntryPersistence = trashEntryPersistence;
1531 }
1532
1533 public void afterPropertiesSet() {
1534 persistedModelLocalServiceRegistry.register("com.liferay.portlet.blogs.model.BlogsEntry",
1535 blogsEntryLocalService);
1536 }
1537
1538 public void destroy() {
1539 persistedModelLocalServiceRegistry.unregister(
1540 "com.liferay.portlet.blogs.model.BlogsEntry");
1541 }
1542
1543
1548 public String getBeanIdentifier() {
1549 return _beanIdentifier;
1550 }
1551
1552
1557 public void setBeanIdentifier(String beanIdentifier) {
1558 _beanIdentifier = beanIdentifier;
1559 }
1560
1561 protected Class<?> getModelClass() {
1562 return BlogsEntry.class;
1563 }
1564
1565 protected String getModelClassName() {
1566 return BlogsEntry.class.getName();
1567 }
1568
1569
1574 protected void runSQL(String sql) throws SystemException {
1575 try {
1576 DataSource dataSource = blogsEntryPersistence.getDataSource();
1577
1578 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1579 sql, new int[0]);
1580
1581 sqlUpdate.update();
1582 }
1583 catch (Exception e) {
1584 throw new SystemException(e);
1585 }
1586 }
1587
1588 @BeanReference(type = BlogsEntryLocalService.class)
1589 protected BlogsEntryLocalService blogsEntryLocalService;
1590 @BeanReference(type = BlogsEntryService.class)
1591 protected BlogsEntryService blogsEntryService;
1592 @BeanReference(type = BlogsEntryPersistence.class)
1593 protected BlogsEntryPersistence blogsEntryPersistence;
1594 @BeanReference(type = BlogsEntryFinder.class)
1595 protected BlogsEntryFinder blogsEntryFinder;
1596 @BeanReference(type = BlogsStatsUserLocalService.class)
1597 protected BlogsStatsUserLocalService blogsStatsUserLocalService;
1598 @BeanReference(type = BlogsStatsUserPersistence.class)
1599 protected BlogsStatsUserPersistence blogsStatsUserPersistence;
1600 @BeanReference(type = BlogsStatsUserFinder.class)
1601 protected BlogsStatsUserFinder blogsStatsUserFinder;
1602 @BeanReference(type = CounterLocalService.class)
1603 protected CounterLocalService counterLocalService;
1604 @BeanReference(type = CompanyLocalService.class)
1605 protected CompanyLocalService companyLocalService;
1606 @BeanReference(type = CompanyService.class)
1607 protected CompanyService companyService;
1608 @BeanReference(type = CompanyPersistence.class)
1609 protected CompanyPersistence companyPersistence;
1610 @BeanReference(type = GroupLocalService.class)
1611 protected GroupLocalService groupLocalService;
1612 @BeanReference(type = GroupService.class)
1613 protected GroupService groupService;
1614 @BeanReference(type = GroupPersistence.class)
1615 protected GroupPersistence groupPersistence;
1616 @BeanReference(type = GroupFinder.class)
1617 protected GroupFinder groupFinder;
1618 @BeanReference(type = ImageLocalService.class)
1619 protected ImageLocalService imageLocalService;
1620 @BeanReference(type = ImageService.class)
1621 protected ImageService imageService;
1622 @BeanReference(type = ImagePersistence.class)
1623 protected ImagePersistence imagePersistence;
1624 @BeanReference(type = OrganizationLocalService.class)
1625 protected OrganizationLocalService organizationLocalService;
1626 @BeanReference(type = OrganizationService.class)
1627 protected OrganizationService organizationService;
1628 @BeanReference(type = OrganizationPersistence.class)
1629 protected OrganizationPersistence organizationPersistence;
1630 @BeanReference(type = OrganizationFinder.class)
1631 protected OrganizationFinder organizationFinder;
1632 @BeanReference(type = PortletPreferencesLocalService.class)
1633 protected PortletPreferencesLocalService portletPreferencesLocalService;
1634 @BeanReference(type = PortletPreferencesService.class)
1635 protected PortletPreferencesService portletPreferencesService;
1636 @BeanReference(type = PortletPreferencesPersistence.class)
1637 protected PortletPreferencesPersistence portletPreferencesPersistence;
1638 @BeanReference(type = PortletPreferencesFinder.class)
1639 protected PortletPreferencesFinder portletPreferencesFinder;
1640 @BeanReference(type = ResourceLocalService.class)
1641 protected ResourceLocalService resourceLocalService;
1642 @BeanReference(type = SubscriptionLocalService.class)
1643 protected SubscriptionLocalService subscriptionLocalService;
1644 @BeanReference(type = SubscriptionPersistence.class)
1645 protected SubscriptionPersistence subscriptionPersistence;
1646 @BeanReference(type = UserLocalService.class)
1647 protected UserLocalService userLocalService;
1648 @BeanReference(type = UserService.class)
1649 protected UserService userService;
1650 @BeanReference(type = UserPersistence.class)
1651 protected UserPersistence userPersistence;
1652 @BeanReference(type = UserFinder.class)
1653 protected UserFinder userFinder;
1654 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1655 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1656 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1657 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1658 @BeanReference(type = AssetEntryLocalService.class)
1659 protected AssetEntryLocalService assetEntryLocalService;
1660 @BeanReference(type = AssetEntryService.class)
1661 protected AssetEntryService assetEntryService;
1662 @BeanReference(type = AssetEntryPersistence.class)
1663 protected AssetEntryPersistence assetEntryPersistence;
1664 @BeanReference(type = AssetEntryFinder.class)
1665 protected AssetEntryFinder assetEntryFinder;
1666 @BeanReference(type = AssetLinkLocalService.class)
1667 protected AssetLinkLocalService assetLinkLocalService;
1668 @BeanReference(type = AssetLinkPersistence.class)
1669 protected AssetLinkPersistence assetLinkPersistence;
1670 @BeanReference(type = AssetLinkFinder.class)
1671 protected AssetLinkFinder assetLinkFinder;
1672 @BeanReference(type = AssetTagLocalService.class)
1673 protected AssetTagLocalService assetTagLocalService;
1674 @BeanReference(type = AssetTagService.class)
1675 protected AssetTagService assetTagService;
1676 @BeanReference(type = AssetTagPersistence.class)
1677 protected AssetTagPersistence assetTagPersistence;
1678 @BeanReference(type = AssetTagFinder.class)
1679 protected AssetTagFinder assetTagFinder;
1680 @BeanReference(type = ExpandoValueLocalService.class)
1681 protected ExpandoValueLocalService expandoValueLocalService;
1682 @BeanReference(type = ExpandoValueService.class)
1683 protected ExpandoValueService expandoValueService;
1684 @BeanReference(type = ExpandoValuePersistence.class)
1685 protected ExpandoValuePersistence expandoValuePersistence;
1686 @BeanReference(type = MBMessageLocalService.class)
1687 protected MBMessageLocalService mbMessageLocalService;
1688 @BeanReference(type = MBMessageService.class)
1689 protected MBMessageService mbMessageService;
1690 @BeanReference(type = MBMessagePersistence.class)
1691 protected MBMessagePersistence mbMessagePersistence;
1692 @BeanReference(type = MBMessageFinder.class)
1693 protected MBMessageFinder mbMessageFinder;
1694 @BeanReference(type = RatingsStatsLocalService.class)
1695 protected RatingsStatsLocalService ratingsStatsLocalService;
1696 @BeanReference(type = RatingsStatsPersistence.class)
1697 protected RatingsStatsPersistence ratingsStatsPersistence;
1698 @BeanReference(type = RatingsStatsFinder.class)
1699 protected RatingsStatsFinder ratingsStatsFinder;
1700 @BeanReference(type = SocialActivityLocalService.class)
1701 protected SocialActivityLocalService socialActivityLocalService;
1702 @BeanReference(type = SocialActivityPersistence.class)
1703 protected SocialActivityPersistence socialActivityPersistence;
1704 @BeanReference(type = SocialActivityFinder.class)
1705 protected SocialActivityFinder socialActivityFinder;
1706 @BeanReference(type = SocialActivityCounterLocalService.class)
1707 protected SocialActivityCounterLocalService socialActivityCounterLocalService;
1708 @BeanReference(type = SocialActivityCounterPersistence.class)
1709 protected SocialActivityCounterPersistence socialActivityCounterPersistence;
1710 @BeanReference(type = SocialActivityCounterFinder.class)
1711 protected SocialActivityCounterFinder socialActivityCounterFinder;
1712 @BeanReference(type = TrashEntryLocalService.class)
1713 protected TrashEntryLocalService trashEntryLocalService;
1714 @BeanReference(type = TrashEntryService.class)
1715 protected TrashEntryService trashEntryService;
1716 @BeanReference(type = TrashEntryPersistence.class)
1717 protected TrashEntryPersistence trashEntryPersistence;
1718 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1719 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1720 private String _beanIdentifier;
1721 }