001
014
015 package com.liferay.portlet.wiki.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.PersistedModelLocalServiceRegistry;
037 import com.liferay.portal.service.PortletPreferencesLocalService;
038 import com.liferay.portal.service.PortletPreferencesService;
039 import com.liferay.portal.service.ResourceLocalService;
040 import com.liferay.portal.service.SubscriptionLocalService;
041 import com.liferay.portal.service.UserLocalService;
042 import com.liferay.portal.service.UserService;
043 import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
044 import com.liferay.portal.service.persistence.CompanyPersistence;
045 import com.liferay.portal.service.persistence.GroupFinder;
046 import com.liferay.portal.service.persistence.GroupPersistence;
047 import com.liferay.portal.service.persistence.PortletPreferencesFinder;
048 import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
049 import com.liferay.portal.service.persistence.SubscriptionPersistence;
050 import com.liferay.portal.service.persistence.UserFinder;
051 import com.liferay.portal.service.persistence.UserPersistence;
052 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
053
054 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
055 import com.liferay.portlet.asset.service.AssetCategoryService;
056 import com.liferay.portlet.asset.service.AssetEntryLocalService;
057 import com.liferay.portlet.asset.service.AssetEntryService;
058 import com.liferay.portlet.asset.service.AssetLinkLocalService;
059 import com.liferay.portlet.asset.service.AssetTagLocalService;
060 import com.liferay.portlet.asset.service.AssetTagService;
061 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
062 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
063 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
064 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
065 import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
066 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
067 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
068 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
069 import com.liferay.portlet.expando.service.ExpandoValueLocalService;
070 import com.liferay.portlet.expando.service.ExpandoValueService;
071 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
072 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
073 import com.liferay.portlet.messageboards.service.MBMessageService;
074 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
075 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
076 import com.liferay.portlet.social.service.SocialActivityCounterLocalService;
077 import com.liferay.portlet.social.service.SocialActivityLocalService;
078 import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
079 import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
080 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
081 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
082 import com.liferay.portlet.trash.service.TrashEntryLocalService;
083 import com.liferay.portlet.trash.service.TrashEntryService;
084 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
085 import com.liferay.portlet.wiki.model.WikiPage;
086 import com.liferay.portlet.wiki.service.WikiNodeLocalService;
087 import com.liferay.portlet.wiki.service.WikiNodeService;
088 import com.liferay.portlet.wiki.service.WikiPageLocalService;
089 import com.liferay.portlet.wiki.service.WikiPageResourceLocalService;
090 import com.liferay.portlet.wiki.service.WikiPageService;
091 import com.liferay.portlet.wiki.service.persistence.WikiNodePersistence;
092 import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
093 import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
094 import com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence;
095
096 import java.io.Serializable;
097
098 import java.util.List;
099
100 import javax.sql.DataSource;
101
102
114 public abstract class WikiPageLocalServiceBaseImpl extends BaseLocalServiceImpl
115 implements WikiPageLocalService, IdentifiableBean {
116
121
122
129 @Indexable(type = IndexableType.REINDEX)
130 public WikiPage addWikiPage(WikiPage wikiPage) throws SystemException {
131 wikiPage.setNew(true);
132
133 return wikiPagePersistence.update(wikiPage);
134 }
135
136
142 public WikiPage createWikiPage(long pageId) {
143 return wikiPagePersistence.create(pageId);
144 }
145
146
154 @Indexable(type = IndexableType.DELETE)
155 public WikiPage deleteWikiPage(long pageId)
156 throws PortalException, SystemException {
157 return wikiPagePersistence.remove(pageId);
158 }
159
160
167 @Indexable(type = IndexableType.DELETE)
168 public WikiPage deleteWikiPage(WikiPage wikiPage) throws SystemException {
169 return wikiPagePersistence.remove(wikiPage);
170 }
171
172 public DynamicQuery dynamicQuery() {
173 Class<?> clazz = getClass();
174
175 return DynamicQueryFactoryUtil.forClass(WikiPage.class,
176 clazz.getClassLoader());
177 }
178
179
186 @SuppressWarnings("rawtypes")
187 public List dynamicQuery(DynamicQuery dynamicQuery)
188 throws SystemException {
189 return wikiPagePersistence.findWithDynamicQuery(dynamicQuery);
190 }
191
192
205 @SuppressWarnings("rawtypes")
206 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
207 throws SystemException {
208 return wikiPagePersistence.findWithDynamicQuery(dynamicQuery, start, end);
209 }
210
211
225 @SuppressWarnings("rawtypes")
226 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
227 OrderByComparator orderByComparator) throws SystemException {
228 return wikiPagePersistence.findWithDynamicQuery(dynamicQuery, start,
229 end, orderByComparator);
230 }
231
232
239 public long dynamicQueryCount(DynamicQuery dynamicQuery)
240 throws SystemException {
241 return wikiPagePersistence.countWithDynamicQuery(dynamicQuery);
242 }
243
244 public WikiPage fetchWikiPage(long pageId) throws SystemException {
245 return wikiPagePersistence.fetchByPrimaryKey(pageId);
246 }
247
248
256 public WikiPage getWikiPage(long pageId)
257 throws PortalException, SystemException {
258 return wikiPagePersistence.findByPrimaryKey(pageId);
259 }
260
261 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
262 throws PortalException, SystemException {
263 return wikiPagePersistence.findByPrimaryKey(primaryKeyObj);
264 }
265
266
275 public WikiPage getWikiPageByUuidAndGroupId(String uuid, long groupId)
276 throws PortalException, SystemException {
277 return wikiPagePersistence.findByUUID_G(uuid, groupId);
278 }
279
280
292 public List<WikiPage> getWikiPages(int start, int end)
293 throws SystemException {
294 return wikiPagePersistence.findAll(start, end);
295 }
296
297
303 public int getWikiPagesCount() throws SystemException {
304 return wikiPagePersistence.countAll();
305 }
306
307
314 @Indexable(type = IndexableType.REINDEX)
315 public WikiPage updateWikiPage(WikiPage wikiPage) throws SystemException {
316 return wikiPagePersistence.update(wikiPage);
317 }
318
319
324 public WikiNodeLocalService getWikiNodeLocalService() {
325 return wikiNodeLocalService;
326 }
327
328
333 public void setWikiNodeLocalService(
334 WikiNodeLocalService wikiNodeLocalService) {
335 this.wikiNodeLocalService = wikiNodeLocalService;
336 }
337
338
343 public WikiNodeService getWikiNodeService() {
344 return wikiNodeService;
345 }
346
347
352 public void setWikiNodeService(WikiNodeService wikiNodeService) {
353 this.wikiNodeService = wikiNodeService;
354 }
355
356
361 public WikiNodePersistence getWikiNodePersistence() {
362 return wikiNodePersistence;
363 }
364
365
370 public void setWikiNodePersistence(WikiNodePersistence wikiNodePersistence) {
371 this.wikiNodePersistence = wikiNodePersistence;
372 }
373
374
379 public WikiPageLocalService getWikiPageLocalService() {
380 return wikiPageLocalService;
381 }
382
383
388 public void setWikiPageLocalService(
389 WikiPageLocalService wikiPageLocalService) {
390 this.wikiPageLocalService = wikiPageLocalService;
391 }
392
393
398 public WikiPageService getWikiPageService() {
399 return wikiPageService;
400 }
401
402
407 public void setWikiPageService(WikiPageService wikiPageService) {
408 this.wikiPageService = wikiPageService;
409 }
410
411
416 public WikiPagePersistence getWikiPagePersistence() {
417 return wikiPagePersistence;
418 }
419
420
425 public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
426 this.wikiPagePersistence = wikiPagePersistence;
427 }
428
429
434 public WikiPageFinder getWikiPageFinder() {
435 return wikiPageFinder;
436 }
437
438
443 public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
444 this.wikiPageFinder = wikiPageFinder;
445 }
446
447
452 public WikiPageResourceLocalService getWikiPageResourceLocalService() {
453 return wikiPageResourceLocalService;
454 }
455
456
461 public void setWikiPageResourceLocalService(
462 WikiPageResourceLocalService wikiPageResourceLocalService) {
463 this.wikiPageResourceLocalService = wikiPageResourceLocalService;
464 }
465
466
471 public WikiPageResourcePersistence getWikiPageResourcePersistence() {
472 return wikiPageResourcePersistence;
473 }
474
475
480 public void setWikiPageResourcePersistence(
481 WikiPageResourcePersistence wikiPageResourcePersistence) {
482 this.wikiPageResourcePersistence = wikiPageResourcePersistence;
483 }
484
485
490 public CounterLocalService getCounterLocalService() {
491 return counterLocalService;
492 }
493
494
499 public void setCounterLocalService(CounterLocalService counterLocalService) {
500 this.counterLocalService = counterLocalService;
501 }
502
503
508 public CompanyLocalService getCompanyLocalService() {
509 return companyLocalService;
510 }
511
512
517 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
518 this.companyLocalService = companyLocalService;
519 }
520
521
526 public CompanyService getCompanyService() {
527 return companyService;
528 }
529
530
535 public void setCompanyService(CompanyService companyService) {
536 this.companyService = companyService;
537 }
538
539
544 public CompanyPersistence getCompanyPersistence() {
545 return companyPersistence;
546 }
547
548
553 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
554 this.companyPersistence = companyPersistence;
555 }
556
557
562 public GroupLocalService getGroupLocalService() {
563 return groupLocalService;
564 }
565
566
571 public void setGroupLocalService(GroupLocalService groupLocalService) {
572 this.groupLocalService = groupLocalService;
573 }
574
575
580 public GroupService getGroupService() {
581 return groupService;
582 }
583
584
589 public void setGroupService(GroupService groupService) {
590 this.groupService = groupService;
591 }
592
593
598 public GroupPersistence getGroupPersistence() {
599 return groupPersistence;
600 }
601
602
607 public void setGroupPersistence(GroupPersistence groupPersistence) {
608 this.groupPersistence = groupPersistence;
609 }
610
611
616 public GroupFinder getGroupFinder() {
617 return groupFinder;
618 }
619
620
625 public void setGroupFinder(GroupFinder groupFinder) {
626 this.groupFinder = groupFinder;
627 }
628
629
634 public PortletPreferencesLocalService getPortletPreferencesLocalService() {
635 return portletPreferencesLocalService;
636 }
637
638
643 public void setPortletPreferencesLocalService(
644 PortletPreferencesLocalService portletPreferencesLocalService) {
645 this.portletPreferencesLocalService = portletPreferencesLocalService;
646 }
647
648
653 public PortletPreferencesService getPortletPreferencesService() {
654 return portletPreferencesService;
655 }
656
657
662 public void setPortletPreferencesService(
663 PortletPreferencesService portletPreferencesService) {
664 this.portletPreferencesService = portletPreferencesService;
665 }
666
667
672 public PortletPreferencesPersistence getPortletPreferencesPersistence() {
673 return portletPreferencesPersistence;
674 }
675
676
681 public void setPortletPreferencesPersistence(
682 PortletPreferencesPersistence portletPreferencesPersistence) {
683 this.portletPreferencesPersistence = portletPreferencesPersistence;
684 }
685
686
691 public PortletPreferencesFinder getPortletPreferencesFinder() {
692 return portletPreferencesFinder;
693 }
694
695
700 public void setPortletPreferencesFinder(
701 PortletPreferencesFinder portletPreferencesFinder) {
702 this.portletPreferencesFinder = portletPreferencesFinder;
703 }
704
705
710 public ResourceLocalService getResourceLocalService() {
711 return resourceLocalService;
712 }
713
714
719 public void setResourceLocalService(
720 ResourceLocalService resourceLocalService) {
721 this.resourceLocalService = resourceLocalService;
722 }
723
724
729 public SubscriptionLocalService getSubscriptionLocalService() {
730 return subscriptionLocalService;
731 }
732
733
738 public void setSubscriptionLocalService(
739 SubscriptionLocalService subscriptionLocalService) {
740 this.subscriptionLocalService = subscriptionLocalService;
741 }
742
743
748 public SubscriptionPersistence getSubscriptionPersistence() {
749 return subscriptionPersistence;
750 }
751
752
757 public void setSubscriptionPersistence(
758 SubscriptionPersistence subscriptionPersistence) {
759 this.subscriptionPersistence = subscriptionPersistence;
760 }
761
762
767 public UserLocalService getUserLocalService() {
768 return userLocalService;
769 }
770
771
776 public void setUserLocalService(UserLocalService userLocalService) {
777 this.userLocalService = userLocalService;
778 }
779
780
785 public UserService getUserService() {
786 return userService;
787 }
788
789
794 public void setUserService(UserService userService) {
795 this.userService = userService;
796 }
797
798
803 public UserPersistence getUserPersistence() {
804 return userPersistence;
805 }
806
807
812 public void setUserPersistence(UserPersistence userPersistence) {
813 this.userPersistence = userPersistence;
814 }
815
816
821 public UserFinder getUserFinder() {
822 return userFinder;
823 }
824
825
830 public void setUserFinder(UserFinder userFinder) {
831 this.userFinder = userFinder;
832 }
833
834
839 public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
840 return workflowInstanceLinkLocalService;
841 }
842
843
848 public void setWorkflowInstanceLinkLocalService(
849 WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
850 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
851 }
852
853
858 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
859 return workflowInstanceLinkPersistence;
860 }
861
862
867 public void setWorkflowInstanceLinkPersistence(
868 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
869 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
870 }
871
872
877 public AssetCategoryLocalService getAssetCategoryLocalService() {
878 return assetCategoryLocalService;
879 }
880
881
886 public void setAssetCategoryLocalService(
887 AssetCategoryLocalService assetCategoryLocalService) {
888 this.assetCategoryLocalService = assetCategoryLocalService;
889 }
890
891
896 public AssetCategoryService getAssetCategoryService() {
897 return assetCategoryService;
898 }
899
900
905 public void setAssetCategoryService(
906 AssetCategoryService assetCategoryService) {
907 this.assetCategoryService = assetCategoryService;
908 }
909
910
915 public AssetCategoryPersistence getAssetCategoryPersistence() {
916 return assetCategoryPersistence;
917 }
918
919
924 public void setAssetCategoryPersistence(
925 AssetCategoryPersistence assetCategoryPersistence) {
926 this.assetCategoryPersistence = assetCategoryPersistence;
927 }
928
929
934 public AssetCategoryFinder getAssetCategoryFinder() {
935 return assetCategoryFinder;
936 }
937
938
943 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
944 this.assetCategoryFinder = assetCategoryFinder;
945 }
946
947
952 public AssetEntryLocalService getAssetEntryLocalService() {
953 return assetEntryLocalService;
954 }
955
956
961 public void setAssetEntryLocalService(
962 AssetEntryLocalService assetEntryLocalService) {
963 this.assetEntryLocalService = assetEntryLocalService;
964 }
965
966
971 public AssetEntryService getAssetEntryService() {
972 return assetEntryService;
973 }
974
975
980 public void setAssetEntryService(AssetEntryService assetEntryService) {
981 this.assetEntryService = assetEntryService;
982 }
983
984
989 public AssetEntryPersistence getAssetEntryPersistence() {
990 return assetEntryPersistence;
991 }
992
993
998 public void setAssetEntryPersistence(
999 AssetEntryPersistence assetEntryPersistence) {
1000 this.assetEntryPersistence = assetEntryPersistence;
1001 }
1002
1003
1008 public AssetEntryFinder getAssetEntryFinder() {
1009 return assetEntryFinder;
1010 }
1011
1012
1017 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1018 this.assetEntryFinder = assetEntryFinder;
1019 }
1020
1021
1026 public AssetLinkLocalService getAssetLinkLocalService() {
1027 return assetLinkLocalService;
1028 }
1029
1030
1035 public void setAssetLinkLocalService(
1036 AssetLinkLocalService assetLinkLocalService) {
1037 this.assetLinkLocalService = assetLinkLocalService;
1038 }
1039
1040
1045 public AssetLinkPersistence getAssetLinkPersistence() {
1046 return assetLinkPersistence;
1047 }
1048
1049
1054 public void setAssetLinkPersistence(
1055 AssetLinkPersistence assetLinkPersistence) {
1056 this.assetLinkPersistence = assetLinkPersistence;
1057 }
1058
1059
1064 public AssetLinkFinder getAssetLinkFinder() {
1065 return assetLinkFinder;
1066 }
1067
1068
1073 public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
1074 this.assetLinkFinder = assetLinkFinder;
1075 }
1076
1077
1082 public AssetTagLocalService getAssetTagLocalService() {
1083 return assetTagLocalService;
1084 }
1085
1086
1091 public void setAssetTagLocalService(
1092 AssetTagLocalService assetTagLocalService) {
1093 this.assetTagLocalService = assetTagLocalService;
1094 }
1095
1096
1101 public AssetTagService getAssetTagService() {
1102 return assetTagService;
1103 }
1104
1105
1110 public void setAssetTagService(AssetTagService assetTagService) {
1111 this.assetTagService = assetTagService;
1112 }
1113
1114
1119 public AssetTagPersistence getAssetTagPersistence() {
1120 return assetTagPersistence;
1121 }
1122
1123
1128 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1129 this.assetTagPersistence = assetTagPersistence;
1130 }
1131
1132
1137 public AssetTagFinder getAssetTagFinder() {
1138 return assetTagFinder;
1139 }
1140
1141
1146 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1147 this.assetTagFinder = assetTagFinder;
1148 }
1149
1150
1155 public ExpandoValueLocalService getExpandoValueLocalService() {
1156 return expandoValueLocalService;
1157 }
1158
1159
1164 public void setExpandoValueLocalService(
1165 ExpandoValueLocalService expandoValueLocalService) {
1166 this.expandoValueLocalService = expandoValueLocalService;
1167 }
1168
1169
1174 public ExpandoValueService getExpandoValueService() {
1175 return expandoValueService;
1176 }
1177
1178
1183 public void setExpandoValueService(ExpandoValueService expandoValueService) {
1184 this.expandoValueService = expandoValueService;
1185 }
1186
1187
1192 public ExpandoValuePersistence getExpandoValuePersistence() {
1193 return expandoValuePersistence;
1194 }
1195
1196
1201 public void setExpandoValuePersistence(
1202 ExpandoValuePersistence expandoValuePersistence) {
1203 this.expandoValuePersistence = expandoValuePersistence;
1204 }
1205
1206
1211 public MBMessageLocalService getMBMessageLocalService() {
1212 return mbMessageLocalService;
1213 }
1214
1215
1220 public void setMBMessageLocalService(
1221 MBMessageLocalService mbMessageLocalService) {
1222 this.mbMessageLocalService = mbMessageLocalService;
1223 }
1224
1225
1230 public MBMessageService getMBMessageService() {
1231 return mbMessageService;
1232 }
1233
1234
1239 public void setMBMessageService(MBMessageService mbMessageService) {
1240 this.mbMessageService = mbMessageService;
1241 }
1242
1243
1248 public MBMessagePersistence getMBMessagePersistence() {
1249 return mbMessagePersistence;
1250 }
1251
1252
1257 public void setMBMessagePersistence(
1258 MBMessagePersistence mbMessagePersistence) {
1259 this.mbMessagePersistence = mbMessagePersistence;
1260 }
1261
1262
1267 public MBMessageFinder getMBMessageFinder() {
1268 return mbMessageFinder;
1269 }
1270
1271
1276 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1277 this.mbMessageFinder = mbMessageFinder;
1278 }
1279
1280
1285 public SocialActivityLocalService getSocialActivityLocalService() {
1286 return socialActivityLocalService;
1287 }
1288
1289
1294 public void setSocialActivityLocalService(
1295 SocialActivityLocalService socialActivityLocalService) {
1296 this.socialActivityLocalService = socialActivityLocalService;
1297 }
1298
1299
1304 public SocialActivityPersistence getSocialActivityPersistence() {
1305 return socialActivityPersistence;
1306 }
1307
1308
1313 public void setSocialActivityPersistence(
1314 SocialActivityPersistence socialActivityPersistence) {
1315 this.socialActivityPersistence = socialActivityPersistence;
1316 }
1317
1318
1323 public SocialActivityFinder getSocialActivityFinder() {
1324 return socialActivityFinder;
1325 }
1326
1327
1332 public void setSocialActivityFinder(
1333 SocialActivityFinder socialActivityFinder) {
1334 this.socialActivityFinder = socialActivityFinder;
1335 }
1336
1337
1342 public SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
1343 return socialActivityCounterLocalService;
1344 }
1345
1346
1351 public void setSocialActivityCounterLocalService(
1352 SocialActivityCounterLocalService socialActivityCounterLocalService) {
1353 this.socialActivityCounterLocalService = socialActivityCounterLocalService;
1354 }
1355
1356
1361 public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
1362 return socialActivityCounterPersistence;
1363 }
1364
1365
1370 public void setSocialActivityCounterPersistence(
1371 SocialActivityCounterPersistence socialActivityCounterPersistence) {
1372 this.socialActivityCounterPersistence = socialActivityCounterPersistence;
1373 }
1374
1375
1380 public SocialActivityCounterFinder getSocialActivityCounterFinder() {
1381 return socialActivityCounterFinder;
1382 }
1383
1384
1389 public void setSocialActivityCounterFinder(
1390 SocialActivityCounterFinder socialActivityCounterFinder) {
1391 this.socialActivityCounterFinder = socialActivityCounterFinder;
1392 }
1393
1394
1399 public TrashEntryLocalService getTrashEntryLocalService() {
1400 return trashEntryLocalService;
1401 }
1402
1403
1408 public void setTrashEntryLocalService(
1409 TrashEntryLocalService trashEntryLocalService) {
1410 this.trashEntryLocalService = trashEntryLocalService;
1411 }
1412
1413
1418 public TrashEntryService getTrashEntryService() {
1419 return trashEntryService;
1420 }
1421
1422
1427 public void setTrashEntryService(TrashEntryService trashEntryService) {
1428 this.trashEntryService = trashEntryService;
1429 }
1430
1431
1436 public TrashEntryPersistence getTrashEntryPersistence() {
1437 return trashEntryPersistence;
1438 }
1439
1440
1445 public void setTrashEntryPersistence(
1446 TrashEntryPersistence trashEntryPersistence) {
1447 this.trashEntryPersistence = trashEntryPersistence;
1448 }
1449
1450 public void afterPropertiesSet() {
1451 persistedModelLocalServiceRegistry.register("com.liferay.portlet.wiki.model.WikiPage",
1452 wikiPageLocalService);
1453 }
1454
1455 public void destroy() {
1456 persistedModelLocalServiceRegistry.unregister(
1457 "com.liferay.portlet.wiki.model.WikiPage");
1458 }
1459
1460
1465 public String getBeanIdentifier() {
1466 return _beanIdentifier;
1467 }
1468
1469
1474 public void setBeanIdentifier(String beanIdentifier) {
1475 _beanIdentifier = beanIdentifier;
1476 }
1477
1478 protected Class<?> getModelClass() {
1479 return WikiPage.class;
1480 }
1481
1482 protected String getModelClassName() {
1483 return WikiPage.class.getName();
1484 }
1485
1486
1491 protected void runSQL(String sql) throws SystemException {
1492 try {
1493 DataSource dataSource = wikiPagePersistence.getDataSource();
1494
1495 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1496 sql, new int[0]);
1497
1498 sqlUpdate.update();
1499 }
1500 catch (Exception e) {
1501 throw new SystemException(e);
1502 }
1503 }
1504
1505 @BeanReference(type = WikiNodeLocalService.class)
1506 protected WikiNodeLocalService wikiNodeLocalService;
1507 @BeanReference(type = WikiNodeService.class)
1508 protected WikiNodeService wikiNodeService;
1509 @BeanReference(type = WikiNodePersistence.class)
1510 protected WikiNodePersistence wikiNodePersistence;
1511 @BeanReference(type = WikiPageLocalService.class)
1512 protected WikiPageLocalService wikiPageLocalService;
1513 @BeanReference(type = WikiPageService.class)
1514 protected WikiPageService wikiPageService;
1515 @BeanReference(type = WikiPagePersistence.class)
1516 protected WikiPagePersistence wikiPagePersistence;
1517 @BeanReference(type = WikiPageFinder.class)
1518 protected WikiPageFinder wikiPageFinder;
1519 @BeanReference(type = WikiPageResourceLocalService.class)
1520 protected WikiPageResourceLocalService wikiPageResourceLocalService;
1521 @BeanReference(type = WikiPageResourcePersistence.class)
1522 protected WikiPageResourcePersistence wikiPageResourcePersistence;
1523 @BeanReference(type = CounterLocalService.class)
1524 protected CounterLocalService counterLocalService;
1525 @BeanReference(type = CompanyLocalService.class)
1526 protected CompanyLocalService companyLocalService;
1527 @BeanReference(type = CompanyService.class)
1528 protected CompanyService companyService;
1529 @BeanReference(type = CompanyPersistence.class)
1530 protected CompanyPersistence companyPersistence;
1531 @BeanReference(type = GroupLocalService.class)
1532 protected GroupLocalService groupLocalService;
1533 @BeanReference(type = GroupService.class)
1534 protected GroupService groupService;
1535 @BeanReference(type = GroupPersistence.class)
1536 protected GroupPersistence groupPersistence;
1537 @BeanReference(type = GroupFinder.class)
1538 protected GroupFinder groupFinder;
1539 @BeanReference(type = PortletPreferencesLocalService.class)
1540 protected PortletPreferencesLocalService portletPreferencesLocalService;
1541 @BeanReference(type = PortletPreferencesService.class)
1542 protected PortletPreferencesService portletPreferencesService;
1543 @BeanReference(type = PortletPreferencesPersistence.class)
1544 protected PortletPreferencesPersistence portletPreferencesPersistence;
1545 @BeanReference(type = PortletPreferencesFinder.class)
1546 protected PortletPreferencesFinder portletPreferencesFinder;
1547 @BeanReference(type = ResourceLocalService.class)
1548 protected ResourceLocalService resourceLocalService;
1549 @BeanReference(type = SubscriptionLocalService.class)
1550 protected SubscriptionLocalService subscriptionLocalService;
1551 @BeanReference(type = SubscriptionPersistence.class)
1552 protected SubscriptionPersistence subscriptionPersistence;
1553 @BeanReference(type = UserLocalService.class)
1554 protected UserLocalService userLocalService;
1555 @BeanReference(type = UserService.class)
1556 protected UserService userService;
1557 @BeanReference(type = UserPersistence.class)
1558 protected UserPersistence userPersistence;
1559 @BeanReference(type = UserFinder.class)
1560 protected UserFinder userFinder;
1561 @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1562 protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1563 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1564 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1565 @BeanReference(type = AssetCategoryLocalService.class)
1566 protected AssetCategoryLocalService assetCategoryLocalService;
1567 @BeanReference(type = AssetCategoryService.class)
1568 protected AssetCategoryService assetCategoryService;
1569 @BeanReference(type = AssetCategoryPersistence.class)
1570 protected AssetCategoryPersistence assetCategoryPersistence;
1571 @BeanReference(type = AssetCategoryFinder.class)
1572 protected AssetCategoryFinder assetCategoryFinder;
1573 @BeanReference(type = AssetEntryLocalService.class)
1574 protected AssetEntryLocalService assetEntryLocalService;
1575 @BeanReference(type = AssetEntryService.class)
1576 protected AssetEntryService assetEntryService;
1577 @BeanReference(type = AssetEntryPersistence.class)
1578 protected AssetEntryPersistence assetEntryPersistence;
1579 @BeanReference(type = AssetEntryFinder.class)
1580 protected AssetEntryFinder assetEntryFinder;
1581 @BeanReference(type = AssetLinkLocalService.class)
1582 protected AssetLinkLocalService assetLinkLocalService;
1583 @BeanReference(type = AssetLinkPersistence.class)
1584 protected AssetLinkPersistence assetLinkPersistence;
1585 @BeanReference(type = AssetLinkFinder.class)
1586 protected AssetLinkFinder assetLinkFinder;
1587 @BeanReference(type = AssetTagLocalService.class)
1588 protected AssetTagLocalService assetTagLocalService;
1589 @BeanReference(type = AssetTagService.class)
1590 protected AssetTagService assetTagService;
1591 @BeanReference(type = AssetTagPersistence.class)
1592 protected AssetTagPersistence assetTagPersistence;
1593 @BeanReference(type = AssetTagFinder.class)
1594 protected AssetTagFinder assetTagFinder;
1595 @BeanReference(type = ExpandoValueLocalService.class)
1596 protected ExpandoValueLocalService expandoValueLocalService;
1597 @BeanReference(type = ExpandoValueService.class)
1598 protected ExpandoValueService expandoValueService;
1599 @BeanReference(type = ExpandoValuePersistence.class)
1600 protected ExpandoValuePersistence expandoValuePersistence;
1601 @BeanReference(type = MBMessageLocalService.class)
1602 protected MBMessageLocalService mbMessageLocalService;
1603 @BeanReference(type = MBMessageService.class)
1604 protected MBMessageService mbMessageService;
1605 @BeanReference(type = MBMessagePersistence.class)
1606 protected MBMessagePersistence mbMessagePersistence;
1607 @BeanReference(type = MBMessageFinder.class)
1608 protected MBMessageFinder mbMessageFinder;
1609 @BeanReference(type = SocialActivityLocalService.class)
1610 protected SocialActivityLocalService socialActivityLocalService;
1611 @BeanReference(type = SocialActivityPersistence.class)
1612 protected SocialActivityPersistence socialActivityPersistence;
1613 @BeanReference(type = SocialActivityFinder.class)
1614 protected SocialActivityFinder socialActivityFinder;
1615 @BeanReference(type = SocialActivityCounterLocalService.class)
1616 protected SocialActivityCounterLocalService socialActivityCounterLocalService;
1617 @BeanReference(type = SocialActivityCounterPersistence.class)
1618 protected SocialActivityCounterPersistence socialActivityCounterPersistence;
1619 @BeanReference(type = SocialActivityCounterFinder.class)
1620 protected SocialActivityCounterFinder socialActivityCounterFinder;
1621 @BeanReference(type = TrashEntryLocalService.class)
1622 protected TrashEntryLocalService trashEntryLocalService;
1623 @BeanReference(type = TrashEntryService.class)
1624 protected TrashEntryService trashEntryService;
1625 @BeanReference(type = TrashEntryPersistence.class)
1626 protected TrashEntryPersistence trashEntryPersistence;
1627 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1628 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1629 private String _beanIdentifier;
1630 }