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