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