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