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