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