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.exception.PortalException;
025 import com.liferay.portal.kernel.exception.SystemException;
026 import com.liferay.portal.kernel.log.Log;
027 import com.liferay.portal.kernel.log.LogFactoryUtil;
028 import com.liferay.portal.kernel.search.Indexer;
029 import com.liferay.portal.kernel.search.IndexerRegistryUtil;
030 import com.liferay.portal.kernel.search.SearchException;
031 import com.liferay.portal.kernel.util.OrderByComparator;
032 import com.liferay.portal.model.PersistedModel;
033 import com.liferay.portal.service.CompanyLocalService;
034 import com.liferay.portal.service.CompanyService;
035 import com.liferay.portal.service.GroupLocalService;
036 import com.liferay.portal.service.GroupService;
037 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
038 import com.liferay.portal.service.ResourceLocalService;
039 import com.liferay.portal.service.ResourceService;
040 import com.liferay.portal.service.UserLocalService;
041 import com.liferay.portal.service.UserService;
042 import com.liferay.portal.service.persistence.CompanyPersistence;
043 import com.liferay.portal.service.persistence.GroupFinder;
044 import com.liferay.portal.service.persistence.GroupPersistence;
045 import com.liferay.portal.service.persistence.ResourceFinder;
046 import com.liferay.portal.service.persistence.ResourcePersistence;
047 import com.liferay.portal.service.persistence.UserFinder;
048 import com.liferay.portal.service.persistence.UserPersistence;
049
050 import com.liferay.portlet.asset.model.AssetEntry;
051 import com.liferay.portlet.asset.service.AssetCategoryLocalService;
052 import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
053 import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
054 import com.liferay.portlet.asset.service.AssetCategoryService;
055 import com.liferay.portlet.asset.service.AssetEntryLocalService;
056 import com.liferay.portlet.asset.service.AssetEntryService;
057 import com.liferay.portlet.asset.service.AssetLinkLocalService;
058 import com.liferay.portlet.asset.service.AssetTagLocalService;
059 import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
060 import com.liferay.portlet.asset.service.AssetTagPropertyService;
061 import com.liferay.portlet.asset.service.AssetTagService;
062 import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
063 import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
064 import com.liferay.portlet.asset.service.AssetVocabularyService;
065 import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
066 import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
067 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
068 import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
069 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
070 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
071 import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
072 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
073 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
074 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
075 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
076 import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
077 import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
078 import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
079 import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
080 import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
081 import com.liferay.portlet.blogs.service.BlogsEntryService;
082 import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
083 import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
084 import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
085 import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
086 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
087 import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
088 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
089 import com.liferay.portlet.documentlibrary.service.DLAppService;
090 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
091 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
092 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
093 import com.liferay.portlet.documentlibrary.service.DLFolderService;
094 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
095 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
096 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
097 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
098 import com.liferay.portlet.journal.service.JournalArticleLocalService;
099 import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
100 import com.liferay.portlet.journal.service.JournalArticleService;
101 import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
102 import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
103 import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
104 import com.liferay.portlet.messageboards.service.MBMessageLocalService;
105 import com.liferay.portlet.messageboards.service.MBMessageService;
106 import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
107 import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
108 import com.liferay.portlet.social.service.SocialActivityLocalService;
109 import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
110 import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
111 import com.liferay.portlet.wiki.service.WikiPageLocalService;
112 import com.liferay.portlet.wiki.service.WikiPageResourceLocalService;
113 import com.liferay.portlet.wiki.service.WikiPageService;
114 import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
115 import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
116 import com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence;
117
118 import java.io.Serializable;
119
120 import java.util.List;
121
122 import javax.sql.DataSource;
123
124
136 public abstract class AssetEntryLocalServiceBaseImpl
137 implements AssetEntryLocalService, IdentifiableBean {
138
143
144
151 public AssetEntry addAssetEntry(AssetEntry assetEntry)
152 throws SystemException {
153 assetEntry.setNew(true);
154
155 assetEntry = assetEntryPersistence.update(assetEntry, false);
156
157 Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
158
159 if (indexer != null) {
160 try {
161 indexer.reindex(assetEntry);
162 }
163 catch (SearchException se) {
164 if (_log.isWarnEnabled()) {
165 _log.warn(se, se);
166 }
167 }
168 }
169
170 return assetEntry;
171 }
172
173
179 public AssetEntry createAssetEntry(long entryId) {
180 return assetEntryPersistence.create(entryId);
181 }
182
183
190 public void deleteAssetEntry(long entryId)
191 throws PortalException, SystemException {
192 AssetEntry assetEntry = assetEntryPersistence.remove(entryId);
193
194 Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
195
196 if (indexer != null) {
197 try {
198 indexer.delete(assetEntry);
199 }
200 catch (SearchException se) {
201 if (_log.isWarnEnabled()) {
202 _log.warn(se, se);
203 }
204 }
205 }
206 }
207
208
214 public void deleteAssetEntry(AssetEntry assetEntry)
215 throws SystemException {
216 assetEntryPersistence.remove(assetEntry);
217
218 Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
219
220 if (indexer != null) {
221 try {
222 indexer.delete(assetEntry);
223 }
224 catch (SearchException se) {
225 if (_log.isWarnEnabled()) {
226 _log.warn(se, se);
227 }
228 }
229 }
230 }
231
232
239 @SuppressWarnings("rawtypes")
240 public List dynamicQuery(DynamicQuery dynamicQuery)
241 throws SystemException {
242 return assetEntryPersistence.findWithDynamicQuery(dynamicQuery);
243 }
244
245
258 @SuppressWarnings("rawtypes")
259 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
260 throws SystemException {
261 return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
262 end);
263 }
264
265
279 @SuppressWarnings("rawtypes")
280 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
281 OrderByComparator orderByComparator) throws SystemException {
282 return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
283 end, orderByComparator);
284 }
285
286
293 public long dynamicQueryCount(DynamicQuery dynamicQuery)
294 throws SystemException {
295 return assetEntryPersistence.countWithDynamicQuery(dynamicQuery);
296 }
297
298 public AssetEntry fetchAssetEntry(long entryId) throws SystemException {
299 return assetEntryPersistence.fetchByPrimaryKey(entryId);
300 }
301
302
310 public AssetEntry getAssetEntry(long entryId)
311 throws PortalException, SystemException {
312 return assetEntryPersistence.findByPrimaryKey(entryId);
313 }
314
315 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
316 throws PortalException, SystemException {
317 return assetEntryPersistence.findByPrimaryKey(primaryKeyObj);
318 }
319
320
332 public List<AssetEntry> getAssetEntries(int start, int end)
333 throws SystemException {
334 return assetEntryPersistence.findAll(start, end);
335 }
336
337
343 public int getAssetEntriesCount() throws SystemException {
344 return assetEntryPersistence.countAll();
345 }
346
347
354 public AssetEntry updateAssetEntry(AssetEntry assetEntry)
355 throws SystemException {
356 return updateAssetEntry(assetEntry, true);
357 }
358
359
367 public AssetEntry updateAssetEntry(AssetEntry assetEntry, boolean merge)
368 throws SystemException {
369 assetEntry.setNew(false);
370
371 assetEntry = assetEntryPersistence.update(assetEntry, merge);
372
373 Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
374
375 if (indexer != null) {
376 try {
377 indexer.reindex(assetEntry);
378 }
379 catch (SearchException se) {
380 if (_log.isWarnEnabled()) {
381 _log.warn(se, se);
382 }
383 }
384 }
385
386 return assetEntry;
387 }
388
389
394 public AssetCategoryLocalService getAssetCategoryLocalService() {
395 return assetCategoryLocalService;
396 }
397
398
403 public void setAssetCategoryLocalService(
404 AssetCategoryLocalService assetCategoryLocalService) {
405 this.assetCategoryLocalService = assetCategoryLocalService;
406 }
407
408
413 public AssetCategoryService getAssetCategoryService() {
414 return assetCategoryService;
415 }
416
417
422 public void setAssetCategoryService(
423 AssetCategoryService assetCategoryService) {
424 this.assetCategoryService = assetCategoryService;
425 }
426
427
432 public AssetCategoryPersistence getAssetCategoryPersistence() {
433 return assetCategoryPersistence;
434 }
435
436
441 public void setAssetCategoryPersistence(
442 AssetCategoryPersistence assetCategoryPersistence) {
443 this.assetCategoryPersistence = assetCategoryPersistence;
444 }
445
446
451 public AssetCategoryFinder getAssetCategoryFinder() {
452 return assetCategoryFinder;
453 }
454
455
460 public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
461 this.assetCategoryFinder = assetCategoryFinder;
462 }
463
464
469 public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
470 return assetCategoryPropertyLocalService;
471 }
472
473
478 public void setAssetCategoryPropertyLocalService(
479 AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
480 this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
481 }
482
483
488 public AssetCategoryPropertyService getAssetCategoryPropertyService() {
489 return assetCategoryPropertyService;
490 }
491
492
497 public void setAssetCategoryPropertyService(
498 AssetCategoryPropertyService assetCategoryPropertyService) {
499 this.assetCategoryPropertyService = assetCategoryPropertyService;
500 }
501
502
507 public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
508 return assetCategoryPropertyPersistence;
509 }
510
511
516 public void setAssetCategoryPropertyPersistence(
517 AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
518 this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
519 }
520
521
526 public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
527 return assetCategoryPropertyFinder;
528 }
529
530
535 public void setAssetCategoryPropertyFinder(
536 AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
537 this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
538 }
539
540
545 public AssetEntryLocalService getAssetEntryLocalService() {
546 return assetEntryLocalService;
547 }
548
549
554 public void setAssetEntryLocalService(
555 AssetEntryLocalService assetEntryLocalService) {
556 this.assetEntryLocalService = assetEntryLocalService;
557 }
558
559
564 public AssetEntryService getAssetEntryService() {
565 return assetEntryService;
566 }
567
568
573 public void setAssetEntryService(AssetEntryService assetEntryService) {
574 this.assetEntryService = assetEntryService;
575 }
576
577
582 public AssetEntryPersistence getAssetEntryPersistence() {
583 return assetEntryPersistence;
584 }
585
586
591 public void setAssetEntryPersistence(
592 AssetEntryPersistence assetEntryPersistence) {
593 this.assetEntryPersistence = assetEntryPersistence;
594 }
595
596
601 public AssetEntryFinder getAssetEntryFinder() {
602 return assetEntryFinder;
603 }
604
605
610 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
611 this.assetEntryFinder = assetEntryFinder;
612 }
613
614
619 public AssetLinkLocalService getAssetLinkLocalService() {
620 return assetLinkLocalService;
621 }
622
623
628 public void setAssetLinkLocalService(
629 AssetLinkLocalService assetLinkLocalService) {
630 this.assetLinkLocalService = assetLinkLocalService;
631 }
632
633
638 public AssetLinkPersistence getAssetLinkPersistence() {
639 return assetLinkPersistence;
640 }
641
642
647 public void setAssetLinkPersistence(
648 AssetLinkPersistence assetLinkPersistence) {
649 this.assetLinkPersistence = assetLinkPersistence;
650 }
651
652
657 public AssetTagLocalService getAssetTagLocalService() {
658 return assetTagLocalService;
659 }
660
661
666 public void setAssetTagLocalService(
667 AssetTagLocalService assetTagLocalService) {
668 this.assetTagLocalService = assetTagLocalService;
669 }
670
671
676 public AssetTagService getAssetTagService() {
677 return assetTagService;
678 }
679
680
685 public void setAssetTagService(AssetTagService assetTagService) {
686 this.assetTagService = assetTagService;
687 }
688
689
694 public AssetTagPersistence getAssetTagPersistence() {
695 return assetTagPersistence;
696 }
697
698
703 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
704 this.assetTagPersistence = assetTagPersistence;
705 }
706
707
712 public AssetTagFinder getAssetTagFinder() {
713 return assetTagFinder;
714 }
715
716
721 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
722 this.assetTagFinder = assetTagFinder;
723 }
724
725
730 public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
731 return assetTagPropertyLocalService;
732 }
733
734
739 public void setAssetTagPropertyLocalService(
740 AssetTagPropertyLocalService assetTagPropertyLocalService) {
741 this.assetTagPropertyLocalService = assetTagPropertyLocalService;
742 }
743
744
749 public AssetTagPropertyService getAssetTagPropertyService() {
750 return assetTagPropertyService;
751 }
752
753
758 public void setAssetTagPropertyService(
759 AssetTagPropertyService assetTagPropertyService) {
760 this.assetTagPropertyService = assetTagPropertyService;
761 }
762
763
768 public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
769 return assetTagPropertyPersistence;
770 }
771
772
777 public void setAssetTagPropertyPersistence(
778 AssetTagPropertyPersistence assetTagPropertyPersistence) {
779 this.assetTagPropertyPersistence = assetTagPropertyPersistence;
780 }
781
782
787 public AssetTagPropertyFinder getAssetTagPropertyFinder() {
788 return assetTagPropertyFinder;
789 }
790
791
796 public void setAssetTagPropertyFinder(
797 AssetTagPropertyFinder assetTagPropertyFinder) {
798 this.assetTagPropertyFinder = assetTagPropertyFinder;
799 }
800
801
806 public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
807 return assetTagPropertyKeyFinder;
808 }
809
810
815 public void setAssetTagPropertyKeyFinder(
816 AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
817 this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
818 }
819
820
825 public AssetTagStatsLocalService getAssetTagStatsLocalService() {
826 return assetTagStatsLocalService;
827 }
828
829
834 public void setAssetTagStatsLocalService(
835 AssetTagStatsLocalService assetTagStatsLocalService) {
836 this.assetTagStatsLocalService = assetTagStatsLocalService;
837 }
838
839
844 public AssetTagStatsPersistence getAssetTagStatsPersistence() {
845 return assetTagStatsPersistence;
846 }
847
848
853 public void setAssetTagStatsPersistence(
854 AssetTagStatsPersistence assetTagStatsPersistence) {
855 this.assetTagStatsPersistence = assetTagStatsPersistence;
856 }
857
858
863 public AssetVocabularyLocalService getAssetVocabularyLocalService() {
864 return assetVocabularyLocalService;
865 }
866
867
872 public void setAssetVocabularyLocalService(
873 AssetVocabularyLocalService assetVocabularyLocalService) {
874 this.assetVocabularyLocalService = assetVocabularyLocalService;
875 }
876
877
882 public AssetVocabularyService getAssetVocabularyService() {
883 return assetVocabularyService;
884 }
885
886
891 public void setAssetVocabularyService(
892 AssetVocabularyService assetVocabularyService) {
893 this.assetVocabularyService = assetVocabularyService;
894 }
895
896
901 public AssetVocabularyPersistence getAssetVocabularyPersistence() {
902 return assetVocabularyPersistence;
903 }
904
905
910 public void setAssetVocabularyPersistence(
911 AssetVocabularyPersistence assetVocabularyPersistence) {
912 this.assetVocabularyPersistence = assetVocabularyPersistence;
913 }
914
915
920 public AssetVocabularyFinder getAssetVocabularyFinder() {
921 return assetVocabularyFinder;
922 }
923
924
929 public void setAssetVocabularyFinder(
930 AssetVocabularyFinder assetVocabularyFinder) {
931 this.assetVocabularyFinder = assetVocabularyFinder;
932 }
933
934
939 public CounterLocalService getCounterLocalService() {
940 return counterLocalService;
941 }
942
943
948 public void setCounterLocalService(CounterLocalService counterLocalService) {
949 this.counterLocalService = counterLocalService;
950 }
951
952
957 public CompanyLocalService getCompanyLocalService() {
958 return companyLocalService;
959 }
960
961
966 public void setCompanyLocalService(CompanyLocalService companyLocalService) {
967 this.companyLocalService = companyLocalService;
968 }
969
970
975 public CompanyService getCompanyService() {
976 return companyService;
977 }
978
979
984 public void setCompanyService(CompanyService companyService) {
985 this.companyService = companyService;
986 }
987
988
993 public CompanyPersistence getCompanyPersistence() {
994 return companyPersistence;
995 }
996
997
1002 public void setCompanyPersistence(CompanyPersistence companyPersistence) {
1003 this.companyPersistence = companyPersistence;
1004 }
1005
1006
1011 public GroupLocalService getGroupLocalService() {
1012 return groupLocalService;
1013 }
1014
1015
1020 public void setGroupLocalService(GroupLocalService groupLocalService) {
1021 this.groupLocalService = groupLocalService;
1022 }
1023
1024
1029 public GroupService getGroupService() {
1030 return groupService;
1031 }
1032
1033
1038 public void setGroupService(GroupService groupService) {
1039 this.groupService = groupService;
1040 }
1041
1042
1047 public GroupPersistence getGroupPersistence() {
1048 return groupPersistence;
1049 }
1050
1051
1056 public void setGroupPersistence(GroupPersistence groupPersistence) {
1057 this.groupPersistence = groupPersistence;
1058 }
1059
1060
1065 public GroupFinder getGroupFinder() {
1066 return groupFinder;
1067 }
1068
1069
1074 public void setGroupFinder(GroupFinder groupFinder) {
1075 this.groupFinder = groupFinder;
1076 }
1077
1078
1083 public ResourceLocalService getResourceLocalService() {
1084 return resourceLocalService;
1085 }
1086
1087
1092 public void setResourceLocalService(
1093 ResourceLocalService resourceLocalService) {
1094 this.resourceLocalService = resourceLocalService;
1095 }
1096
1097
1102 public ResourceService getResourceService() {
1103 return resourceService;
1104 }
1105
1106
1111 public void setResourceService(ResourceService resourceService) {
1112 this.resourceService = resourceService;
1113 }
1114
1115
1120 public ResourcePersistence getResourcePersistence() {
1121 return resourcePersistence;
1122 }
1123
1124
1129 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1130 this.resourcePersistence = resourcePersistence;
1131 }
1132
1133
1138 public ResourceFinder getResourceFinder() {
1139 return resourceFinder;
1140 }
1141
1142
1147 public void setResourceFinder(ResourceFinder resourceFinder) {
1148 this.resourceFinder = resourceFinder;
1149 }
1150
1151
1156 public UserLocalService getUserLocalService() {
1157 return userLocalService;
1158 }
1159
1160
1165 public void setUserLocalService(UserLocalService userLocalService) {
1166 this.userLocalService = userLocalService;
1167 }
1168
1169
1174 public UserService getUserService() {
1175 return userService;
1176 }
1177
1178
1183 public void setUserService(UserService userService) {
1184 this.userService = userService;
1185 }
1186
1187
1192 public UserPersistence getUserPersistence() {
1193 return userPersistence;
1194 }
1195
1196
1201 public void setUserPersistence(UserPersistence userPersistence) {
1202 this.userPersistence = userPersistence;
1203 }
1204
1205
1210 public UserFinder getUserFinder() {
1211 return userFinder;
1212 }
1213
1214
1219 public void setUserFinder(UserFinder userFinder) {
1220 this.userFinder = userFinder;
1221 }
1222
1223
1228 public BlogsEntryLocalService getBlogsEntryLocalService() {
1229 return blogsEntryLocalService;
1230 }
1231
1232
1237 public void setBlogsEntryLocalService(
1238 BlogsEntryLocalService blogsEntryLocalService) {
1239 this.blogsEntryLocalService = blogsEntryLocalService;
1240 }
1241
1242
1247 public BlogsEntryService getBlogsEntryService() {
1248 return blogsEntryService;
1249 }
1250
1251
1256 public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
1257 this.blogsEntryService = blogsEntryService;
1258 }
1259
1260
1265 public BlogsEntryPersistence getBlogsEntryPersistence() {
1266 return blogsEntryPersistence;
1267 }
1268
1269
1274 public void setBlogsEntryPersistence(
1275 BlogsEntryPersistence blogsEntryPersistence) {
1276 this.blogsEntryPersistence = blogsEntryPersistence;
1277 }
1278
1279
1284 public BlogsEntryFinder getBlogsEntryFinder() {
1285 return blogsEntryFinder;
1286 }
1287
1288
1293 public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
1294 this.blogsEntryFinder = blogsEntryFinder;
1295 }
1296
1297
1302 public BookmarksEntryLocalService getBookmarksEntryLocalService() {
1303 return bookmarksEntryLocalService;
1304 }
1305
1306
1311 public void setBookmarksEntryLocalService(
1312 BookmarksEntryLocalService bookmarksEntryLocalService) {
1313 this.bookmarksEntryLocalService = bookmarksEntryLocalService;
1314 }
1315
1316
1321 public BookmarksEntryService getBookmarksEntryService() {
1322 return bookmarksEntryService;
1323 }
1324
1325
1330 public void setBookmarksEntryService(
1331 BookmarksEntryService bookmarksEntryService) {
1332 this.bookmarksEntryService = bookmarksEntryService;
1333 }
1334
1335
1340 public BookmarksEntryPersistence getBookmarksEntryPersistence() {
1341 return bookmarksEntryPersistence;
1342 }
1343
1344
1349 public void setBookmarksEntryPersistence(
1350 BookmarksEntryPersistence bookmarksEntryPersistence) {
1351 this.bookmarksEntryPersistence = bookmarksEntryPersistence;
1352 }
1353
1354
1359 public BookmarksEntryFinder getBookmarksEntryFinder() {
1360 return bookmarksEntryFinder;
1361 }
1362
1363
1368 public void setBookmarksEntryFinder(
1369 BookmarksEntryFinder bookmarksEntryFinder) {
1370 this.bookmarksEntryFinder = bookmarksEntryFinder;
1371 }
1372
1373
1378 public DLAppLocalService getDLAppLocalService() {
1379 return dlAppLocalService;
1380 }
1381
1382
1387 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
1388 this.dlAppLocalService = dlAppLocalService;
1389 }
1390
1391
1396 public DLAppService getDLAppService() {
1397 return dlAppService;
1398 }
1399
1400
1405 public void setDLAppService(DLAppService dlAppService) {
1406 this.dlAppService = dlAppService;
1407 }
1408
1409
1414 public DLFileEntryLocalService getDLFileEntryLocalService() {
1415 return dlFileEntryLocalService;
1416 }
1417
1418
1423 public void setDLFileEntryLocalService(
1424 DLFileEntryLocalService dlFileEntryLocalService) {
1425 this.dlFileEntryLocalService = dlFileEntryLocalService;
1426 }
1427
1428
1433 public DLFileEntryService getDLFileEntryService() {
1434 return dlFileEntryService;
1435 }
1436
1437
1442 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
1443 this.dlFileEntryService = dlFileEntryService;
1444 }
1445
1446
1451 public DLFileEntryPersistence getDLFileEntryPersistence() {
1452 return dlFileEntryPersistence;
1453 }
1454
1455
1460 public void setDLFileEntryPersistence(
1461 DLFileEntryPersistence dlFileEntryPersistence) {
1462 this.dlFileEntryPersistence = dlFileEntryPersistence;
1463 }
1464
1465
1470 public DLFileEntryFinder getDLFileEntryFinder() {
1471 return dlFileEntryFinder;
1472 }
1473
1474
1479 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
1480 this.dlFileEntryFinder = dlFileEntryFinder;
1481 }
1482
1483
1488 public DLFolderLocalService getDLFolderLocalService() {
1489 return dlFolderLocalService;
1490 }
1491
1492
1497 public void setDLFolderLocalService(
1498 DLFolderLocalService dlFolderLocalService) {
1499 this.dlFolderLocalService = dlFolderLocalService;
1500 }
1501
1502
1507 public DLFolderService getDLFolderService() {
1508 return dlFolderService;
1509 }
1510
1511
1516 public void setDLFolderService(DLFolderService dlFolderService) {
1517 this.dlFolderService = dlFolderService;
1518 }
1519
1520
1525 public DLFolderPersistence getDLFolderPersistence() {
1526 return dlFolderPersistence;
1527 }
1528
1529
1534 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1535 this.dlFolderPersistence = dlFolderPersistence;
1536 }
1537
1538
1543 public DLFolderFinder getDLFolderFinder() {
1544 return dlFolderFinder;
1545 }
1546
1547
1552 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1553 this.dlFolderFinder = dlFolderFinder;
1554 }
1555
1556
1561 public JournalArticleLocalService getJournalArticleLocalService() {
1562 return journalArticleLocalService;
1563 }
1564
1565
1570 public void setJournalArticleLocalService(
1571 JournalArticleLocalService journalArticleLocalService) {
1572 this.journalArticleLocalService = journalArticleLocalService;
1573 }
1574
1575
1580 public JournalArticleService getJournalArticleService() {
1581 return journalArticleService;
1582 }
1583
1584
1589 public void setJournalArticleService(
1590 JournalArticleService journalArticleService) {
1591 this.journalArticleService = journalArticleService;
1592 }
1593
1594
1599 public JournalArticlePersistence getJournalArticlePersistence() {
1600 return journalArticlePersistence;
1601 }
1602
1603
1608 public void setJournalArticlePersistence(
1609 JournalArticlePersistence journalArticlePersistence) {
1610 this.journalArticlePersistence = journalArticlePersistence;
1611 }
1612
1613
1618 public JournalArticleFinder getJournalArticleFinder() {
1619 return journalArticleFinder;
1620 }
1621
1622
1627 public void setJournalArticleFinder(
1628 JournalArticleFinder journalArticleFinder) {
1629 this.journalArticleFinder = journalArticleFinder;
1630 }
1631
1632
1637 public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
1638 return journalArticleResourceLocalService;
1639 }
1640
1641
1646 public void setJournalArticleResourceLocalService(
1647 JournalArticleResourceLocalService journalArticleResourceLocalService) {
1648 this.journalArticleResourceLocalService = journalArticleResourceLocalService;
1649 }
1650
1651
1656 public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
1657 return journalArticleResourcePersistence;
1658 }
1659
1660
1665 public void setJournalArticleResourcePersistence(
1666 JournalArticleResourcePersistence journalArticleResourcePersistence) {
1667 this.journalArticleResourcePersistence = journalArticleResourcePersistence;
1668 }
1669
1670
1675 public MBMessageLocalService getMBMessageLocalService() {
1676 return mbMessageLocalService;
1677 }
1678
1679
1684 public void setMBMessageLocalService(
1685 MBMessageLocalService mbMessageLocalService) {
1686 this.mbMessageLocalService = mbMessageLocalService;
1687 }
1688
1689
1694 public MBMessageService getMBMessageService() {
1695 return mbMessageService;
1696 }
1697
1698
1703 public void setMBMessageService(MBMessageService mbMessageService) {
1704 this.mbMessageService = mbMessageService;
1705 }
1706
1707
1712 public MBMessagePersistence getMBMessagePersistence() {
1713 return mbMessagePersistence;
1714 }
1715
1716
1721 public void setMBMessagePersistence(
1722 MBMessagePersistence mbMessagePersistence) {
1723 this.mbMessagePersistence = mbMessagePersistence;
1724 }
1725
1726
1731 public MBMessageFinder getMBMessageFinder() {
1732 return mbMessageFinder;
1733 }
1734
1735
1740 public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1741 this.mbMessageFinder = mbMessageFinder;
1742 }
1743
1744
1749 public SocialActivityLocalService getSocialActivityLocalService() {
1750 return socialActivityLocalService;
1751 }
1752
1753
1758 public void setSocialActivityLocalService(
1759 SocialActivityLocalService socialActivityLocalService) {
1760 this.socialActivityLocalService = socialActivityLocalService;
1761 }
1762
1763
1768 public SocialActivityPersistence getSocialActivityPersistence() {
1769 return socialActivityPersistence;
1770 }
1771
1772
1777 public void setSocialActivityPersistence(
1778 SocialActivityPersistence socialActivityPersistence) {
1779 this.socialActivityPersistence = socialActivityPersistence;
1780 }
1781
1782
1787 public SocialActivityFinder getSocialActivityFinder() {
1788 return socialActivityFinder;
1789 }
1790
1791
1796 public void setSocialActivityFinder(
1797 SocialActivityFinder socialActivityFinder) {
1798 this.socialActivityFinder = socialActivityFinder;
1799 }
1800
1801
1806 public WikiPageLocalService getWikiPageLocalService() {
1807 return wikiPageLocalService;
1808 }
1809
1810
1815 public void setWikiPageLocalService(
1816 WikiPageLocalService wikiPageLocalService) {
1817 this.wikiPageLocalService = wikiPageLocalService;
1818 }
1819
1820
1825 public WikiPageService getWikiPageService() {
1826 return wikiPageService;
1827 }
1828
1829
1834 public void setWikiPageService(WikiPageService wikiPageService) {
1835 this.wikiPageService = wikiPageService;
1836 }
1837
1838
1843 public WikiPagePersistence getWikiPagePersistence() {
1844 return wikiPagePersistence;
1845 }
1846
1847
1852 public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
1853 this.wikiPagePersistence = wikiPagePersistence;
1854 }
1855
1856
1861 public WikiPageFinder getWikiPageFinder() {
1862 return wikiPageFinder;
1863 }
1864
1865
1870 public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
1871 this.wikiPageFinder = wikiPageFinder;
1872 }
1873
1874
1879 public WikiPageResourceLocalService getWikiPageResourceLocalService() {
1880 return wikiPageResourceLocalService;
1881 }
1882
1883
1888 public void setWikiPageResourceLocalService(
1889 WikiPageResourceLocalService wikiPageResourceLocalService) {
1890 this.wikiPageResourceLocalService = wikiPageResourceLocalService;
1891 }
1892
1893
1898 public WikiPageResourcePersistence getWikiPageResourcePersistence() {
1899 return wikiPageResourcePersistence;
1900 }
1901
1902
1907 public void setWikiPageResourcePersistence(
1908 WikiPageResourcePersistence wikiPageResourcePersistence) {
1909 this.wikiPageResourcePersistence = wikiPageResourcePersistence;
1910 }
1911
1912 public void afterPropertiesSet() {
1913 persistedModelLocalServiceRegistry.register("com.liferay.portlet.asset.model.AssetEntry",
1914 assetEntryLocalService);
1915 }
1916
1917 public void destroy() {
1918 persistedModelLocalServiceRegistry.unregister(
1919 "com.liferay.portlet.asset.model.AssetEntry");
1920 }
1921
1922
1927 public String getBeanIdentifier() {
1928 return _beanIdentifier;
1929 }
1930
1931
1936 public void setBeanIdentifier(String beanIdentifier) {
1937 _beanIdentifier = beanIdentifier;
1938 }
1939
1940 protected ClassLoader getClassLoader() {
1941 Class<?> clazz = getClass();
1942
1943 return clazz.getClassLoader();
1944 }
1945
1946 protected Class<?> getModelClass() {
1947 return AssetEntry.class;
1948 }
1949
1950 protected String getModelClassName() {
1951 return AssetEntry.class.getName();
1952 }
1953
1954
1959 protected void runSQL(String sql) throws SystemException {
1960 try {
1961 DataSource dataSource = assetEntryPersistence.getDataSource();
1962
1963 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1964 sql, new int[0]);
1965
1966 sqlUpdate.update();
1967 }
1968 catch (Exception e) {
1969 throw new SystemException(e);
1970 }
1971 }
1972
1973 @BeanReference(type = AssetCategoryLocalService.class)
1974 protected AssetCategoryLocalService assetCategoryLocalService;
1975 @BeanReference(type = AssetCategoryService.class)
1976 protected AssetCategoryService assetCategoryService;
1977 @BeanReference(type = AssetCategoryPersistence.class)
1978 protected AssetCategoryPersistence assetCategoryPersistence;
1979 @BeanReference(type = AssetCategoryFinder.class)
1980 protected AssetCategoryFinder assetCategoryFinder;
1981 @BeanReference(type = AssetCategoryPropertyLocalService.class)
1982 protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
1983 @BeanReference(type = AssetCategoryPropertyService.class)
1984 protected AssetCategoryPropertyService assetCategoryPropertyService;
1985 @BeanReference(type = AssetCategoryPropertyPersistence.class)
1986 protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
1987 @BeanReference(type = AssetCategoryPropertyFinder.class)
1988 protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
1989 @BeanReference(type = AssetEntryLocalService.class)
1990 protected AssetEntryLocalService assetEntryLocalService;
1991 @BeanReference(type = AssetEntryService.class)
1992 protected AssetEntryService assetEntryService;
1993 @BeanReference(type = AssetEntryPersistence.class)
1994 protected AssetEntryPersistence assetEntryPersistence;
1995 @BeanReference(type = AssetEntryFinder.class)
1996 protected AssetEntryFinder assetEntryFinder;
1997 @BeanReference(type = AssetLinkLocalService.class)
1998 protected AssetLinkLocalService assetLinkLocalService;
1999 @BeanReference(type = AssetLinkPersistence.class)
2000 protected AssetLinkPersistence assetLinkPersistence;
2001 @BeanReference(type = AssetTagLocalService.class)
2002 protected AssetTagLocalService assetTagLocalService;
2003 @BeanReference(type = AssetTagService.class)
2004 protected AssetTagService assetTagService;
2005 @BeanReference(type = AssetTagPersistence.class)
2006 protected AssetTagPersistence assetTagPersistence;
2007 @BeanReference(type = AssetTagFinder.class)
2008 protected AssetTagFinder assetTagFinder;
2009 @BeanReference(type = AssetTagPropertyLocalService.class)
2010 protected AssetTagPropertyLocalService assetTagPropertyLocalService;
2011 @BeanReference(type = AssetTagPropertyService.class)
2012 protected AssetTagPropertyService assetTagPropertyService;
2013 @BeanReference(type = AssetTagPropertyPersistence.class)
2014 protected AssetTagPropertyPersistence assetTagPropertyPersistence;
2015 @BeanReference(type = AssetTagPropertyFinder.class)
2016 protected AssetTagPropertyFinder assetTagPropertyFinder;
2017 @BeanReference(type = AssetTagPropertyKeyFinder.class)
2018 protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
2019 @BeanReference(type = AssetTagStatsLocalService.class)
2020 protected AssetTagStatsLocalService assetTagStatsLocalService;
2021 @BeanReference(type = AssetTagStatsPersistence.class)
2022 protected AssetTagStatsPersistence assetTagStatsPersistence;
2023 @BeanReference(type = AssetVocabularyLocalService.class)
2024 protected AssetVocabularyLocalService assetVocabularyLocalService;
2025 @BeanReference(type = AssetVocabularyService.class)
2026 protected AssetVocabularyService assetVocabularyService;
2027 @BeanReference(type = AssetVocabularyPersistence.class)
2028 protected AssetVocabularyPersistence assetVocabularyPersistence;
2029 @BeanReference(type = AssetVocabularyFinder.class)
2030 protected AssetVocabularyFinder assetVocabularyFinder;
2031 @BeanReference(type = CounterLocalService.class)
2032 protected CounterLocalService counterLocalService;
2033 @BeanReference(type = CompanyLocalService.class)
2034 protected CompanyLocalService companyLocalService;
2035 @BeanReference(type = CompanyService.class)
2036 protected CompanyService companyService;
2037 @BeanReference(type = CompanyPersistence.class)
2038 protected CompanyPersistence companyPersistence;
2039 @BeanReference(type = GroupLocalService.class)
2040 protected GroupLocalService groupLocalService;
2041 @BeanReference(type = GroupService.class)
2042 protected GroupService groupService;
2043 @BeanReference(type = GroupPersistence.class)
2044 protected GroupPersistence groupPersistence;
2045 @BeanReference(type = GroupFinder.class)
2046 protected GroupFinder groupFinder;
2047 @BeanReference(type = ResourceLocalService.class)
2048 protected ResourceLocalService resourceLocalService;
2049 @BeanReference(type = ResourceService.class)
2050 protected ResourceService resourceService;
2051 @BeanReference(type = ResourcePersistence.class)
2052 protected ResourcePersistence resourcePersistence;
2053 @BeanReference(type = ResourceFinder.class)
2054 protected ResourceFinder resourceFinder;
2055 @BeanReference(type = UserLocalService.class)
2056 protected UserLocalService userLocalService;
2057 @BeanReference(type = UserService.class)
2058 protected UserService userService;
2059 @BeanReference(type = UserPersistence.class)
2060 protected UserPersistence userPersistence;
2061 @BeanReference(type = UserFinder.class)
2062 protected UserFinder userFinder;
2063 @BeanReference(type = BlogsEntryLocalService.class)
2064 protected BlogsEntryLocalService blogsEntryLocalService;
2065 @BeanReference(type = BlogsEntryService.class)
2066 protected BlogsEntryService blogsEntryService;
2067 @BeanReference(type = BlogsEntryPersistence.class)
2068 protected BlogsEntryPersistence blogsEntryPersistence;
2069 @BeanReference(type = BlogsEntryFinder.class)
2070 protected BlogsEntryFinder blogsEntryFinder;
2071 @BeanReference(type = BookmarksEntryLocalService.class)
2072 protected BookmarksEntryLocalService bookmarksEntryLocalService;
2073 @BeanReference(type = BookmarksEntryService.class)
2074 protected BookmarksEntryService bookmarksEntryService;
2075 @BeanReference(type = BookmarksEntryPersistence.class)
2076 protected BookmarksEntryPersistence bookmarksEntryPersistence;
2077 @BeanReference(type = BookmarksEntryFinder.class)
2078 protected BookmarksEntryFinder bookmarksEntryFinder;
2079 @BeanReference(type = DLAppLocalService.class)
2080 protected DLAppLocalService dlAppLocalService;
2081 @BeanReference(type = DLAppService.class)
2082 protected DLAppService dlAppService;
2083 @BeanReference(type = DLFileEntryLocalService.class)
2084 protected DLFileEntryLocalService dlFileEntryLocalService;
2085 @BeanReference(type = DLFileEntryService.class)
2086 protected DLFileEntryService dlFileEntryService;
2087 @BeanReference(type = DLFileEntryPersistence.class)
2088 protected DLFileEntryPersistence dlFileEntryPersistence;
2089 @BeanReference(type = DLFileEntryFinder.class)
2090 protected DLFileEntryFinder dlFileEntryFinder;
2091 @BeanReference(type = DLFolderLocalService.class)
2092 protected DLFolderLocalService dlFolderLocalService;
2093 @BeanReference(type = DLFolderService.class)
2094 protected DLFolderService dlFolderService;
2095 @BeanReference(type = DLFolderPersistence.class)
2096 protected DLFolderPersistence dlFolderPersistence;
2097 @BeanReference(type = DLFolderFinder.class)
2098 protected DLFolderFinder dlFolderFinder;
2099 @BeanReference(type = JournalArticleLocalService.class)
2100 protected JournalArticleLocalService journalArticleLocalService;
2101 @BeanReference(type = JournalArticleService.class)
2102 protected JournalArticleService journalArticleService;
2103 @BeanReference(type = JournalArticlePersistence.class)
2104 protected JournalArticlePersistence journalArticlePersistence;
2105 @BeanReference(type = JournalArticleFinder.class)
2106 protected JournalArticleFinder journalArticleFinder;
2107 @BeanReference(type = JournalArticleResourceLocalService.class)
2108 protected JournalArticleResourceLocalService journalArticleResourceLocalService;
2109 @BeanReference(type = JournalArticleResourcePersistence.class)
2110 protected JournalArticleResourcePersistence journalArticleResourcePersistence;
2111 @BeanReference(type = MBMessageLocalService.class)
2112 protected MBMessageLocalService mbMessageLocalService;
2113 @BeanReference(type = MBMessageService.class)
2114 protected MBMessageService mbMessageService;
2115 @BeanReference(type = MBMessagePersistence.class)
2116 protected MBMessagePersistence mbMessagePersistence;
2117 @BeanReference(type = MBMessageFinder.class)
2118 protected MBMessageFinder mbMessageFinder;
2119 @BeanReference(type = SocialActivityLocalService.class)
2120 protected SocialActivityLocalService socialActivityLocalService;
2121 @BeanReference(type = SocialActivityPersistence.class)
2122 protected SocialActivityPersistence socialActivityPersistence;
2123 @BeanReference(type = SocialActivityFinder.class)
2124 protected SocialActivityFinder socialActivityFinder;
2125 @BeanReference(type = WikiPageLocalService.class)
2126 protected WikiPageLocalService wikiPageLocalService;
2127 @BeanReference(type = WikiPageService.class)
2128 protected WikiPageService wikiPageService;
2129 @BeanReference(type = WikiPagePersistence.class)
2130 protected WikiPagePersistence wikiPagePersistence;
2131 @BeanReference(type = WikiPageFinder.class)
2132 protected WikiPageFinder wikiPageFinder;
2133 @BeanReference(type = WikiPageResourceLocalService.class)
2134 protected WikiPageResourceLocalService wikiPageResourceLocalService;
2135 @BeanReference(type = WikiPageResourcePersistence.class)
2136 protected WikiPageResourcePersistence wikiPageResourcePersistence;
2137 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
2138 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
2139 private static Log _log = LogFactoryUtil.getLog(AssetEntryLocalServiceBaseImpl.class);
2140 private String _beanIdentifier;
2141 }