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