001
014
015 package com.liferay.portlet.asset.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.ResourceLocalService;
038 import com.liferay.portal.service.ResourceService;
039 import com.liferay.portal.service.UserLocalService;
040 import com.liferay.portal.service.UserService;
041 import com.liferay.portal.service.persistence.CompanyPersistence;
042 import com.liferay.portal.service.persistence.GroupFinder;
043 import com.liferay.portal.service.persistence.GroupPersistence;
044 import com.liferay.portal.service.persistence.ResourceFinder;
045 import com.liferay.portal.service.persistence.ResourcePersistence;
046 import com.liferay.portal.service.persistence.UserFinder;
047 import com.liferay.portal.service.persistence.UserPersistence;
048
049 import com.liferay.portlet.asset.model.AssetEntry;
050 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
051 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
052 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
053 import com.liferay.portlet.asset.service.AssetCategoryService;
054 import com.liferay.portlet.asset.service.AssetEntryLocalService;
055 import com.liferay.portlet.asset.service.AssetEntryService;
056 import com.liferay.portlet.asset.service.AssetLinkLocalService;
057 import com.liferay.portlet.asset.service.AssetTagLocalService;
058 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
059 import com.liferay.portlet.asset.service.AssetTagPropertyService;
060 import com.liferay.portlet.asset.service.AssetTagService;
061 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
062 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
063 import com.liferay.portlet.asset.service.AssetVocabularyService;
064 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
065 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
066 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
067 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
068 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
069 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
070 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
071 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
072 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
073 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
074 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
075 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
076 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
077 import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
078 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
079 import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
080 import com.liferay.portlet.blogs.service.BlogsEntryService;
081 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
082 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
083 import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
084 import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
085 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
086 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
087 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
088 import com.liferay.portlet.documentlibrary.service.DLAppService;
089 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
090 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
091 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
092 import com.liferay.portlet.documentlibrary.service.DLFolderService;
093 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
094 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
095 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
096 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
097 import com.liferay.portlet.journal.service.JournalArticleLocalService;
098 import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
099 import com.liferay.portlet.journal.service.JournalArticleService;
100 import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
101 import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
102 import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
103 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
104 import com.liferay.portlet.messageboards.service.MBMessageService;
105 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
106 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
107 import com.liferay.portlet.social.service.SocialActivityLocalService;
108 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
109 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
110 import com.liferay.portlet.wiki.service.WikiPageLocalService;
111 import com.liferay.portlet.wiki.service.WikiPageResourceLocalService;
112 import com.liferay.portlet.wiki.service.WikiPageService;
113 import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
114 import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
115 import com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence;
116
117 import java.io.Serializable;
118
119 import java.util.List;
120
121 import javax.sql.DataSource;
122
123
135 public abstract class AssetEntryLocalServiceBaseImpl
136 extends BaseLocalServiceImpl implements AssetEntryLocalService,
137 IdentifiableBean {
138
143
144
151 @Indexable(type = IndexableType.REINDEX)
152 public AssetEntry addAssetEntry(AssetEntry assetEntry)
153 throws SystemException {
154 assetEntry.setNew(true);
155
156 return assetEntryPersistence.update(assetEntry, false);
157 }
158
159
165 public AssetEntry createAssetEntry(long entryId) {
166 return assetEntryPersistence.create(entryId);
167 }
168
169
177 @Indexable(type = IndexableType.DELETE)
178 public AssetEntry deleteAssetEntry(long entryId)
179 throws PortalException, SystemException {
180 return assetEntryPersistence.remove(entryId);
181 }
182
183
190 @Indexable(type = IndexableType.DELETE)
191 public AssetEntry deleteAssetEntry(AssetEntry assetEntry)
192 throws SystemException {
193 return assetEntryPersistence.remove(assetEntry);
194 }
195
196 public DynamicQuery dynamicQuery() {
197 Class<?> clazz = getClass();
198
199 return DynamicQueryFactoryUtil.forClass(AssetEntry.class,
200 clazz.getClassLoader());
201 }
202
203
210 @SuppressWarnings("rawtypes")
211 public List dynamicQuery(DynamicQuery dynamicQuery)
212 throws SystemException {
213 return assetEntryPersistence.findWithDynamicQuery(dynamicQuery);
214 }
215
216
229 @SuppressWarnings("rawtypes")
230 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
231 throws SystemException {
232 return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
233 end);
234 }
235
236
250 @SuppressWarnings("rawtypes")
251 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
252 OrderByComparator orderByComparator) throws SystemException {
253 return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
254 end, orderByComparator);
255 }
256
257
264 public long dynamicQueryCount(DynamicQuery dynamicQuery)
265 throws SystemException {
266 return assetEntryPersistence.countWithDynamicQuery(dynamicQuery);
267 }
268
269 public AssetEntry fetchAssetEntry(long entryId) throws SystemException {
270 return assetEntryPersistence.fetchByPrimaryKey(entryId);
271 }
272
273
281 public AssetEntry getAssetEntry(long entryId)
282 throws PortalException, SystemException {
283 return assetEntryPersistence.findByPrimaryKey(entryId);
284 }
285
286 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
287 throws PortalException, SystemException {
288 return assetEntryPersistence.findByPrimaryKey(primaryKeyObj);
289 }
290
291
303 public List<AssetEntry> getAssetEntries(int start, int end)
304 throws SystemException {
305 return assetEntryPersistence.findAll(start, end);
306 }
307
308
314 public int getAssetEntriesCount() throws SystemException {
315 return assetEntryPersistence.countAll();
316 }
317
318
325 @Indexable(type = IndexableType.REINDEX)
326 public AssetEntry updateAssetEntry(AssetEntry assetEntry)
327 throws SystemException {
328 return updateAssetEntry(assetEntry, true);
329 }
330
331
339 @Indexable(type = IndexableType.REINDEX)
340 public AssetEntry updateAssetEntry(AssetEntry assetEntry, boolean merge)
341 throws SystemException {
342 assetEntry.setNew(false);
343
344 return assetEntryPersistence.update(assetEntry, merge);
345 }
346
347
352 public AssetCategoryLocalService getAssetCategoryLocalService() {
353 return assetCategoryLocalService;
354 }
355
356
361 public void setAssetCategoryLocalService(
362 AssetCategoryLocalService assetCategoryLocalService) {
363 this.assetCategoryLocalService = assetCategoryLocalService;
364 }
365
366
371 public AssetCategoryService getAssetCategoryService() {
372 return assetCategoryService;
373 }
374
375
380 public void setAssetCategoryService(
381 AssetCategoryService assetCategoryService) {
382 this.assetCategoryService = assetCategoryService;
383 }
384
385
390 public AssetCategoryPersistence getAssetCategoryPersistence() {
391 return assetCategoryPersistence;
392 }
393
394
399 public void setAssetCategoryPersistence(
400 AssetCategoryPersistence assetCategoryPersistence) {
401 this.assetCategoryPersistence = assetCategoryPersistence;
402 }
403
404
409 public AssetCategoryFinder getAssetCategoryFinder() {
410 return assetCategoryFinder;
411 }
412
413
418 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
419 this.assetCategoryFinder = assetCategoryFinder;
420 }
421
422
427 public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
428 return assetCategoryPropertyLocalService;
429 }
430
431
436 public void setAssetCategoryPropertyLocalService(
437 AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
438 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
439 }
440
441
446 public AssetCategoryPropertyService getAssetCategoryPropertyService() {
447 return assetCategoryPropertyService;
448 }
449
450
455 public void setAssetCategoryPropertyService(
456 AssetCategoryPropertyService assetCategoryPropertyService) {
457 this.assetCategoryPropertyService = assetCategoryPropertyService;
458 }
459
460
465 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
466 return assetCategoryPropertyPersistence;
467 }
468
469
474 public void setAssetCategoryPropertyPersistence(
475 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
476 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
477 }
478
479
484 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
485 return assetCategoryPropertyFinder;
486 }
487
488
493 public void setAssetCategoryPropertyFinder(
494 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
495 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
496 }
497
498
503 public AssetEntryLocalService getAssetEntryLocalService() {
504 return assetEntryLocalService;
505 }
506
507
512 public void setAssetEntryLocalService(
513 AssetEntryLocalService assetEntryLocalService) {
514 this.assetEntryLocalService = assetEntryLocalService;
515 }
516
517
522 public AssetEntryService getAssetEntryService() {
523 return assetEntryService;
524 }
525
526
531 public void setAssetEntryService(AssetEntryService assetEntryService) {
532 this.assetEntryService = assetEntryService;
533 }
534
535
540 public AssetEntryPersistence getAssetEntryPersistence() {
541 return assetEntryPersistence;
542 }
543
544
549 public void setAssetEntryPersistence(
550 AssetEntryPersistence assetEntryPersistence) {
551 this.assetEntryPersistence = assetEntryPersistence;
552 }
553
554
559 public AssetEntryFinder getAssetEntryFinder() {
560 return assetEntryFinder;
561 }
562
563
568 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
569 this.assetEntryFinder = assetEntryFinder;
570 }
571
572
577 public AssetLinkLocalService getAssetLinkLocalService() {
578 return assetLinkLocalService;
579 }
580
581
586 public void setAssetLinkLocalService(
587 AssetLinkLocalService assetLinkLocalService) {
588 this.assetLinkLocalService = assetLinkLocalService;
589 }
590
591
596 public AssetLinkPersistence getAssetLinkPersistence() {
597 return assetLinkPersistence;
598 }
599
600
605 public void setAssetLinkPersistence(
606 AssetLinkPersistence assetLinkPersistence) {
607 this.assetLinkPersistence = assetLinkPersistence;
608 }
609
610
615 public AssetTagLocalService getAssetTagLocalService() {
616 return assetTagLocalService;
617 }
618
619
624 public void setAssetTagLocalService(
625 AssetTagLocalService assetTagLocalService) {
626 this.assetTagLocalService = assetTagLocalService;
627 }
628
629
634 public AssetTagService getAssetTagService() {
635 return assetTagService;
636 }
637
638
643 public void setAssetTagService(AssetTagService assetTagService) {
644 this.assetTagService = assetTagService;
645 }
646
647
652 public AssetTagPersistence getAssetTagPersistence() {
653 return assetTagPersistence;
654 }
655
656
661 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
662 this.assetTagPersistence = assetTagPersistence;
663 }
664
665
670 public AssetTagFinder getAssetTagFinder() {
671 return assetTagFinder;
672 }
673
674
679 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
680 this.assetTagFinder = assetTagFinder;
681 }
682
683
688 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
689 return assetTagPropertyLocalService;
690 }
691
692
697 public void setAssetTagPropertyLocalService(
698 AssetTagPropertyLocalService assetTagPropertyLocalService) {
699 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
700 }
701
702
707 public AssetTagPropertyService getAssetTagPropertyService() {
708 return assetTagPropertyService;
709 }
710
711
716 public void setAssetTagPropertyService(
717 AssetTagPropertyService assetTagPropertyService) {
718 this.assetTagPropertyService = assetTagPropertyService;
719 }
720
721
726 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
727 return assetTagPropertyPersistence;
728 }
729
730
735 public void setAssetTagPropertyPersistence(
736 AssetTagPropertyPersistence assetTagPropertyPersistence) {
737 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
738 }
739
740
745 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
746 return assetTagPropertyFinder;
747 }
748
749
754 public void setAssetTagPropertyFinder(
755 AssetTagPropertyFinder assetTagPropertyFinder) {
756 this.assetTagPropertyFinder = assetTagPropertyFinder;
757 }
758
759
764 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
765 return assetTagPropertyKeyFinder;
766 }
767
768
773 public void setAssetTagPropertyKeyFinder(
774 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
775 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
776 }
777
778
783 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
784 return assetTagStatsLocalService;
785 }
786
787
792 public void setAssetTagStatsLocalService(
793 AssetTagStatsLocalService assetTagStatsLocalService) {
794 this.assetTagStatsLocalService = assetTagStatsLocalService;
795 }
796
797
802 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
803 return assetTagStatsPersistence;
804 }
805
806
811 public void setAssetTagStatsPersistence(
812 AssetTagStatsPersistence assetTagStatsPersistence) {
813 this.assetTagStatsPersistence = assetTagStatsPersistence;
814 }
815
816
821 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
822 return assetVocabularyLocalService;
823 }
824
825
830 public void setAssetVocabularyLocalService(
831 AssetVocabularyLocalService assetVocabularyLocalService) {
832 this.assetVocabularyLocalService = assetVocabularyLocalService;
833 }
834
835
840 public AssetVocabularyService getAssetVocabularyService() {
841 return assetVocabularyService;
842 }
843
844
849 public void setAssetVocabularyService(
850 AssetVocabularyService assetVocabularyService) {
851 this.assetVocabularyService = assetVocabularyService;
852 }
853
854
859 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
860 return assetVocabularyPersistence;
861 }
862
863
868 public void setAssetVocabularyPersistence(
869 AssetVocabularyPersistence assetVocabularyPersistence) {
870 this.assetVocabularyPersistence = assetVocabularyPersistence;
871 }
872
873
878 public AssetVocabularyFinder getAssetVocabularyFinder() {
879 return assetVocabularyFinder;
880 }
881
882
887 public void setAssetVocabularyFinder(
888 AssetVocabularyFinder assetVocabularyFinder) {
889 this.assetVocabularyFinder = assetVocabularyFinder;
890 }
891
892
897 public CounterLocalService getCounterLocalService() {
898 return counterLocalService;
899 }
900
901
906 public void setCounterLocalService(CounterLocalService counterLocalService) {
907 this.counterLocalService = counterLocalService;
908 }
909
910
915 public CompanyLocalService getCompanyLocalService() {
916 return companyLocalService;
917 }
918
919
924 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
925 this.companyLocalService = companyLocalService;
926 }
927
928
933 public CompanyService getCompanyService() {
934 return companyService;
935 }
936
937
942 public void setCompanyService(CompanyService companyService) {
943 this.companyService = companyService;
944 }
945
946
951 public CompanyPersistence getCompanyPersistence() {
952 return companyPersistence;
953 }
954
955
960 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
961 this.companyPersistence = companyPersistence;
962 }
963
964
969 public GroupLocalService getGroupLocalService() {
970 return groupLocalService;
971 }
972
973
978 public void setGroupLocalService(GroupLocalService groupLocalService) {
979 this.groupLocalService = groupLocalService;
980 }
981
982
987 public GroupService getGroupService() {
988 return groupService;
989 }
990
991
996 public void setGroupService(GroupService groupService) {
997 this.groupService = groupService;
998 }
999
1000
1005 public GroupPersistence getGroupPersistence() {
1006 return groupPersistence;
1007 }
1008
1009
1014 public void setGroupPersistence(GroupPersistence groupPersistence) {
1015 this.groupPersistence = groupPersistence;
1016 }
1017
1018
1023 public GroupFinder getGroupFinder() {
1024 return groupFinder;
1025 }
1026
1027
1032 public void setGroupFinder(GroupFinder groupFinder) {
1033 this.groupFinder = groupFinder;
1034 }
1035
1036
1041 public ResourceLocalService getResourceLocalService() {
1042 return resourceLocalService;
1043 }
1044
1045
1050 public void setResourceLocalService(
1051 ResourceLocalService resourceLocalService) {
1052 this.resourceLocalService = resourceLocalService;
1053 }
1054
1055
1060 public ResourceService getResourceService() {
1061 return resourceService;
1062 }
1063
1064
1069 public void setResourceService(ResourceService resourceService) {
1070 this.resourceService = resourceService;
1071 }
1072
1073
1078 public ResourcePersistence getResourcePersistence() {
1079 return resourcePersistence;
1080 }
1081
1082
1087 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1088 this.resourcePersistence = resourcePersistence;
1089 }
1090
1091
1096 public ResourceFinder getResourceFinder() {
1097 return resourceFinder;
1098 }
1099
1100
1105 public void setResourceFinder(ResourceFinder resourceFinder) {
1106 this.resourceFinder = resourceFinder;
1107 }
1108
1109
1114 public UserLocalService getUserLocalService() {
1115 return userLocalService;
1116 }
1117
1118
1123 public void setUserLocalService(UserLocalService userLocalService) {
1124 this.userLocalService = userLocalService;
1125 }
1126
1127
1132 public UserService getUserService() {
1133 return userService;
1134 }
1135
1136
1141 public void setUserService(UserService userService) {
1142 this.userService = userService;
1143 }
1144
1145
1150 public UserPersistence getUserPersistence() {
1151 return userPersistence;
1152 }
1153
1154
1159 public void setUserPersistence(UserPersistence userPersistence) {
1160 this.userPersistence = userPersistence;
1161 }
1162
1163
1168 public UserFinder getUserFinder() {
1169 return userFinder;
1170 }
1171
1172
1177 public void setUserFinder(UserFinder userFinder) {
1178 this.userFinder = userFinder;
1179 }
1180
1181
1186 public BlogsEntryLocalService getBlogsEntryLocalService() {
1187 return blogsEntryLocalService;
1188 }
1189
1190
1195 public void setBlogsEntryLocalService(
1196 BlogsEntryLocalService blogsEntryLocalService) {
1197 this.blogsEntryLocalService = blogsEntryLocalService;
1198 }
1199
1200
1205 public BlogsEntryService getBlogsEntryService() {
1206 return blogsEntryService;
1207 }
1208
1209
1214 public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
1215 this.blogsEntryService = blogsEntryService;
1216 }
1217
1218
1223 public BlogsEntryPersistence getBlogsEntryPersistence() {
1224 return blogsEntryPersistence;
1225 }
1226
1227
1232 public void setBlogsEntryPersistence(
1233 BlogsEntryPersistence blogsEntryPersistence) {
1234 this.blogsEntryPersistence = blogsEntryPersistence;
1235 }
1236
1237
1242 public BlogsEntryFinder getBlogsEntryFinder() {
1243 return blogsEntryFinder;
1244 }
1245
1246
1251 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
1252 this.blogsEntryFinder = blogsEntryFinder;
1253 }
1254
1255
1260 public BookmarksEntryLocalService getBookmarksEntryLocalService() {
1261 return bookmarksEntryLocalService;
1262 }
1263
1264
1269 public void setBookmarksEntryLocalService(
1270 BookmarksEntryLocalService bookmarksEntryLocalService) {
1271 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
1272 }
1273
1274
1279 public BookmarksEntryService getBookmarksEntryService() {
1280 return bookmarksEntryService;
1281 }
1282
1283
1288 public void setBookmarksEntryService(
1289 BookmarksEntryService bookmarksEntryService) {
1290 this.bookmarksEntryService = bookmarksEntryService;
1291 }
1292
1293
1298 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
1299 return bookmarksEntryPersistence;
1300 }
1301
1302
1307 public void setBookmarksEntryPersistence(
1308 BookmarksEntryPersistence bookmarksEntryPersistence) {
1309 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
1310 }
1311
1312
1317 public BookmarksEntryFinder getBookmarksEntryFinder() {
1318 return bookmarksEntryFinder;
1319 }
1320
1321
1326 public void setBookmarksEntryFinder(
1327 BookmarksEntryFinder bookmarksEntryFinder) {
1328 this.bookmarksEntryFinder = bookmarksEntryFinder;
1329 }
1330
1331
1336 public DLAppLocalService getDLAppLocalService() {
1337 return dlAppLocalService;
1338 }
1339
1340
1345 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
1346 this.dlAppLocalService = dlAppLocalService;
1347 }
1348
1349
1354 public DLAppService getDLAppService() {
1355 return dlAppService;
1356 }
1357
1358
1363 public void setDLAppService(DLAppService dlAppService) {
1364 this.dlAppService = dlAppService;
1365 }
1366
1367
1372 public DLFileEntryLocalService getDLFileEntryLocalService() {
1373 return dlFileEntryLocalService;
1374 }
1375
1376
1381 public void setDLFileEntryLocalService(
1382 DLFileEntryLocalService dlFileEntryLocalService) {
1383 this.dlFileEntryLocalService = dlFileEntryLocalService;
1384 }
1385
1386
1391 public DLFileEntryService getDLFileEntryService() {
1392 return dlFileEntryService;
1393 }
1394
1395
1400 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
1401 this.dlFileEntryService = dlFileEntryService;
1402 }
1403
1404
1409 public DLFileEntryPersistence getDLFileEntryPersistence() {
1410 return dlFileEntryPersistence;
1411 }
1412
1413
1418 public void setDLFileEntryPersistence(
1419 DLFileEntryPersistence dlFileEntryPersistence) {
1420 this.dlFileEntryPersistence = dlFileEntryPersistence;
1421 }
1422
1423
1428 public DLFileEntryFinder getDLFileEntryFinder() {
1429 return dlFileEntryFinder;
1430 }
1431
1432
1437 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
1438 this.dlFileEntryFinder = dlFileEntryFinder;
1439 }
1440
1441
1446 public DLFolderLocalService getDLFolderLocalService() {
1447 return dlFolderLocalService;
1448 }
1449
1450
1455 public void setDLFolderLocalService(
1456 DLFolderLocalService dlFolderLocalService) {
1457 this.dlFolderLocalService = dlFolderLocalService;
1458 }
1459
1460
1465 public DLFolderService getDLFolderService() {
1466 return dlFolderService;
1467 }
1468
1469
1474 public void setDLFolderService(DLFolderService dlFolderService) {
1475 this.dlFolderService = dlFolderService;
1476 }
1477
1478
1483 public DLFolderPersistence getDLFolderPersistence() {
1484 return dlFolderPersistence;
1485 }
1486
1487
1492 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1493 this.dlFolderPersistence = dlFolderPersistence;
1494 }
1495
1496
1501 public DLFolderFinder getDLFolderFinder() {
1502 return dlFolderFinder;
1503 }
1504
1505
1510 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1511 this.dlFolderFinder = dlFolderFinder;
1512 }
1513
1514
1519 public JournalArticleLocalService getJournalArticleLocalService() {
1520 return journalArticleLocalService;
1521 }
1522
1523
1528 public void setJournalArticleLocalService(
1529 JournalArticleLocalService journalArticleLocalService) {
1530 this.journalArticleLocalService = journalArticleLocalService;
1531 }
1532
1533
1538 public JournalArticleService getJournalArticleService() {
1539 return journalArticleService;
1540 }
1541
1542
1547 public void setJournalArticleService(
1548 JournalArticleService journalArticleService) {
1549 this.journalArticleService = journalArticleService;
1550 }
1551
1552
1557 public JournalArticlePersistence getJournalArticlePersistence() {
1558 return journalArticlePersistence;
1559 }
1560
1561
1566 public void setJournalArticlePersistence(
1567 JournalArticlePersistence journalArticlePersistence) {
1568 this.journalArticlePersistence = journalArticlePersistence;
1569 }
1570
1571
1576 public JournalArticleFinder getJournalArticleFinder() {
1577 return journalArticleFinder;
1578 }
1579
1580
1585 public void setJournalArticleFinder(
1586 JournalArticleFinder journalArticleFinder) {
1587 this.journalArticleFinder = journalArticleFinder;
1588 }
1589
1590
1595 public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
1596 return journalArticleResourceLocalService;
1597 }
1598
1599
1604 public void setJournalArticleResourceLocalService(
1605 JournalArticleResourceLocalService journalArticleResourceLocalService) {
1606 this.journalArticleResourceLocalService = journalArticleResourceLocalService;
1607 }
1608
1609
1614 public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
1615 return journalArticleResourcePersistence;
1616 }
1617
1618
1623 public void setJournalArticleResourcePersistence(
1624 JournalArticleResourcePersistence journalArticleResourcePersistence) {
1625 this.journalArticleResourcePersistence = journalArticleResourcePersistence;
1626 }
1627
1628
1633 public MBMessageLocalService getMBMessageLocalService() {
1634 return mbMessageLocalService;
1635 }
1636
1637
1642 public void setMBMessageLocalService(
1643 MBMessageLocalService mbMessageLocalService) {
1644 this.mbMessageLocalService = mbMessageLocalService;
1645 }
1646
1647
1652 public MBMessageService getMBMessageService() {
1653 return mbMessageService;
1654 }
1655
1656
1661 public void setMBMessageService(MBMessageService mbMessageService) {
1662 this.mbMessageService = mbMessageService;
1663 }
1664
1665
1670 public MBMessagePersistence getMBMessagePersistence() {
1671 return mbMessagePersistence;
1672 }
1673
1674
1679 public void setMBMessagePersistence(
1680 MBMessagePersistence mbMessagePersistence) {
1681 this.mbMessagePersistence = mbMessagePersistence;
1682 }
1683
1684
1689 public MBMessageFinder getMBMessageFinder() {
1690 return mbMessageFinder;
1691 }
1692
1693
1698 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1699 this.mbMessageFinder = mbMessageFinder;
1700 }
1701
1702
1707 public SocialActivityLocalService getSocialActivityLocalService() {
1708 return socialActivityLocalService;
1709 }
1710
1711
1716 public void setSocialActivityLocalService(
1717 SocialActivityLocalService socialActivityLocalService) {
1718 this.socialActivityLocalService = socialActivityLocalService;
1719 }
1720
1721
1726 public SocialActivityPersistence getSocialActivityPersistence() {
1727 return socialActivityPersistence;
1728 }
1729
1730
1735 public void setSocialActivityPersistence(
1736 SocialActivityPersistence socialActivityPersistence) {
1737 this.socialActivityPersistence = socialActivityPersistence;
1738 }
1739
1740
1745 public SocialActivityFinder getSocialActivityFinder() {
1746 return socialActivityFinder;
1747 }
1748
1749
1754 public void setSocialActivityFinder(
1755 SocialActivityFinder socialActivityFinder) {
1756 this.socialActivityFinder = socialActivityFinder;
1757 }
1758
1759
1764 public WikiPageLocalService getWikiPageLocalService() {
1765 return wikiPageLocalService;
1766 }
1767
1768
1773 public void setWikiPageLocalService(
1774 WikiPageLocalService wikiPageLocalService) {
1775 this.wikiPageLocalService = wikiPageLocalService;
1776 }
1777
1778
1783 public WikiPageService getWikiPageService() {
1784 return wikiPageService;
1785 }
1786
1787
1792 public void setWikiPageService(WikiPageService wikiPageService) {
1793 this.wikiPageService = wikiPageService;
1794 }
1795
1796
1801 public WikiPagePersistence getWikiPagePersistence() {
1802 return wikiPagePersistence;
1803 }
1804
1805
1810 public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
1811 this.wikiPagePersistence = wikiPagePersistence;
1812 }
1813
1814
1819 public WikiPageFinder getWikiPageFinder() {
1820 return wikiPageFinder;
1821 }
1822
1823
1828 public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
1829 this.wikiPageFinder = wikiPageFinder;
1830 }
1831
1832
1837 public WikiPageResourceLocalService getWikiPageResourceLocalService() {
1838 return wikiPageResourceLocalService;
1839 }
1840
1841
1846 public void setWikiPageResourceLocalService(
1847 WikiPageResourceLocalService wikiPageResourceLocalService) {
1848 this.wikiPageResourceLocalService = wikiPageResourceLocalService;
1849 }
1850
1851
1856 public WikiPageResourcePersistence getWikiPageResourcePersistence() {
1857 return wikiPageResourcePersistence;
1858 }
1859
1860
1865 public void setWikiPageResourcePersistence(
1866 WikiPageResourcePersistence wikiPageResourcePersistence) {
1867 this.wikiPageResourcePersistence = wikiPageResourcePersistence;
1868 }
1869
1870 public void afterPropertiesSet() {
1871 persistedModelLocalServiceRegistry.register("com.liferay.portlet.asset.model.AssetEntry",
1872 assetEntryLocalService);
1873 }
1874
1875 public void destroy() {
1876 persistedModelLocalServiceRegistry.unregister(
1877 "com.liferay.portlet.asset.model.AssetEntry");
1878 }
1879
1880
1885 public String getBeanIdentifier() {
1886 return _beanIdentifier;
1887 }
1888
1889
1894 public void setBeanIdentifier(String beanIdentifier) {
1895 _beanIdentifier = beanIdentifier;
1896 }
1897
1898 protected Class<?> getModelClass() {
1899 return AssetEntry.class;
1900 }
1901
1902 protected String getModelClassName() {
1903 return AssetEntry.class.getName();
1904 }
1905
1906
1911 protected void runSQL(String sql) throws SystemException {
1912 try {
1913 DataSource dataSource = assetEntryPersistence.getDataSource();
1914
1915 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1916 sql, new int[0]);
1917
1918 sqlUpdate.update();
1919 }
1920 catch (Exception e) {
1921 throw new SystemException(e);
1922 }
1923 }
1924
1925 @BeanReference(type = AssetCategoryLocalService.class)
1926 protected AssetCategoryLocalService assetCategoryLocalService;
1927 @BeanReference(type = AssetCategoryService.class)
1928 protected AssetCategoryService assetCategoryService;
1929 @BeanReference(type = AssetCategoryPersistence.class)
1930 protected AssetCategoryPersistence assetCategoryPersistence;
1931 @BeanReference(type = AssetCategoryFinder.class)
1932 protected AssetCategoryFinder assetCategoryFinder;
1933 @BeanReference(type = AssetCategoryPropertyLocalService.class)
1934 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
1935 @BeanReference(type = AssetCategoryPropertyService.class)
1936 protected AssetCategoryPropertyService assetCategoryPropertyService;
1937 @BeanReference(type = AssetCategoryPropertyPersistence.class)
1938 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
1939 @BeanReference(type = AssetCategoryPropertyFinder.class)
1940 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
1941 @BeanReference(type = AssetEntryLocalService.class)
1942 protected AssetEntryLocalService assetEntryLocalService;
1943 @BeanReference(type = AssetEntryService.class)
1944 protected AssetEntryService assetEntryService;
1945 @BeanReference(type = AssetEntryPersistence.class)
1946 protected AssetEntryPersistence assetEntryPersistence;
1947 @BeanReference(type = AssetEntryFinder.class)
1948 protected AssetEntryFinder assetEntryFinder;
1949 @BeanReference(type = AssetLinkLocalService.class)
1950 protected AssetLinkLocalService assetLinkLocalService;
1951 @BeanReference(type = AssetLinkPersistence.class)
1952 protected AssetLinkPersistence assetLinkPersistence;
1953 @BeanReference(type = AssetTagLocalService.class)
1954 protected AssetTagLocalService assetTagLocalService;
1955 @BeanReference(type = AssetTagService.class)
1956 protected AssetTagService assetTagService;
1957 @BeanReference(type = AssetTagPersistence.class)
1958 protected AssetTagPersistence assetTagPersistence;
1959 @BeanReference(type = AssetTagFinder.class)
1960 protected AssetTagFinder assetTagFinder;
1961 @BeanReference(type = AssetTagPropertyLocalService.class)
1962 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
1963 @BeanReference(type = AssetTagPropertyService.class)
1964 protected AssetTagPropertyService assetTagPropertyService;
1965 @BeanReference(type = AssetTagPropertyPersistence.class)
1966 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
1967 @BeanReference(type = AssetTagPropertyFinder.class)
1968 protected AssetTagPropertyFinder assetTagPropertyFinder;
1969 @BeanReference(type = AssetTagPropertyKeyFinder.class)
1970 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
1971 @BeanReference(type = AssetTagStatsLocalService.class)
1972 protected AssetTagStatsLocalService assetTagStatsLocalService;
1973 @BeanReference(type = AssetTagStatsPersistence.class)
1974 protected AssetTagStatsPersistence assetTagStatsPersistence;
1975 @BeanReference(type = AssetVocabularyLocalService.class)
1976 protected AssetVocabularyLocalService assetVocabularyLocalService;
1977 @BeanReference(type = AssetVocabularyService.class)
1978 protected AssetVocabularyService assetVocabularyService;
1979 @BeanReference(type = AssetVocabularyPersistence.class)
1980 protected AssetVocabularyPersistence assetVocabularyPersistence;
1981 @BeanReference(type = AssetVocabularyFinder.class)
1982 protected AssetVocabularyFinder assetVocabularyFinder;
1983 @BeanReference(type = CounterLocalService.class)
1984 protected CounterLocalService counterLocalService;
1985 @BeanReference(type = CompanyLocalService.class)
1986 protected CompanyLocalService companyLocalService;
1987 @BeanReference(type = CompanyService.class)
1988 protected CompanyService companyService;
1989 @BeanReference(type = CompanyPersistence.class)
1990 protected CompanyPersistence companyPersistence;
1991 @BeanReference(type = GroupLocalService.class)
1992 protected GroupLocalService groupLocalService;
1993 @BeanReference(type = GroupService.class)
1994 protected GroupService groupService;
1995 @BeanReference(type = GroupPersistence.class)
1996 protected GroupPersistence groupPersistence;
1997 @BeanReference(type = GroupFinder.class)
1998 protected GroupFinder groupFinder;
1999 @BeanReference(type = ResourceLocalService.class)
2000 protected ResourceLocalService resourceLocalService;
2001 @BeanReference(type = ResourceService.class)
2002 protected ResourceService resourceService;
2003 @BeanReference(type = ResourcePersistence.class)
2004 protected ResourcePersistence resourcePersistence;
2005 @BeanReference(type = ResourceFinder.class)
2006 protected ResourceFinder resourceFinder;
2007 @BeanReference(type = UserLocalService.class)
2008 protected UserLocalService userLocalService;
2009 @BeanReference(type = UserService.class)
2010 protected UserService userService;
2011 @BeanReference(type = UserPersistence.class)
2012 protected UserPersistence userPersistence;
2013 @BeanReference(type = UserFinder.class)
2014 protected UserFinder userFinder;
2015 @BeanReference(type = BlogsEntryLocalService.class)
2016 protected BlogsEntryLocalService blogsEntryLocalService;
2017 @BeanReference(type = BlogsEntryService.class)
2018 protected BlogsEntryService blogsEntryService;
2019 @BeanReference(type = BlogsEntryPersistence.class)
2020 protected BlogsEntryPersistence blogsEntryPersistence;
2021 @BeanReference(type = BlogsEntryFinder.class)
2022 protected BlogsEntryFinder blogsEntryFinder;
2023 @BeanReference(type = BookmarksEntryLocalService.class)
2024 protected BookmarksEntryLocalService bookmarksEntryLocalService;
2025 @BeanReference(type = BookmarksEntryService.class)
2026 protected BookmarksEntryService bookmarksEntryService;
2027 @BeanReference(type = BookmarksEntryPersistence.class)
2028 protected BookmarksEntryPersistence bookmarksEntryPersistence;
2029 @BeanReference(type = BookmarksEntryFinder.class)
2030 protected BookmarksEntryFinder bookmarksEntryFinder;
2031 @BeanReference(type = DLAppLocalService.class)
2032 protected DLAppLocalService dlAppLocalService;
2033 @BeanReference(type = DLAppService.class)
2034 protected DLAppService dlAppService;
2035 @BeanReference(type = DLFileEntryLocalService.class)
2036 protected DLFileEntryLocalService dlFileEntryLocalService;
2037 @BeanReference(type = DLFileEntryService.class)
2038 protected DLFileEntryService dlFileEntryService;
2039 @BeanReference(type = DLFileEntryPersistence.class)
2040 protected DLFileEntryPersistence dlFileEntryPersistence;
2041 @BeanReference(type = DLFileEntryFinder.class)
2042 protected DLFileEntryFinder dlFileEntryFinder;
2043 @BeanReference(type = DLFolderLocalService.class)
2044 protected DLFolderLocalService dlFolderLocalService;
2045 @BeanReference(type = DLFolderService.class)
2046 protected DLFolderService dlFolderService;
2047 @BeanReference(type = DLFolderPersistence.class)
2048 protected DLFolderPersistence dlFolderPersistence;
2049 @BeanReference(type = DLFolderFinder.class)
2050 protected DLFolderFinder dlFolderFinder;
2051 @BeanReference(type = JournalArticleLocalService.class)
2052 protected JournalArticleLocalService journalArticleLocalService;
2053 @BeanReference(type = JournalArticleService.class)
2054 protected JournalArticleService journalArticleService;
2055 @BeanReference(type = JournalArticlePersistence.class)
2056 protected JournalArticlePersistence journalArticlePersistence;
2057 @BeanReference(type = JournalArticleFinder.class)
2058 protected JournalArticleFinder journalArticleFinder;
2059 @BeanReference(type = JournalArticleResourceLocalService.class)
2060 protected JournalArticleResourceLocalService journalArticleResourceLocalService;
2061 @BeanReference(type = JournalArticleResourcePersistence.class)
2062 protected JournalArticleResourcePersistence journalArticleResourcePersistence;
2063 @BeanReference(type = MBMessageLocalService.class)
2064 protected MBMessageLocalService mbMessageLocalService;
2065 @BeanReference(type = MBMessageService.class)
2066 protected MBMessageService mbMessageService;
2067 @BeanReference(type = MBMessagePersistence.class)
2068 protected MBMessagePersistence mbMessagePersistence;
2069 @BeanReference(type = MBMessageFinder.class)
2070 protected MBMessageFinder mbMessageFinder;
2071 @BeanReference(type = SocialActivityLocalService.class)
2072 protected SocialActivityLocalService socialActivityLocalService;
2073 @BeanReference(type = SocialActivityPersistence.class)
2074 protected SocialActivityPersistence socialActivityPersistence;
2075 @BeanReference(type = SocialActivityFinder.class)
2076 protected SocialActivityFinder socialActivityFinder;
2077 @BeanReference(type = WikiPageLocalService.class)
2078 protected WikiPageLocalService wikiPageLocalService;
2079 @BeanReference(type = WikiPageService.class)
2080 protected WikiPageService wikiPageService;
2081 @BeanReference(type = WikiPagePersistence.class)
2082 protected WikiPagePersistence wikiPagePersistence;
2083 @BeanReference(type = WikiPageFinder.class)
2084 protected WikiPageFinder wikiPageFinder;
2085 @BeanReference(type = WikiPageResourceLocalService.class)
2086 protected WikiPageResourceLocalService wikiPageResourceLocalService;
2087 @BeanReference(type = WikiPageResourcePersistence.class)
2088 protected WikiPageResourcePersistence wikiPageResourcePersistence;
2089 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
2090 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
2091 private String _beanIdentifier;
2092 }