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