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