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 import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
056
057 import java.io.Serializable;
058
059 import java.util.List;
060
061 import javax.sql.DataSource;
062
063
075 public abstract class DLFileShortcutLocalServiceBaseImpl
076 extends BaseLocalServiceImpl implements DLFileShortcutLocalService,
077 IdentifiableBean {
078
083
084
091 @Indexable(type = IndexableType.REINDEX)
092 @Override
093 public DLFileShortcut addDLFileShortcut(DLFileShortcut dlFileShortcut)
094 throws SystemException {
095 dlFileShortcut.setNew(true);
096
097 return dlFileShortcutPersistence.update(dlFileShortcut);
098 }
099
100
106 @Override
107 public DLFileShortcut createDLFileShortcut(long fileShortcutId) {
108 return dlFileShortcutPersistence.create(fileShortcutId);
109 }
110
111
119 @Indexable(type = IndexableType.DELETE)
120 @Override
121 public DLFileShortcut deleteDLFileShortcut(long fileShortcutId)
122 throws PortalException, SystemException {
123 return dlFileShortcutPersistence.remove(fileShortcutId);
124 }
125
126
133 @Indexable(type = IndexableType.DELETE)
134 @Override
135 public DLFileShortcut deleteDLFileShortcut(DLFileShortcut dlFileShortcut)
136 throws SystemException {
137 return dlFileShortcutPersistence.remove(dlFileShortcut);
138 }
139
140 @Override
141 public DynamicQuery dynamicQuery() {
142 Class<?> clazz = getClass();
143
144 return DynamicQueryFactoryUtil.forClass(DLFileShortcut.class,
145 clazz.getClassLoader());
146 }
147
148
155 @Override
156 @SuppressWarnings("rawtypes")
157 public List dynamicQuery(DynamicQuery dynamicQuery)
158 throws SystemException {
159 return dlFileShortcutPersistence.findWithDynamicQuery(dynamicQuery);
160 }
161
162
175 @Override
176 @SuppressWarnings("rawtypes")
177 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
178 throws SystemException {
179 return dlFileShortcutPersistence.findWithDynamicQuery(dynamicQuery,
180 start, end);
181 }
182
183
197 @Override
198 @SuppressWarnings("rawtypes")
199 public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
200 OrderByComparator orderByComparator) throws SystemException {
201 return dlFileShortcutPersistence.findWithDynamicQuery(dynamicQuery,
202 start, end, orderByComparator);
203 }
204
205
212 @Override
213 public long dynamicQueryCount(DynamicQuery dynamicQuery)
214 throws SystemException {
215 return dlFileShortcutPersistence.countWithDynamicQuery(dynamicQuery);
216 }
217
218
226 @Override
227 public long dynamicQueryCount(DynamicQuery dynamicQuery,
228 Projection projection) throws SystemException {
229 return dlFileShortcutPersistence.countWithDynamicQuery(dynamicQuery,
230 projection);
231 }
232
233 @Override
234 public DLFileShortcut fetchDLFileShortcut(long fileShortcutId)
235 throws SystemException {
236 return dlFileShortcutPersistence.fetchByPrimaryKey(fileShortcutId);
237 }
238
239
247 @Override
248 public DLFileShortcut fetchDLFileShortcutByUuidAndCompanyId(String uuid,
249 long companyId) throws SystemException {
250 return dlFileShortcutPersistence.fetchByUuid_C_First(uuid, companyId,
251 null);
252 }
253
254
262 @Override
263 public DLFileShortcut fetchDLFileShortcutByUuidAndGroupId(String uuid,
264 long groupId) throws SystemException {
265 return dlFileShortcutPersistence.fetchByUUID_G(uuid, groupId);
266 }
267
268
276 @Override
277 public DLFileShortcut getDLFileShortcut(long fileShortcutId)
278 throws PortalException, SystemException {
279 return dlFileShortcutPersistence.findByPrimaryKey(fileShortcutId);
280 }
281
282 @Override
283 public PersistedModel getPersistedModel(Serializable primaryKeyObj)
284 throws PortalException, SystemException {
285 return dlFileShortcutPersistence.findByPrimaryKey(primaryKeyObj);
286 }
287
288
297 @Override
298 public DLFileShortcut getDLFileShortcutByUuidAndCompanyId(String uuid,
299 long companyId) throws PortalException, SystemException {
300 return dlFileShortcutPersistence.findByUuid_C_First(uuid, companyId,
301 null);
302 }
303
304
313 @Override
314 public DLFileShortcut getDLFileShortcutByUuidAndGroupId(String uuid,
315 long groupId) throws PortalException, SystemException {
316 return dlFileShortcutPersistence.findByUUID_G(uuid, groupId);
317 }
318
319
331 @Override
332 public List<DLFileShortcut> getDLFileShortcuts(int start, int end)
333 throws SystemException {
334 return dlFileShortcutPersistence.findAll(start, end);
335 }
336
337
343 @Override
344 public int getDLFileShortcutsCount() throws SystemException {
345 return dlFileShortcutPersistence.countAll();
346 }
347
348
355 @Indexable(type = IndexableType.REINDEX)
356 @Override
357 public DLFileShortcut updateDLFileShortcut(DLFileShortcut dlFileShortcut)
358 throws SystemException {
359 return dlFileShortcutPersistence.update(dlFileShortcut);
360 }
361
362
367 public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
368 return dlAppLocalService;
369 }
370
371
376 public void setDLAppLocalService(
377 com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
378 this.dlAppLocalService = dlAppLocalService;
379 }
380
381
386 public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() {
387 return dlAppService;
388 }
389
390
395 public void setDLAppService(
396 com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) {
397 this.dlAppService = dlAppService;
398 }
399
400
405 public com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService getDLAppHelperLocalService() {
406 return dlAppHelperLocalService;
407 }
408
409
414 public void setDLAppHelperLocalService(
415 com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService) {
416 this.dlAppHelperLocalService = dlAppHelperLocalService;
417 }
418
419
424 public com.liferay.portlet.documentlibrary.service.DLContentLocalService getDLContentLocalService() {
425 return dlContentLocalService;
426 }
427
428
433 public void setDLContentLocalService(
434 com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService) {
435 this.dlContentLocalService = dlContentLocalService;
436 }
437
438
443 public DLContentPersistence getDLContentPersistence() {
444 return dlContentPersistence;
445 }
446
447
452 public void setDLContentPersistence(
453 DLContentPersistence dlContentPersistence) {
454 this.dlContentPersistence = dlContentPersistence;
455 }
456
457
462 public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
463 return dlFileEntryLocalService;
464 }
465
466
471 public void setDLFileEntryLocalService(
472 com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
473 this.dlFileEntryLocalService = dlFileEntryLocalService;
474 }
475
476
481 public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
482 return dlFileEntryService;
483 }
484
485
490 public void setDLFileEntryService(
491 com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
492 this.dlFileEntryService = dlFileEntryService;
493 }
494
495
500 public DLFileEntryPersistence getDLFileEntryPersistence() {
501 return dlFileEntryPersistence;
502 }
503
504
509 public void setDLFileEntryPersistence(
510 DLFileEntryPersistence dlFileEntryPersistence) {
511 this.dlFileEntryPersistence = dlFileEntryPersistence;
512 }
513
514
519 public DLFileEntryFinder getDLFileEntryFinder() {
520 return dlFileEntryFinder;
521 }
522
523
528 public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
529 this.dlFileEntryFinder = dlFileEntryFinder;
530 }
531
532
537 public com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService getDLFileEntryMetadataLocalService() {
538 return dlFileEntryMetadataLocalService;
539 }
540
541
546 public void setDLFileEntryMetadataLocalService(
547 com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService) {
548 this.dlFileEntryMetadataLocalService = dlFileEntryMetadataLocalService;
549 }
550
551
556 public DLFileEntryMetadataPersistence getDLFileEntryMetadataPersistence() {
557 return dlFileEntryMetadataPersistence;
558 }
559
560
565 public void setDLFileEntryMetadataPersistence(
566 DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence) {
567 this.dlFileEntryMetadataPersistence = dlFileEntryMetadataPersistence;
568 }
569
570
575 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService getDLFileEntryTypeLocalService() {
576 return dlFileEntryTypeLocalService;
577 }
578
579
584 public void setDLFileEntryTypeLocalService(
585 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService) {
586 this.dlFileEntryTypeLocalService = dlFileEntryTypeLocalService;
587 }
588
589
594 public com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService getDLFileEntryTypeService() {
595 return dlFileEntryTypeService;
596 }
597
598
603 public void setDLFileEntryTypeService(
604 com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService) {
605 this.dlFileEntryTypeService = dlFileEntryTypeService;
606 }
607
608
613 public DLFileEntryTypePersistence getDLFileEntryTypePersistence() {
614 return dlFileEntryTypePersistence;
615 }
616
617
622 public void setDLFileEntryTypePersistence(
623 DLFileEntryTypePersistence dlFileEntryTypePersistence) {
624 this.dlFileEntryTypePersistence = dlFileEntryTypePersistence;
625 }
626
627
632 public DLFileEntryTypeFinder getDLFileEntryTypeFinder() {
633 return dlFileEntryTypeFinder;
634 }
635
636
641 public void setDLFileEntryTypeFinder(
642 DLFileEntryTypeFinder dlFileEntryTypeFinder) {
643 this.dlFileEntryTypeFinder = dlFileEntryTypeFinder;
644 }
645
646
651 public com.liferay.portlet.documentlibrary.service.DLFileRankLocalService getDLFileRankLocalService() {
652 return dlFileRankLocalService;
653 }
654
655
660 public void setDLFileRankLocalService(
661 com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService) {
662 this.dlFileRankLocalService = dlFileRankLocalService;
663 }
664
665
670 public DLFileRankPersistence getDLFileRankPersistence() {
671 return dlFileRankPersistence;
672 }
673
674
679 public void setDLFileRankPersistence(
680 DLFileRankPersistence dlFileRankPersistence) {
681 this.dlFileRankPersistence = dlFileRankPersistence;
682 }
683
684
689 public DLFileRankFinder getDLFileRankFinder() {
690 return dlFileRankFinder;
691 }
692
693
698 public void setDLFileRankFinder(DLFileRankFinder dlFileRankFinder) {
699 this.dlFileRankFinder = dlFileRankFinder;
700 }
701
702
707 public com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService getDLFileShortcutLocalService() {
708 return dlFileShortcutLocalService;
709 }
710
711
716 public void setDLFileShortcutLocalService(
717 com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService) {
718 this.dlFileShortcutLocalService = dlFileShortcutLocalService;
719 }
720
721
726 public com.liferay.portlet.documentlibrary.service.DLFileShortcutService getDLFileShortcutService() {
727 return dlFileShortcutService;
728 }
729
730
735 public void setDLFileShortcutService(
736 com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService) {
737 this.dlFileShortcutService = dlFileShortcutService;
738 }
739
740
745 public DLFileShortcutPersistence getDLFileShortcutPersistence() {
746 return dlFileShortcutPersistence;
747 }
748
749
754 public void setDLFileShortcutPersistence(
755 DLFileShortcutPersistence dlFileShortcutPersistence) {
756 this.dlFileShortcutPersistence = dlFileShortcutPersistence;
757 }
758
759
764 public com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService getDLFileVersionLocalService() {
765 return dlFileVersionLocalService;
766 }
767
768
773 public void setDLFileVersionLocalService(
774 com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService) {
775 this.dlFileVersionLocalService = dlFileVersionLocalService;
776 }
777
778
783 public com.liferay.portlet.documentlibrary.service.DLFileVersionService getDLFileVersionService() {
784 return dlFileVersionService;
785 }
786
787
792 public void setDLFileVersionService(
793 com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService) {
794 this.dlFileVersionService = dlFileVersionService;
795 }
796
797
802 public DLFileVersionPersistence getDLFileVersionPersistence() {
803 return dlFileVersionPersistence;
804 }
805
806
811 public void setDLFileVersionPersistence(
812 DLFileVersionPersistence dlFileVersionPersistence) {
813 this.dlFileVersionPersistence = dlFileVersionPersistence;
814 }
815
816
821 public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
822 return dlFolderLocalService;
823 }
824
825
830 public void setDLFolderLocalService(
831 com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
832 this.dlFolderLocalService = dlFolderLocalService;
833 }
834
835
840 public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
841 return dlFolderService;
842 }
843
844
849 public void setDLFolderService(
850 com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
851 this.dlFolderService = dlFolderService;
852 }
853
854
859 public DLFolderPersistence getDLFolderPersistence() {
860 return dlFolderPersistence;
861 }
862
863
868 public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
869 this.dlFolderPersistence = dlFolderPersistence;
870 }
871
872
877 public DLFolderFinder getDLFolderFinder() {
878 return dlFolderFinder;
879 }
880
881
886 public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
887 this.dlFolderFinder = dlFolderFinder;
888 }
889
890
895 public com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService getDLSyncEventLocalService() {
896 return dlSyncEventLocalService;
897 }
898
899
904 public void setDLSyncEventLocalService(
905 com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService) {
906 this.dlSyncEventLocalService = dlSyncEventLocalService;
907 }
908
909
914 public DLSyncEventPersistence getDLSyncEventPersistence() {
915 return dlSyncEventPersistence;
916 }
917
918
923 public void setDLSyncEventPersistence(
924 DLSyncEventPersistence dlSyncEventPersistence) {
925 this.dlSyncEventPersistence = dlSyncEventPersistence;
926 }
927
928
933 public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
934 return counterLocalService;
935 }
936
937
942 public void setCounterLocalService(
943 com.liferay.counter.service.CounterLocalService counterLocalService) {
944 this.counterLocalService = counterLocalService;
945 }
946
947
952 public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
953 return resourceLocalService;
954 }
955
956
961 public void setResourceLocalService(
962 com.liferay.portal.service.ResourceLocalService resourceLocalService) {
963 this.resourceLocalService = resourceLocalService;
964 }
965
966
971 public com.liferay.portal.service.UserLocalService getUserLocalService() {
972 return userLocalService;
973 }
974
975
980 public void setUserLocalService(
981 com.liferay.portal.service.UserLocalService userLocalService) {
982 this.userLocalService = userLocalService;
983 }
984
985
990 public com.liferay.portal.service.UserService getUserService() {
991 return userService;
992 }
993
994
999 public void setUserService(
1000 com.liferay.portal.service.UserService userService) {
1001 this.userService = userService;
1002 }
1003
1004
1009 public UserPersistence getUserPersistence() {
1010 return userPersistence;
1011 }
1012
1013
1018 public void setUserPersistence(UserPersistence userPersistence) {
1019 this.userPersistence = userPersistence;
1020 }
1021
1022
1027 public UserFinder getUserFinder() {
1028 return userFinder;
1029 }
1030
1031
1036 public void setUserFinder(UserFinder userFinder) {
1037 this.userFinder = userFinder;
1038 }
1039
1040
1045 public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1046 return assetEntryLocalService;
1047 }
1048
1049
1054 public void setAssetEntryLocalService(
1055 com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1056 this.assetEntryLocalService = assetEntryLocalService;
1057 }
1058
1059
1064 public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1065 return assetEntryService;
1066 }
1067
1068
1073 public void setAssetEntryService(
1074 com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1075 this.assetEntryService = assetEntryService;
1076 }
1077
1078
1083 public AssetEntryPersistence getAssetEntryPersistence() {
1084 return assetEntryPersistence;
1085 }
1086
1087
1092 public void setAssetEntryPersistence(
1093 AssetEntryPersistence assetEntryPersistence) {
1094 this.assetEntryPersistence = assetEntryPersistence;
1095 }
1096
1097
1102 public AssetEntryFinder getAssetEntryFinder() {
1103 return assetEntryFinder;
1104 }
1105
1106
1111 public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1112 this.assetEntryFinder = assetEntryFinder;
1113 }
1114
1115
1120 public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
1121 return assetTagLocalService;
1122 }
1123
1124
1129 public void setAssetTagLocalService(
1130 com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
1131 this.assetTagLocalService = assetTagLocalService;
1132 }
1133
1134
1139 public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
1140 return assetTagService;
1141 }
1142
1143
1148 public void setAssetTagService(
1149 com.liferay.portlet.asset.service.AssetTagService assetTagService) {
1150 this.assetTagService = assetTagService;
1151 }
1152
1153
1158 public AssetTagPersistence getAssetTagPersistence() {
1159 return assetTagPersistence;
1160 }
1161
1162
1167 public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1168 this.assetTagPersistence = assetTagPersistence;
1169 }
1170
1171
1176 public AssetTagFinder getAssetTagFinder() {
1177 return assetTagFinder;
1178 }
1179
1180
1185 public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1186 this.assetTagFinder = assetTagFinder;
1187 }
1188
1189
1194 public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1195 return trashEntryLocalService;
1196 }
1197
1198
1203 public void setTrashEntryLocalService(
1204 com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1205 this.trashEntryLocalService = trashEntryLocalService;
1206 }
1207
1208
1213 public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1214 return trashEntryService;
1215 }
1216
1217
1222 public void setTrashEntryService(
1223 com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1224 this.trashEntryService = trashEntryService;
1225 }
1226
1227
1232 public TrashEntryPersistence getTrashEntryPersistence() {
1233 return trashEntryPersistence;
1234 }
1235
1236
1241 public void setTrashEntryPersistence(
1242 TrashEntryPersistence trashEntryPersistence) {
1243 this.trashEntryPersistence = trashEntryPersistence;
1244 }
1245
1246
1251 public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
1252 return trashVersionLocalService;
1253 }
1254
1255
1260 public void setTrashVersionLocalService(
1261 com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
1262 this.trashVersionLocalService = trashVersionLocalService;
1263 }
1264
1265
1270 public TrashVersionPersistence getTrashVersionPersistence() {
1271 return trashVersionPersistence;
1272 }
1273
1274
1279 public void setTrashVersionPersistence(
1280 TrashVersionPersistence trashVersionPersistence) {
1281 this.trashVersionPersistence = trashVersionPersistence;
1282 }
1283
1284 public void afterPropertiesSet() {
1285 persistedModelLocalServiceRegistry.register("com.liferay.portlet.documentlibrary.model.DLFileShortcut",
1286 dlFileShortcutLocalService);
1287 }
1288
1289 public void destroy() {
1290 persistedModelLocalServiceRegistry.unregister(
1291 "com.liferay.portlet.documentlibrary.model.DLFileShortcut");
1292 }
1293
1294
1299 @Override
1300 public String getBeanIdentifier() {
1301 return _beanIdentifier;
1302 }
1303
1304
1309 @Override
1310 public void setBeanIdentifier(String beanIdentifier) {
1311 _beanIdentifier = beanIdentifier;
1312 }
1313
1314 protected Class<?> getModelClass() {
1315 return DLFileShortcut.class;
1316 }
1317
1318 protected String getModelClassName() {
1319 return DLFileShortcut.class.getName();
1320 }
1321
1322
1327 protected void runSQL(String sql) throws SystemException {
1328 try {
1329 DataSource dataSource = dlFileShortcutPersistence.getDataSource();
1330
1331 SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1332 sql, new int[0]);
1333
1334 sqlUpdate.update();
1335 }
1336 catch (Exception e) {
1337 throw new SystemException(e);
1338 }
1339 }
1340
1341 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
1342 protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
1343 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
1344 protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
1345 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService.class)
1346 protected com.liferay.portlet.documentlibrary.service.DLAppHelperLocalService dlAppHelperLocalService;
1347 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLContentLocalService.class)
1348 protected com.liferay.portlet.documentlibrary.service.DLContentLocalService dlContentLocalService;
1349 @BeanReference(type = DLContentPersistence.class)
1350 protected DLContentPersistence dlContentPersistence;
1351 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1352 protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1353 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1354 protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1355 @BeanReference(type = DLFileEntryPersistence.class)
1356 protected DLFileEntryPersistence dlFileEntryPersistence;
1357 @BeanReference(type = DLFileEntryFinder.class)
1358 protected DLFileEntryFinder dlFileEntryFinder;
1359 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService.class)
1360 protected com.liferay.portlet.documentlibrary.service.DLFileEntryMetadataLocalService dlFileEntryMetadataLocalService;
1361 @BeanReference(type = DLFileEntryMetadataPersistence.class)
1362 protected DLFileEntryMetadataPersistence dlFileEntryMetadataPersistence;
1363 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService.class)
1364 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeLocalService dlFileEntryTypeLocalService;
1365 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService.class)
1366 protected com.liferay.portlet.documentlibrary.service.DLFileEntryTypeService dlFileEntryTypeService;
1367 @BeanReference(type = DLFileEntryTypePersistence.class)
1368 protected DLFileEntryTypePersistence dlFileEntryTypePersistence;
1369 @BeanReference(type = DLFileEntryTypeFinder.class)
1370 protected DLFileEntryTypeFinder dlFileEntryTypeFinder;
1371 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileRankLocalService.class)
1372 protected com.liferay.portlet.documentlibrary.service.DLFileRankLocalService dlFileRankLocalService;
1373 @BeanReference(type = DLFileRankPersistence.class)
1374 protected DLFileRankPersistence dlFileRankPersistence;
1375 @BeanReference(type = DLFileRankFinder.class)
1376 protected DLFileRankFinder dlFileRankFinder;
1377 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService.class)
1378 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutLocalService dlFileShortcutLocalService;
1379 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileShortcutService.class)
1380 protected com.liferay.portlet.documentlibrary.service.DLFileShortcutService dlFileShortcutService;
1381 @BeanReference(type = DLFileShortcutPersistence.class)
1382 protected DLFileShortcutPersistence dlFileShortcutPersistence;
1383 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService.class)
1384 protected com.liferay.portlet.documentlibrary.service.DLFileVersionLocalService dlFileVersionLocalService;
1385 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileVersionService.class)
1386 protected com.liferay.portlet.documentlibrary.service.DLFileVersionService dlFileVersionService;
1387 @BeanReference(type = DLFileVersionPersistence.class)
1388 protected DLFileVersionPersistence dlFileVersionPersistence;
1389 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
1390 protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
1391 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
1392 protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
1393 @BeanReference(type = DLFolderPersistence.class)
1394 protected DLFolderPersistence dlFolderPersistence;
1395 @BeanReference(type = DLFolderFinder.class)
1396 protected DLFolderFinder dlFolderFinder;
1397 @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService.class)
1398 protected com.liferay.portlet.documentlibrary.service.DLSyncEventLocalService dlSyncEventLocalService;
1399 @BeanReference(type = DLSyncEventPersistence.class)
1400 protected DLSyncEventPersistence dlSyncEventPersistence;
1401 @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1402 protected com.liferay.counter.service.CounterLocalService counterLocalService;
1403 @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1404 protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1405 @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1406 protected com.liferay.portal.service.UserLocalService userLocalService;
1407 @BeanReference(type = com.liferay.portal.service.UserService.class)
1408 protected com.liferay.portal.service.UserService userService;
1409 @BeanReference(type = UserPersistence.class)
1410 protected UserPersistence userPersistence;
1411 @BeanReference(type = UserFinder.class)
1412 protected UserFinder userFinder;
1413 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1414 protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1415 @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1416 protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1417 @BeanReference(type = AssetEntryPersistence.class)
1418 protected AssetEntryPersistence assetEntryPersistence;
1419 @BeanReference(type = AssetEntryFinder.class)
1420 protected AssetEntryFinder assetEntryFinder;
1421 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1422 protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1423 @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1424 protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1425 @BeanReference(type = AssetTagPersistence.class)
1426 protected AssetTagPersistence assetTagPersistence;
1427 @BeanReference(type = AssetTagFinder.class)
1428 protected AssetTagFinder assetTagFinder;
1429 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1430 protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1431 @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1432 protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1433 @BeanReference(type = TrashEntryPersistence.class)
1434 protected TrashEntryPersistence trashEntryPersistence;
1435 @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
1436 protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
1437 @BeanReference(type = TrashVersionPersistence.class)
1438 protected TrashVersionPersistence trashVersionPersistence;
1439 @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1440 protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1441 private String _beanIdentifier;
1442 }