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