001
014
015 package com.liferay.portlet.journal.service.base;
016
017 import com.liferay.portal.kernel.bean.BeanReference;
018 import com.liferay.portal.kernel.bean.IdentifiableBean;
019 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022 import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023 import com.liferay.portal.kernel.dao.orm.Projection;
024 import com.liferay.portal.kernel.exception.PortalException;
025 import com.liferay.portal.kernel.exception.SystemException;
026 import com.liferay.portal.kernel.search.Indexable;
027 import com.liferay.portal.kernel.search.IndexableType;
028 import com.liferay.portal.kernel.util.OrderByComparator;
029 import com.liferay.portal.model.PersistedModel;
030 import com.liferay.portal.service.BaseLocalServiceImpl;
031 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032 import com.liferay.portal.service.persistence.GroupFinder;
033 import com.liferay.portal.service.persistence.GroupPersistence;
034 import com.liferay.portal.service.persistence.UserFinder;
035 import com.liferay.portal.service.persistence.UserPersistence;
036 import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
037
038 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
039 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
040 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
041 import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
042 import com.liferay.portlet.journal.model.JournalFolder;
043 import com.liferay.portlet.journal.service.JournalFolderLocalService;
044 import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
045 import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
046 import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
047 import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
048 import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
049 import com.liferay.portlet.journal.service.persistence.JournalFeedFinder;
050 import com.liferay.portlet.journal.service.persistence.JournalFeedPersistence;
051 import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
052 import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
053 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
054 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
055 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
056 import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
057
058 import java.io.Serializable;
059
060 import java.util.List;
061
062 import javax.sql.DataSource;
063
064
076 public abstract class JournalFolderLocalServiceBaseImpl
077 extends BaseLocalServiceImpl implements JournalFolderLocalService,
078 IdentifiableBean {
079
084
085
092 @Indexable(type = IndexableType.REINDEX)
093 @Override
094 public JournalFolder addJournalFolder(JournalFolder journalFolder)
095 throws SystemException {
096 journalFolder.setNew(true);
097
098 return journalFolderPersistence.update(journalFolder);
099 }
100
101
107 @Override
108 public JournalFolder createJournalFolder(long folderId) {
109 return journalFolderPersistence.create(folderId);
110 }
111
112
120 @Indexable(type = IndexableType.DELETE)
121 @Override
122 public JournalFolder deleteJournalFolder(long folderId)
123 throws PortalException, SystemException {
124 return journalFolderPersistence.remove(folderId);
125 }
126
127
134 @Indexable(type = IndexableType.DELETE)
135 @Override
136 public JournalFolder deleteJournalFolder(JournalFolder journalFolder)
137 throws SystemException {
138 return journalFolderPersistence.remove(journalFolder);
139 }
140
141 @Override
142 public DynamicQuery dynamicQuery() {
143 Class<?> clazz = getClass();
144
145 return DynamicQueryFactoryUtil.forClass(JournalFolder.class,
146 clazz.getClassLoader());
147 }
148
149
156 @Override
157 @SuppressWarnings("rawtypes")
158 public List dynamicQuery(DynamicQuery dynamicQuery)
159 throws SystemException {
160 return journalFolderPersistence.findWithDynamicQuery(dynamicQuery);
161 }
162
163
176 @Override
177 @SuppressWarnings("rawtypes")
178 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
179 throws SystemException {
180 return journalFolderPersistence.findWithDynamicQuery(dynamicQuery,
181 start, end);
182 }
183
184
198 @Override
199 @SuppressWarnings("rawtypes")
200 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
201 OrderByComparator orderByComparator) throws SystemException {
202 return journalFolderPersistence.findWithDynamicQuery(dynamicQuery,
203 start, end, orderByComparator);
204 }
205
206
213 @Override
214 public long dynamicQueryCount(DynamicQuery dynamicQuery)
215 throws SystemException {
216 return journalFolderPersistence.countWithDynamicQuery(dynamicQuery);
217 }
218
219
227 @Override
228 public long dynamicQueryCount(DynamicQuery dynamicQuery,
229 Projection projection) throws SystemException {
230 return journalFolderPersistence.countWithDynamicQuery(dynamicQuery,
231 projection);
232 }
233
234 @Override
235 public JournalFolder fetchJournalFolder(long folderId)
236 throws SystemException {
237 return journalFolderPersistence.fetchByPrimaryKey(folderId);
238 }
239
240
248 @Override
249 public JournalFolder fetchJournalFolderByUuidAndCompanyId(String uuid,
250 long companyId) throws SystemException {
251 return journalFolderPersistence.fetchByUuid_C_First(uuid, companyId,
252 null);
253 }
254
255
263 @Override
264 public JournalFolder fetchJournalFolderByUuidAndGroupId(String uuid,
265 long groupId) throws SystemException {
266 return journalFolderPersistence.fetchByUUID_G(uuid, groupId);
267 }
268
269
277 @Override
278 public JournalFolder getJournalFolder(long folderId)
279 throws PortalException, SystemException {
280 return journalFolderPersistence.findByPrimaryKey(folderId);
281 }
282
283 @Override
284 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
285 throws PortalException, SystemException {
286 return journalFolderPersistence.findByPrimaryKey(primaryKeyObj);
287 }
288
289
298 @Override
299 public JournalFolder getJournalFolderByUuidAndCompanyId(String uuid,
300 long companyId) throws PortalException, SystemException {
301 return journalFolderPersistence.findByUuid_C_First(uuid, companyId, null);
302 }
303
304
313 @Override
314 public JournalFolder getJournalFolderByUuidAndGroupId(String uuid,
315 long groupId) throws PortalException, SystemException {
316 return journalFolderPersistence.findByUUID_G(uuid, groupId);
317 }
318
319
331 @Override
332 public List<JournalFolder> getJournalFolders(int start, int end)
333 throws SystemException {
334 return journalFolderPersistence.findAll(start, end);
335 }
336
337
343 @Override
344 public int getJournalFoldersCount() throws SystemException {
345 return journalFolderPersistence.countAll();
346 }
347
348
355 @Indexable(type = IndexableType.REINDEX)
356 @Override
357 public JournalFolder updateJournalFolder(JournalFolder journalFolder)
358 throws SystemException {
359 return journalFolderPersistence.update(journalFolder);
360 }
361
362
367 public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService() {
368 return journalArticleLocalService;
369 }
370
371
376 public void setJournalArticleLocalService(
377 com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService) {
378 this.journalArticleLocalService = journalArticleLocalService;
379 }
380
381
386 public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService() {
387 return journalArticleService;
388 }
389
390
395 public void setJournalArticleService(
396 com.liferay.portlet.journal.service.JournalArticleService journalArticleService) {
397 this.journalArticleService = journalArticleService;
398 }
399
400
405 public JournalArticlePersistence getJournalArticlePersistence() {
406 return journalArticlePersistence;
407 }
408
409
414 public void setJournalArticlePersistence(
415 JournalArticlePersistence journalArticlePersistence) {
416 this.journalArticlePersistence = journalArticlePersistence;
417 }
418
419
424 public JournalArticleFinder getJournalArticleFinder() {
425 return journalArticleFinder;
426 }
427
428
433 public void setJournalArticleFinder(
434 JournalArticleFinder journalArticleFinder) {
435 this.journalArticleFinder = journalArticleFinder;
436 }
437
438
443 public com.liferay.portlet.journal.service.JournalArticleImageLocalService getJournalArticleImageLocalService() {
444 return journalArticleImageLocalService;
445 }
446
447
452 public void setJournalArticleImageLocalService(
453 com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService) {
454 this.journalArticleImageLocalService = journalArticleImageLocalService;
455 }
456
457
462 public JournalArticleImagePersistence getJournalArticleImagePersistence() {
463 return journalArticleImagePersistence;
464 }
465
466
471 public void setJournalArticleImagePersistence(
472 JournalArticleImagePersistence journalArticleImagePersistence) {
473 this.journalArticleImagePersistence = journalArticleImagePersistence;
474 }
475
476
481 public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
482 return journalArticleResourceLocalService;
483 }
484
485
490 public void setJournalArticleResourceLocalService(
491 com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) {
492 this.journalArticleResourceLocalService = journalArticleResourceLocalService;
493 }
494
495
500 public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
501 return journalArticleResourcePersistence;
502 }
503
504
509 public void setJournalArticleResourcePersistence(
510 JournalArticleResourcePersistence journalArticleResourcePersistence) {
511 this.journalArticleResourcePersistence = journalArticleResourcePersistence;
512 }
513
514
519 public com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService() {
520 return journalContentSearchLocalService;
521 }
522
523
528 public void setJournalContentSearchLocalService(
529 com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService) {
530 this.journalContentSearchLocalService = journalContentSearchLocalService;
531 }
532
533
538 public JournalContentSearchPersistence getJournalContentSearchPersistence() {
539 return journalContentSearchPersistence;
540 }
541
542
547 public void setJournalContentSearchPersistence(
548 JournalContentSearchPersistence journalContentSearchPersistence) {
549 this.journalContentSearchPersistence = journalContentSearchPersistence;
550 }
551
552
557 public com.liferay.portlet.journal.service.JournalFeedLocalService getJournalFeedLocalService() {
558 return journalFeedLocalService;
559 }
560
561
566 public void setJournalFeedLocalService(
567 com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService) {
568 this.journalFeedLocalService = journalFeedLocalService;
569 }
570
571
576 public com.liferay.portlet.journal.service.JournalFeedService getJournalFeedService() {
577 return journalFeedService;
578 }
579
580
585 public void setJournalFeedService(
586 com.liferay.portlet.journal.service.JournalFeedService journalFeedService) {
587 this.journalFeedService = journalFeedService;
588 }
589
590
595 public JournalFeedPersistence getJournalFeedPersistence() {
596 return journalFeedPersistence;
597 }
598
599
604 public void setJournalFeedPersistence(
605 JournalFeedPersistence journalFeedPersistence) {
606 this.journalFeedPersistence = journalFeedPersistence;
607 }
608
609
614 public JournalFeedFinder getJournalFeedFinder() {
615 return journalFeedFinder;
616 }
617
618
623 public void setJournalFeedFinder(JournalFeedFinder journalFeedFinder) {
624 this.journalFeedFinder = journalFeedFinder;
625 }
626
627
632 public com.liferay.portlet.journal.service.JournalFolderLocalService getJournalFolderLocalService() {
633 return journalFolderLocalService;
634 }
635
636
641 public void setJournalFolderLocalService(
642 com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService) {
643 this.journalFolderLocalService = journalFolderLocalService;
644 }
645
646
651 public com.liferay.portlet.journal.service.JournalFolderService getJournalFolderService() {
652 return journalFolderService;
653 }
654
655
660 public void setJournalFolderService(
661 com.liferay.portlet.journal.service.JournalFolderService journalFolderService) {
662 this.journalFolderService = journalFolderService;
663 }
664
665
670 public JournalFolderPersistence getJournalFolderPersistence() {
671 return journalFolderPersistence;
672 }
673
674
679 public void setJournalFolderPersistence(
680 JournalFolderPersistence journalFolderPersistence) {
681 this.journalFolderPersistence = journalFolderPersistence;
682 }
683
684
689 public JournalFolderFinder getJournalFolderFinder() {
690 return journalFolderFinder;
691 }
692
693
698 public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
699 this.journalFolderFinder = journalFolderFinder;
700 }
701
702
707 @SuppressWarnings("deprecation")
708 public com.liferay.portlet.journal.service.JournalStructureLocalService getJournalStructureLocalService() {
709 return journalStructureLocalService;
710 }
711
712
717 @SuppressWarnings("deprecation")
718 public void setJournalStructureLocalService(
719 com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService) {
720 this.journalStructureLocalService = journalStructureLocalService;
721 }
722
723
728 @SuppressWarnings("deprecation")
729 public com.liferay.portlet.journal.service.JournalStructureService getJournalStructureService() {
730 return journalStructureService;
731 }
732
733
738 @SuppressWarnings("deprecation")
739 public void setJournalStructureService(
740 com.liferay.portlet.journal.service.JournalStructureService journalStructureService) {
741 this.journalStructureService = journalStructureService;
742 }
743
744
749 @SuppressWarnings("deprecation")
750 public com.liferay.portlet.journal.service.JournalTemplateLocalService getJournalTemplateLocalService() {
751 return journalTemplateLocalService;
752 }
753
754
759 @SuppressWarnings("deprecation")
760 public void setJournalTemplateLocalService(
761 com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService) {
762 this.journalTemplateLocalService = journalTemplateLocalService;
763 }
764
765
770 @SuppressWarnings("deprecation")
771 public com.liferay.portlet.journal.service.JournalTemplateService getJournalTemplateService() {
772 return journalTemplateService;
773 }
774
775
780 @SuppressWarnings("deprecation")
781 public void setJournalTemplateService(
782 com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService) {
783 this.journalTemplateService = journalTemplateService;
784 }
785
786
791 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
792 return counterLocalService;
793 }
794
795
800 public void setCounterLocalService(
801 com.liferay.counter.service.CounterLocalService counterLocalService) {
802 this.counterLocalService = counterLocalService;
803 }
804
805
810 public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
811 return groupLocalService;
812 }
813
814
819 public void setGroupLocalService(
820 com.liferay.portal.service.GroupLocalService groupLocalService) {
821 this.groupLocalService = groupLocalService;
822 }
823
824
829 public com.liferay.portal.service.GroupService getGroupService() {
830 return groupService;
831 }
832
833
838 public void setGroupService(
839 com.liferay.portal.service.GroupService groupService) {
840 this.groupService = groupService;
841 }
842
843
848 public GroupPersistence getGroupPersistence() {
849 return groupPersistence;
850 }
851
852
857 public void setGroupPersistence(GroupPersistence groupPersistence) {
858 this.groupPersistence = groupPersistence;
859 }
860
861
866 public GroupFinder getGroupFinder() {
867 return groupFinder;
868 }
869
870
875 public void setGroupFinder(GroupFinder groupFinder) {
876 this.groupFinder = groupFinder;
877 }
878
879
884 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
885 return resourceLocalService;
886 }
887
888
893 public void setResourceLocalService(
894 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
895 this.resourceLocalService = resourceLocalService;
896 }
897
898
903 public com.liferay.portal.service.UserLocalService getUserLocalService() {
904 return userLocalService;
905 }
906
907
912 public void setUserLocalService(
913 com.liferay.portal.service.UserLocalService userLocalService) {
914 this.userLocalService = userLocalService;
915 }
916
917
922 public com.liferay.portal.service.UserService getUserService() {
923 return userService;
924 }
925
926
931 public void setUserService(
932 com.liferay.portal.service.UserService userService) {
933 this.userService = userService;
934 }
935
936
941 public UserPersistence getUserPersistence() {
942 return userPersistence;
943 }
944
945
950 public void setUserPersistence(UserPersistence userPersistence) {
951 this.userPersistence = userPersistence;
952 }
953
954
959 public UserFinder getUserFinder() {
960 return userFinder;
961 }
962
963
968 public void setUserFinder(UserFinder userFinder) {
969 this.userFinder = userFinder;
970 }
971
972
977 public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
978 return workflowInstanceLinkLocalService;
979 }
980
981
986 public void setWorkflowInstanceLinkLocalService(
987 com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
988 this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
989 }
990
991
996 public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
997 return workflowInstanceLinkPersistence;
998 }
999
1000
1005 public void setWorkflowInstanceLinkPersistence(
1006 WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1007 this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1008 }
1009
1010
1015 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1016 return assetEntryLocalService;
1017 }
1018
1019
1024 public void setAssetEntryLocalService(
1025 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1026 this.assetEntryLocalService = assetEntryLocalService;
1027 }
1028
1029
1034 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1035 return assetEntryService;
1036 }
1037
1038
1043 public void setAssetEntryService(
1044 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1045 this.assetEntryService = assetEntryService;
1046 }
1047
1048
1053 public AssetEntryPersistence getAssetEntryPersistence() {
1054 return assetEntryPersistence;
1055 }
1056
1057
1062 public void setAssetEntryPersistence(
1063 AssetEntryPersistence assetEntryPersistence) {
1064 this.assetEntryPersistence = assetEntryPersistence;
1065 }
1066
1067
1072 public AssetEntryFinder getAssetEntryFinder() {
1073 return assetEntryFinder;
1074 }
1075
1076
1081 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1082 this.assetEntryFinder = assetEntryFinder;
1083 }
1084
1085
1090 public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
1091 return assetLinkLocalService;
1092 }
1093
1094
1099 public void setAssetLinkLocalService(
1100 com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
1101 this.assetLinkLocalService = assetLinkLocalService;
1102 }
1103
1104
1109 public AssetLinkPersistence getAssetLinkPersistence() {
1110 return assetLinkPersistence;
1111 }
1112
1113
1118 public void setAssetLinkPersistence(
1119 AssetLinkPersistence assetLinkPersistence) {
1120 this.assetLinkPersistence = assetLinkPersistence;
1121 }
1122
1123
1128 public com.liferay.portlet.expando.service.ExpandoValueLocalService getExpandoValueLocalService() {
1129 return expandoValueLocalService;
1130 }
1131
1132
1137 public void setExpandoValueLocalService(
1138 com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService) {
1139 this.expandoValueLocalService = expandoValueLocalService;
1140 }
1141
1142
1147 public com.liferay.portlet.expando.service.ExpandoValueService getExpandoValueService() {
1148 return expandoValueService;
1149 }
1150
1151
1156 public void setExpandoValueService(
1157 com.liferay.portlet.expando.service.ExpandoValueService expandoValueService) {
1158 this.expandoValueService = expandoValueService;
1159 }
1160
1161
1166 public ExpandoValuePersistence getExpandoValuePersistence() {
1167 return expandoValuePersistence;
1168 }
1169
1170
1175 public void setExpandoValuePersistence(
1176 ExpandoValuePersistence expandoValuePersistence) {
1177 this.expandoValuePersistence = expandoValuePersistence;
1178 }
1179
1180
1185 public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1186 return socialActivityLocalService;
1187 }
1188
1189
1194 public void setSocialActivityLocalService(
1195 com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1196 this.socialActivityLocalService = socialActivityLocalService;
1197 }
1198
1199
1204 public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1205 return socialActivityService;
1206 }
1207
1208
1213 public void setSocialActivityService(
1214 com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1215 this.socialActivityService = socialActivityService;
1216 }
1217
1218
1223 public SocialActivityPersistence getSocialActivityPersistence() {
1224 return socialActivityPersistence;
1225 }
1226
1227
1232 public void setSocialActivityPersistence(
1233 SocialActivityPersistence socialActivityPersistence) {
1234 this.socialActivityPersistence = socialActivityPersistence;
1235 }
1236
1237
1242 public SocialActivityFinder getSocialActivityFinder() {
1243 return socialActivityFinder;
1244 }
1245
1246
1251 public void setSocialActivityFinder(
1252 SocialActivityFinder socialActivityFinder) {
1253 this.socialActivityFinder = socialActivityFinder;
1254 }
1255
1256
1261 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1262 return trashEntryLocalService;
1263 }
1264
1265
1270 public void setTrashEntryLocalService(
1271 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1272 this.trashEntryLocalService = trashEntryLocalService;
1273 }
1274
1275
1280 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1281 return trashEntryService;
1282 }
1283
1284
1289 public void setTrashEntryService(
1290 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1291 this.trashEntryService = trashEntryService;
1292 }
1293
1294
1299 public TrashEntryPersistence getTrashEntryPersistence() {
1300 return trashEntryPersistence;
1301 }
1302
1303
1308 public void setTrashEntryPersistence(
1309 TrashEntryPersistence trashEntryPersistence) {
1310 this.trashEntryPersistence = trashEntryPersistence;
1311 }
1312
1313
1318 public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
1319 return trashVersionLocalService;
1320 }
1321
1322
1327 public void setTrashVersionLocalService(
1328 com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
1329 this.trashVersionLocalService = trashVersionLocalService;
1330 }
1331
1332
1337 public TrashVersionPersistence getTrashVersionPersistence() {
1338 return trashVersionPersistence;
1339 }
1340
1341
1346 public void setTrashVersionPersistence(
1347 TrashVersionPersistence trashVersionPersistence) {
1348 this.trashVersionPersistence = trashVersionPersistence;
1349 }
1350
1351 public void afterPropertiesSet() {
1352 persistedModelLocalServiceRegistry.register("com.liferay.portlet.journal.model.JournalFolder",
1353 journalFolderLocalService);
1354 }
1355
1356 public void destroy() {
1357 persistedModelLocalServiceRegistry.unregister(
1358 "com.liferay.portlet.journal.model.JournalFolder");
1359 }
1360
1361
1366 @Override
1367 public String getBeanIdentifier() {
1368 return _beanIdentifier;
1369 }
1370
1371
1376 @Override
1377 public void setBeanIdentifier(String beanIdentifier) {
1378 _beanIdentifier = beanIdentifier;
1379 }
1380
1381 protected Class<?> getModelClass() {
1382 return JournalFolder.class;
1383 }
1384
1385 protected String getModelClassName() {
1386 return JournalFolder.class.getName();
1387 }
1388
1389
1394 protected void runSQL(String sql) throws SystemException {
1395 try {
1396 DataSource dataSource = journalFolderPersistence.getDataSource();
1397
1398 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1399 sql, new int[0]);
1400
1401 sqlUpdate.update();
1402 }
1403 catch (Exception e) {
1404 throw new SystemException(e);
1405 }
1406 }
1407
1408 @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class)
1409 protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService;
1410 @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleService.class)
1411 protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService;
1412 @BeanReference(type = JournalArticlePersistence.class)
1413 protected JournalArticlePersistence journalArticlePersistence;
1414 @BeanReference(type = JournalArticleFinder.class)
1415 protected JournalArticleFinder journalArticleFinder;
1416 @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleImageLocalService.class)
1417 protected com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService;
1418 @BeanReference(type = JournalArticleImagePersistence.class)
1419 protected JournalArticleImagePersistence journalArticleImagePersistence;
1420 @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
1421 protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService;
1422 @BeanReference(type = JournalArticleResourcePersistence.class)
1423 protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1424 @BeanReference(type = com.liferay.portlet.journal.service.JournalContentSearchLocalService.class)
1425 protected com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService;
1426 @BeanReference(type = JournalContentSearchPersistence.class)
1427 protected JournalContentSearchPersistence journalContentSearchPersistence;
1428 @BeanReference(type = com.liferay.portlet.journal.service.JournalFeedLocalService.class)
1429 protected com.liferay.portlet.journal.service.JournalFeedLocalService journalFeedLocalService;
1430 @BeanReference(type = com.liferay.portlet.journal.service.JournalFeedService.class)
1431 protected com.liferay.portlet.journal.service.JournalFeedService journalFeedService;
1432 @BeanReference(type = JournalFeedPersistence.class)
1433 protected JournalFeedPersistence journalFeedPersistence;
1434 @BeanReference(type = JournalFeedFinder.class)
1435 protected JournalFeedFinder journalFeedFinder;
1436 @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderLocalService.class)
1437 protected com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService;
1438 @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderService.class)
1439 protected com.liferay.portlet.journal.service.JournalFolderService journalFolderService;
1440 @BeanReference(type = JournalFolderPersistence.class)
1441 protected JournalFolderPersistence journalFolderPersistence;
1442 @BeanReference(type = JournalFolderFinder.class)
1443 protected JournalFolderFinder journalFolderFinder;
1444 @BeanReference(type = com.liferay.portlet.journal.service.JournalStructureLocalService.class)
1445 @SuppressWarnings("deprecation")
1446 protected com.liferay.portlet.journal.service.JournalStructureLocalService journalStructureLocalService;
1447 @BeanReference(type = com.liferay.portlet.journal.service.JournalStructureService.class)
1448 @SuppressWarnings("deprecation")
1449 protected com.liferay.portlet.journal.service.JournalStructureService journalStructureService;
1450 @BeanReference(type = com.liferay.portlet.journal.service.JournalTemplateLocalService.class)
1451 @SuppressWarnings("deprecation")
1452 protected com.liferay.portlet.journal.service.JournalTemplateLocalService journalTemplateLocalService;
1453 @BeanReference(type = com.liferay.portlet.journal.service.JournalTemplateService.class)
1454 @SuppressWarnings("deprecation")
1455 protected com.liferay.portlet.journal.service.JournalTemplateService journalTemplateService;
1456 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1457 protected com.liferay.counter.service.CounterLocalService counterLocalService;
1458 @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1459 protected com.liferay.portal.service.GroupLocalService groupLocalService;
1460 @BeanReference(type = com.liferay.portal.service.GroupService.class)
1461 protected com.liferay.portal.service.GroupService groupService;
1462 @BeanReference(type = GroupPersistence.class)
1463 protected GroupPersistence groupPersistence;
1464 @BeanReference(type = GroupFinder.class)
1465 protected GroupFinder groupFinder;
1466 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1467 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1468 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1469 protected com.liferay.portal.service.UserLocalService userLocalService;
1470 @BeanReference(type = com.liferay.portal.service.UserService.class)
1471 protected com.liferay.portal.service.UserService userService;
1472 @BeanReference(type = UserPersistence.class)
1473 protected UserPersistence userPersistence;
1474 @BeanReference(type = UserFinder.class)
1475 protected UserFinder userFinder;
1476 @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
1477 protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1478 @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1479 protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1480 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1481 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1482 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1483 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1484 @BeanReference(type = AssetEntryPersistence.class)
1485 protected AssetEntryPersistence assetEntryPersistence;
1486 @BeanReference(type = AssetEntryFinder.class)
1487 protected AssetEntryFinder assetEntryFinder;
1488 @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1489 protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1490 @BeanReference(type = AssetLinkPersistence.class)
1491 protected AssetLinkPersistence assetLinkPersistence;
1492 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueLocalService.class)
1493 protected com.liferay.portlet.expando.service.ExpandoValueLocalService expandoValueLocalService;
1494 @BeanReference(type = com.liferay.portlet.expando.service.ExpandoValueService.class)
1495 protected com.liferay.portlet.expando.service.ExpandoValueService expandoValueService;
1496 @BeanReference(type = ExpandoValuePersistence.class)
1497 protected ExpandoValuePersistence expandoValuePersistence;
1498 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1499 protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1500 @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1501 protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1502 @BeanReference(type = SocialActivityPersistence.class)
1503 protected SocialActivityPersistence socialActivityPersistence;
1504 @BeanReference(type = SocialActivityFinder.class)
1505 protected SocialActivityFinder socialActivityFinder;
1506 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1507 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1508 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1509 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1510 @BeanReference(type = TrashEntryPersistence.class)
1511 protected TrashEntryPersistence trashEntryPersistence;
1512 @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
1513 protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
1514 @BeanReference(type = TrashVersionPersistence.class)
1515 protected TrashVersionPersistence trashVersionPersistence;
1516 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1517 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1518 private String _beanIdentifier;
1519 }