001
014
015 package com.liferay.portlet.documentlibrary.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.PersistedModelLocalServiceRegistry;
034 import com.liferay.portal.service.ResourceLocalService;
035 import com.liferay.portal.service.ResourceService;
036 import com.liferay.portal.service.UserLocalService;
037 import com.liferay.portal.service.UserService;
038 import com.liferay.portal.service.persistence.ResourceFinder;
039 import com.liferay.portal.service.persistence.ResourcePersistence;
040 import com.liferay.portal.service.persistence.UserFinder;
041 import com.liferay.portal.service.persistence.UserPersistence;
042
043 import com.liferay.portlet.asset.service.AssetEntryLocalService;
044 import com.liferay.portlet.asset.service.AssetEntryService;
045 import com.liferay.portlet.asset.service.AssetTagLocalService;
046 import com.liferay.portlet.asset.service.AssetTagService;
047 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
048 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
049 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
050 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
051 import com.liferay.portlet.documentlibrary.model.DLFileShortcut;
052 import com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService;
053 import com.liferay.portlet.documentlibrary.service.DLAppLocalService;
054 import com.liferay.portlet.documentlibrary.service.DLAppService;
055 import com.liferay.portlet.documentlibrary.service.DLContentLocalService;
056 import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
057 import com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService;
058 import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
059 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService;
060 import com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService;
061 import com.liferay.portlet.documentlibrary.service.DLFileRankLocalService;
062 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
063 import com.liferay.portlet.documentlibrary.service.DLFileShortcutService;
064 import com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService;
065 import com.liferay.portlet.documentlibrary.service.DLFileVersionService;
066 import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
067 import com.liferay.portlet.documentlibrary.service.DLFolderService;
068 import com.liferay.portlet.documentlibrary.service.DLSyncLocalService;
069 import com.liferay.portlet.documentlibrary.service.DLSyncService;
070 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
071 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
072 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
073 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
074 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
075 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
076 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
077 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
078 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
079 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
080 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
081 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
082 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncPersistence;
083
084 import java.io.Serializable;
085
086 import java.util.List;
087
088 import javax.sql.DataSource;
089
090
102 public abstract class DLFileShortcutLocalServiceBaseImpl
103 implements DLFileShortcutLocalService, IdentifiableBean {
104
109
110
117 public DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
118 throws SystemException {
119 dlFileShortcut.setNew(true);
120
121 dlFileShortcut = dlFileShortcutPersistence.update(dlFileShortcut, false);
122
123 Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
124
125 if (indexer != null) {
126 try {
127 indexer.reindex(dlFileShortcut);
128 }
129 catch (SearchException se) {
130 if (_log.isWarnEnabled()) {
131 _log.warn(se, se);
132 }
133 }
134 }
135
136 return dlFileShortcut;
137 }
138
139
145 public DLFileShortcut createDLFileShortcut(long fileShortcutId) {
146 return dlFileShortcutPersistence.create(fileShortcutId);
147 }
148
149
156 public void deleteDLFileShortcut(long fileShortcutId)
157 throws PortalException, SystemException {
158 DLFileShortcut dlFileShortcut = dlFileShortcutPersistence.remove(fileShortcutId);
159
160 Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
161
162 if (indexer != null) {
163 try {
164 indexer.delete(dlFileShortcut);
165 }
166 catch (SearchException se) {
167 if (_log.isWarnEnabled()) {
168 _log.warn(se, se);
169 }
170 }
171 }
172 }
173
174
180 public void deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
181 throws SystemException {
182 dlFileShortcutPersistence.remove(dlFileShortcut);
183
184 Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
185
186 if (indexer != null) {
187 try {
188 indexer.delete(dlFileShortcut);
189 }
190 catch (SearchException se) {
191 if (_log.isWarnEnabled()) {
192 _log.warn(se, se);
193 }
194 }
195 }
196 }
197
198
205 @SuppressWarnings("rawtypes")
206 public List dynamicQuery(DynamicQuery dynamicQuery)
207 throws SystemException {
208 return dlFileShortcutPersistence.findWithDynamicQuery(dynamicQuery);
209 }
210
211
224 @SuppressWarnings("rawtypes")
225 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
226 throws SystemException {
227 return dlFileShortcutPersistence.findWithDynamicQuery(dynamicQuery,
228 start, end);
229 }
230
231
245 @SuppressWarnings("rawtypes")
246 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
247 OrderByComparator orderByComparator) throws SystemException {
248 return dlFileShortcutPersistence.findWithDynamicQuery(dynamicQuery,
249 start, end, orderByComparator);
250 }
251
252
259 public long dynamicQueryCount(DynamicQuery dynamicQuery)
260 throws SystemException {
261 return dlFileShortcutPersistence.countWithDynamicQuery(dynamicQuery);
262 }
263
264 public DLFileShortcut fetchDLFileShortcut(long fileShortcutId)
265 throws SystemException {
266 return dlFileShortcutPersistence.fetchByPrimaryKey(fileShortcutId);
267 }
268
269
277 public DLFileShortcut getDLFileShortcut(long fileShortcutId)
278 throws PortalException, SystemException {
279 return dlFileShortcutPersistence.findByPrimaryKey(fileShortcutId);
280 }
281
282 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
283 throws PortalException, SystemException {
284 return dlFileShortcutPersistence.findByPrimaryKey(primaryKeyObj);
285 }
286
287
296 public DLFileShortcut getDLFileShortcutByUuidAndGroupId(String uuid,
297 long groupId) throws PortalException, SystemException {
298 return dlFileShortcutPersistence.findByUUID_G(uuid, groupId);
299 }
300
301
313 public List<DLFileShortcut> getDLFileShortcuts(int start, int end)
314 throws SystemException {
315 return dlFileShortcutPersistence.findAll(start, end);
316 }
317
318
324 public int getDLFileShortcutsCount() throws SystemException {
325 return dlFileShortcutPersistence.countAll();
326 }
327
328
335 public DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
336 throws SystemException {
337 return updateDLFileShortcut(dlFileShortcut, true);
338 }
339
340
348 public DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut,
349 boolean merge) throws SystemException {
350 dlFileShortcut.setNew(false);
351
352 dlFileShortcut = dlFileShortcutPersistence.update(dlFileShortcut, merge);
353
354 Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
355
356 if (indexer != null) {
357 try {
358 indexer.reindex(dlFileShortcut);
359 }
360 catch (SearchException se) {
361 if (_log.isWarnEnabled()) {
362 _log.warn(se, se);
363 }
364 }
365 }
366
367 return dlFileShortcut;
368 }
369
370
375 public DLAppLocalService getDLAppLocalService() {
376 return dlAppLocalService;
377 }
378
379
384 public void setDLAppLocalService(DLAppLocalService dlAppLocalService) {
385 this.dlAppLocalService = dlAppLocalService;
386 }
387
388
393 public DLAppService getDLAppService() {
394 return dlAppService;
395 }
396
397
402 public void setDLAppService(DLAppService dlAppService) {
403 this.dlAppService = dlAppService;
404 }
405
406
411 public DLAppHelperLocalService getDLAppHelperLocalService() {
412 return dlAppHelperLocalService;
413 }
414
415
420 public void setDLAppHelperLocalService(
421 DLAppHelperLocalService dlAppHelperLocalService) {
422 this.dlAppHelperLocalService = dlAppHelperLocalService;
423 }
424
425
430 public DLContentLocalService getDLContentLocalService() {
431 return dlContentLocalService;
432 }
433
434
439 public void setDLContentLocalService(
440 DLContentLocalService dlContentLocalService) {
441 this.dlContentLocalService = dlContentLocalService;
442 }
443
444
449 public DLContentPersistence getDLContentPersistence() {
450 return dlContentPersistence;
451 }
452
453
458 public void setDLContentPersistence(
459 DLContentPersistence dlContentPersistence) {
460 this.dlContentPersistence = dlContentPersistence;
461 }
462
463
468 public DLFileEntryLocalService getDLFileEntryLocalService() {
469 return dlFileEntryLocalService;
470 }
471
472
477 public void setDLFileEntryLocalService(
478 DLFileEntryLocalService dlFileEntryLocalService) {
479 this.dlFileEntryLocalService = dlFileEntryLocalService;
480 }
481
482
487 public DLFileEntryService getDLFileEntryService() {
488 return dlFileEntryService;
489 }
490
491
496 public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
497 this.dlFileEntryService = dlFileEntryService;
498 }
499
500
505 public DLFileEntryPersistence getDLFileEntryPersistence() {
506 return dlFileEntryPersistence;
507 }
508
509
514 public void setDLFileEntryPersistence(
515 DLFileEntryPersistence dlFileEntryPersistence) {
516 this.dlFileEntryPersistence = dlFileEntryPersistence;
517 }
518
519
524 public DLFileEntryFinder getDLFileEntryFinder() {
525 return dlFileEntryFinder;
526 }
527
528
533 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
534 this.dlFileEntryFinder = dlFileEntryFinder;
535 }
536
537
542 public DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
543 return dlFileEntryMetadataLocalService;
544 }
545
546
551 public void setDLFileEntryMetadataLocalService(
552 DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
553 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
554 }
555
556
561 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
562 return dlFileEntryMetadataPersistence;
563 }
564
565
570 public void setDLFileEntryMetadataPersistence(
571 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
572 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
573 }
574
575
580 public DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
581 return dlFileEntryTypeLocalService;
582 }
583
584
589 public void setDLFileEntryTypeLocalService(
590 DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
591 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
592 }
593
594
599 public DLFileEntryTypeService getDLFileEntryTypeService() {
600 return dlFileEntryTypeService;
601 }
602
603
608 public void setDLFileEntryTypeService(
609 DLFileEntryTypeService dlFileEntryTypeService) {
610 this.dlFileEntryTypeService = dlFileEntryTypeService;
611 }
612
613
618 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
619 return dlFileEntryTypePersistence;
620 }
621
622
627 public void setDLFileEntryTypePersistence(
628 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
629 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
630 }
631
632
637 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
638 return dlFileEntryTypeFinder;
639 }
640
641
646 public void setDLFileEntryTypeFinder(
647 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
648 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
649 }
650
651
656 public DLFileRankLocalService getDLFileRankLocalService() {
657 return dlFileRankLocalService;
658 }
659
660
665 public void setDLFileRankLocalService(
666 DLFileRankLocalService dlFileRankLocalService) {
667 this.dlFileRankLocalService = dlFileRankLocalService;
668 }
669
670
675 public DLFileRankPersistence getDLFileRankPersistence() {
676 return dlFileRankPersistence;
677 }
678
679
684 public void setDLFileRankPersistence(
685 DLFileRankPersistence dlFileRankPersistence) {
686 this.dlFileRankPersistence = dlFileRankPersistence;
687 }
688
689
694 public DLFileRankFinder getDLFileRankFinder() {
695 return dlFileRankFinder;
696 }
697
698
703 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
704 this.dlFileRankFinder = dlFileRankFinder;
705 }
706
707
712 public DLFileShortcutLocalService getDLFileShortcutLocalService() {
713 return dlFileShortcutLocalService;
714 }
715
716
721 public void setDLFileShortcutLocalService(
722 DLFileShortcutLocalService dlFileShortcutLocalService) {
723 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
724 }
725
726
731 public DLFileShortcutService getDLFileShortcutService() {
732 return dlFileShortcutService;
733 }
734
735
740 public void setDLFileShortcutService(
741 DLFileShortcutService dlFileShortcutService) {
742 this.dlFileShortcutService = dlFileShortcutService;
743 }
744
745
750 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
751 return dlFileShortcutPersistence;
752 }
753
754
759 public void setDLFileShortcutPersistence(
760 DLFileShortcutPersistence dlFileShortcutPersistence) {
761 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
762 }
763
764
769 public DLFileVersionLocalService getDLFileVersionLocalService() {
770 return dlFileVersionLocalService;
771 }
772
773
778 public void setDLFileVersionLocalService(
779 DLFileVersionLocalService dlFileVersionLocalService) {
780 this.dlFileVersionLocalService = dlFileVersionLocalService;
781 }
782
783
788 public DLFileVersionService getDLFileVersionService() {
789 return dlFileVersionService;
790 }
791
792
797 public void setDLFileVersionService(
798 DLFileVersionService dlFileVersionService) {
799 this.dlFileVersionService = dlFileVersionService;
800 }
801
802
807 public DLFileVersionPersistence getDLFileVersionPersistence() {
808 return dlFileVersionPersistence;
809 }
810
811
816 public void setDLFileVersionPersistence(
817 DLFileVersionPersistence dlFileVersionPersistence) {
818 this.dlFileVersionPersistence = dlFileVersionPersistence;
819 }
820
821
826 public DLFolderLocalService getDLFolderLocalService() {
827 return dlFolderLocalService;
828 }
829
830
835 public void setDLFolderLocalService(
836 DLFolderLocalService dlFolderLocalService) {
837 this.dlFolderLocalService = dlFolderLocalService;
838 }
839
840
845 public DLFolderService getDLFolderService() {
846 return dlFolderService;
847 }
848
849
854 public void setDLFolderService(DLFolderService dlFolderService) {
855 this.dlFolderService = dlFolderService;
856 }
857
858
863 public DLFolderPersistence getDLFolderPersistence() {
864 return dlFolderPersistence;
865 }
866
867
872 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
873 this.dlFolderPersistence = dlFolderPersistence;
874 }
875
876
881 public DLFolderFinder getDLFolderFinder() {
882 return dlFolderFinder;
883 }
884
885
890 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
891 this.dlFolderFinder = dlFolderFinder;
892 }
893
894
899 public DLSyncLocalService getDLSyncLocalService() {
900 return dlSyncLocalService;
901 }
902
903
908 public void setDLSyncLocalService(DLSyncLocalService dlSyncLocalService) {
909 this.dlSyncLocalService = dlSyncLocalService;
910 }
911
912
917 public DLSyncService getDLSyncService() {
918 return dlSyncService;
919 }
920
921
926 public void setDLSyncService(DLSyncService dlSyncService) {
927 this.dlSyncService = dlSyncService;
928 }
929
930
935 public DLSyncPersistence getDLSyncPersistence() {
936 return dlSyncPersistence;
937 }
938
939
944 public void setDLSyncPersistence(DLSyncPersistence dlSyncPersistence) {
945 this.dlSyncPersistence = dlSyncPersistence;
946 }
947
948
953 public CounterLocalService getCounterLocalService() {
954 return counterLocalService;
955 }
956
957
962 public void setCounterLocalService(CounterLocalService counterLocalService) {
963 this.counterLocalService = counterLocalService;
964 }
965
966
971 public ResourceLocalService getResourceLocalService() {
972 return resourceLocalService;
973 }
974
975
980 public void setResourceLocalService(
981 ResourceLocalService resourceLocalService) {
982 this.resourceLocalService = resourceLocalService;
983 }
984
985
990 public ResourceService getResourceService() {
991 return resourceService;
992 }
993
994
999 public void setResourceService(ResourceService resourceService) {
1000 this.resourceService = resourceService;
1001 }
1002
1003
1008 public ResourcePersistence getResourcePersistence() {
1009 return resourcePersistence;
1010 }
1011
1012
1017 public void setResourcePersistence(ResourcePersistence resourcePersistence) {
1018 this.resourcePersistence = resourcePersistence;
1019 }
1020
1021
1026 public ResourceFinder getResourceFinder() {
1027 return resourceFinder;
1028 }
1029
1030
1035 public void setResourceFinder(ResourceFinder resourceFinder) {
1036 this.resourceFinder = resourceFinder;
1037 }
1038
1039
1044 public UserLocalService getUserLocalService() {
1045 return userLocalService;
1046 }
1047
1048
1053 public void setUserLocalService(UserLocalService userLocalService) {
1054 this.userLocalService = userLocalService;
1055 }
1056
1057
1062 public UserService getUserService() {
1063 return userService;
1064 }
1065
1066
1071 public void setUserService(UserService userService) {
1072 this.userService = userService;
1073 }
1074
1075
1080 public UserPersistence getUserPersistence() {
1081 return userPersistence;
1082 }
1083
1084
1089 public void setUserPersistence(UserPersistence userPersistence) {
1090 this.userPersistence = userPersistence;
1091 }
1092
1093
1098 public UserFinder getUserFinder() {
1099 return userFinder;
1100 }
1101
1102
1107 public void setUserFinder(UserFinder userFinder) {
1108 this.userFinder = userFinder;
1109 }
1110
1111
1116 public AssetEntryLocalService getAssetEntryLocalService() {
1117 return assetEntryLocalService;
1118 }
1119
1120
1125 public void setAssetEntryLocalService(
1126 AssetEntryLocalService assetEntryLocalService) {
1127 this.assetEntryLocalService = assetEntryLocalService;
1128 }
1129
1130
1135 public AssetEntryService getAssetEntryService() {
1136 return assetEntryService;
1137 }
1138
1139
1144 public void setAssetEntryService(AssetEntryService assetEntryService) {
1145 this.assetEntryService = assetEntryService;
1146 }
1147
1148
1153 public AssetEntryPersistence getAssetEntryPersistence() {
1154 return assetEntryPersistence;
1155 }
1156
1157
1162 public void setAssetEntryPersistence(
1163 AssetEntryPersistence assetEntryPersistence) {
1164 this.assetEntryPersistence = assetEntryPersistence;
1165 }
1166
1167
1172 public AssetEntryFinder getAssetEntryFinder() {
1173 return assetEntryFinder;
1174 }
1175
1176
1181 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1182 this.assetEntryFinder = assetEntryFinder;
1183 }
1184
1185
1190 public AssetTagLocalService getAssetTagLocalService() {
1191 return assetTagLocalService;
1192 }
1193
1194
1199 public void setAssetTagLocalService(
1200 AssetTagLocalService assetTagLocalService) {
1201 this.assetTagLocalService = assetTagLocalService;
1202 }
1203
1204
1209 public AssetTagService getAssetTagService() {
1210 return assetTagService;
1211 }
1212
1213
1218 public void setAssetTagService(AssetTagService assetTagService) {
1219 this.assetTagService = assetTagService;
1220 }
1221
1222
1227 public AssetTagPersistence getAssetTagPersistence() {
1228 return assetTagPersistence;
1229 }
1230
1231
1236 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1237 this.assetTagPersistence = assetTagPersistence;
1238 }
1239
1240
1245 public AssetTagFinder getAssetTagFinder() {
1246 return assetTagFinder;
1247 }
1248
1249
1254 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1255 this.assetTagFinder = assetTagFinder;
1256 }
1257
1258 public void afterPropertiesSet() {
1259 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileShortcut",
1260 dlFileShortcutLocalService);
1261 }
1262
1263 public void destroy() {
1264 persistedModelLocalServiceRegistry.unregister(
1265 "com.liferay.portlet.documentlibrary.model.DLFileShortcut");
1266 }
1267
1268
1273 public String getBeanIdentifier() {
1274 return _beanIdentifier;
1275 }
1276
1277
1282 public void setBeanIdentifier(String beanIdentifier) {
1283 _beanIdentifier = beanIdentifier;
1284 }
1285
1286 protected ClassLoader getClassLoader() {
1287 Class<?> clazz = getClass();
1288
1289 return clazz.getClassLoader();
1290 }
1291
1292 protected Class<?> getModelClass() {
1293 return DLFileShortcut.class;
1294 }
1295
1296 protected String getModelClassName() {
1297 return DLFileShortcut.class.getName();
1298 }
1299
1300
1305 protected void runSQL(String sql) throws SystemException {
1306 try {
1307 DataSource dataSource = dlFileShortcutPersistence.getDataSource();
1308
1309 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1310 sql, new int[0]);
1311
1312 sqlUpdate.update();
1313 }
1314 catch (Exception e) {
1315 throw new SystemException(e);
1316 }
1317 }
1318
1319 @BeanReference(type = DLAppLocalService.class)
1320 protected DLAppLocalService dlAppLocalService;
1321 @BeanReference(type = DLAppService.class)
1322 protected DLAppService dlAppService;
1323 @BeanReference(type = DLAppHelperLocalService.class)
1324 protected DLAppHelperLocalService dlAppHelperLocalService;
1325 @BeanReference(type = DLContentLocalService.class)
1326 protected DLContentLocalService dlContentLocalService;
1327 @BeanReference(type = DLContentPersistence.class)
1328 protected DLContentPersistence dlContentPersistence;
1329 @BeanReference(type = DLFileEntryLocalService.class)
1330 protected DLFileEntryLocalService dlFileEntryLocalService;
1331 @BeanReference(type = DLFileEntryService.class)
1332 protected DLFileEntryService dlFileEntryService;
1333 @BeanReference(type = DLFileEntryPersistence.class)
1334 protected DLFileEntryPersistence dlFileEntryPersistence;
1335 @BeanReference(type = DLFileEntryFinder.class)
1336 protected DLFileEntryFinder dlFileEntryFinder;
1337 @BeanReference(type = DLFileEntryMetadataLocalService.class)
1338 protected DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1339 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1340 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1341 @BeanReference(type = DLFileEntryTypeLocalService.class)
1342 protected DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1343 @BeanReference(type = DLFileEntryTypeService.class)
1344 protected DLFileEntryTypeService dlFileEntryTypeService;
1345 @BeanReference(type = DLFileEntryTypePersistence.class)
1346 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1347 @BeanReference(type = DLFileEntryTypeFinder.class)
1348 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1349 @BeanReference(type = DLFileRankLocalService.class)
1350 protected DLFileRankLocalService dlFileRankLocalService;
1351 @BeanReference(type = DLFileRankPersistence.class)
1352 protected DLFileRankPersistence dlFileRankPersistence;
1353 @BeanReference(type = DLFileRankFinder.class)
1354 protected DLFileRankFinder dlFileRankFinder;
1355 @BeanReference(type = DLFileShortcutLocalService.class)
1356 protected DLFileShortcutLocalService dlFileShortcutLocalService;
1357 @BeanReference(type = DLFileShortcutService.class)
1358 protected DLFileShortcutService dlFileShortcutService;
1359 @BeanReference(type = DLFileShortcutPersistence.class)
1360 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1361 @BeanReference(type = DLFileVersionLocalService.class)
1362 protected DLFileVersionLocalService dlFileVersionLocalService;
1363 @BeanReference(type = DLFileVersionService.class)
1364 protected DLFileVersionService dlFileVersionService;
1365 @BeanReference(type = DLFileVersionPersistence.class)
1366 protected DLFileVersionPersistence dlFileVersionPersistence;
1367 @BeanReference(type = DLFolderLocalService.class)
1368 protected DLFolderLocalService dlFolderLocalService;
1369 @BeanReference(type = DLFolderService.class)
1370 protected DLFolderService dlFolderService;
1371 @BeanReference(type = DLFolderPersistence.class)
1372 protected DLFolderPersistence dlFolderPersistence;
1373 @BeanReference(type = DLFolderFinder.class)
1374 protected DLFolderFinder dlFolderFinder;
1375 @BeanReference(type = DLSyncLocalService.class)
1376 protected DLSyncLocalService dlSyncLocalService;
1377 @BeanReference(type = DLSyncService.class)
1378 protected DLSyncService dlSyncService;
1379 @BeanReference(type = DLSyncPersistence.class)
1380 protected DLSyncPersistence dlSyncPersistence;
1381 @BeanReference(type = CounterLocalService.class)
1382 protected CounterLocalService counterLocalService;
1383 @BeanReference(type = ResourceLocalService.class)
1384 protected ResourceLocalService resourceLocalService;
1385 @BeanReference(type = ResourceService.class)
1386 protected ResourceService resourceService;
1387 @BeanReference(type = ResourcePersistence.class)
1388 protected ResourcePersistence resourcePersistence;
1389 @BeanReference(type = ResourceFinder.class)
1390 protected ResourceFinder resourceFinder;
1391 @BeanReference(type = UserLocalService.class)
1392 protected UserLocalService userLocalService;
1393 @BeanReference(type = UserService.class)
1394 protected UserService userService;
1395 @BeanReference(type = UserPersistence.class)
1396 protected UserPersistence userPersistence;
1397 @BeanReference(type = UserFinder.class)
1398 protected UserFinder userFinder;
1399 @BeanReference(type = AssetEntryLocalService.class)
1400 protected AssetEntryLocalService assetEntryLocalService;
1401 @BeanReference(type = AssetEntryService.class)
1402 protected AssetEntryService assetEntryService;
1403 @BeanReference(type = AssetEntryPersistence.class)
1404 protected AssetEntryPersistence assetEntryPersistence;
1405 @BeanReference(type = AssetEntryFinder.class)
1406 protected AssetEntryFinder assetEntryFinder;
1407 @BeanReference(type = AssetTagLocalService.class)
1408 protected AssetTagLocalService assetTagLocalService;
1409 @BeanReference(type = AssetTagService.class)
1410 protected AssetTagService assetTagService;
1411 @BeanReference(type = AssetTagPersistence.class)
1412 protected AssetTagPersistence assetTagPersistence;
1413 @BeanReference(type = AssetTagFinder.class)
1414 protected AssetTagFinder assetTagFinder;
1415 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1416 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1417 private static Log _log = LogFactoryUtil.getLog(DLFileShortcutLocalServiceBaseImpl.class);
1418 private String _beanIdentifier;
1419 }