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