001    /**
002     * Copyright (c) 2000-present 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.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.kernel.bean.IdentifiableBean;
019    import com.liferay.portal.kernel.dao.db.DB;
020    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.exception.SystemException;
024    import com.liferay.portal.service.BaseServiceImpl;
025    import com.liferay.portal.service.persistence.ClassNamePersistence;
026    import com.liferay.portal.service.persistence.CompanyPersistence;
027    import com.liferay.portal.service.persistence.GroupFinder;
028    import com.liferay.portal.service.persistence.GroupPersistence;
029    import com.liferay.portal.service.persistence.SystemEventPersistence;
030    import com.liferay.portal.service.persistence.UserFinder;
031    import com.liferay.portal.service.persistence.UserPersistence;
032    import com.liferay.portal.util.PortalUtil;
033    
034    import com.liferay.portlet.asset.model.AssetEntry;
035    import com.liferay.portlet.asset.service.AssetEntryService;
036    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
037    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
038    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
039    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
040    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
041    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
042    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
043    import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
044    import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
045    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
046    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
047    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
048    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
049    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
050    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
051    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
052    import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
053    import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
054    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
055    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
056    import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
057    import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
058    import com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence;
059    
060    import javax.sql.DataSource;
061    
062    /**
063     * Provides the base implementation for the asset entry remote service.
064     *
065     * <p>
066     * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl}.
067     * </p>
068     *
069     * @author Brian Wing Shun Chan
070     * @see com.liferay.portlet.asset.service.impl.AssetEntryServiceImpl
071     * @see com.liferay.portlet.asset.service.AssetEntryServiceUtil
072     * @generated
073     */
074    public abstract class AssetEntryServiceBaseImpl extends BaseServiceImpl
075            implements AssetEntryService, IdentifiableBean {
076            /*
077             * NOTE FOR DEVELOPERS:
078             *
079             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.asset.service.AssetEntryServiceUtil} to access the asset entry remote service.
080             */
081    
082            /**
083             * Returns the asset entry local service.
084             *
085             * @return the asset entry local service
086             */
087            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
088                    return assetEntryLocalService;
089            }
090    
091            /**
092             * Sets the asset entry local service.
093             *
094             * @param assetEntryLocalService the asset entry local service
095             */
096            public void setAssetEntryLocalService(
097                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
098                    this.assetEntryLocalService = assetEntryLocalService;
099            }
100    
101            /**
102             * Returns the asset entry remote service.
103             *
104             * @return the asset entry remote service
105             */
106            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
107                    return assetEntryService;
108            }
109    
110            /**
111             * Sets the asset entry remote service.
112             *
113             * @param assetEntryService the asset entry remote service
114             */
115            public void setAssetEntryService(
116                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
117                    this.assetEntryService = assetEntryService;
118            }
119    
120            /**
121             * Returns the asset entry persistence.
122             *
123             * @return the asset entry persistence
124             */
125            public AssetEntryPersistence getAssetEntryPersistence() {
126                    return assetEntryPersistence;
127            }
128    
129            /**
130             * Sets the asset entry persistence.
131             *
132             * @param assetEntryPersistence the asset entry persistence
133             */
134            public void setAssetEntryPersistence(
135                    AssetEntryPersistence assetEntryPersistence) {
136                    this.assetEntryPersistence = assetEntryPersistence;
137            }
138    
139            /**
140             * Returns the asset entry finder.
141             *
142             * @return the asset entry finder
143             */
144            public AssetEntryFinder getAssetEntryFinder() {
145                    return assetEntryFinder;
146            }
147    
148            /**
149             * Sets the asset entry finder.
150             *
151             * @param assetEntryFinder the asset entry finder
152             */
153            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
154                    this.assetEntryFinder = assetEntryFinder;
155            }
156    
157            /**
158             * Returns the counter local service.
159             *
160             * @return the counter local service
161             */
162            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
163                    return counterLocalService;
164            }
165    
166            /**
167             * Sets the counter local service.
168             *
169             * @param counterLocalService the counter local service
170             */
171            public void setCounterLocalService(
172                    com.liferay.counter.service.CounterLocalService counterLocalService) {
173                    this.counterLocalService = counterLocalService;
174            }
175    
176            /**
177             * Returns the class name local service.
178             *
179             * @return the class name local service
180             */
181            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
182                    return classNameLocalService;
183            }
184    
185            /**
186             * Sets the class name local service.
187             *
188             * @param classNameLocalService the class name local service
189             */
190            public void setClassNameLocalService(
191                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
192                    this.classNameLocalService = classNameLocalService;
193            }
194    
195            /**
196             * Returns the class name remote service.
197             *
198             * @return the class name remote service
199             */
200            public com.liferay.portal.service.ClassNameService getClassNameService() {
201                    return classNameService;
202            }
203    
204            /**
205             * Sets the class name remote service.
206             *
207             * @param classNameService the class name remote service
208             */
209            public void setClassNameService(
210                    com.liferay.portal.service.ClassNameService classNameService) {
211                    this.classNameService = classNameService;
212            }
213    
214            /**
215             * Returns the class name persistence.
216             *
217             * @return the class name persistence
218             */
219            public ClassNamePersistence getClassNamePersistence() {
220                    return classNamePersistence;
221            }
222    
223            /**
224             * Sets the class name persistence.
225             *
226             * @param classNamePersistence the class name persistence
227             */
228            public void setClassNamePersistence(
229                    ClassNamePersistence classNamePersistence) {
230                    this.classNamePersistence = classNamePersistence;
231            }
232    
233            /**
234             * Returns the company local service.
235             *
236             * @return the company local service
237             */
238            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
239                    return companyLocalService;
240            }
241    
242            /**
243             * Sets the company local service.
244             *
245             * @param companyLocalService the company local service
246             */
247            public void setCompanyLocalService(
248                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
249                    this.companyLocalService = companyLocalService;
250            }
251    
252            /**
253             * Returns the company remote service.
254             *
255             * @return the company remote service
256             */
257            public com.liferay.portal.service.CompanyService getCompanyService() {
258                    return companyService;
259            }
260    
261            /**
262             * Sets the company remote service.
263             *
264             * @param companyService the company remote service
265             */
266            public void setCompanyService(
267                    com.liferay.portal.service.CompanyService companyService) {
268                    this.companyService = companyService;
269            }
270    
271            /**
272             * Returns the company persistence.
273             *
274             * @return the company persistence
275             */
276            public CompanyPersistence getCompanyPersistence() {
277                    return companyPersistence;
278            }
279    
280            /**
281             * Sets the company persistence.
282             *
283             * @param companyPersistence the company persistence
284             */
285            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
286                    this.companyPersistence = companyPersistence;
287            }
288    
289            /**
290             * Returns the group local service.
291             *
292             * @return the group local service
293             */
294            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
295                    return groupLocalService;
296            }
297    
298            /**
299             * Sets the group local service.
300             *
301             * @param groupLocalService the group local service
302             */
303            public void setGroupLocalService(
304                    com.liferay.portal.service.GroupLocalService groupLocalService) {
305                    this.groupLocalService = groupLocalService;
306            }
307    
308            /**
309             * Returns the group remote service.
310             *
311             * @return the group remote service
312             */
313            public com.liferay.portal.service.GroupService getGroupService() {
314                    return groupService;
315            }
316    
317            /**
318             * Sets the group remote service.
319             *
320             * @param groupService the group remote service
321             */
322            public void setGroupService(
323                    com.liferay.portal.service.GroupService groupService) {
324                    this.groupService = groupService;
325            }
326    
327            /**
328             * Returns the group persistence.
329             *
330             * @return the group persistence
331             */
332            public GroupPersistence getGroupPersistence() {
333                    return groupPersistence;
334            }
335    
336            /**
337             * Sets the group persistence.
338             *
339             * @param groupPersistence the group persistence
340             */
341            public void setGroupPersistence(GroupPersistence groupPersistence) {
342                    this.groupPersistence = groupPersistence;
343            }
344    
345            /**
346             * Returns the group finder.
347             *
348             * @return the group finder
349             */
350            public GroupFinder getGroupFinder() {
351                    return groupFinder;
352            }
353    
354            /**
355             * Sets the group finder.
356             *
357             * @param groupFinder the group finder
358             */
359            public void setGroupFinder(GroupFinder groupFinder) {
360                    this.groupFinder = groupFinder;
361            }
362    
363            /**
364             * Returns the system event local service.
365             *
366             * @return the system event local service
367             */
368            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
369                    return systemEventLocalService;
370            }
371    
372            /**
373             * Sets the system event local service.
374             *
375             * @param systemEventLocalService the system event local service
376             */
377            public void setSystemEventLocalService(
378                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
379                    this.systemEventLocalService = systemEventLocalService;
380            }
381    
382            /**
383             * Returns the system event persistence.
384             *
385             * @return the system event persistence
386             */
387            public SystemEventPersistence getSystemEventPersistence() {
388                    return systemEventPersistence;
389            }
390    
391            /**
392             * Sets the system event persistence.
393             *
394             * @param systemEventPersistence the system event persistence
395             */
396            public void setSystemEventPersistence(
397                    SystemEventPersistence systemEventPersistence) {
398                    this.systemEventPersistence = systemEventPersistence;
399            }
400    
401            /**
402             * Returns the user local service.
403             *
404             * @return the user local service
405             */
406            public com.liferay.portal.service.UserLocalService getUserLocalService() {
407                    return userLocalService;
408            }
409    
410            /**
411             * Sets the user local service.
412             *
413             * @param userLocalService the user local service
414             */
415            public void setUserLocalService(
416                    com.liferay.portal.service.UserLocalService userLocalService) {
417                    this.userLocalService = userLocalService;
418            }
419    
420            /**
421             * Returns the user remote service.
422             *
423             * @return the user remote service
424             */
425            public com.liferay.portal.service.UserService getUserService() {
426                    return userService;
427            }
428    
429            /**
430             * Sets the user remote service.
431             *
432             * @param userService the user remote service
433             */
434            public void setUserService(
435                    com.liferay.portal.service.UserService userService) {
436                    this.userService = userService;
437            }
438    
439            /**
440             * Returns the user persistence.
441             *
442             * @return the user persistence
443             */
444            public UserPersistence getUserPersistence() {
445                    return userPersistence;
446            }
447    
448            /**
449             * Sets the user persistence.
450             *
451             * @param userPersistence the user persistence
452             */
453            public void setUserPersistence(UserPersistence userPersistence) {
454                    this.userPersistence = userPersistence;
455            }
456    
457            /**
458             * Returns the user finder.
459             *
460             * @return the user finder
461             */
462            public UserFinder getUserFinder() {
463                    return userFinder;
464            }
465    
466            /**
467             * Sets the user finder.
468             *
469             * @param userFinder the user finder
470             */
471            public void setUserFinder(UserFinder userFinder) {
472                    this.userFinder = userFinder;
473            }
474    
475            /**
476             * Returns the asset category local service.
477             *
478             * @return the asset category local service
479             */
480            public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
481                    return assetCategoryLocalService;
482            }
483    
484            /**
485             * Sets the asset category local service.
486             *
487             * @param assetCategoryLocalService the asset category local service
488             */
489            public void setAssetCategoryLocalService(
490                    com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
491                    this.assetCategoryLocalService = assetCategoryLocalService;
492            }
493    
494            /**
495             * Returns the asset category remote service.
496             *
497             * @return the asset category remote service
498             */
499            public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
500                    return assetCategoryService;
501            }
502    
503            /**
504             * Sets the asset category remote service.
505             *
506             * @param assetCategoryService the asset category remote service
507             */
508            public void setAssetCategoryService(
509                    com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
510                    this.assetCategoryService = assetCategoryService;
511            }
512    
513            /**
514             * Returns the asset category persistence.
515             *
516             * @return the asset category persistence
517             */
518            public AssetCategoryPersistence getAssetCategoryPersistence() {
519                    return assetCategoryPersistence;
520            }
521    
522            /**
523             * Sets the asset category persistence.
524             *
525             * @param assetCategoryPersistence the asset category persistence
526             */
527            public void setAssetCategoryPersistence(
528                    AssetCategoryPersistence assetCategoryPersistence) {
529                    this.assetCategoryPersistence = assetCategoryPersistence;
530            }
531    
532            /**
533             * Returns the asset category finder.
534             *
535             * @return the asset category finder
536             */
537            public AssetCategoryFinder getAssetCategoryFinder() {
538                    return assetCategoryFinder;
539            }
540    
541            /**
542             * Sets the asset category finder.
543             *
544             * @param assetCategoryFinder the asset category finder
545             */
546            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
547                    this.assetCategoryFinder = assetCategoryFinder;
548            }
549    
550            /**
551             * Returns the blogs entry local service.
552             *
553             * @return the blogs entry local service
554             */
555            public com.liferay.portlet.blogs.service.BlogsEntryLocalService getBlogsEntryLocalService() {
556                    return blogsEntryLocalService;
557            }
558    
559            /**
560             * Sets the blogs entry local service.
561             *
562             * @param blogsEntryLocalService the blogs entry local service
563             */
564            public void setBlogsEntryLocalService(
565                    com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService) {
566                    this.blogsEntryLocalService = blogsEntryLocalService;
567            }
568    
569            /**
570             * Returns the blogs entry remote service.
571             *
572             * @return the blogs entry remote service
573             */
574            public com.liferay.portlet.blogs.service.BlogsEntryService getBlogsEntryService() {
575                    return blogsEntryService;
576            }
577    
578            /**
579             * Sets the blogs entry remote service.
580             *
581             * @param blogsEntryService the blogs entry remote service
582             */
583            public void setBlogsEntryService(
584                    com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService) {
585                    this.blogsEntryService = blogsEntryService;
586            }
587    
588            /**
589             * Returns the blogs entry persistence.
590             *
591             * @return the blogs entry persistence
592             */
593            public BlogsEntryPersistence getBlogsEntryPersistence() {
594                    return blogsEntryPersistence;
595            }
596    
597            /**
598             * Sets the blogs entry persistence.
599             *
600             * @param blogsEntryPersistence the blogs entry persistence
601             */
602            public void setBlogsEntryPersistence(
603                    BlogsEntryPersistence blogsEntryPersistence) {
604                    this.blogsEntryPersistence = blogsEntryPersistence;
605            }
606    
607            /**
608             * Returns the blogs entry finder.
609             *
610             * @return the blogs entry finder
611             */
612            public BlogsEntryFinder getBlogsEntryFinder() {
613                    return blogsEntryFinder;
614            }
615    
616            /**
617             * Sets the blogs entry finder.
618             *
619             * @param blogsEntryFinder the blogs entry finder
620             */
621            public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
622                    this.blogsEntryFinder = blogsEntryFinder;
623            }
624    
625            /**
626             * Returns the document library file entry local service.
627             *
628             * @return the document library file entry local service
629             */
630            public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
631                    return dlFileEntryLocalService;
632            }
633    
634            /**
635             * Sets the document library file entry local service.
636             *
637             * @param dlFileEntryLocalService the document library file entry local service
638             */
639            public void setDLFileEntryLocalService(
640                    com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
641                    this.dlFileEntryLocalService = dlFileEntryLocalService;
642            }
643    
644            /**
645             * Returns the document library file entry remote service.
646             *
647             * @return the document library file entry remote service
648             */
649            public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
650                    return dlFileEntryService;
651            }
652    
653            /**
654             * Sets the document library file entry remote service.
655             *
656             * @param dlFileEntryService the document library file entry remote service
657             */
658            public void setDLFileEntryService(
659                    com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
660                    this.dlFileEntryService = dlFileEntryService;
661            }
662    
663            /**
664             * Returns the document library file entry persistence.
665             *
666             * @return the document library file entry persistence
667             */
668            public DLFileEntryPersistence getDLFileEntryPersistence() {
669                    return dlFileEntryPersistence;
670            }
671    
672            /**
673             * Sets the document library file entry persistence.
674             *
675             * @param dlFileEntryPersistence the document library file entry persistence
676             */
677            public void setDLFileEntryPersistence(
678                    DLFileEntryPersistence dlFileEntryPersistence) {
679                    this.dlFileEntryPersistence = dlFileEntryPersistence;
680            }
681    
682            /**
683             * Returns the document library file entry finder.
684             *
685             * @return the document library file entry finder
686             */
687            public DLFileEntryFinder getDLFileEntryFinder() {
688                    return dlFileEntryFinder;
689            }
690    
691            /**
692             * Sets the document library file entry finder.
693             *
694             * @param dlFileEntryFinder the document library file entry finder
695             */
696            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
697                    this.dlFileEntryFinder = dlFileEntryFinder;
698            }
699    
700            /**
701             * Returns the journal article local service.
702             *
703             * @return the journal article local service
704             */
705            public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService() {
706                    return journalArticleLocalService;
707            }
708    
709            /**
710             * Sets the journal article local service.
711             *
712             * @param journalArticleLocalService the journal article local service
713             */
714            public void setJournalArticleLocalService(
715                    com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService) {
716                    this.journalArticleLocalService = journalArticleLocalService;
717            }
718    
719            /**
720             * Returns the journal article remote service.
721             *
722             * @return the journal article remote service
723             */
724            public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService() {
725                    return journalArticleService;
726            }
727    
728            /**
729             * Sets the journal article remote service.
730             *
731             * @param journalArticleService the journal article remote service
732             */
733            public void setJournalArticleService(
734                    com.liferay.portlet.journal.service.JournalArticleService journalArticleService) {
735                    this.journalArticleService = journalArticleService;
736            }
737    
738            /**
739             * Returns the journal article persistence.
740             *
741             * @return the journal article persistence
742             */
743            public JournalArticlePersistence getJournalArticlePersistence() {
744                    return journalArticlePersistence;
745            }
746    
747            /**
748             * Sets the journal article persistence.
749             *
750             * @param journalArticlePersistence the journal article persistence
751             */
752            public void setJournalArticlePersistence(
753                    JournalArticlePersistence journalArticlePersistence) {
754                    this.journalArticlePersistence = journalArticlePersistence;
755            }
756    
757            /**
758             * Returns the journal article finder.
759             *
760             * @return the journal article finder
761             */
762            public JournalArticleFinder getJournalArticleFinder() {
763                    return journalArticleFinder;
764            }
765    
766            /**
767             * Sets the journal article finder.
768             *
769             * @param journalArticleFinder the journal article finder
770             */
771            public void setJournalArticleFinder(
772                    JournalArticleFinder journalArticleFinder) {
773                    this.journalArticleFinder = journalArticleFinder;
774            }
775    
776            /**
777             * Returns the journal article resource local service.
778             *
779             * @return the journal article resource local service
780             */
781            public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
782                    return journalArticleResourceLocalService;
783            }
784    
785            /**
786             * Sets the journal article resource local service.
787             *
788             * @param journalArticleResourceLocalService the journal article resource local service
789             */
790            public void setJournalArticleResourceLocalService(
791                    com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) {
792                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
793            }
794    
795            /**
796             * Returns the journal article resource persistence.
797             *
798             * @return the journal article resource persistence
799             */
800            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
801                    return journalArticleResourcePersistence;
802            }
803    
804            /**
805             * Sets the journal article resource persistence.
806             *
807             * @param journalArticleResourcePersistence the journal article resource persistence
808             */
809            public void setJournalArticleResourcePersistence(
810                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
811                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
812            }
813    
814            /**
815             * Returns the message-boards message local service.
816             *
817             * @return the message-boards message local service
818             */
819            public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
820                    return mbMessageLocalService;
821            }
822    
823            /**
824             * Sets the message-boards message local service.
825             *
826             * @param mbMessageLocalService the message-boards message local service
827             */
828            public void setMBMessageLocalService(
829                    com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
830                    this.mbMessageLocalService = mbMessageLocalService;
831            }
832    
833            /**
834             * Returns the message-boards message remote service.
835             *
836             * @return the message-boards message remote service
837             */
838            public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
839                    return mbMessageService;
840            }
841    
842            /**
843             * Sets the message-boards message remote service.
844             *
845             * @param mbMessageService the message-boards message remote service
846             */
847            public void setMBMessageService(
848                    com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
849                    this.mbMessageService = mbMessageService;
850            }
851    
852            /**
853             * Returns the message-boards message persistence.
854             *
855             * @return the message-boards message persistence
856             */
857            public MBMessagePersistence getMBMessagePersistence() {
858                    return mbMessagePersistence;
859            }
860    
861            /**
862             * Sets the message-boards message persistence.
863             *
864             * @param mbMessagePersistence the message-boards message persistence
865             */
866            public void setMBMessagePersistence(
867                    MBMessagePersistence mbMessagePersistence) {
868                    this.mbMessagePersistence = mbMessagePersistence;
869            }
870    
871            /**
872             * Returns the message-boards message finder.
873             *
874             * @return the message-boards message finder
875             */
876            public MBMessageFinder getMBMessageFinder() {
877                    return mbMessageFinder;
878            }
879    
880            /**
881             * Sets the message-boards message finder.
882             *
883             * @param mbMessageFinder the message-boards message finder
884             */
885            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
886                    this.mbMessageFinder = mbMessageFinder;
887            }
888    
889            /**
890             * Returns the social activity local service.
891             *
892             * @return the social activity local service
893             */
894            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
895                    return socialActivityLocalService;
896            }
897    
898            /**
899             * Sets the social activity local service.
900             *
901             * @param socialActivityLocalService the social activity local service
902             */
903            public void setSocialActivityLocalService(
904                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
905                    this.socialActivityLocalService = socialActivityLocalService;
906            }
907    
908            /**
909             * Returns the social activity remote service.
910             *
911             * @return the social activity remote service
912             */
913            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
914                    return socialActivityService;
915            }
916    
917            /**
918             * Sets the social activity remote service.
919             *
920             * @param socialActivityService the social activity remote service
921             */
922            public void setSocialActivityService(
923                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
924                    this.socialActivityService = socialActivityService;
925            }
926    
927            /**
928             * Returns the social activity persistence.
929             *
930             * @return the social activity persistence
931             */
932            public SocialActivityPersistence getSocialActivityPersistence() {
933                    return socialActivityPersistence;
934            }
935    
936            /**
937             * Sets the social activity persistence.
938             *
939             * @param socialActivityPersistence the social activity persistence
940             */
941            public void setSocialActivityPersistence(
942                    SocialActivityPersistence socialActivityPersistence) {
943                    this.socialActivityPersistence = socialActivityPersistence;
944            }
945    
946            /**
947             * Returns the social activity finder.
948             *
949             * @return the social activity finder
950             */
951            public SocialActivityFinder getSocialActivityFinder() {
952                    return socialActivityFinder;
953            }
954    
955            /**
956             * Sets the social activity finder.
957             *
958             * @param socialActivityFinder the social activity finder
959             */
960            public void setSocialActivityFinder(
961                    SocialActivityFinder socialActivityFinder) {
962                    this.socialActivityFinder = socialActivityFinder;
963            }
964    
965            /**
966             * Returns the social activity counter local service.
967             *
968             * @return the social activity counter local service
969             */
970            public com.liferay.portlet.social.service.SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
971                    return socialActivityCounterLocalService;
972            }
973    
974            /**
975             * Sets the social activity counter local service.
976             *
977             * @param socialActivityCounterLocalService the social activity counter local service
978             */
979            public void setSocialActivityCounterLocalService(
980                    com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService) {
981                    this.socialActivityCounterLocalService = socialActivityCounterLocalService;
982            }
983    
984            /**
985             * Returns the social activity counter persistence.
986             *
987             * @return the social activity counter persistence
988             */
989            public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
990                    return socialActivityCounterPersistence;
991            }
992    
993            /**
994             * Sets the social activity counter persistence.
995             *
996             * @param socialActivityCounterPersistence the social activity counter persistence
997             */
998            public void setSocialActivityCounterPersistence(
999                    SocialActivityCounterPersistence socialActivityCounterPersistence) {
1000                    this.socialActivityCounterPersistence = socialActivityCounterPersistence;
1001            }
1002    
1003            /**
1004             * Returns the social activity counter finder.
1005             *
1006             * @return the social activity counter finder
1007             */
1008            public SocialActivityCounterFinder getSocialActivityCounterFinder() {
1009                    return socialActivityCounterFinder;
1010            }
1011    
1012            /**
1013             * Sets the social activity counter finder.
1014             *
1015             * @param socialActivityCounterFinder the social activity counter finder
1016             */
1017            public void setSocialActivityCounterFinder(
1018                    SocialActivityCounterFinder socialActivityCounterFinder) {
1019                    this.socialActivityCounterFinder = socialActivityCounterFinder;
1020            }
1021    
1022            /**
1023             * Returns the wiki page local service.
1024             *
1025             * @return the wiki page local service
1026             */
1027            public com.liferay.portlet.wiki.service.WikiPageLocalService getWikiPageLocalService() {
1028                    return wikiPageLocalService;
1029            }
1030    
1031            /**
1032             * Sets the wiki page local service.
1033             *
1034             * @param wikiPageLocalService the wiki page local service
1035             */
1036            public void setWikiPageLocalService(
1037                    com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService) {
1038                    this.wikiPageLocalService = wikiPageLocalService;
1039            }
1040    
1041            /**
1042             * Returns the wiki page remote service.
1043             *
1044             * @return the wiki page remote service
1045             */
1046            public com.liferay.portlet.wiki.service.WikiPageService getWikiPageService() {
1047                    return wikiPageService;
1048            }
1049    
1050            /**
1051             * Sets the wiki page remote service.
1052             *
1053             * @param wikiPageService the wiki page remote service
1054             */
1055            public void setWikiPageService(
1056                    com.liferay.portlet.wiki.service.WikiPageService wikiPageService) {
1057                    this.wikiPageService = wikiPageService;
1058            }
1059    
1060            /**
1061             * Returns the wiki page persistence.
1062             *
1063             * @return the wiki page persistence
1064             */
1065            public WikiPagePersistence getWikiPagePersistence() {
1066                    return wikiPagePersistence;
1067            }
1068    
1069            /**
1070             * Sets the wiki page persistence.
1071             *
1072             * @param wikiPagePersistence the wiki page persistence
1073             */
1074            public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
1075                    this.wikiPagePersistence = wikiPagePersistence;
1076            }
1077    
1078            /**
1079             * Returns the wiki page finder.
1080             *
1081             * @return the wiki page finder
1082             */
1083            public WikiPageFinder getWikiPageFinder() {
1084                    return wikiPageFinder;
1085            }
1086    
1087            /**
1088             * Sets the wiki page finder.
1089             *
1090             * @param wikiPageFinder the wiki page finder
1091             */
1092            public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
1093                    this.wikiPageFinder = wikiPageFinder;
1094            }
1095    
1096            /**
1097             * Returns the wiki page resource local service.
1098             *
1099             * @return the wiki page resource local service
1100             */
1101            public com.liferay.portlet.wiki.service.WikiPageResourceLocalService getWikiPageResourceLocalService() {
1102                    return wikiPageResourceLocalService;
1103            }
1104    
1105            /**
1106             * Sets the wiki page resource local service.
1107             *
1108             * @param wikiPageResourceLocalService the wiki page resource local service
1109             */
1110            public void setWikiPageResourceLocalService(
1111                    com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService) {
1112                    this.wikiPageResourceLocalService = wikiPageResourceLocalService;
1113            }
1114    
1115            /**
1116             * Returns the wiki page resource persistence.
1117             *
1118             * @return the wiki page resource persistence
1119             */
1120            public WikiPageResourcePersistence getWikiPageResourcePersistence() {
1121                    return wikiPageResourcePersistence;
1122            }
1123    
1124            /**
1125             * Sets the wiki page resource persistence.
1126             *
1127             * @param wikiPageResourcePersistence the wiki page resource persistence
1128             */
1129            public void setWikiPageResourcePersistence(
1130                    WikiPageResourcePersistence wikiPageResourcePersistence) {
1131                    this.wikiPageResourcePersistence = wikiPageResourcePersistence;
1132            }
1133    
1134            /**
1135             * Returns the asset link local service.
1136             *
1137             * @return the asset link local service
1138             */
1139            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
1140                    return assetLinkLocalService;
1141            }
1142    
1143            /**
1144             * Sets the asset link local service.
1145             *
1146             * @param assetLinkLocalService the asset link local service
1147             */
1148            public void setAssetLinkLocalService(
1149                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
1150                    this.assetLinkLocalService = assetLinkLocalService;
1151            }
1152    
1153            /**
1154             * Returns the asset link persistence.
1155             *
1156             * @return the asset link persistence
1157             */
1158            public AssetLinkPersistence getAssetLinkPersistence() {
1159                    return assetLinkPersistence;
1160            }
1161    
1162            /**
1163             * Sets the asset link persistence.
1164             *
1165             * @param assetLinkPersistence the asset link persistence
1166             */
1167            public void setAssetLinkPersistence(
1168                    AssetLinkPersistence assetLinkPersistence) {
1169                    this.assetLinkPersistence = assetLinkPersistence;
1170            }
1171    
1172            /**
1173             * Returns the asset tag local service.
1174             *
1175             * @return the asset tag local service
1176             */
1177            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
1178                    return assetTagLocalService;
1179            }
1180    
1181            /**
1182             * Sets the asset tag local service.
1183             *
1184             * @param assetTagLocalService the asset tag local service
1185             */
1186            public void setAssetTagLocalService(
1187                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
1188                    this.assetTagLocalService = assetTagLocalService;
1189            }
1190    
1191            /**
1192             * Returns the asset tag remote service.
1193             *
1194             * @return the asset tag remote service
1195             */
1196            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
1197                    return assetTagService;
1198            }
1199    
1200            /**
1201             * Sets the asset tag remote service.
1202             *
1203             * @param assetTagService the asset tag remote service
1204             */
1205            public void setAssetTagService(
1206                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
1207                    this.assetTagService = assetTagService;
1208            }
1209    
1210            /**
1211             * Returns the asset tag persistence.
1212             *
1213             * @return the asset tag persistence
1214             */
1215            public AssetTagPersistence getAssetTagPersistence() {
1216                    return assetTagPersistence;
1217            }
1218    
1219            /**
1220             * Sets the asset tag persistence.
1221             *
1222             * @param assetTagPersistence the asset tag persistence
1223             */
1224            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1225                    this.assetTagPersistence = assetTagPersistence;
1226            }
1227    
1228            /**
1229             * Returns the asset tag finder.
1230             *
1231             * @return the asset tag finder
1232             */
1233            public AssetTagFinder getAssetTagFinder() {
1234                    return assetTagFinder;
1235            }
1236    
1237            /**
1238             * Sets the asset tag finder.
1239             *
1240             * @param assetTagFinder the asset tag finder
1241             */
1242            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1243                    this.assetTagFinder = assetTagFinder;
1244            }
1245    
1246            public void afterPropertiesSet() {
1247            }
1248    
1249            public void destroy() {
1250            }
1251    
1252            /**
1253             * Returns the Spring bean ID for this bean.
1254             *
1255             * @return the Spring bean ID for this bean
1256             */
1257            @Override
1258            public String getBeanIdentifier() {
1259                    return _beanIdentifier;
1260            }
1261    
1262            /**
1263             * Sets the Spring bean ID for this bean.
1264             *
1265             * @param beanIdentifier the Spring bean ID for this bean
1266             */
1267            @Override
1268            public void setBeanIdentifier(String beanIdentifier) {
1269                    _beanIdentifier = beanIdentifier;
1270            }
1271    
1272            protected Class<?> getModelClass() {
1273                    return AssetEntry.class;
1274            }
1275    
1276            protected String getModelClassName() {
1277                    return AssetEntry.class.getName();
1278            }
1279    
1280            /**
1281             * Performs a SQL query.
1282             *
1283             * @param sql the sql query
1284             */
1285            protected void runSQL(String sql) {
1286                    try {
1287                            DataSource dataSource = assetEntryPersistence.getDataSource();
1288    
1289                            DB db = DBFactoryUtil.getDB();
1290    
1291                            sql = db.buildSQL(sql);
1292                            sql = PortalUtil.transformSQL(sql);
1293    
1294                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1295                                            sql, new int[0]);
1296    
1297                            sqlUpdate.update();
1298                    }
1299                    catch (Exception e) {
1300                            throw new SystemException(e);
1301                    }
1302            }
1303    
1304            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1305            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1306            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1307            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1308            @BeanReference(type = AssetEntryPersistence.class)
1309            protected AssetEntryPersistence assetEntryPersistence;
1310            @BeanReference(type = AssetEntryFinder.class)
1311            protected AssetEntryFinder assetEntryFinder;
1312            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1313            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1314            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1315            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1316            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1317            protected com.liferay.portal.service.ClassNameService classNameService;
1318            @BeanReference(type = ClassNamePersistence.class)
1319            protected ClassNamePersistence classNamePersistence;
1320            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1321            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1322            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1323            protected com.liferay.portal.service.CompanyService companyService;
1324            @BeanReference(type = CompanyPersistence.class)
1325            protected CompanyPersistence companyPersistence;
1326            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1327            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1328            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1329            protected com.liferay.portal.service.GroupService groupService;
1330            @BeanReference(type = GroupPersistence.class)
1331            protected GroupPersistence groupPersistence;
1332            @BeanReference(type = GroupFinder.class)
1333            protected GroupFinder groupFinder;
1334            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
1335            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
1336            @BeanReference(type = SystemEventPersistence.class)
1337            protected SystemEventPersistence systemEventPersistence;
1338            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1339            protected com.liferay.portal.service.UserLocalService userLocalService;
1340            @BeanReference(type = com.liferay.portal.service.UserService.class)
1341            protected com.liferay.portal.service.UserService userService;
1342            @BeanReference(type = UserPersistence.class)
1343            protected UserPersistence userPersistence;
1344            @BeanReference(type = UserFinder.class)
1345            protected UserFinder userFinder;
1346            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
1347            protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
1348            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
1349            protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
1350            @BeanReference(type = AssetCategoryPersistence.class)
1351            protected AssetCategoryPersistence assetCategoryPersistence;
1352            @BeanReference(type = AssetCategoryFinder.class)
1353            protected AssetCategoryFinder assetCategoryFinder;
1354            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryLocalService.class)
1355            protected com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService;
1356            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryService.class)
1357            protected com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService;
1358            @BeanReference(type = BlogsEntryPersistence.class)
1359            protected BlogsEntryPersistence blogsEntryPersistence;
1360            @BeanReference(type = BlogsEntryFinder.class)
1361            protected BlogsEntryFinder blogsEntryFinder;
1362            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1363            protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1364            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1365            protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1366            @BeanReference(type = DLFileEntryPersistence.class)
1367            protected DLFileEntryPersistence dlFileEntryPersistence;
1368            @BeanReference(type = DLFileEntryFinder.class)
1369            protected DLFileEntryFinder dlFileEntryFinder;
1370            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class)
1371            protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService;
1372            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleService.class)
1373            protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService;
1374            @BeanReference(type = JournalArticlePersistence.class)
1375            protected JournalArticlePersistence journalArticlePersistence;
1376            @BeanReference(type = JournalArticleFinder.class)
1377            protected JournalArticleFinder journalArticleFinder;
1378            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
1379            protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService;
1380            @BeanReference(type = JournalArticleResourcePersistence.class)
1381            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1382            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
1383            protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
1384            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
1385            protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
1386            @BeanReference(type = MBMessagePersistence.class)
1387            protected MBMessagePersistence mbMessagePersistence;
1388            @BeanReference(type = MBMessageFinder.class)
1389            protected MBMessageFinder mbMessageFinder;
1390            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1391            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1392            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1393            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1394            @BeanReference(type = SocialActivityPersistence.class)
1395            protected SocialActivityPersistence socialActivityPersistence;
1396            @BeanReference(type = SocialActivityFinder.class)
1397            protected SocialActivityFinder socialActivityFinder;
1398            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityCounterLocalService.class)
1399            protected com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService;
1400            @BeanReference(type = SocialActivityCounterPersistence.class)
1401            protected SocialActivityCounterPersistence socialActivityCounterPersistence;
1402            @BeanReference(type = SocialActivityCounterFinder.class)
1403            protected SocialActivityCounterFinder socialActivityCounterFinder;
1404            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageLocalService.class)
1405            protected com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService;
1406            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageService.class)
1407            protected com.liferay.portlet.wiki.service.WikiPageService wikiPageService;
1408            @BeanReference(type = WikiPagePersistence.class)
1409            protected WikiPagePersistence wikiPagePersistence;
1410            @BeanReference(type = WikiPageFinder.class)
1411            protected WikiPageFinder wikiPageFinder;
1412            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageResourceLocalService.class)
1413            protected com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService;
1414            @BeanReference(type = WikiPageResourcePersistence.class)
1415            protected WikiPageResourcePersistence wikiPageResourcePersistence;
1416            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1417            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1418            @BeanReference(type = AssetLinkPersistence.class)
1419            protected AssetLinkPersistence assetLinkPersistence;
1420            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1421            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1422            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1423            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1424            @BeanReference(type = AssetTagPersistence.class)
1425            protected AssetTagPersistence assetTagPersistence;
1426            @BeanReference(type = AssetTagFinder.class)
1427            protected AssetTagFinder assetTagFinder;
1428            private String _beanIdentifier;
1429    }