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