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.bookmarks.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.GroupFinder;
027    import com.liferay.portal.service.persistence.GroupPersistence;
028    import com.liferay.portal.service.persistence.SubscriptionPersistence;
029    import com.liferay.portal.service.persistence.UserFinder;
030    import com.liferay.portal.service.persistence.UserPersistence;
031    import com.liferay.portal.util.PortalUtil;
032    
033    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
034    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
035    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
036    import com.liferay.portlet.bookmarks.model.BookmarksFolder;
037    import com.liferay.portlet.bookmarks.service.BookmarksFolderService;
038    import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
039    import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
040    import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderFinder;
041    import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
042    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
043    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
044    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
045    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
046    import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
047    
048    import javax.sql.DataSource;
049    
050    /**
051     * Provides the base implementation for the bookmarks folder remote service.
052     *
053     * <p>
054     * 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.bookmarks.service.impl.BookmarksFolderServiceImpl}.
055     * </p>
056     *
057     * @author Brian Wing Shun Chan
058     * @see com.liferay.portlet.bookmarks.service.impl.BookmarksFolderServiceImpl
059     * @see com.liferay.portlet.bookmarks.service.BookmarksFolderServiceUtil
060     * @generated
061     */
062    public abstract class BookmarksFolderServiceBaseImpl extends BaseServiceImpl
063            implements BookmarksFolderService, IdentifiableBean {
064            /*
065             * NOTE FOR DEVELOPERS:
066             *
067             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.bookmarks.service.BookmarksFolderServiceUtil} to access the bookmarks folder remote service.
068             */
069    
070            /**
071             * Returns the bookmarks entry local service.
072             *
073             * @return the bookmarks entry local service
074             */
075            public com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService() {
076                    return bookmarksEntryLocalService;
077            }
078    
079            /**
080             * Sets the bookmarks entry local service.
081             *
082             * @param bookmarksEntryLocalService the bookmarks entry local service
083             */
084            public void setBookmarksEntryLocalService(
085                    com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService) {
086                    this.bookmarksEntryLocalService = bookmarksEntryLocalService;
087            }
088    
089            /**
090             * Returns the bookmarks entry remote service.
091             *
092             * @return the bookmarks entry remote service
093             */
094            public com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService() {
095                    return bookmarksEntryService;
096            }
097    
098            /**
099             * Sets the bookmarks entry remote service.
100             *
101             * @param bookmarksEntryService the bookmarks entry remote service
102             */
103            public void setBookmarksEntryService(
104                    com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService) {
105                    this.bookmarksEntryService = bookmarksEntryService;
106            }
107    
108            /**
109             * Returns the bookmarks entry persistence.
110             *
111             * @return the bookmarks entry persistence
112             */
113            public BookmarksEntryPersistence getBookmarksEntryPersistence() {
114                    return bookmarksEntryPersistence;
115            }
116    
117            /**
118             * Sets the bookmarks entry persistence.
119             *
120             * @param bookmarksEntryPersistence the bookmarks entry persistence
121             */
122            public void setBookmarksEntryPersistence(
123                    BookmarksEntryPersistence bookmarksEntryPersistence) {
124                    this.bookmarksEntryPersistence = bookmarksEntryPersistence;
125            }
126    
127            /**
128             * Returns the bookmarks entry finder.
129             *
130             * @return the bookmarks entry finder
131             */
132            public BookmarksEntryFinder getBookmarksEntryFinder() {
133                    return bookmarksEntryFinder;
134            }
135    
136            /**
137             * Sets the bookmarks entry finder.
138             *
139             * @param bookmarksEntryFinder the bookmarks entry finder
140             */
141            public void setBookmarksEntryFinder(
142                    BookmarksEntryFinder bookmarksEntryFinder) {
143                    this.bookmarksEntryFinder = bookmarksEntryFinder;
144            }
145    
146            /**
147             * Returns the bookmarks folder local service.
148             *
149             * @return the bookmarks folder local service
150             */
151            public com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService getBookmarksFolderLocalService() {
152                    return bookmarksFolderLocalService;
153            }
154    
155            /**
156             * Sets the bookmarks folder local service.
157             *
158             * @param bookmarksFolderLocalService the bookmarks folder local service
159             */
160            public void setBookmarksFolderLocalService(
161                    com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService) {
162                    this.bookmarksFolderLocalService = bookmarksFolderLocalService;
163            }
164    
165            /**
166             * Returns the bookmarks folder remote service.
167             *
168             * @return the bookmarks folder remote service
169             */
170            public com.liferay.portlet.bookmarks.service.BookmarksFolderService getBookmarksFolderService() {
171                    return bookmarksFolderService;
172            }
173    
174            /**
175             * Sets the bookmarks folder remote service.
176             *
177             * @param bookmarksFolderService the bookmarks folder remote service
178             */
179            public void setBookmarksFolderService(
180                    com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService) {
181                    this.bookmarksFolderService = bookmarksFolderService;
182            }
183    
184            /**
185             * Returns the bookmarks folder persistence.
186             *
187             * @return the bookmarks folder persistence
188             */
189            public BookmarksFolderPersistence getBookmarksFolderPersistence() {
190                    return bookmarksFolderPersistence;
191            }
192    
193            /**
194             * Sets the bookmarks folder persistence.
195             *
196             * @param bookmarksFolderPersistence the bookmarks folder persistence
197             */
198            public void setBookmarksFolderPersistence(
199                    BookmarksFolderPersistence bookmarksFolderPersistence) {
200                    this.bookmarksFolderPersistence = bookmarksFolderPersistence;
201            }
202    
203            /**
204             * Returns the bookmarks folder finder.
205             *
206             * @return the bookmarks folder finder
207             */
208            public BookmarksFolderFinder getBookmarksFolderFinder() {
209                    return bookmarksFolderFinder;
210            }
211    
212            /**
213             * Sets the bookmarks folder finder.
214             *
215             * @param bookmarksFolderFinder the bookmarks folder finder
216             */
217            public void setBookmarksFolderFinder(
218                    BookmarksFolderFinder bookmarksFolderFinder) {
219                    this.bookmarksFolderFinder = bookmarksFolderFinder;
220            }
221    
222            /**
223             * Returns the counter local service.
224             *
225             * @return the counter local service
226             */
227            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
228                    return counterLocalService;
229            }
230    
231            /**
232             * Sets the counter local service.
233             *
234             * @param counterLocalService the counter local service
235             */
236            public void setCounterLocalService(
237                    com.liferay.counter.service.CounterLocalService counterLocalService) {
238                    this.counterLocalService = counterLocalService;
239            }
240    
241            /**
242             * Returns the class name local service.
243             *
244             * @return the class name local service
245             */
246            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
247                    return classNameLocalService;
248            }
249    
250            /**
251             * Sets the class name local service.
252             *
253             * @param classNameLocalService the class name local service
254             */
255            public void setClassNameLocalService(
256                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
257                    this.classNameLocalService = classNameLocalService;
258            }
259    
260            /**
261             * Returns the class name remote service.
262             *
263             * @return the class name remote service
264             */
265            public com.liferay.portal.service.ClassNameService getClassNameService() {
266                    return classNameService;
267            }
268    
269            /**
270             * Sets the class name remote service.
271             *
272             * @param classNameService the class name remote service
273             */
274            public void setClassNameService(
275                    com.liferay.portal.service.ClassNameService classNameService) {
276                    this.classNameService = classNameService;
277            }
278    
279            /**
280             * Returns the class name persistence.
281             *
282             * @return the class name persistence
283             */
284            public ClassNamePersistence getClassNamePersistence() {
285                    return classNamePersistence;
286            }
287    
288            /**
289             * Sets the class name persistence.
290             *
291             * @param classNamePersistence the class name persistence
292             */
293            public void setClassNamePersistence(
294                    ClassNamePersistence classNamePersistence) {
295                    this.classNamePersistence = classNamePersistence;
296            }
297    
298            /**
299             * Returns the group local service.
300             *
301             * @return the group local service
302             */
303            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
304                    return groupLocalService;
305            }
306    
307            /**
308             * Sets the group local service.
309             *
310             * @param groupLocalService the group local service
311             */
312            public void setGroupLocalService(
313                    com.liferay.portal.service.GroupLocalService groupLocalService) {
314                    this.groupLocalService = groupLocalService;
315            }
316    
317            /**
318             * Returns the group remote service.
319             *
320             * @return the group remote service
321             */
322            public com.liferay.portal.service.GroupService getGroupService() {
323                    return groupService;
324            }
325    
326            /**
327             * Sets the group remote service.
328             *
329             * @param groupService the group remote service
330             */
331            public void setGroupService(
332                    com.liferay.portal.service.GroupService groupService) {
333                    this.groupService = groupService;
334            }
335    
336            /**
337             * Returns the group persistence.
338             *
339             * @return the group persistence
340             */
341            public GroupPersistence getGroupPersistence() {
342                    return groupPersistence;
343            }
344    
345            /**
346             * Sets the group persistence.
347             *
348             * @param groupPersistence the group persistence
349             */
350            public void setGroupPersistence(GroupPersistence groupPersistence) {
351                    this.groupPersistence = groupPersistence;
352            }
353    
354            /**
355             * Returns the group finder.
356             *
357             * @return the group finder
358             */
359            public GroupFinder getGroupFinder() {
360                    return groupFinder;
361            }
362    
363            /**
364             * Sets the group finder.
365             *
366             * @param groupFinder the group finder
367             */
368            public void setGroupFinder(GroupFinder groupFinder) {
369                    this.groupFinder = groupFinder;
370            }
371    
372            /**
373             * Returns the resource local service.
374             *
375             * @return the resource local service
376             */
377            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
378                    return resourceLocalService;
379            }
380    
381            /**
382             * Sets the resource local service.
383             *
384             * @param resourceLocalService the resource local service
385             */
386            public void setResourceLocalService(
387                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
388                    this.resourceLocalService = resourceLocalService;
389            }
390    
391            /**
392             * Returns the subscription local service.
393             *
394             * @return the subscription local service
395             */
396            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
397                    return subscriptionLocalService;
398            }
399    
400            /**
401             * Sets the subscription local service.
402             *
403             * @param subscriptionLocalService the subscription local service
404             */
405            public void setSubscriptionLocalService(
406                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
407                    this.subscriptionLocalService = subscriptionLocalService;
408            }
409    
410            /**
411             * Returns the subscription persistence.
412             *
413             * @return the subscription persistence
414             */
415            public SubscriptionPersistence getSubscriptionPersistence() {
416                    return subscriptionPersistence;
417            }
418    
419            /**
420             * Sets the subscription persistence.
421             *
422             * @param subscriptionPersistence the subscription persistence
423             */
424            public void setSubscriptionPersistence(
425                    SubscriptionPersistence subscriptionPersistence) {
426                    this.subscriptionPersistence = subscriptionPersistence;
427            }
428    
429            /**
430             * Returns the user local service.
431             *
432             * @return the user local service
433             */
434            public com.liferay.portal.service.UserLocalService getUserLocalService() {
435                    return userLocalService;
436            }
437    
438            /**
439             * Sets the user local service.
440             *
441             * @param userLocalService the user local service
442             */
443            public void setUserLocalService(
444                    com.liferay.portal.service.UserLocalService userLocalService) {
445                    this.userLocalService = userLocalService;
446            }
447    
448            /**
449             * Returns the user remote service.
450             *
451             * @return the user remote service
452             */
453            public com.liferay.portal.service.UserService getUserService() {
454                    return userService;
455            }
456    
457            /**
458             * Sets the user remote service.
459             *
460             * @param userService the user remote service
461             */
462            public void setUserService(
463                    com.liferay.portal.service.UserService userService) {
464                    this.userService = userService;
465            }
466    
467            /**
468             * Returns the user persistence.
469             *
470             * @return the user persistence
471             */
472            public UserPersistence getUserPersistence() {
473                    return userPersistence;
474            }
475    
476            /**
477             * Sets the user persistence.
478             *
479             * @param userPersistence the user persistence
480             */
481            public void setUserPersistence(UserPersistence userPersistence) {
482                    this.userPersistence = userPersistence;
483            }
484    
485            /**
486             * Returns the user finder.
487             *
488             * @return the user finder
489             */
490            public UserFinder getUserFinder() {
491                    return userFinder;
492            }
493    
494            /**
495             * Sets the user finder.
496             *
497             * @param userFinder the user finder
498             */
499            public void setUserFinder(UserFinder userFinder) {
500                    this.userFinder = userFinder;
501            }
502    
503            /**
504             * Returns the asset entry local service.
505             *
506             * @return the asset entry local service
507             */
508            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
509                    return assetEntryLocalService;
510            }
511    
512            /**
513             * Sets the asset entry local service.
514             *
515             * @param assetEntryLocalService the asset entry local service
516             */
517            public void setAssetEntryLocalService(
518                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
519                    this.assetEntryLocalService = assetEntryLocalService;
520            }
521    
522            /**
523             * Returns the asset entry remote service.
524             *
525             * @return the asset entry remote service
526             */
527            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
528                    return assetEntryService;
529            }
530    
531            /**
532             * Sets the asset entry remote service.
533             *
534             * @param assetEntryService the asset entry remote service
535             */
536            public void setAssetEntryService(
537                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
538                    this.assetEntryService = assetEntryService;
539            }
540    
541            /**
542             * Returns the asset entry persistence.
543             *
544             * @return the asset entry persistence
545             */
546            public AssetEntryPersistence getAssetEntryPersistence() {
547                    return assetEntryPersistence;
548            }
549    
550            /**
551             * Sets the asset entry persistence.
552             *
553             * @param assetEntryPersistence the asset entry persistence
554             */
555            public void setAssetEntryPersistence(
556                    AssetEntryPersistence assetEntryPersistence) {
557                    this.assetEntryPersistence = assetEntryPersistence;
558            }
559    
560            /**
561             * Returns the asset entry finder.
562             *
563             * @return the asset entry finder
564             */
565            public AssetEntryFinder getAssetEntryFinder() {
566                    return assetEntryFinder;
567            }
568    
569            /**
570             * Sets the asset entry finder.
571             *
572             * @param assetEntryFinder the asset entry finder
573             */
574            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
575                    this.assetEntryFinder = assetEntryFinder;
576            }
577    
578            /**
579             * Returns the asset link local service.
580             *
581             * @return the asset link local service
582             */
583            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
584                    return assetLinkLocalService;
585            }
586    
587            /**
588             * Sets the asset link local service.
589             *
590             * @param assetLinkLocalService the asset link local service
591             */
592            public void setAssetLinkLocalService(
593                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
594                    this.assetLinkLocalService = assetLinkLocalService;
595            }
596    
597            /**
598             * Returns the asset link persistence.
599             *
600             * @return the asset link persistence
601             */
602            public AssetLinkPersistence getAssetLinkPersistence() {
603                    return assetLinkPersistence;
604            }
605    
606            /**
607             * Sets the asset link persistence.
608             *
609             * @param assetLinkPersistence the asset link persistence
610             */
611            public void setAssetLinkPersistence(
612                    AssetLinkPersistence assetLinkPersistence) {
613                    this.assetLinkPersistence = assetLinkPersistence;
614            }
615    
616            /**
617             * Returns the expando row local service.
618             *
619             * @return the expando row local service
620             */
621            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
622                    return expandoRowLocalService;
623            }
624    
625            /**
626             * Sets the expando row local service.
627             *
628             * @param expandoRowLocalService the expando row local service
629             */
630            public void setExpandoRowLocalService(
631                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
632                    this.expandoRowLocalService = expandoRowLocalService;
633            }
634    
635            /**
636             * Returns the expando row persistence.
637             *
638             * @return the expando row persistence
639             */
640            public ExpandoRowPersistence getExpandoRowPersistence() {
641                    return expandoRowPersistence;
642            }
643    
644            /**
645             * Sets the expando row persistence.
646             *
647             * @param expandoRowPersistence the expando row persistence
648             */
649            public void setExpandoRowPersistence(
650                    ExpandoRowPersistence expandoRowPersistence) {
651                    this.expandoRowPersistence = expandoRowPersistence;
652            }
653    
654            /**
655             * Returns the social activity local service.
656             *
657             * @return the social activity local service
658             */
659            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
660                    return socialActivityLocalService;
661            }
662    
663            /**
664             * Sets the social activity local service.
665             *
666             * @param socialActivityLocalService the social activity local service
667             */
668            public void setSocialActivityLocalService(
669                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
670                    this.socialActivityLocalService = socialActivityLocalService;
671            }
672    
673            /**
674             * Returns the social activity remote service.
675             *
676             * @return the social activity remote service
677             */
678            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
679                    return socialActivityService;
680            }
681    
682            /**
683             * Sets the social activity remote service.
684             *
685             * @param socialActivityService the social activity remote service
686             */
687            public void setSocialActivityService(
688                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
689                    this.socialActivityService = socialActivityService;
690            }
691    
692            /**
693             * Returns the social activity persistence.
694             *
695             * @return the social activity persistence
696             */
697            public SocialActivityPersistence getSocialActivityPersistence() {
698                    return socialActivityPersistence;
699            }
700    
701            /**
702             * Sets the social activity persistence.
703             *
704             * @param socialActivityPersistence the social activity persistence
705             */
706            public void setSocialActivityPersistence(
707                    SocialActivityPersistence socialActivityPersistence) {
708                    this.socialActivityPersistence = socialActivityPersistence;
709            }
710    
711            /**
712             * Returns the social activity finder.
713             *
714             * @return the social activity finder
715             */
716            public SocialActivityFinder getSocialActivityFinder() {
717                    return socialActivityFinder;
718            }
719    
720            /**
721             * Sets the social activity finder.
722             *
723             * @param socialActivityFinder the social activity finder
724             */
725            public void setSocialActivityFinder(
726                    SocialActivityFinder socialActivityFinder) {
727                    this.socialActivityFinder = socialActivityFinder;
728            }
729    
730            /**
731             * Returns the trash entry local service.
732             *
733             * @return the trash entry local service
734             */
735            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
736                    return trashEntryLocalService;
737            }
738    
739            /**
740             * Sets the trash entry local service.
741             *
742             * @param trashEntryLocalService the trash entry local service
743             */
744            public void setTrashEntryLocalService(
745                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
746                    this.trashEntryLocalService = trashEntryLocalService;
747            }
748    
749            /**
750             * Returns the trash entry remote service.
751             *
752             * @return the trash entry remote service
753             */
754            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
755                    return trashEntryService;
756            }
757    
758            /**
759             * Sets the trash entry remote service.
760             *
761             * @param trashEntryService the trash entry remote service
762             */
763            public void setTrashEntryService(
764                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
765                    this.trashEntryService = trashEntryService;
766            }
767    
768            /**
769             * Returns the trash entry persistence.
770             *
771             * @return the trash entry persistence
772             */
773            public TrashEntryPersistence getTrashEntryPersistence() {
774                    return trashEntryPersistence;
775            }
776    
777            /**
778             * Sets the trash entry persistence.
779             *
780             * @param trashEntryPersistence the trash entry persistence
781             */
782            public void setTrashEntryPersistence(
783                    TrashEntryPersistence trashEntryPersistence) {
784                    this.trashEntryPersistence = trashEntryPersistence;
785            }
786    
787            /**
788             * Returns the trash version local service.
789             *
790             * @return the trash version local service
791             */
792            public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
793                    return trashVersionLocalService;
794            }
795    
796            /**
797             * Sets the trash version local service.
798             *
799             * @param trashVersionLocalService the trash version local service
800             */
801            public void setTrashVersionLocalService(
802                    com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
803                    this.trashVersionLocalService = trashVersionLocalService;
804            }
805    
806            /**
807             * Returns the trash version persistence.
808             *
809             * @return the trash version persistence
810             */
811            public TrashVersionPersistence getTrashVersionPersistence() {
812                    return trashVersionPersistence;
813            }
814    
815            /**
816             * Sets the trash version persistence.
817             *
818             * @param trashVersionPersistence the trash version persistence
819             */
820            public void setTrashVersionPersistence(
821                    TrashVersionPersistence trashVersionPersistence) {
822                    this.trashVersionPersistence = trashVersionPersistence;
823            }
824    
825            public void afterPropertiesSet() {
826            }
827    
828            public void destroy() {
829            }
830    
831            /**
832             * Returns the Spring bean ID for this bean.
833             *
834             * @return the Spring bean ID for this bean
835             */
836            @Override
837            public String getBeanIdentifier() {
838                    return _beanIdentifier;
839            }
840    
841            /**
842             * Sets the Spring bean ID for this bean.
843             *
844             * @param beanIdentifier the Spring bean ID for this bean
845             */
846            @Override
847            public void setBeanIdentifier(String beanIdentifier) {
848                    _beanIdentifier = beanIdentifier;
849            }
850    
851            protected Class<?> getModelClass() {
852                    return BookmarksFolder.class;
853            }
854    
855            protected String getModelClassName() {
856                    return BookmarksFolder.class.getName();
857            }
858    
859            /**
860             * Performs a SQL query.
861             *
862             * @param sql the sql query
863             */
864            protected void runSQL(String sql) {
865                    try {
866                            DataSource dataSource = bookmarksFolderPersistence.getDataSource();
867    
868                            DB db = DBFactoryUtil.getDB();
869    
870                            sql = db.buildSQL(sql);
871                            sql = PortalUtil.transformSQL(sql);
872    
873                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
874                                            sql, new int[0]);
875    
876                            sqlUpdate.update();
877                    }
878                    catch (Exception e) {
879                            throw new SystemException(e);
880                    }
881            }
882    
883            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.class)
884            protected com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService;
885            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryService.class)
886            protected com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService;
887            @BeanReference(type = BookmarksEntryPersistence.class)
888            protected BookmarksEntryPersistence bookmarksEntryPersistence;
889            @BeanReference(type = BookmarksEntryFinder.class)
890            protected BookmarksEntryFinder bookmarksEntryFinder;
891            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService.class)
892            protected com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService;
893            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderService.class)
894            protected com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService;
895            @BeanReference(type = BookmarksFolderPersistence.class)
896            protected BookmarksFolderPersistence bookmarksFolderPersistence;
897            @BeanReference(type = BookmarksFolderFinder.class)
898            protected BookmarksFolderFinder bookmarksFolderFinder;
899            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
900            protected com.liferay.counter.service.CounterLocalService counterLocalService;
901            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
902            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
903            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
904            protected com.liferay.portal.service.ClassNameService classNameService;
905            @BeanReference(type = ClassNamePersistence.class)
906            protected ClassNamePersistence classNamePersistence;
907            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
908            protected com.liferay.portal.service.GroupLocalService groupLocalService;
909            @BeanReference(type = com.liferay.portal.service.GroupService.class)
910            protected com.liferay.portal.service.GroupService groupService;
911            @BeanReference(type = GroupPersistence.class)
912            protected GroupPersistence groupPersistence;
913            @BeanReference(type = GroupFinder.class)
914            protected GroupFinder groupFinder;
915            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
916            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
917            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
918            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
919            @BeanReference(type = SubscriptionPersistence.class)
920            protected SubscriptionPersistence subscriptionPersistence;
921            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
922            protected com.liferay.portal.service.UserLocalService userLocalService;
923            @BeanReference(type = com.liferay.portal.service.UserService.class)
924            protected com.liferay.portal.service.UserService userService;
925            @BeanReference(type = UserPersistence.class)
926            protected UserPersistence userPersistence;
927            @BeanReference(type = UserFinder.class)
928            protected UserFinder userFinder;
929            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
930            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
931            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
932            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
933            @BeanReference(type = AssetEntryPersistence.class)
934            protected AssetEntryPersistence assetEntryPersistence;
935            @BeanReference(type = AssetEntryFinder.class)
936            protected AssetEntryFinder assetEntryFinder;
937            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
938            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
939            @BeanReference(type = AssetLinkPersistence.class)
940            protected AssetLinkPersistence assetLinkPersistence;
941            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
942            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
943            @BeanReference(type = ExpandoRowPersistence.class)
944            protected ExpandoRowPersistence expandoRowPersistence;
945            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
946            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
947            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
948            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
949            @BeanReference(type = SocialActivityPersistence.class)
950            protected SocialActivityPersistence socialActivityPersistence;
951            @BeanReference(type = SocialActivityFinder.class)
952            protected SocialActivityFinder socialActivityFinder;
953            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
954            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
955            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
956            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
957            @BeanReference(type = TrashEntryPersistence.class)
958            protected TrashEntryPersistence trashEntryPersistence;
959            @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
960            protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
961            @BeanReference(type = TrashVersionPersistence.class)
962            protected TrashVersionPersistence trashVersionPersistence;
963            private String _beanIdentifier;
964    }