1   /**
2    * Copyright (c) 2000-2010 Liferay, Inc. All rights reserved.
3    *
4    * This library is free software; you can redistribute it and/or modify it under
5    * the terms of the GNU Lesser General Public License as published by the Free
6    * Software Foundation; either version 2.1 of the License, or (at your option)
7    * any later version.
8    *
9    * This library is distributed in the hope that it will be useful, but WITHOUT
10   * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11   * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
12   * details.
13   */
14  
15  package com.liferay.portlet.asset.service.base;
16  
17  import com.liferay.counter.service.CounterLocalService;
18  
19  import com.liferay.portal.kernel.annotation.BeanReference;
20  import com.liferay.portal.kernel.dao.db.DB;
21  import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
22  import com.liferay.portal.kernel.dao.orm.DynamicQuery;
23  import com.liferay.portal.kernel.exception.PortalException;
24  import com.liferay.portal.kernel.exception.SystemException;
25  import com.liferay.portal.kernel.util.OrderByComparator;
26  import com.liferay.portal.service.CompanyLocalService;
27  import com.liferay.portal.service.CompanyService;
28  import com.liferay.portal.service.GroupLocalService;
29  import com.liferay.portal.service.GroupService;
30  import com.liferay.portal.service.ResourceLocalService;
31  import com.liferay.portal.service.ResourceService;
32  import com.liferay.portal.service.UserLocalService;
33  import com.liferay.portal.service.UserService;
34  import com.liferay.portal.service.persistence.CompanyPersistence;
35  import com.liferay.portal.service.persistence.GroupFinder;
36  import com.liferay.portal.service.persistence.GroupPersistence;
37  import com.liferay.portal.service.persistence.ResourceFinder;
38  import com.liferay.portal.service.persistence.ResourcePersistence;
39  import com.liferay.portal.service.persistence.UserFinder;
40  import com.liferay.portal.service.persistence.UserPersistence;
41  
42  import com.liferay.portlet.asset.model.AssetEntry;
43  import com.liferay.portlet.asset.service.AssetCategoryLocalService;
44  import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
45  import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
46  import com.liferay.portlet.asset.service.AssetCategoryService;
47  import com.liferay.portlet.asset.service.AssetEntryLocalService;
48  import com.liferay.portlet.asset.service.AssetEntryService;
49  import com.liferay.portlet.asset.service.AssetLinkLocalService;
50  import com.liferay.portlet.asset.service.AssetTagLocalService;
51  import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
52  import com.liferay.portlet.asset.service.AssetTagPropertyService;
53  import com.liferay.portlet.asset.service.AssetTagService;
54  import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
55  import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
56  import com.liferay.portlet.asset.service.AssetVocabularyService;
57  import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
58  import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
59  import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
60  import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
61  import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
62  import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
63  import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
64  import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
65  import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
66  import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
67  import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
68  import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
69  import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
70  import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
71  import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
72  import com.liferay.portlet.blogs.service.BlogsEntryService;
73  import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
74  import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
75  import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
76  import com.liferay.portlet.bookmarks.service.BookmarksEntryService;
77  import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
78  import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
79  import com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService;
80  import com.liferay.portlet.documentlibrary.service.DLFileEntryService;
81  import com.liferay.portlet.documentlibrary.service.DLFolderLocalService;
82  import com.liferay.portlet.documentlibrary.service.DLFolderService;
83  import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
84  import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
85  import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
86  import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
87  import com.liferay.portlet.journal.service.JournalArticleLocalService;
88  import com.liferay.portlet.journal.service.JournalArticleResourceLocalService;
89  import com.liferay.portlet.journal.service.JournalArticleService;
90  import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
91  import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
92  import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
93  import com.liferay.portlet.messageboards.service.MBMessageLocalService;
94  import com.liferay.portlet.messageboards.service.MBMessageService;
95  import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
96  import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
97  import com.liferay.portlet.wiki.service.WikiPageLocalService;
98  import com.liferay.portlet.wiki.service.WikiPageResourceLocalService;
99  import com.liferay.portlet.wiki.service.WikiPageService;
100 import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
101 import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
102 import com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence;
103 
104 import java.util.List;
105 
106 /**
107  * <a href="AssetEntryLocalServiceBaseImpl.java.html"><b><i>View Source</i></b>
108  * </a>
109  *
110  * @author Brian Wing Shun Chan
111  */
112 public abstract class AssetEntryLocalServiceBaseImpl
113     implements AssetEntryLocalService {
114     public AssetEntry addAssetEntry(AssetEntry assetEntry)
115         throws SystemException {
116         assetEntry.setNew(true);
117 
118         return assetEntryPersistence.update(assetEntry, false);
119     }
120 
121     public AssetEntry createAssetEntry(long entryId) {
122         return assetEntryPersistence.create(entryId);
123     }
124 
125     public void deleteAssetEntry(long entryId)
126         throws PortalException, SystemException {
127         assetEntryPersistence.remove(entryId);
128     }
129 
130     public void deleteAssetEntry(AssetEntry assetEntry)
131         throws SystemException {
132         assetEntryPersistence.remove(assetEntry);
133     }
134 
135     public List<Object> dynamicQuery(DynamicQuery dynamicQuery)
136         throws SystemException {
137         return assetEntryPersistence.findWithDynamicQuery(dynamicQuery);
138     }
139 
140     public List<Object> dynamicQuery(DynamicQuery dynamicQuery, int start,
141         int end) throws SystemException {
142         return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
143             end);
144     }
145 
146     public List<Object> dynamicQuery(DynamicQuery dynamicQuery, int start,
147         int end, OrderByComparator orderByComparator) throws SystemException {
148         return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
149             end, orderByComparator);
150     }
151 
152     public int dynamicQueryCount(DynamicQuery dynamicQuery)
153         throws SystemException {
154         return assetEntryPersistence.countWithDynamicQuery(dynamicQuery);
155     }
156 
157     public AssetEntry getAssetEntry(long entryId)
158         throws PortalException, SystemException {
159         return assetEntryPersistence.findByPrimaryKey(entryId);
160     }
161 
162     public List<AssetEntry> getAssetEntries(int start, int end)
163         throws SystemException {
164         return assetEntryPersistence.findAll(start, end);
165     }
166 
167     public int getAssetEntriesCount() throws SystemException {
168         return assetEntryPersistence.countAll();
169     }
170 
171     public AssetEntry updateAssetEntry(AssetEntry assetEntry)
172         throws SystemException {
173         assetEntry.setNew(false);
174 
175         return assetEntryPersistence.update(assetEntry, true);
176     }
177 
178     public AssetEntry updateAssetEntry(AssetEntry assetEntry, boolean merge)
179         throws SystemException {
180         assetEntry.setNew(false);
181 
182         return assetEntryPersistence.update(assetEntry, merge);
183     }
184 
185     public AssetCategoryLocalService getAssetCategoryLocalService() {
186         return assetCategoryLocalService;
187     }
188 
189     public void setAssetCategoryLocalService(
190         AssetCategoryLocalService assetCategoryLocalService) {
191         this.assetCategoryLocalService = assetCategoryLocalService;
192     }
193 
194     public AssetCategoryService getAssetCategoryService() {
195         return assetCategoryService;
196     }
197 
198     public void setAssetCategoryService(
199         AssetCategoryService assetCategoryService) {
200         this.assetCategoryService = assetCategoryService;
201     }
202 
203     public AssetCategoryPersistence getAssetCategoryPersistence() {
204         return assetCategoryPersistence;
205     }
206 
207     public void setAssetCategoryPersistence(
208         AssetCategoryPersistence assetCategoryPersistence) {
209         this.assetCategoryPersistence = assetCategoryPersistence;
210     }
211 
212     public AssetCategoryFinder getAssetCategoryFinder() {
213         return assetCategoryFinder;
214     }
215 
216     public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
217         this.assetCategoryFinder = assetCategoryFinder;
218     }
219 
220     public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
221         return assetCategoryPropertyLocalService;
222     }
223 
224     public void setAssetCategoryPropertyLocalService(
225         AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
226         this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
227     }
228 
229     public AssetCategoryPropertyService getAssetCategoryPropertyService() {
230         return assetCategoryPropertyService;
231     }
232 
233     public void setAssetCategoryPropertyService(
234         AssetCategoryPropertyService assetCategoryPropertyService) {
235         this.assetCategoryPropertyService = assetCategoryPropertyService;
236     }
237 
238     public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
239         return assetCategoryPropertyPersistence;
240     }
241 
242     public void setAssetCategoryPropertyPersistence(
243         AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
244         this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
245     }
246 
247     public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
248         return assetCategoryPropertyFinder;
249     }
250 
251     public void setAssetCategoryPropertyFinder(
252         AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
253         this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
254     }
255 
256     public AssetEntryLocalService getAssetEntryLocalService() {
257         return assetEntryLocalService;
258     }
259 
260     public void setAssetEntryLocalService(
261         AssetEntryLocalService assetEntryLocalService) {
262         this.assetEntryLocalService = assetEntryLocalService;
263     }
264 
265     public AssetEntryService getAssetEntryService() {
266         return assetEntryService;
267     }
268 
269     public void setAssetEntryService(AssetEntryService assetEntryService) {
270         this.assetEntryService = assetEntryService;
271     }
272 
273     public AssetEntryPersistence getAssetEntryPersistence() {
274         return assetEntryPersistence;
275     }
276 
277     public void setAssetEntryPersistence(
278         AssetEntryPersistence assetEntryPersistence) {
279         this.assetEntryPersistence = assetEntryPersistence;
280     }
281 
282     public AssetEntryFinder getAssetEntryFinder() {
283         return assetEntryFinder;
284     }
285 
286     public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
287         this.assetEntryFinder = assetEntryFinder;
288     }
289 
290     public AssetLinkLocalService getAssetLinkLocalService() {
291         return assetLinkLocalService;
292     }
293 
294     public void setAssetLinkLocalService(
295         AssetLinkLocalService assetLinkLocalService) {
296         this.assetLinkLocalService = assetLinkLocalService;
297     }
298 
299     public AssetLinkPersistence getAssetLinkPersistence() {
300         return assetLinkPersistence;
301     }
302 
303     public void setAssetLinkPersistence(
304         AssetLinkPersistence assetLinkPersistence) {
305         this.assetLinkPersistence = assetLinkPersistence;
306     }
307 
308     public AssetTagLocalService getAssetTagLocalService() {
309         return assetTagLocalService;
310     }
311 
312     public void setAssetTagLocalService(
313         AssetTagLocalService assetTagLocalService) {
314         this.assetTagLocalService = assetTagLocalService;
315     }
316 
317     public AssetTagService getAssetTagService() {
318         return assetTagService;
319     }
320 
321     public void setAssetTagService(AssetTagService assetTagService) {
322         this.assetTagService = assetTagService;
323     }
324 
325     public AssetTagPersistence getAssetTagPersistence() {
326         return assetTagPersistence;
327     }
328 
329     public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
330         this.assetTagPersistence = assetTagPersistence;
331     }
332 
333     public AssetTagFinder getAssetTagFinder() {
334         return assetTagFinder;
335     }
336 
337     public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
338         this.assetTagFinder = assetTagFinder;
339     }
340 
341     public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
342         return assetTagPropertyLocalService;
343     }
344 
345     public void setAssetTagPropertyLocalService(
346         AssetTagPropertyLocalService assetTagPropertyLocalService) {
347         this.assetTagPropertyLocalService = assetTagPropertyLocalService;
348     }
349 
350     public AssetTagPropertyService getAssetTagPropertyService() {
351         return assetTagPropertyService;
352     }
353 
354     public void setAssetTagPropertyService(
355         AssetTagPropertyService assetTagPropertyService) {
356         this.assetTagPropertyService = assetTagPropertyService;
357     }
358 
359     public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
360         return assetTagPropertyPersistence;
361     }
362 
363     public void setAssetTagPropertyPersistence(
364         AssetTagPropertyPersistence assetTagPropertyPersistence) {
365         this.assetTagPropertyPersistence = assetTagPropertyPersistence;
366     }
367 
368     public AssetTagPropertyFinder getAssetTagPropertyFinder() {
369         return assetTagPropertyFinder;
370     }
371 
372     public void setAssetTagPropertyFinder(
373         AssetTagPropertyFinder assetTagPropertyFinder) {
374         this.assetTagPropertyFinder = assetTagPropertyFinder;
375     }
376 
377     public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
378         return assetTagPropertyKeyFinder;
379     }
380 
381     public void setAssetTagPropertyKeyFinder(
382         AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
383         this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
384     }
385 
386     public AssetTagStatsLocalService getAssetTagStatsLocalService() {
387         return assetTagStatsLocalService;
388     }
389 
390     public void setAssetTagStatsLocalService(
391         AssetTagStatsLocalService assetTagStatsLocalService) {
392         this.assetTagStatsLocalService = assetTagStatsLocalService;
393     }
394 
395     public AssetTagStatsPersistence getAssetTagStatsPersistence() {
396         return assetTagStatsPersistence;
397     }
398 
399     public void setAssetTagStatsPersistence(
400         AssetTagStatsPersistence assetTagStatsPersistence) {
401         this.assetTagStatsPersistence = assetTagStatsPersistence;
402     }
403 
404     public AssetVocabularyLocalService getAssetVocabularyLocalService() {
405         return assetVocabularyLocalService;
406     }
407 
408     public void setAssetVocabularyLocalService(
409         AssetVocabularyLocalService assetVocabularyLocalService) {
410         this.assetVocabularyLocalService = assetVocabularyLocalService;
411     }
412 
413     public AssetVocabularyService getAssetVocabularyService() {
414         return assetVocabularyService;
415     }
416 
417     public void setAssetVocabularyService(
418         AssetVocabularyService assetVocabularyService) {
419         this.assetVocabularyService = assetVocabularyService;
420     }
421 
422     public AssetVocabularyPersistence getAssetVocabularyPersistence() {
423         return assetVocabularyPersistence;
424     }
425 
426     public void setAssetVocabularyPersistence(
427         AssetVocabularyPersistence assetVocabularyPersistence) {
428         this.assetVocabularyPersistence = assetVocabularyPersistence;
429     }
430 
431     public CounterLocalService getCounterLocalService() {
432         return counterLocalService;
433     }
434 
435     public void setCounterLocalService(CounterLocalService counterLocalService) {
436         this.counterLocalService = counterLocalService;
437     }
438 
439     public CompanyLocalService getCompanyLocalService() {
440         return companyLocalService;
441     }
442 
443     public void setCompanyLocalService(CompanyLocalService companyLocalService) {
444         this.companyLocalService = companyLocalService;
445     }
446 
447     public CompanyService getCompanyService() {
448         return companyService;
449     }
450 
451     public void setCompanyService(CompanyService companyService) {
452         this.companyService = companyService;
453     }
454 
455     public CompanyPersistence getCompanyPersistence() {
456         return companyPersistence;
457     }
458 
459     public void setCompanyPersistence(CompanyPersistence companyPersistence) {
460         this.companyPersistence = companyPersistence;
461     }
462 
463     public GroupLocalService getGroupLocalService() {
464         return groupLocalService;
465     }
466 
467     public void setGroupLocalService(GroupLocalService groupLocalService) {
468         this.groupLocalService = groupLocalService;
469     }
470 
471     public GroupService getGroupService() {
472         return groupService;
473     }
474 
475     public void setGroupService(GroupService groupService) {
476         this.groupService = groupService;
477     }
478 
479     public GroupPersistence getGroupPersistence() {
480         return groupPersistence;
481     }
482 
483     public void setGroupPersistence(GroupPersistence groupPersistence) {
484         this.groupPersistence = groupPersistence;
485     }
486 
487     public GroupFinder getGroupFinder() {
488         return groupFinder;
489     }
490 
491     public void setGroupFinder(GroupFinder groupFinder) {
492         this.groupFinder = groupFinder;
493     }
494 
495     public ResourceLocalService getResourceLocalService() {
496         return resourceLocalService;
497     }
498 
499     public void setResourceLocalService(
500         ResourceLocalService resourceLocalService) {
501         this.resourceLocalService = resourceLocalService;
502     }
503 
504     public ResourceService getResourceService() {
505         return resourceService;
506     }
507 
508     public void setResourceService(ResourceService resourceService) {
509         this.resourceService = resourceService;
510     }
511 
512     public ResourcePersistence getResourcePersistence() {
513         return resourcePersistence;
514     }
515 
516     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
517         this.resourcePersistence = resourcePersistence;
518     }
519 
520     public ResourceFinder getResourceFinder() {
521         return resourceFinder;
522     }
523 
524     public void setResourceFinder(ResourceFinder resourceFinder) {
525         this.resourceFinder = resourceFinder;
526     }
527 
528     public UserLocalService getUserLocalService() {
529         return userLocalService;
530     }
531 
532     public void setUserLocalService(UserLocalService userLocalService) {
533         this.userLocalService = userLocalService;
534     }
535 
536     public UserService getUserService() {
537         return userService;
538     }
539 
540     public void setUserService(UserService userService) {
541         this.userService = userService;
542     }
543 
544     public UserPersistence getUserPersistence() {
545         return userPersistence;
546     }
547 
548     public void setUserPersistence(UserPersistence userPersistence) {
549         this.userPersistence = userPersistence;
550     }
551 
552     public UserFinder getUserFinder() {
553         return userFinder;
554     }
555 
556     public void setUserFinder(UserFinder userFinder) {
557         this.userFinder = userFinder;
558     }
559 
560     public BlogsEntryLocalService getBlogsEntryLocalService() {
561         return blogsEntryLocalService;
562     }
563 
564     public void setBlogsEntryLocalService(
565         BlogsEntryLocalService blogsEntryLocalService) {
566         this.blogsEntryLocalService = blogsEntryLocalService;
567     }
568 
569     public BlogsEntryService getBlogsEntryService() {
570         return blogsEntryService;
571     }
572 
573     public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
574         this.blogsEntryService = blogsEntryService;
575     }
576 
577     public BlogsEntryPersistence getBlogsEntryPersistence() {
578         return blogsEntryPersistence;
579     }
580 
581     public void setBlogsEntryPersistence(
582         BlogsEntryPersistence blogsEntryPersistence) {
583         this.blogsEntryPersistence = blogsEntryPersistence;
584     }
585 
586     public BlogsEntryFinder getBlogsEntryFinder() {
587         return blogsEntryFinder;
588     }
589 
590     public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
591         this.blogsEntryFinder = blogsEntryFinder;
592     }
593 
594     public BookmarksEntryLocalService getBookmarksEntryLocalService() {
595         return bookmarksEntryLocalService;
596     }
597 
598     public void setBookmarksEntryLocalService(
599         BookmarksEntryLocalService bookmarksEntryLocalService) {
600         this.bookmarksEntryLocalService = bookmarksEntryLocalService;
601     }
602 
603     public BookmarksEntryService getBookmarksEntryService() {
604         return bookmarksEntryService;
605     }
606 
607     public void setBookmarksEntryService(
608         BookmarksEntryService bookmarksEntryService) {
609         this.bookmarksEntryService = bookmarksEntryService;
610     }
611 
612     public BookmarksEntryPersistence getBookmarksEntryPersistence() {
613         return bookmarksEntryPersistence;
614     }
615 
616     public void setBookmarksEntryPersistence(
617         BookmarksEntryPersistence bookmarksEntryPersistence) {
618         this.bookmarksEntryPersistence = bookmarksEntryPersistence;
619     }
620 
621     public BookmarksEntryFinder getBookmarksEntryFinder() {
622         return bookmarksEntryFinder;
623     }
624 
625     public void setBookmarksEntryFinder(
626         BookmarksEntryFinder bookmarksEntryFinder) {
627         this.bookmarksEntryFinder = bookmarksEntryFinder;
628     }
629 
630     public DLFileEntryLocalService getDLFileEntryLocalService() {
631         return dlFileEntryLocalService;
632     }
633 
634     public void setDLFileEntryLocalService(
635         DLFileEntryLocalService dlFileEntryLocalService) {
636         this.dlFileEntryLocalService = dlFileEntryLocalService;
637     }
638 
639     public DLFileEntryService getDLFileEntryService() {
640         return dlFileEntryService;
641     }
642 
643     public void setDLFileEntryService(DLFileEntryService dlFileEntryService) {
644         this.dlFileEntryService = dlFileEntryService;
645     }
646 
647     public DLFileEntryPersistence getDLFileEntryPersistence() {
648         return dlFileEntryPersistence;
649     }
650 
651     public void setDLFileEntryPersistence(
652         DLFileEntryPersistence dlFileEntryPersistence) {
653         this.dlFileEntryPersistence = dlFileEntryPersistence;
654     }
655 
656     public DLFileEntryFinder getDLFileEntryFinder() {
657         return dlFileEntryFinder;
658     }
659 
660     public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
661         this.dlFileEntryFinder = dlFileEntryFinder;
662     }
663 
664     public DLFolderLocalService getDLFolderLocalService() {
665         return dlFolderLocalService;
666     }
667 
668     public void setDLFolderLocalService(
669         DLFolderLocalService dlFolderLocalService) {
670         this.dlFolderLocalService = dlFolderLocalService;
671     }
672 
673     public DLFolderService getDLFolderService() {
674         return dlFolderService;
675     }
676 
677     public void setDLFolderService(DLFolderService dlFolderService) {
678         this.dlFolderService = dlFolderService;
679     }
680 
681     public DLFolderPersistence getDLFolderPersistence() {
682         return dlFolderPersistence;
683     }
684 
685     public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
686         this.dlFolderPersistence = dlFolderPersistence;
687     }
688 
689     public DLFolderFinder getDLFolderFinder() {
690         return dlFolderFinder;
691     }
692 
693     public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
694         this.dlFolderFinder = dlFolderFinder;
695     }
696 
697     public JournalArticleLocalService getJournalArticleLocalService() {
698         return journalArticleLocalService;
699     }
700 
701     public void setJournalArticleLocalService(
702         JournalArticleLocalService journalArticleLocalService) {
703         this.journalArticleLocalService = journalArticleLocalService;
704     }
705 
706     public JournalArticleService getJournalArticleService() {
707         return journalArticleService;
708     }
709 
710     public void setJournalArticleService(
711         JournalArticleService journalArticleService) {
712         this.journalArticleService = journalArticleService;
713     }
714 
715     public JournalArticlePersistence getJournalArticlePersistence() {
716         return journalArticlePersistence;
717     }
718 
719     public void setJournalArticlePersistence(
720         JournalArticlePersistence journalArticlePersistence) {
721         this.journalArticlePersistence = journalArticlePersistence;
722     }
723 
724     public JournalArticleFinder getJournalArticleFinder() {
725         return journalArticleFinder;
726     }
727 
728     public void setJournalArticleFinder(
729         JournalArticleFinder journalArticleFinder) {
730         this.journalArticleFinder = journalArticleFinder;
731     }
732 
733     public JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
734         return journalArticleResourceLocalService;
735     }
736 
737     public void setJournalArticleResourceLocalService(
738         JournalArticleResourceLocalService journalArticleResourceLocalService) {
739         this.journalArticleResourceLocalService = journalArticleResourceLocalService;
740     }
741 
742     public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
743         return journalArticleResourcePersistence;
744     }
745 
746     public void setJournalArticleResourcePersistence(
747         JournalArticleResourcePersistence journalArticleResourcePersistence) {
748         this.journalArticleResourcePersistence = journalArticleResourcePersistence;
749     }
750 
751     public MBMessageLocalService getMBMessageLocalService() {
752         return mbMessageLocalService;
753     }
754 
755     public void setMBMessageLocalService(
756         MBMessageLocalService mbMessageLocalService) {
757         this.mbMessageLocalService = mbMessageLocalService;
758     }
759 
760     public MBMessageService getMBMessageService() {
761         return mbMessageService;
762     }
763 
764     public void setMBMessageService(MBMessageService mbMessageService) {
765         this.mbMessageService = mbMessageService;
766     }
767 
768     public MBMessagePersistence getMBMessagePersistence() {
769         return mbMessagePersistence;
770     }
771 
772     public void setMBMessagePersistence(
773         MBMessagePersistence mbMessagePersistence) {
774         this.mbMessagePersistence = mbMessagePersistence;
775     }
776 
777     public MBMessageFinder getMBMessageFinder() {
778         return mbMessageFinder;
779     }
780 
781     public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
782         this.mbMessageFinder = mbMessageFinder;
783     }
784 
785     public WikiPageLocalService getWikiPageLocalService() {
786         return wikiPageLocalService;
787     }
788 
789     public void setWikiPageLocalService(
790         WikiPageLocalService wikiPageLocalService) {
791         this.wikiPageLocalService = wikiPageLocalService;
792     }
793 
794     public WikiPageService getWikiPageService() {
795         return wikiPageService;
796     }
797 
798     public void setWikiPageService(WikiPageService wikiPageService) {
799         this.wikiPageService = wikiPageService;
800     }
801 
802     public WikiPagePersistence getWikiPagePersistence() {
803         return wikiPagePersistence;
804     }
805 
806     public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
807         this.wikiPagePersistence = wikiPagePersistence;
808     }
809 
810     public WikiPageFinder getWikiPageFinder() {
811         return wikiPageFinder;
812     }
813 
814     public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
815         this.wikiPageFinder = wikiPageFinder;
816     }
817 
818     public WikiPageResourceLocalService getWikiPageResourceLocalService() {
819         return wikiPageResourceLocalService;
820     }
821 
822     public void setWikiPageResourceLocalService(
823         WikiPageResourceLocalService wikiPageResourceLocalService) {
824         this.wikiPageResourceLocalService = wikiPageResourceLocalService;
825     }
826 
827     public WikiPageResourcePersistence getWikiPageResourcePersistence() {
828         return wikiPageResourcePersistence;
829     }
830 
831     public void setWikiPageResourcePersistence(
832         WikiPageResourcePersistence wikiPageResourcePersistence) {
833         this.wikiPageResourcePersistence = wikiPageResourcePersistence;
834     }
835 
836     protected void runSQL(String sql) throws SystemException {
837         try {
838             DB db = DBFactoryUtil.getDB();
839 
840             db.runSQL(sql);
841         }
842         catch (Exception e) {
843             throw new SystemException(e);
844         }
845     }
846 
847     @BeanReference(type = AssetCategoryLocalService.class)
848     protected AssetCategoryLocalService assetCategoryLocalService;
849     @BeanReference(type = AssetCategoryService.class)
850     protected AssetCategoryService assetCategoryService;
851     @BeanReference(type = AssetCategoryPersistence.class)
852     protected AssetCategoryPersistence assetCategoryPersistence;
853     @BeanReference(type = AssetCategoryFinder.class)
854     protected AssetCategoryFinder assetCategoryFinder;
855     @BeanReference(type = AssetCategoryPropertyLocalService.class)
856     protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
857     @BeanReference(type = AssetCategoryPropertyService.class)
858     protected AssetCategoryPropertyService assetCategoryPropertyService;
859     @BeanReference(type = AssetCategoryPropertyPersistence.class)
860     protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
861     @BeanReference(type = AssetCategoryPropertyFinder.class)
862     protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
863     @BeanReference(type = AssetEntryLocalService.class)
864     protected AssetEntryLocalService assetEntryLocalService;
865     @BeanReference(type = AssetEntryService.class)
866     protected AssetEntryService assetEntryService;
867     @BeanReference(type = AssetEntryPersistence.class)
868     protected AssetEntryPersistence assetEntryPersistence;
869     @BeanReference(type = AssetEntryFinder.class)
870     protected AssetEntryFinder assetEntryFinder;
871     @BeanReference(type = AssetLinkLocalService.class)
872     protected AssetLinkLocalService assetLinkLocalService;
873     @BeanReference(type = AssetLinkPersistence.class)
874     protected AssetLinkPersistence assetLinkPersistence;
875     @BeanReference(type = AssetTagLocalService.class)
876     protected AssetTagLocalService assetTagLocalService;
877     @BeanReference(type = AssetTagService.class)
878     protected AssetTagService assetTagService;
879     @BeanReference(type = AssetTagPersistence.class)
880     protected AssetTagPersistence assetTagPersistence;
881     @BeanReference(type = AssetTagFinder.class)
882     protected AssetTagFinder assetTagFinder;
883     @BeanReference(type = AssetTagPropertyLocalService.class)
884     protected AssetTagPropertyLocalService assetTagPropertyLocalService;
885     @BeanReference(type = AssetTagPropertyService.class)
886     protected AssetTagPropertyService assetTagPropertyService;
887     @BeanReference(type = AssetTagPropertyPersistence.class)
888     protected AssetTagPropertyPersistence assetTagPropertyPersistence;
889     @BeanReference(type = AssetTagPropertyFinder.class)
890     protected AssetTagPropertyFinder assetTagPropertyFinder;
891     @BeanReference(type = AssetTagPropertyKeyFinder.class)
892     protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
893     @BeanReference(type = AssetTagStatsLocalService.class)
894     protected AssetTagStatsLocalService assetTagStatsLocalService;
895     @BeanReference(type = AssetTagStatsPersistence.class)
896     protected AssetTagStatsPersistence assetTagStatsPersistence;
897     @BeanReference(type = AssetVocabularyLocalService.class)
898     protected AssetVocabularyLocalService assetVocabularyLocalService;
899     @BeanReference(type = AssetVocabularyService.class)
900     protected AssetVocabularyService assetVocabularyService;
901     @BeanReference(type = AssetVocabularyPersistence.class)
902     protected AssetVocabularyPersistence assetVocabularyPersistence;
903     @BeanReference(type = CounterLocalService.class)
904     protected CounterLocalService counterLocalService;
905     @BeanReference(type = CompanyLocalService.class)
906     protected CompanyLocalService companyLocalService;
907     @BeanReference(type = CompanyService.class)
908     protected CompanyService companyService;
909     @BeanReference(type = CompanyPersistence.class)
910     protected CompanyPersistence companyPersistence;
911     @BeanReference(type = GroupLocalService.class)
912     protected GroupLocalService groupLocalService;
913     @BeanReference(type = GroupService.class)
914     protected GroupService groupService;
915     @BeanReference(type = GroupPersistence.class)
916     protected GroupPersistence groupPersistence;
917     @BeanReference(type = GroupFinder.class)
918     protected GroupFinder groupFinder;
919     @BeanReference(type = ResourceLocalService.class)
920     protected ResourceLocalService resourceLocalService;
921     @BeanReference(type = ResourceService.class)
922     protected ResourceService resourceService;
923     @BeanReference(type = ResourcePersistence.class)
924     protected ResourcePersistence resourcePersistence;
925     @BeanReference(type = ResourceFinder.class)
926     protected ResourceFinder resourceFinder;
927     @BeanReference(type = UserLocalService.class)
928     protected UserLocalService userLocalService;
929     @BeanReference(type = UserService.class)
930     protected UserService userService;
931     @BeanReference(type = UserPersistence.class)
932     protected UserPersistence userPersistence;
933     @BeanReference(type = UserFinder.class)
934     protected UserFinder userFinder;
935     @BeanReference(type = BlogsEntryLocalService.class)
936     protected BlogsEntryLocalService blogsEntryLocalService;
937     @BeanReference(type = BlogsEntryService.class)
938     protected BlogsEntryService blogsEntryService;
939     @BeanReference(type = BlogsEntryPersistence.class)
940     protected BlogsEntryPersistence blogsEntryPersistence;
941     @BeanReference(type = BlogsEntryFinder.class)
942     protected BlogsEntryFinder blogsEntryFinder;
943     @BeanReference(type = BookmarksEntryLocalService.class)
944     protected BookmarksEntryLocalService bookmarksEntryLocalService;
945     @BeanReference(type = BookmarksEntryService.class)
946     protected BookmarksEntryService bookmarksEntryService;
947     @BeanReference(type = BookmarksEntryPersistence.class)
948     protected BookmarksEntryPersistence bookmarksEntryPersistence;
949     @BeanReference(type = BookmarksEntryFinder.class)
950     protected BookmarksEntryFinder bookmarksEntryFinder;
951     @BeanReference(type = DLFileEntryLocalService.class)
952     protected DLFileEntryLocalService dlFileEntryLocalService;
953     @BeanReference(type = DLFileEntryService.class)
954     protected DLFileEntryService dlFileEntryService;
955     @BeanReference(type = DLFileEntryPersistence.class)
956     protected DLFileEntryPersistence dlFileEntryPersistence;
957     @BeanReference(type = DLFileEntryFinder.class)
958     protected DLFileEntryFinder dlFileEntryFinder;
959     @BeanReference(type = DLFolderLocalService.class)
960     protected DLFolderLocalService dlFolderLocalService;
961     @BeanReference(type = DLFolderService.class)
962     protected DLFolderService dlFolderService;
963     @BeanReference(type = DLFolderPersistence.class)
964     protected DLFolderPersistence dlFolderPersistence;
965     @BeanReference(type = DLFolderFinder.class)
966     protected DLFolderFinder dlFolderFinder;
967     @BeanReference(type = JournalArticleLocalService.class)
968     protected JournalArticleLocalService journalArticleLocalService;
969     @BeanReference(type = JournalArticleService.class)
970     protected JournalArticleService journalArticleService;
971     @BeanReference(type = JournalArticlePersistence.class)
972     protected JournalArticlePersistence journalArticlePersistence;
973     @BeanReference(type = JournalArticleFinder.class)
974     protected JournalArticleFinder journalArticleFinder;
975     @BeanReference(type = JournalArticleResourceLocalService.class)
976     protected JournalArticleResourceLocalService journalArticleResourceLocalService;
977     @BeanReference(type = JournalArticleResourcePersistence.class)
978     protected JournalArticleResourcePersistence journalArticleResourcePersistence;
979     @BeanReference(type = MBMessageLocalService.class)
980     protected MBMessageLocalService mbMessageLocalService;
981     @BeanReference(type = MBMessageService.class)
982     protected MBMessageService mbMessageService;
983     @BeanReference(type = MBMessagePersistence.class)
984     protected MBMessagePersistence mbMessagePersistence;
985     @BeanReference(type = MBMessageFinder.class)
986     protected MBMessageFinder mbMessageFinder;
987     @BeanReference(type = WikiPageLocalService.class)
988     protected WikiPageLocalService wikiPageLocalService;
989     @BeanReference(type = WikiPageService.class)
990     protected WikiPageService wikiPageService;
991     @BeanReference(type = WikiPagePersistence.class)
992     protected WikiPagePersistence wikiPagePersistence;
993     @BeanReference(type = WikiPageFinder.class)
994     protected WikiPageFinder wikiPageFinder;
995     @BeanReference(type = WikiPageResourceLocalService.class)
996     protected WikiPageResourceLocalService wikiPageResourceLocalService;
997     @BeanReference(type = WikiPageResourcePersistence.class)
998     protected WikiPageResourcePersistence wikiPageResourcePersistence;
999 }