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