001
014
015 package com.liferay.portlet.documentlibrary.service.base;
016
017 import com.liferay.portal.kernel.bean.BeanReference;
018 import com.liferay.portal.kernel.bean.IdentifiableBean;
019 import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020 import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021 import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022 import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023 import com.liferay.portal.kernel.dao.orm.Projection;
024 import com.liferay.portal.kernel.exception.PortalException;
025 import com.liferay.portal.kernel.exception.SystemException;
026 import com.liferay.portal.kernel.search.Indexable;
027 import com.liferay.portal.kernel.search.IndexableType;
028 import com.liferay.portal.kernel.util.OrderByComparator;
029 import com.liferay.portal.model.PersistedModel;
030 import com.liferay.portal.service.BaseLocalServiceImpl;
031 import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032 import com.liferay.portal.service.persistence.UserFinder;
033 import com.liferay.portal.service.persistence.UserPersistence;
034
035 import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
036 import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
037 import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
038 import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
039 import com.liferay.portlet.documentlibrary.model.DLFileShortcut;
040 import com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService;
041 import com.liferay.portlet.documentlibrary.service.persistence.DLContentPersistence;
042 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
043 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryMetadataPersistence;
044 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
045 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypeFinder;
046 import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryTypePersistence;
047 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankFinder;
048 import com.liferay.portlet.documentlibrary.service.persistence.DLFileRankPersistence;
049 import com.liferay.portlet.documentlibrary.service.persistence.DLFileShortcutPersistence;
050 import com.liferay.portlet.documentlibrary.service.persistence.DLFileVersionPersistence;
051 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
052 import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
053 import com.liferay.portlet.documentlibrary.service.persistence.DLSyncEventPersistence;
054 import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
055
056 import java.io.Serializable;
057
058 import java.util.List;
059
060 import javax.sql.DataSource;
061
062
074 public abstract class DLFileShortcutLocalServiceBaseImpl
075 extends BaseLocalServiceImpl implements DLFileShortcutLocalService,
076 IdentifiableBean {
077
082
083
090 @Indexable(type = IndexableType.REINDEX)
091 @Override
092 public DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
093 throws SystemException {
094 dlFileShortcut.setNew(true);
095
096 return dlFileShortcutPersistence.update(dlFileShortcut);
097 }
098
099
105 @Override
106 public DLFileShortcut createDLFileShortcut(long fileShortcutId) {
107 return dlFileShortcutPersistence.create(fileShortcutId);
108 }
109
110
118 @Indexable(type = IndexableType.DELETE)
119 @Override
120 public DLFileShortcut deleteDLFileShortcut(long fileShortcutId)
121 throws PortalException, SystemException {
122 return dlFileShortcutPersistence.remove(fileShortcutId);
123 }
124
125
132 @Indexable(type = IndexableType.DELETE)
133 @Override
134 public DLFileShortcut deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
135 throws SystemException {
136 return dlFileShortcutPersistence.remove(dlFileShortcut);
137 }
138
139 @Override
140 public DynamicQuery dynamicQuery() {
141 Class<?> clazz = getClass();
142
143 return DynamicQueryFactoryUtil.forClass(DLFileShortcut.class,
144 clazz.getClassLoader());
145 }
146
147
154 @Override
155 @SuppressWarnings("rawtypes")
156 public List dynamicQuery(DynamicQuery dynamicQuery)
157 throws SystemException {
158 return dlFileShortcutPersistence.findWithDynamicQuery(dynamicQuery);
159 }
160
161
174 @Override
175 @SuppressWarnings("rawtypes")
176 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
177 throws SystemException {
178 return dlFileShortcutPersistence.findWithDynamicQuery(dynamicQuery,
179 start, end);
180 }
181
182
196 @Override
197 @SuppressWarnings("rawtypes")
198 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
199 OrderByComparator orderByComparator) throws SystemException {
200 return dlFileShortcutPersistence.findWithDynamicQuery(dynamicQuery,
201 start, end, orderByComparator);
202 }
203
204
211 @Override
212 public long dynamicQueryCount(DynamicQuery dynamicQuery)
213 throws SystemException {
214 return dlFileShortcutPersistence.countWithDynamicQuery(dynamicQuery);
215 }
216
217
225 @Override
226 public long dynamicQueryCount(DynamicQuery dynamicQuery,
227 Projection projection) throws SystemException {
228 return dlFileShortcutPersistence.countWithDynamicQuery(dynamicQuery,
229 projection);
230 }
231
232 @Override
233 public DLFileShortcut fetchDLFileShortcut(long fileShortcutId)
234 throws SystemException {
235 return dlFileShortcutPersistence.fetchByPrimaryKey(fileShortcutId);
236 }
237
238
246 @Override
247 public DLFileShortcut fetchDLFileShortcutByUuidAndCompanyId(String uuid,
248 long companyId) throws SystemException {
249 return dlFileShortcutPersistence.fetchByUuid_C_First(uuid, companyId,
250 null);
251 }
252
253
261 @Override
262 public DLFileShortcut fetchDLFileShortcutByUuidAndGroupId(String uuid,
263 long groupId) throws SystemException {
264 return dlFileShortcutPersistence.fetchByUUID_G(uuid, groupId);
265 }
266
267
275 @Override
276 public DLFileShortcut getDLFileShortcut(long fileShortcutId)
277 throws PortalException, SystemException {
278 return dlFileShortcutPersistence.findByPrimaryKey(fileShortcutId);
279 }
280
281 @Override
282 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
283 throws PortalException, SystemException {
284 return dlFileShortcutPersistence.findByPrimaryKey(primaryKeyObj);
285 }
286
287
296 @Override
297 public DLFileShortcut getDLFileShortcutByUuidAndCompanyId(String uuid,
298 long companyId) throws PortalException, SystemException {
299 return dlFileShortcutPersistence.findByUuid_C_First(uuid, companyId,
300 null);
301 }
302
303
312 @Override
313 public DLFileShortcut getDLFileShortcutByUuidAndGroupId(String uuid,
314 long groupId) throws PortalException, SystemException {
315 return dlFileShortcutPersistence.findByUUID_G(uuid, groupId);
316 }
317
318
330 @Override
331 public List<DLFileShortcut> getDLFileShortcuts(int start, int end)
332 throws SystemException {
333 return dlFileShortcutPersistence.findAll(start, end);
334 }
335
336
342 @Override
343 public int getDLFileShortcutsCount() throws SystemException {
344 return dlFileShortcutPersistence.countAll();
345 }
346
347
354 @Indexable(type = IndexableType.REINDEX)
355 @Override
356 public DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
357 throws SystemException {
358 return dlFileShortcutPersistence.update(dlFileShortcut);
359 }
360
361
366 public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
367 return dlAppLocalService;
368 }
369
370
375 public void setDLAppLocalService(
376 com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
377 this.dlAppLocalService = dlAppLocalService;
378 }
379
380
385 public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() {
386 return dlAppService;
387 }
388
389
394 public void setDLAppService(
395 com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) {
396 this.dlAppService = dlAppService;
397 }
398
399
404 public com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService getDLAppHelperLocalService() {
405 return dlAppHelperLocalService;
406 }
407
408
413 public void setDLAppHelperLocalService(
414 com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService) {
415 this.dlAppHelperLocalService = dlAppHelperLocalService;
416 }
417
418
423 public com.liferay.portlet.documentlibrary.service.DLContentLocalService getDLContentLocalService() {
424 return dlContentLocalService;
425 }
426
427
432 public void setDLContentLocalService(
433 com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService) {
434 this.dlContentLocalService = dlContentLocalService;
435 }
436
437
442 public DLContentPersistence getDLContentPersistence() {
443 return dlContentPersistence;
444 }
445
446
451 public void setDLContentPersistence(
452 DLContentPersistence dlContentPersistence) {
453 this.dlContentPersistence = dlContentPersistence;
454 }
455
456
461 public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
462 return dlFileEntryLocalService;
463 }
464
465
470 public void setDLFileEntryLocalService(
471 com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
472 this.dlFileEntryLocalService = dlFileEntryLocalService;
473 }
474
475
480 public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
481 return dlFileEntryService;
482 }
483
484
489 public void setDLFileEntryService(
490 com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
491 this.dlFileEntryService = dlFileEntryService;
492 }
493
494
499 public DLFileEntryPersistence getDLFileEntryPersistence() {
500 return dlFileEntryPersistence;
501 }
502
503
508 public void setDLFileEntryPersistence(
509 DLFileEntryPersistence dlFileEntryPersistence) {
510 this.dlFileEntryPersistence = dlFileEntryPersistence;
511 }
512
513
518 public DLFileEntryFinder getDLFileEntryFinder() {
519 return dlFileEntryFinder;
520 }
521
522
527 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
528 this.dlFileEntryFinder = dlFileEntryFinder;
529 }
530
531
536 public com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
537 return dlFileEntryMetadataLocalService;
538 }
539
540
545 public void setDLFileEntryMetadataLocalService(
546 com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
547 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
548 }
549
550
555 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
556 return dlFileEntryMetadataPersistence;
557 }
558
559
564 public void setDLFileEntryMetadataPersistence(
565 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
566 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
567 }
568
569
574 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
575 return dlFileEntryTypeLocalService;
576 }
577
578
583 public void setDLFileEntryTypeLocalService(
584 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
585 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
586 }
587
588
593 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
594 return dlFileEntryTypeService;
595 }
596
597
602 public void setDLFileEntryTypeService(
603 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
604 this.dlFileEntryTypeService = dlFileEntryTypeService;
605 }
606
607
612 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
613 return dlFileEntryTypePersistence;
614 }
615
616
621 public void setDLFileEntryTypePersistence(
622 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
623 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
624 }
625
626
631 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
632 return dlFileEntryTypeFinder;
633 }
634
635
640 public void setDLFileEntryTypeFinder(
641 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
642 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
643 }
644
645
650 public com.liferay.portlet.documentlibrary.service.DLFileRankLocalService getDLFileRankLocalService() {
651 return dlFileRankLocalService;
652 }
653
654
659 public void setDLFileRankLocalService(
660 com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService) {
661 this.dlFileRankLocalService = dlFileRankLocalService;
662 }
663
664
669 public DLFileRankPersistence getDLFileRankPersistence() {
670 return dlFileRankPersistence;
671 }
672
673
678 public void setDLFileRankPersistence(
679 DLFileRankPersistence dlFileRankPersistence) {
680 this.dlFileRankPersistence = dlFileRankPersistence;
681 }
682
683
688 public DLFileRankFinder getDLFileRankFinder() {
689 return dlFileRankFinder;
690 }
691
692
697 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
698 this.dlFileRankFinder = dlFileRankFinder;
699 }
700
701
706 public com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService getDLFileShortcutLocalService() {
707 return dlFileShortcutLocalService;
708 }
709
710
715 public void setDLFileShortcutLocalService(
716 com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService) {
717 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
718 }
719
720
725 public com.liferay.portlet.documentlibrary.service.DLFileShortcutService getDLFileShortcutService() {
726 return dlFileShortcutService;
727 }
728
729
734 public void setDLFileShortcutService(
735 com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService) {
736 this.dlFileShortcutService = dlFileShortcutService;
737 }
738
739
744 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
745 return dlFileShortcutPersistence;
746 }
747
748
753 public void setDLFileShortcutPersistence(
754 DLFileShortcutPersistence dlFileShortcutPersistence) {
755 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
756 }
757
758
763 public com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService getDLFileVersionLocalService() {
764 return dlFileVersionLocalService;
765 }
766
767
772 public void setDLFileVersionLocalService(
773 com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService) {
774 this.dlFileVersionLocalService = dlFileVersionLocalService;
775 }
776
777
782 public com.liferay.portlet.documentlibrary.service.DLFileVersionService getDLFileVersionService() {
783 return dlFileVersionService;
784 }
785
786
791 public void setDLFileVersionService(
792 com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService) {
793 this.dlFileVersionService = dlFileVersionService;
794 }
795
796
801 public DLFileVersionPersistence getDLFileVersionPersistence() {
802 return dlFileVersionPersistence;
803 }
804
805
810 public void setDLFileVersionPersistence(
811 DLFileVersionPersistence dlFileVersionPersistence) {
812 this.dlFileVersionPersistence = dlFileVersionPersistence;
813 }
814
815
820 public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
821 return dlFolderLocalService;
822 }
823
824
829 public void setDLFolderLocalService(
830 com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
831 this.dlFolderLocalService = dlFolderLocalService;
832 }
833
834
839 public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
840 return dlFolderService;
841 }
842
843
848 public void setDLFolderService(
849 com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
850 this.dlFolderService = dlFolderService;
851 }
852
853
858 public DLFolderPersistence getDLFolderPersistence() {
859 return dlFolderPersistence;
860 }
861
862
867 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
868 this.dlFolderPersistence = dlFolderPersistence;
869 }
870
871
876 public DLFolderFinder getDLFolderFinder() {
877 return dlFolderFinder;
878 }
879
880
885 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
886 this.dlFolderFinder = dlFolderFinder;
887 }
888
889
894 public com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService getDLSyncEventLocalService() {
895 return dlSyncEventLocalService;
896 }
897
898
903 public void setDLSyncEventLocalService(
904 com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService) {
905 this.dlSyncEventLocalService = dlSyncEventLocalService;
906 }
907
908
913 public DLSyncEventPersistence getDLSyncEventPersistence() {
914 return dlSyncEventPersistence;
915 }
916
917
922 public void setDLSyncEventPersistence(
923 DLSyncEventPersistence dlSyncEventPersistence) {
924 this.dlSyncEventPersistence = dlSyncEventPersistence;
925 }
926
927
932 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
933 return counterLocalService;
934 }
935
936
941 public void setCounterLocalService(
942 com.liferay.counter.service.CounterLocalService counterLocalService) {
943 this.counterLocalService = counterLocalService;
944 }
945
946
951 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
952 return resourceLocalService;
953 }
954
955
960 public void setResourceLocalService(
961 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
962 this.resourceLocalService = resourceLocalService;
963 }
964
965
970 public com.liferay.portal.service.UserLocalService getUserLocalService() {
971 return userLocalService;
972 }
973
974
979 public void setUserLocalService(
980 com.liferay.portal.service.UserLocalService userLocalService) {
981 this.userLocalService = userLocalService;
982 }
983
984
989 public com.liferay.portal.service.UserService getUserService() {
990 return userService;
991 }
992
993
998 public void setUserService(
999 com.liferay.portal.service.UserService userService) {
1000 this.userService = userService;
1001 }
1002
1003
1008 public UserPersistence getUserPersistence() {
1009 return userPersistence;
1010 }
1011
1012
1017 public void setUserPersistence(UserPersistence userPersistence) {
1018 this.userPersistence = userPersistence;
1019 }
1020
1021
1026 public UserFinder getUserFinder() {
1027 return userFinder;
1028 }
1029
1030
1035 public void setUserFinder(UserFinder userFinder) {
1036 this.userFinder = userFinder;
1037 }
1038
1039
1044 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1045 return assetEntryLocalService;
1046 }
1047
1048
1053 public void setAssetEntryLocalService(
1054 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1055 this.assetEntryLocalService = assetEntryLocalService;
1056 }
1057
1058
1063 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1064 return assetEntryService;
1065 }
1066
1067
1072 public void setAssetEntryService(
1073 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1074 this.assetEntryService = assetEntryService;
1075 }
1076
1077
1082 public AssetEntryPersistence getAssetEntryPersistence() {
1083 return assetEntryPersistence;
1084 }
1085
1086
1091 public void setAssetEntryPersistence(
1092 AssetEntryPersistence assetEntryPersistence) {
1093 this.assetEntryPersistence = assetEntryPersistence;
1094 }
1095
1096
1101 public AssetEntryFinder getAssetEntryFinder() {
1102 return assetEntryFinder;
1103 }
1104
1105
1110 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1111 this.assetEntryFinder = assetEntryFinder;
1112 }
1113
1114
1119 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
1120 return assetTagLocalService;
1121 }
1122
1123
1128 public void setAssetTagLocalService(
1129 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
1130 this.assetTagLocalService = assetTagLocalService;
1131 }
1132
1133
1138 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
1139 return assetTagService;
1140 }
1141
1142
1147 public void setAssetTagService(
1148 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
1149 this.assetTagService = assetTagService;
1150 }
1151
1152
1157 public AssetTagPersistence getAssetTagPersistence() {
1158 return assetTagPersistence;
1159 }
1160
1161
1166 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1167 this.assetTagPersistence = assetTagPersistence;
1168 }
1169
1170
1175 public AssetTagFinder getAssetTagFinder() {
1176 return assetTagFinder;
1177 }
1178
1179
1184 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1185 this.assetTagFinder = assetTagFinder;
1186 }
1187
1188
1193 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1194 return trashEntryLocalService;
1195 }
1196
1197
1202 public void setTrashEntryLocalService(
1203 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1204 this.trashEntryLocalService = trashEntryLocalService;
1205 }
1206
1207
1212 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1213 return trashEntryService;
1214 }
1215
1216
1221 public void setTrashEntryService(
1222 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1223 this.trashEntryService = trashEntryService;
1224 }
1225
1226
1231 public TrashEntryPersistence getTrashEntryPersistence() {
1232 return trashEntryPersistence;
1233 }
1234
1235
1240 public void setTrashEntryPersistence(
1241 TrashEntryPersistence trashEntryPersistence) {
1242 this.trashEntryPersistence = trashEntryPersistence;
1243 }
1244
1245 public void afterPropertiesSet() {
1246 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileShortcut",
1247 dlFileShortcutLocalService);
1248 }
1249
1250 public void destroy() {
1251 persistedModelLocalServiceRegistry.unregister(
1252 "com.liferay.portlet.documentlibrary.model.DLFileShortcut");
1253 }
1254
1255
1260 @Override
1261 public String getBeanIdentifier() {
1262 return _beanIdentifier;
1263 }
1264
1265
1270 @Override
1271 public void setBeanIdentifier(String beanIdentifier) {
1272 _beanIdentifier = beanIdentifier;
1273 }
1274
1275 protected Class<?> getModelClass() {
1276 return DLFileShortcut.class;
1277 }
1278
1279 protected String getModelClassName() {
1280 return DLFileShortcut.class.getName();
1281 }
1282
1283
1288 protected void runSQL(String sql) throws SystemException {
1289 try {
1290 DataSource dataSource = dlFileShortcutPersistence.getDataSource();
1291
1292 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1293 sql, new int[0]);
1294
1295 sqlUpdate.update();
1296 }
1297 catch (Exception e) {
1298 throw new SystemException(e);
1299 }
1300 }
1301
1302 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
1303 protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
1304 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
1305 protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
1306 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService.class)
1307 protected com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService;
1308 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLContentLocalService.class)
1309 protected com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService;
1310 @BeanReference(type = DLContentPersistence.class)
1311 protected DLContentPersistence dlContentPersistence;
1312 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1313 protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1314 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1315 protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1316 @BeanReference(type = DLFileEntryPersistence.class)
1317 protected DLFileEntryPersistence dlFileEntryPersistence;
1318 @BeanReference(type = DLFileEntryFinder.class)
1319 protected DLFileEntryFinder dlFileEntryFinder;
1320 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService.class)
1321 protected com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1322 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1323 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1324 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1325 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1326 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1327 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1328 @BeanReference(type = DLFileEntryTypePersistence.class)
1329 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1330 @BeanReference(type = DLFileEntryTypeFinder.class)
1331 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1332 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileRankLocalService.class)
1333 protected com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService;
1334 @BeanReference(type = DLFileRankPersistence.class)
1335 protected DLFileRankPersistence dlFileRankPersistence;
1336 @BeanReference(type = DLFileRankFinder.class)
1337 protected DLFileRankFinder dlFileRankFinder;
1338 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService.class)
1339 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService;
1340 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutService.class)
1341 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService;
1342 @BeanReference(type = DLFileShortcutPersistence.class)
1343 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1344 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService.class)
1345 protected com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService;
1346 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionService.class)
1347 protected com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService;
1348 @BeanReference(type = DLFileVersionPersistence.class)
1349 protected DLFileVersionPersistence dlFileVersionPersistence;
1350 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
1351 protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
1352 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
1353 protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
1354 @BeanReference(type = DLFolderPersistence.class)
1355 protected DLFolderPersistence dlFolderPersistence;
1356 @BeanReference(type = DLFolderFinder.class)
1357 protected DLFolderFinder dlFolderFinder;
1358 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService.class)
1359 protected com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService;
1360 @BeanReference(type = DLSyncEventPersistence.class)
1361 protected DLSyncEventPersistence dlSyncEventPersistence;
1362 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1363 protected com.liferay.counter.service.CounterLocalService counterLocalService;
1364 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1365 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1366 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1367 protected com.liferay.portal.service.UserLocalService userLocalService;
1368 @BeanReference(type = com.liferay.portal.service.UserService.class)
1369 protected com.liferay.portal.service.UserService userService;
1370 @BeanReference(type = UserPersistence.class)
1371 protected UserPersistence userPersistence;
1372 @BeanReference(type = UserFinder.class)
1373 protected UserFinder userFinder;
1374 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1375 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1376 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1377 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1378 @BeanReference(type = AssetEntryPersistence.class)
1379 protected AssetEntryPersistence assetEntryPersistence;
1380 @BeanReference(type = AssetEntryFinder.class)
1381 protected AssetEntryFinder assetEntryFinder;
1382 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1383 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1384 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1385 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1386 @BeanReference(type = AssetTagPersistence.class)
1387 protected AssetTagPersistence assetTagPersistence;
1388 @BeanReference(type = AssetTagFinder.class)
1389 protected AssetTagFinder assetTagFinder;
1390 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1391 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1392 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1393 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1394 @BeanReference(type = TrashEntryPersistence.class)
1395 protected TrashEntryPersistence trashEntryPersistence;
1396 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1397 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1398 private String _beanIdentifier;
1399 }