001    /**
002     * Copyright (c) 2000-present 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.journal.service.base;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
029    import com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery;
030    import com.liferay.portal.kernel.dao.orm.Projection;
031    import com.liferay.portal.kernel.dao.orm.ProjectionFactoryUtil;
032    import com.liferay.portal.kernel.dao.orm.Property;
033    import com.liferay.portal.kernel.dao.orm.PropertyFactoryUtil;
034    import com.liferay.portal.kernel.exception.PortalException;
035    import com.liferay.portal.kernel.exception.SystemException;
036    import com.liferay.portal.kernel.lar.ExportImportHelperUtil;
037    import com.liferay.portal.kernel.lar.ManifestSummary;
038    import com.liferay.portal.kernel.lar.PortletDataContext;
039    import com.liferay.portal.kernel.lar.StagedModelDataHandler;
040    import com.liferay.portal.kernel.lar.StagedModelDataHandlerRegistryUtil;
041    import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil;
042    import com.liferay.portal.kernel.lar.StagedModelType;
043    import com.liferay.portal.kernel.search.Indexable;
044    import com.liferay.portal.kernel.search.IndexableType;
045    import com.liferay.portal.kernel.util.OrderByComparator;
046    import com.liferay.portal.model.PersistedModel;
047    import com.liferay.portal.service.BaseLocalServiceImpl;
048    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
049    import com.liferay.portal.service.persistence.ClassNamePersistence;
050    import com.liferay.portal.service.persistence.CompanyPersistence;
051    import com.liferay.portal.service.persistence.GroupFinder;
052    import com.liferay.portal.service.persistence.GroupPersistence;
053    import com.liferay.portal.service.persistence.ImagePersistence;
054    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
055    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
056    import com.liferay.portal.service.persistence.SubscriptionPersistence;
057    import com.liferay.portal.service.persistence.SystemEventPersistence;
058    import com.liferay.portal.service.persistence.UserFinder;
059    import com.liferay.portal.service.persistence.UserPersistence;
060    import com.liferay.portal.service.persistence.WorkflowDefinitionLinkPersistence;
061    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
062    import com.liferay.portal.util.PortalUtil;
063    
064    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
065    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
066    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
067    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
068    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
069    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
070    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
071    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructureFinder;
072    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMStructurePersistence;
073    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplateFinder;
074    import com.liferay.portlet.dynamicdatamapping.service.persistence.DDMTemplatePersistence;
075    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
076    import com.liferay.portlet.journal.model.JournalArticle;
077    import com.liferay.portlet.journal.service.JournalArticleLocalService;
078    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
079    import com.liferay.portlet.journal.service.persistence.JournalArticleImagePersistence;
080    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
081    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
082    import com.liferay.portlet.journal.service.persistence.JournalContentSearchPersistence;
083    import com.liferay.portlet.journal.service.persistence.JournalFolderFinder;
084    import com.liferay.portlet.journal.service.persistence.JournalFolderPersistence;
085    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
086    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
087    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
088    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
089    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
090    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
091    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
092    import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
093    
094    import java.io.Serializable;
095    
096    import java.util.List;
097    
098    import javax.sql.DataSource;
099    
100    /**
101     * Provides the base implementation for the journal article local service.
102     *
103     * <p>
104     * 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.journal.service.impl.JournalArticleLocalServiceImpl}.
105     * </p>
106     *
107     * @author Brian Wing Shun Chan
108     * @see com.liferay.portlet.journal.service.impl.JournalArticleLocalServiceImpl
109     * @see com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil
110     * @generated
111     */
112    @ProviderType
113    public abstract class JournalArticleLocalServiceBaseImpl
114            extends BaseLocalServiceImpl implements JournalArticleLocalService,
115                    IdentifiableBean {
116            /*
117             * NOTE FOR DEVELOPERS:
118             *
119             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil} to access the journal article local service.
120             */
121    
122            /**
123             * Adds the journal article to the database. Also notifies the appropriate model listeners.
124             *
125             * @param journalArticle the journal article
126             * @return the journal article that was added
127             */
128            @Indexable(type = IndexableType.REINDEX)
129            @Override
130            public JournalArticle addJournalArticle(JournalArticle journalArticle) {
131                    journalArticle.setNew(true);
132    
133                    return journalArticlePersistence.update(journalArticle);
134            }
135    
136            /**
137             * Creates a new journal article with the primary key. Does not add the journal article to the database.
138             *
139             * @param id the primary key for the new journal article
140             * @return the new journal article
141             */
142            @Override
143            public JournalArticle createJournalArticle(long id) {
144                    return journalArticlePersistence.create(id);
145            }
146    
147            /**
148             * Deletes the journal article with the primary key from the database. Also notifies the appropriate model listeners.
149             *
150             * @param id the primary key of the journal article
151             * @return the journal article that was removed
152             * @throws PortalException if a journal article with the primary key could not be found
153             */
154            @Indexable(type = IndexableType.DELETE)
155            @Override
156            public JournalArticle deleteJournalArticle(long id)
157                    throws PortalException {
158                    return journalArticlePersistence.remove(id);
159            }
160    
161            /**
162             * Deletes the journal article from the database. Also notifies the appropriate model listeners.
163             *
164             * @param journalArticle the journal article
165             * @return the journal article that was removed
166             */
167            @Indexable(type = IndexableType.DELETE)
168            @Override
169            public JournalArticle deleteJournalArticle(JournalArticle journalArticle) {
170                    return journalArticlePersistence.remove(journalArticle);
171            }
172    
173            @Override
174            public DynamicQuery dynamicQuery() {
175                    Class<?> clazz = getClass();
176    
177                    return DynamicQueryFactoryUtil.forClass(JournalArticle.class,
178                            clazz.getClassLoader());
179            }
180    
181            /**
182             * Performs a dynamic query on the database and returns the matching rows.
183             *
184             * @param dynamicQuery the dynamic query
185             * @return the matching rows
186             */
187            @Override
188            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
189                    return journalArticlePersistence.findWithDynamicQuery(dynamicQuery);
190            }
191    
192            /**
193             * Performs a dynamic query on the database and returns a range of the matching rows.
194             *
195             * <p>
196             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
197             * </p>
198             *
199             * @param dynamicQuery the dynamic query
200             * @param start the lower bound of the range of model instances
201             * @param end the upper bound of the range of model instances (not inclusive)
202             * @return the range of matching rows
203             */
204            @Override
205            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
206                    int end) {
207                    return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
208                            start, end);
209            }
210    
211            /**
212             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
213             *
214             * <p>
215             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.journal.model.impl.JournalArticleModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
216             * </p>
217             *
218             * @param dynamicQuery the dynamic query
219             * @param start the lower bound of the range of model instances
220             * @param end the upper bound of the range of model instances (not inclusive)
221             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
222             * @return the ordered range of matching rows
223             */
224            @Override
225            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
226                    int end, OrderByComparator<T> orderByComparator) {
227                    return journalArticlePersistence.findWithDynamicQuery(dynamicQuery,
228                            start, end, orderByComparator);
229            }
230    
231            /**
232             * Returns the number of rows that match the dynamic query.
233             *
234             * @param dynamicQuery the dynamic query
235             * @return the number of rows that match the dynamic query
236             */
237            @Override
238            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
239                    return journalArticlePersistence.countWithDynamicQuery(dynamicQuery);
240            }
241    
242            /**
243             * Returns the number of rows that match the dynamic query.
244             *
245             * @param dynamicQuery the dynamic query
246             * @param projection the projection to apply to the query
247             * @return the number of rows that match the dynamic query
248             */
249            @Override
250            public long dynamicQueryCount(DynamicQuery dynamicQuery,
251                    Projection projection) {
252                    return journalArticlePersistence.countWithDynamicQuery(dynamicQuery,
253                            projection);
254            }
255    
256            @Override
257            public JournalArticle fetchJournalArticle(long id) {
258                    return journalArticlePersistence.fetchByPrimaryKey(id);
259            }
260    
261            /**
262             * Returns the journal article matching the UUID and group.
263             *
264             * @param uuid the journal article's UUID
265             * @param groupId the primary key of the group
266             * @return the matching journal article, or <code>null</code> if a matching journal article could not be found
267             */
268            @Override
269            public JournalArticle fetchJournalArticleByUuidAndGroupId(String uuid,
270                    long groupId) {
271                    return journalArticlePersistence.fetchByUUID_G(uuid, groupId);
272            }
273    
274            /**
275             * Returns the journal article with the primary key.
276             *
277             * @param id the primary key of the journal article
278             * @return the journal article
279             * @throws PortalException if a journal article with the primary key could not be found
280             */
281            @Override
282            public JournalArticle getJournalArticle(long id) throws PortalException {
283                    return journalArticlePersistence.findByPrimaryKey(id);
284            }
285    
286            @Override
287            public ActionableDynamicQuery getActionableDynamicQuery() {
288                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
289    
290                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.getService());
291                    actionableDynamicQuery.setClass(JournalArticle.class);
292                    actionableDynamicQuery.setClassLoader(getClassLoader());
293    
294                    actionableDynamicQuery.setPrimaryKeyPropertyName("id");
295    
296                    return actionableDynamicQuery;
297            }
298    
299            protected void initActionableDynamicQuery(
300                    ActionableDynamicQuery actionableDynamicQuery) {
301                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.journal.service.JournalArticleLocalServiceUtil.getService());
302                    actionableDynamicQuery.setClass(JournalArticle.class);
303                    actionableDynamicQuery.setClassLoader(getClassLoader());
304    
305                    actionableDynamicQuery.setPrimaryKeyPropertyName("id");
306            }
307    
308            @Override
309            public ExportActionableDynamicQuery getExportActionableDynamicQuery(
310                    final PortletDataContext portletDataContext) {
311                    final ExportActionableDynamicQuery exportActionableDynamicQuery = new ExportActionableDynamicQuery() {
312                                    @Override
313                                    public long performCount() throws PortalException {
314                                            ManifestSummary manifestSummary = portletDataContext.getManifestSummary();
315    
316                                            StagedModelType stagedModelType = getStagedModelType();
317    
318                                            long modelAdditionCount = super.performCount();
319    
320                                            manifestSummary.addModelAdditionCount(stagedModelType.toString(),
321                                                    modelAdditionCount);
322    
323                                            long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(portletDataContext,
324                                                            stagedModelType);
325    
326                                            manifestSummary.addModelDeletionCount(stagedModelType.toString(),
327                                                    modelDeletionCount);
328    
329                                            return modelAdditionCount;
330                                    }
331    
332                                    @Override
333                                    protected Projection getCountProjection() {
334                                            return ProjectionFactoryUtil.countDistinct(
335                                                    "resourcePrimKey");
336                                    }
337                            };
338    
339                    initActionableDynamicQuery(exportActionableDynamicQuery);
340    
341                    exportActionableDynamicQuery.setAddCriteriaMethod(new ActionableDynamicQuery.AddCriteriaMethod() {
342                                    @Override
343                                    public void addCriteria(DynamicQuery dynamicQuery) {
344                                            portletDataContext.addDateRangeCriteria(dynamicQuery,
345                                                    "modifiedDate");
346    
347                                            StagedModelType stagedModelType = exportActionableDynamicQuery.getStagedModelType();
348    
349                                            if (stagedModelType.getReferrerClassNameId() >= 0) {
350                                                    Property classNameIdProperty = PropertyFactoryUtil.forName(
351                                                                    "classNameId");
352    
353                                                    dynamicQuery.add(classNameIdProperty.eq(
354                                                                    stagedModelType.getReferrerClassNameId()));
355                                            }
356    
357                                            StagedModelDataHandler<?> stagedModelDataHandler = StagedModelDataHandlerRegistryUtil.getStagedModelDataHandler(JournalArticle.class.getName());
358    
359                                            Property workflowStatusProperty = PropertyFactoryUtil.forName(
360                                                            "status");
361    
362                                            dynamicQuery.add(workflowStatusProperty.in(
363                                                            stagedModelDataHandler.getExportableStatuses()));
364                                    }
365                            });
366    
367                    exportActionableDynamicQuery.setCompanyId(portletDataContext.getCompanyId());
368    
369                    exportActionableDynamicQuery.setGroupId(portletDataContext.getScopeGroupId());
370    
371                    exportActionableDynamicQuery.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod() {
372                                    @Override
373                                    public void performAction(Object object)
374                                            throws PortalException {
375                                            JournalArticle stagedModel = (JournalArticle)object;
376    
377                                            StagedModelDataHandlerUtil.exportStagedModel(portletDataContext,
378                                                    stagedModel);
379                                    }
380                            });
381                    exportActionableDynamicQuery.setStagedModelType(new StagedModelType(
382                                    PortalUtil.getClassNameId(JournalArticle.class.getName())));
383    
384                    return exportActionableDynamicQuery;
385            }
386    
387            /**
388             * @throws PortalException
389             */
390            @Override
391            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
392                    throws PortalException {
393                    return journalArticleLocalService.deleteJournalArticle((JournalArticle)persistedModel);
394            }
395    
396            @Override
397            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
398                    throws PortalException {
399                    return journalArticlePersistence.findByPrimaryKey(primaryKeyObj);
400            }
401    
402            @Override
403            public List<JournalArticle> getJournalArticlesByUuidAndCompanyId(
404                    String uuid, long companyId) {
405                    return journalArticlePersistence.findByUuid_C(uuid, companyId);
406            }
407    
408            @Override
409            public List<JournalArticle> getJournalArticlesByUuidAndCompanyId(
410                    String uuid, long companyId, int start, int end,
411                    OrderByComparator<JournalArticle> orderByComparator) {
412                    return journalArticlePersistence.findByUuid_C(uuid, companyId, start,
413                            end, orderByComparator);
414            }
415    
416            /**
417             * Returns the journal article matching the UUID and group.
418             *
419             * @param uuid the journal article's UUID
420             * @param groupId the primary key of the group
421             * @return the matching journal article
422             * @throws PortalException if a matching journal article could not be found
423             */
424            @Override
425            public JournalArticle getJournalArticleByUuidAndGroupId(String uuid,
426                    long groupId) throws PortalException {
427                    return journalArticlePersistence.findByUUID_G(uuid, groupId);
428            }
429    
430            /**
431             * Returns a range of all the journal articles.
432             *
433             * <p>
434             * 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.journal.model.impl.JournalArticleModelImpl}. 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.
435             * </p>
436             *
437             * @param start the lower bound of the range of journal articles
438             * @param end the upper bound of the range of journal articles (not inclusive)
439             * @return the range of journal articles
440             */
441            @Override
442            public List<JournalArticle> getJournalArticles(int start, int end) {
443                    return journalArticlePersistence.findAll(start, end);
444            }
445    
446            /**
447             * Returns the number of journal articles.
448             *
449             * @return the number of journal articles
450             */
451            @Override
452            public int getJournalArticlesCount() {
453                    return journalArticlePersistence.countAll();
454            }
455    
456            /**
457             * Updates the journal article in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
458             *
459             * @param journalArticle the journal article
460             * @return the journal article that was updated
461             */
462            @Indexable(type = IndexableType.REINDEX)
463            @Override
464            public JournalArticle updateJournalArticle(JournalArticle journalArticle) {
465                    return journalArticlePersistence.update(journalArticle);
466            }
467    
468            /**
469             * Returns the journal article local service.
470             *
471             * @return the journal article local service
472             */
473            public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService() {
474                    return journalArticleLocalService;
475            }
476    
477            /**
478             * Sets the journal article local service.
479             *
480             * @param journalArticleLocalService the journal article local service
481             */
482            public void setJournalArticleLocalService(
483                    com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService) {
484                    this.journalArticleLocalService = journalArticleLocalService;
485            }
486    
487            /**
488             * Returns the journal article remote service.
489             *
490             * @return the journal article remote service
491             */
492            public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService() {
493                    return journalArticleService;
494            }
495    
496            /**
497             * Sets the journal article remote service.
498             *
499             * @param journalArticleService the journal article remote service
500             */
501            public void setJournalArticleService(
502                    com.liferay.portlet.journal.service.JournalArticleService journalArticleService) {
503                    this.journalArticleService = journalArticleService;
504            }
505    
506            /**
507             * Returns the journal article persistence.
508             *
509             * @return the journal article persistence
510             */
511            public JournalArticlePersistence getJournalArticlePersistence() {
512                    return journalArticlePersistence;
513            }
514    
515            /**
516             * Sets the journal article persistence.
517             *
518             * @param journalArticlePersistence the journal article persistence
519             */
520            public void setJournalArticlePersistence(
521                    JournalArticlePersistence journalArticlePersistence) {
522                    this.journalArticlePersistence = journalArticlePersistence;
523            }
524    
525            /**
526             * Returns the journal article finder.
527             *
528             * @return the journal article finder
529             */
530            public JournalArticleFinder getJournalArticleFinder() {
531                    return journalArticleFinder;
532            }
533    
534            /**
535             * Sets the journal article finder.
536             *
537             * @param journalArticleFinder the journal article finder
538             */
539            public void setJournalArticleFinder(
540                    JournalArticleFinder journalArticleFinder) {
541                    this.journalArticleFinder = journalArticleFinder;
542            }
543    
544            /**
545             * Returns the counter local service.
546             *
547             * @return the counter local service
548             */
549            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
550                    return counterLocalService;
551            }
552    
553            /**
554             * Sets the counter local service.
555             *
556             * @param counterLocalService the counter local service
557             */
558            public void setCounterLocalService(
559                    com.liferay.counter.service.CounterLocalService counterLocalService) {
560                    this.counterLocalService = counterLocalService;
561            }
562    
563            /**
564             * Returns the mail remote service.
565             *
566             * @return the mail remote service
567             */
568            public com.liferay.mail.service.MailService getMailService() {
569                    return mailService;
570            }
571    
572            /**
573             * Sets the mail remote service.
574             *
575             * @param mailService the mail remote service
576             */
577            public void setMailService(com.liferay.mail.service.MailService mailService) {
578                    this.mailService = mailService;
579            }
580    
581            /**
582             * Returns the class name local service.
583             *
584             * @return the class name local service
585             */
586            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
587                    return classNameLocalService;
588            }
589    
590            /**
591             * Sets the class name local service.
592             *
593             * @param classNameLocalService the class name local service
594             */
595            public void setClassNameLocalService(
596                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
597                    this.classNameLocalService = classNameLocalService;
598            }
599    
600            /**
601             * Returns the class name remote service.
602             *
603             * @return the class name remote service
604             */
605            public com.liferay.portal.service.ClassNameService getClassNameService() {
606                    return classNameService;
607            }
608    
609            /**
610             * Sets the class name remote service.
611             *
612             * @param classNameService the class name remote service
613             */
614            public void setClassNameService(
615                    com.liferay.portal.service.ClassNameService classNameService) {
616                    this.classNameService = classNameService;
617            }
618    
619            /**
620             * Returns the class name persistence.
621             *
622             * @return the class name persistence
623             */
624            public ClassNamePersistence getClassNamePersistence() {
625                    return classNamePersistence;
626            }
627    
628            /**
629             * Sets the class name persistence.
630             *
631             * @param classNamePersistence the class name persistence
632             */
633            public void setClassNamePersistence(
634                    ClassNamePersistence classNamePersistence) {
635                    this.classNamePersistence = classNamePersistence;
636            }
637    
638            /**
639             * Returns the company local service.
640             *
641             * @return the company local service
642             */
643            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
644                    return companyLocalService;
645            }
646    
647            /**
648             * Sets the company local service.
649             *
650             * @param companyLocalService the company local service
651             */
652            public void setCompanyLocalService(
653                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
654                    this.companyLocalService = companyLocalService;
655            }
656    
657            /**
658             * Returns the company remote service.
659             *
660             * @return the company remote service
661             */
662            public com.liferay.portal.service.CompanyService getCompanyService() {
663                    return companyService;
664            }
665    
666            /**
667             * Sets the company remote service.
668             *
669             * @param companyService the company remote service
670             */
671            public void setCompanyService(
672                    com.liferay.portal.service.CompanyService companyService) {
673                    this.companyService = companyService;
674            }
675    
676            /**
677             * Returns the company persistence.
678             *
679             * @return the company persistence
680             */
681            public CompanyPersistence getCompanyPersistence() {
682                    return companyPersistence;
683            }
684    
685            /**
686             * Sets the company persistence.
687             *
688             * @param companyPersistence the company persistence
689             */
690            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
691                    this.companyPersistence = companyPersistence;
692            }
693    
694            /**
695             * Returns the group local service.
696             *
697             * @return the group local service
698             */
699            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
700                    return groupLocalService;
701            }
702    
703            /**
704             * Sets the group local service.
705             *
706             * @param groupLocalService the group local service
707             */
708            public void setGroupLocalService(
709                    com.liferay.portal.service.GroupLocalService groupLocalService) {
710                    this.groupLocalService = groupLocalService;
711            }
712    
713            /**
714             * Returns the group remote service.
715             *
716             * @return the group remote service
717             */
718            public com.liferay.portal.service.GroupService getGroupService() {
719                    return groupService;
720            }
721    
722            /**
723             * Sets the group remote service.
724             *
725             * @param groupService the group remote service
726             */
727            public void setGroupService(
728                    com.liferay.portal.service.GroupService groupService) {
729                    this.groupService = groupService;
730            }
731    
732            /**
733             * Returns the group persistence.
734             *
735             * @return the group persistence
736             */
737            public GroupPersistence getGroupPersistence() {
738                    return groupPersistence;
739            }
740    
741            /**
742             * Sets the group persistence.
743             *
744             * @param groupPersistence the group persistence
745             */
746            public void setGroupPersistence(GroupPersistence groupPersistence) {
747                    this.groupPersistence = groupPersistence;
748            }
749    
750            /**
751             * Returns the group finder.
752             *
753             * @return the group finder
754             */
755            public GroupFinder getGroupFinder() {
756                    return groupFinder;
757            }
758    
759            /**
760             * Sets the group finder.
761             *
762             * @param groupFinder the group finder
763             */
764            public void setGroupFinder(GroupFinder groupFinder) {
765                    this.groupFinder = groupFinder;
766            }
767    
768            /**
769             * Returns the image local service.
770             *
771             * @return the image local service
772             */
773            public com.liferay.portal.service.ImageLocalService getImageLocalService() {
774                    return imageLocalService;
775            }
776    
777            /**
778             * Sets the image local service.
779             *
780             * @param imageLocalService the image local service
781             */
782            public void setImageLocalService(
783                    com.liferay.portal.service.ImageLocalService imageLocalService) {
784                    this.imageLocalService = imageLocalService;
785            }
786    
787            /**
788             * Returns the image remote service.
789             *
790             * @return the image remote service
791             */
792            public com.liferay.portal.service.ImageService getImageService() {
793                    return imageService;
794            }
795    
796            /**
797             * Sets the image remote service.
798             *
799             * @param imageService the image remote service
800             */
801            public void setImageService(
802                    com.liferay.portal.service.ImageService imageService) {
803                    this.imageService = imageService;
804            }
805    
806            /**
807             * Returns the image persistence.
808             *
809             * @return the image persistence
810             */
811            public ImagePersistence getImagePersistence() {
812                    return imagePersistence;
813            }
814    
815            /**
816             * Sets the image persistence.
817             *
818             * @param imagePersistence the image persistence
819             */
820            public void setImagePersistence(ImagePersistence imagePersistence) {
821                    this.imagePersistence = imagePersistence;
822            }
823    
824            /**
825             * Returns the portlet preferences local service.
826             *
827             * @return the portlet preferences local service
828             */
829            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
830                    return portletPreferencesLocalService;
831            }
832    
833            /**
834             * Sets the portlet preferences local service.
835             *
836             * @param portletPreferencesLocalService the portlet preferences local service
837             */
838            public void setPortletPreferencesLocalService(
839                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
840                    this.portletPreferencesLocalService = portletPreferencesLocalService;
841            }
842    
843            /**
844             * Returns the portlet preferences remote service.
845             *
846             * @return the portlet preferences remote service
847             */
848            public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
849                    return portletPreferencesService;
850            }
851    
852            /**
853             * Sets the portlet preferences remote service.
854             *
855             * @param portletPreferencesService the portlet preferences remote service
856             */
857            public void setPortletPreferencesService(
858                    com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
859                    this.portletPreferencesService = portletPreferencesService;
860            }
861    
862            /**
863             * Returns the portlet preferences persistence.
864             *
865             * @return the portlet preferences persistence
866             */
867            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
868                    return portletPreferencesPersistence;
869            }
870    
871            /**
872             * Sets the portlet preferences persistence.
873             *
874             * @param portletPreferencesPersistence the portlet preferences persistence
875             */
876            public void setPortletPreferencesPersistence(
877                    PortletPreferencesPersistence portletPreferencesPersistence) {
878                    this.portletPreferencesPersistence = portletPreferencesPersistence;
879            }
880    
881            /**
882             * Returns the portlet preferences finder.
883             *
884             * @return the portlet preferences finder
885             */
886            public PortletPreferencesFinder getPortletPreferencesFinder() {
887                    return portletPreferencesFinder;
888            }
889    
890            /**
891             * Sets the portlet preferences finder.
892             *
893             * @param portletPreferencesFinder the portlet preferences finder
894             */
895            public void setPortletPreferencesFinder(
896                    PortletPreferencesFinder portletPreferencesFinder) {
897                    this.portletPreferencesFinder = portletPreferencesFinder;
898            }
899    
900            /**
901             * Returns the resource local service.
902             *
903             * @return the resource local service
904             */
905            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
906                    return resourceLocalService;
907            }
908    
909            /**
910             * Sets the resource local service.
911             *
912             * @param resourceLocalService the resource local service
913             */
914            public void setResourceLocalService(
915                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
916                    this.resourceLocalService = resourceLocalService;
917            }
918    
919            /**
920             * Returns the subscription local service.
921             *
922             * @return the subscription local service
923             */
924            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
925                    return subscriptionLocalService;
926            }
927    
928            /**
929             * Sets the subscription local service.
930             *
931             * @param subscriptionLocalService the subscription local service
932             */
933            public void setSubscriptionLocalService(
934                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
935                    this.subscriptionLocalService = subscriptionLocalService;
936            }
937    
938            /**
939             * Returns the subscription persistence.
940             *
941             * @return the subscription persistence
942             */
943            public SubscriptionPersistence getSubscriptionPersistence() {
944                    return subscriptionPersistence;
945            }
946    
947            /**
948             * Sets the subscription persistence.
949             *
950             * @param subscriptionPersistence the subscription persistence
951             */
952            public void setSubscriptionPersistence(
953                    SubscriptionPersistence subscriptionPersistence) {
954                    this.subscriptionPersistence = subscriptionPersistence;
955            }
956    
957            /**
958             * Returns the system event local service.
959             *
960             * @return the system event local service
961             */
962            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
963                    return systemEventLocalService;
964            }
965    
966            /**
967             * Sets the system event local service.
968             *
969             * @param systemEventLocalService the system event local service
970             */
971            public void setSystemEventLocalService(
972                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
973                    this.systemEventLocalService = systemEventLocalService;
974            }
975    
976            /**
977             * Returns the system event persistence.
978             *
979             * @return the system event persistence
980             */
981            public SystemEventPersistence getSystemEventPersistence() {
982                    return systemEventPersistence;
983            }
984    
985            /**
986             * Sets the system event persistence.
987             *
988             * @param systemEventPersistence the system event persistence
989             */
990            public void setSystemEventPersistence(
991                    SystemEventPersistence systemEventPersistence) {
992                    this.systemEventPersistence = systemEventPersistence;
993            }
994    
995            /**
996             * Returns the user local service.
997             *
998             * @return the user local service
999             */
1000            public com.liferay.portal.service.UserLocalService getUserLocalService() {
1001                    return userLocalService;
1002            }
1003    
1004            /**
1005             * Sets the user local service.
1006             *
1007             * @param userLocalService the user local service
1008             */
1009            public void setUserLocalService(
1010                    com.liferay.portal.service.UserLocalService userLocalService) {
1011                    this.userLocalService = userLocalService;
1012            }
1013    
1014            /**
1015             * Returns the user remote service.
1016             *
1017             * @return the user remote service
1018             */
1019            public com.liferay.portal.service.UserService getUserService() {
1020                    return userService;
1021            }
1022    
1023            /**
1024             * Sets the user remote service.
1025             *
1026             * @param userService the user remote service
1027             */
1028            public void setUserService(
1029                    com.liferay.portal.service.UserService userService) {
1030                    this.userService = userService;
1031            }
1032    
1033            /**
1034             * Returns the user persistence.
1035             *
1036             * @return the user persistence
1037             */
1038            public UserPersistence getUserPersistence() {
1039                    return userPersistence;
1040            }
1041    
1042            /**
1043             * Sets the user persistence.
1044             *
1045             * @param userPersistence the user persistence
1046             */
1047            public void setUserPersistence(UserPersistence userPersistence) {
1048                    this.userPersistence = userPersistence;
1049            }
1050    
1051            /**
1052             * Returns the user finder.
1053             *
1054             * @return the user finder
1055             */
1056            public UserFinder getUserFinder() {
1057                    return userFinder;
1058            }
1059    
1060            /**
1061             * Sets the user finder.
1062             *
1063             * @param userFinder the user finder
1064             */
1065            public void setUserFinder(UserFinder userFinder) {
1066                    this.userFinder = userFinder;
1067            }
1068    
1069            /**
1070             * Returns the workflow definition link local service.
1071             *
1072             * @return the workflow definition link local service
1073             */
1074            public com.liferay.portal.service.WorkflowDefinitionLinkLocalService getWorkflowDefinitionLinkLocalService() {
1075                    return workflowDefinitionLinkLocalService;
1076            }
1077    
1078            /**
1079             * Sets the workflow definition link local service.
1080             *
1081             * @param workflowDefinitionLinkLocalService the workflow definition link local service
1082             */
1083            public void setWorkflowDefinitionLinkLocalService(
1084                    com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService) {
1085                    this.workflowDefinitionLinkLocalService = workflowDefinitionLinkLocalService;
1086            }
1087    
1088            /**
1089             * Returns the workflow definition link persistence.
1090             *
1091             * @return the workflow definition link persistence
1092             */
1093            public WorkflowDefinitionLinkPersistence getWorkflowDefinitionLinkPersistence() {
1094                    return workflowDefinitionLinkPersistence;
1095            }
1096    
1097            /**
1098             * Sets the workflow definition link persistence.
1099             *
1100             * @param workflowDefinitionLinkPersistence the workflow definition link persistence
1101             */
1102            public void setWorkflowDefinitionLinkPersistence(
1103                    WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence) {
1104                    this.workflowDefinitionLinkPersistence = workflowDefinitionLinkPersistence;
1105            }
1106    
1107            /**
1108             * Returns the workflow instance link local service.
1109             *
1110             * @return the workflow instance link local service
1111             */
1112            public com.liferay.portal.service.WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1113                    return workflowInstanceLinkLocalService;
1114            }
1115    
1116            /**
1117             * Sets the workflow instance link local service.
1118             *
1119             * @param workflowInstanceLinkLocalService the workflow instance link local service
1120             */
1121            public void setWorkflowInstanceLinkLocalService(
1122                    com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1123                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1124            }
1125    
1126            /**
1127             * Returns the workflow instance link persistence.
1128             *
1129             * @return the workflow instance link persistence
1130             */
1131            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1132                    return workflowInstanceLinkPersistence;
1133            }
1134    
1135            /**
1136             * Sets the workflow instance link persistence.
1137             *
1138             * @param workflowInstanceLinkPersistence the workflow instance link persistence
1139             */
1140            public void setWorkflowInstanceLinkPersistence(
1141                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1142                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1143            }
1144    
1145            /**
1146             * Returns the asset category local service.
1147             *
1148             * @return the asset category local service
1149             */
1150            public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
1151                    return assetCategoryLocalService;
1152            }
1153    
1154            /**
1155             * Sets the asset category local service.
1156             *
1157             * @param assetCategoryLocalService the asset category local service
1158             */
1159            public void setAssetCategoryLocalService(
1160                    com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
1161                    this.assetCategoryLocalService = assetCategoryLocalService;
1162            }
1163    
1164            /**
1165             * Returns the asset category remote service.
1166             *
1167             * @return the asset category remote service
1168             */
1169            public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
1170                    return assetCategoryService;
1171            }
1172    
1173            /**
1174             * Sets the asset category remote service.
1175             *
1176             * @param assetCategoryService the asset category remote service
1177             */
1178            public void setAssetCategoryService(
1179                    com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
1180                    this.assetCategoryService = assetCategoryService;
1181            }
1182    
1183            /**
1184             * Returns the asset category persistence.
1185             *
1186             * @return the asset category persistence
1187             */
1188            public AssetCategoryPersistence getAssetCategoryPersistence() {
1189                    return assetCategoryPersistence;
1190            }
1191    
1192            /**
1193             * Sets the asset category persistence.
1194             *
1195             * @param assetCategoryPersistence the asset category persistence
1196             */
1197            public void setAssetCategoryPersistence(
1198                    AssetCategoryPersistence assetCategoryPersistence) {
1199                    this.assetCategoryPersistence = assetCategoryPersistence;
1200            }
1201    
1202            /**
1203             * Returns the asset category finder.
1204             *
1205             * @return the asset category finder
1206             */
1207            public AssetCategoryFinder getAssetCategoryFinder() {
1208                    return assetCategoryFinder;
1209            }
1210    
1211            /**
1212             * Sets the asset category finder.
1213             *
1214             * @param assetCategoryFinder the asset category finder
1215             */
1216            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1217                    this.assetCategoryFinder = assetCategoryFinder;
1218            }
1219    
1220            /**
1221             * Returns the asset entry local service.
1222             *
1223             * @return the asset entry local service
1224             */
1225            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
1226                    return assetEntryLocalService;
1227            }
1228    
1229            /**
1230             * Sets the asset entry local service.
1231             *
1232             * @param assetEntryLocalService the asset entry local service
1233             */
1234            public void setAssetEntryLocalService(
1235                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
1236                    this.assetEntryLocalService = assetEntryLocalService;
1237            }
1238    
1239            /**
1240             * Returns the asset entry remote service.
1241             *
1242             * @return the asset entry remote service
1243             */
1244            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
1245                    return assetEntryService;
1246            }
1247    
1248            /**
1249             * Sets the asset entry remote service.
1250             *
1251             * @param assetEntryService the asset entry remote service
1252             */
1253            public void setAssetEntryService(
1254                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
1255                    this.assetEntryService = assetEntryService;
1256            }
1257    
1258            /**
1259             * Returns the asset entry persistence.
1260             *
1261             * @return the asset entry persistence
1262             */
1263            public AssetEntryPersistence getAssetEntryPersistence() {
1264                    return assetEntryPersistence;
1265            }
1266    
1267            /**
1268             * Sets the asset entry persistence.
1269             *
1270             * @param assetEntryPersistence the asset entry persistence
1271             */
1272            public void setAssetEntryPersistence(
1273                    AssetEntryPersistence assetEntryPersistence) {
1274                    this.assetEntryPersistence = assetEntryPersistence;
1275            }
1276    
1277            /**
1278             * Returns the asset entry finder.
1279             *
1280             * @return the asset entry finder
1281             */
1282            public AssetEntryFinder getAssetEntryFinder() {
1283                    return assetEntryFinder;
1284            }
1285    
1286            /**
1287             * Sets the asset entry finder.
1288             *
1289             * @param assetEntryFinder the asset entry finder
1290             */
1291            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1292                    this.assetEntryFinder = assetEntryFinder;
1293            }
1294    
1295            /**
1296             * Returns the asset link local service.
1297             *
1298             * @return the asset link local service
1299             */
1300            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
1301                    return assetLinkLocalService;
1302            }
1303    
1304            /**
1305             * Sets the asset link local service.
1306             *
1307             * @param assetLinkLocalService the asset link local service
1308             */
1309            public void setAssetLinkLocalService(
1310                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
1311                    this.assetLinkLocalService = assetLinkLocalService;
1312            }
1313    
1314            /**
1315             * Returns the asset link persistence.
1316             *
1317             * @return the asset link persistence
1318             */
1319            public AssetLinkPersistence getAssetLinkPersistence() {
1320                    return assetLinkPersistence;
1321            }
1322    
1323            /**
1324             * Sets the asset link persistence.
1325             *
1326             * @param assetLinkPersistence the asset link persistence
1327             */
1328            public void setAssetLinkPersistence(
1329                    AssetLinkPersistence assetLinkPersistence) {
1330                    this.assetLinkPersistence = assetLinkPersistence;
1331            }
1332    
1333            /**
1334             * Returns the asset tag local service.
1335             *
1336             * @return the asset tag local service
1337             */
1338            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
1339                    return assetTagLocalService;
1340            }
1341    
1342            /**
1343             * Sets the asset tag local service.
1344             *
1345             * @param assetTagLocalService the asset tag local service
1346             */
1347            public void setAssetTagLocalService(
1348                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
1349                    this.assetTagLocalService = assetTagLocalService;
1350            }
1351    
1352            /**
1353             * Returns the asset tag remote service.
1354             *
1355             * @return the asset tag remote service
1356             */
1357            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
1358                    return assetTagService;
1359            }
1360    
1361            /**
1362             * Sets the asset tag remote service.
1363             *
1364             * @param assetTagService the asset tag remote service
1365             */
1366            public void setAssetTagService(
1367                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
1368                    this.assetTagService = assetTagService;
1369            }
1370    
1371            /**
1372             * Returns the asset tag persistence.
1373             *
1374             * @return the asset tag persistence
1375             */
1376            public AssetTagPersistence getAssetTagPersistence() {
1377                    return assetTagPersistence;
1378            }
1379    
1380            /**
1381             * Sets the asset tag persistence.
1382             *
1383             * @param assetTagPersistence the asset tag persistence
1384             */
1385            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1386                    this.assetTagPersistence = assetTagPersistence;
1387            }
1388    
1389            /**
1390             * Returns the asset tag finder.
1391             *
1392             * @return the asset tag finder
1393             */
1394            public AssetTagFinder getAssetTagFinder() {
1395                    return assetTagFinder;
1396            }
1397    
1398            /**
1399             * Sets the asset tag finder.
1400             *
1401             * @param assetTagFinder the asset tag finder
1402             */
1403            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1404                    this.assetTagFinder = assetTagFinder;
1405            }
1406    
1407            /**
1408             * Returns the d l app local service.
1409             *
1410             * @return the d l app local service
1411             */
1412            public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
1413                    return dlAppLocalService;
1414            }
1415    
1416            /**
1417             * Sets the d l app local service.
1418             *
1419             * @param dlAppLocalService the d l app local service
1420             */
1421            public void setDLAppLocalService(
1422                    com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
1423                    this.dlAppLocalService = dlAppLocalService;
1424            }
1425    
1426            /**
1427             * Returns the d l app remote service.
1428             *
1429             * @return the d l app remote service
1430             */
1431            public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() {
1432                    return dlAppService;
1433            }
1434    
1435            /**
1436             * Sets the d l app remote service.
1437             *
1438             * @param dlAppService the d l app remote service
1439             */
1440            public void setDLAppService(
1441                    com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) {
1442                    this.dlAppService = dlAppService;
1443            }
1444    
1445            /**
1446             * Returns the d d m structure local service.
1447             *
1448             * @return the d d m structure local service
1449             */
1450            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService getDDMStructureLocalService() {
1451                    return ddmStructureLocalService;
1452            }
1453    
1454            /**
1455             * Sets the d d m structure local service.
1456             *
1457             * @param ddmStructureLocalService the d d m structure local service
1458             */
1459            public void setDDMStructureLocalService(
1460                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService) {
1461                    this.ddmStructureLocalService = ddmStructureLocalService;
1462            }
1463    
1464            /**
1465             * Returns the d d m structure remote service.
1466             *
1467             * @return the d d m structure remote service
1468             */
1469            public com.liferay.portlet.dynamicdatamapping.service.DDMStructureService getDDMStructureService() {
1470                    return ddmStructureService;
1471            }
1472    
1473            /**
1474             * Sets the d d m structure remote service.
1475             *
1476             * @param ddmStructureService the d d m structure remote service
1477             */
1478            public void setDDMStructureService(
1479                    com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService) {
1480                    this.ddmStructureService = ddmStructureService;
1481            }
1482    
1483            /**
1484             * Returns the d d m structure persistence.
1485             *
1486             * @return the d d m structure persistence
1487             */
1488            public DDMStructurePersistence getDDMStructurePersistence() {
1489                    return ddmStructurePersistence;
1490            }
1491    
1492            /**
1493             * Sets the d d m structure persistence.
1494             *
1495             * @param ddmStructurePersistence the d d m structure persistence
1496             */
1497            public void setDDMStructurePersistence(
1498                    DDMStructurePersistence ddmStructurePersistence) {
1499                    this.ddmStructurePersistence = ddmStructurePersistence;
1500            }
1501    
1502            /**
1503             * Returns the d d m structure finder.
1504             *
1505             * @return the d d m structure finder
1506             */
1507            public DDMStructureFinder getDDMStructureFinder() {
1508                    return ddmStructureFinder;
1509            }
1510    
1511            /**
1512             * Sets the d d m structure finder.
1513             *
1514             * @param ddmStructureFinder the d d m structure finder
1515             */
1516            public void setDDMStructureFinder(DDMStructureFinder ddmStructureFinder) {
1517                    this.ddmStructureFinder = ddmStructureFinder;
1518            }
1519    
1520            /**
1521             * Returns the d d m template local service.
1522             *
1523             * @return the d d m template local service
1524             */
1525            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService getDDMTemplateLocalService() {
1526                    return ddmTemplateLocalService;
1527            }
1528    
1529            /**
1530             * Sets the d d m template local service.
1531             *
1532             * @param ddmTemplateLocalService the d d m template local service
1533             */
1534            public void setDDMTemplateLocalService(
1535                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService) {
1536                    this.ddmTemplateLocalService = ddmTemplateLocalService;
1537            }
1538    
1539            /**
1540             * Returns the d d m template remote service.
1541             *
1542             * @return the d d m template remote service
1543             */
1544            public com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService getDDMTemplateService() {
1545                    return ddmTemplateService;
1546            }
1547    
1548            /**
1549             * Sets the d d m template remote service.
1550             *
1551             * @param ddmTemplateService the d d m template remote service
1552             */
1553            public void setDDMTemplateService(
1554                    com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService) {
1555                    this.ddmTemplateService = ddmTemplateService;
1556            }
1557    
1558            /**
1559             * Returns the d d m template persistence.
1560             *
1561             * @return the d d m template persistence
1562             */
1563            public DDMTemplatePersistence getDDMTemplatePersistence() {
1564                    return ddmTemplatePersistence;
1565            }
1566    
1567            /**
1568             * Sets the d d m template persistence.
1569             *
1570             * @param ddmTemplatePersistence the d d m template persistence
1571             */
1572            public void setDDMTemplatePersistence(
1573                    DDMTemplatePersistence ddmTemplatePersistence) {
1574                    this.ddmTemplatePersistence = ddmTemplatePersistence;
1575            }
1576    
1577            /**
1578             * Returns the d d m template finder.
1579             *
1580             * @return the d d m template finder
1581             */
1582            public DDMTemplateFinder getDDMTemplateFinder() {
1583                    return ddmTemplateFinder;
1584            }
1585    
1586            /**
1587             * Sets the d d m template finder.
1588             *
1589             * @param ddmTemplateFinder the d d m template finder
1590             */
1591            public void setDDMTemplateFinder(DDMTemplateFinder ddmTemplateFinder) {
1592                    this.ddmTemplateFinder = ddmTemplateFinder;
1593            }
1594    
1595            /**
1596             * Returns the expando row local service.
1597             *
1598             * @return the expando row local service
1599             */
1600            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1601                    return expandoRowLocalService;
1602            }
1603    
1604            /**
1605             * Sets the expando row local service.
1606             *
1607             * @param expandoRowLocalService the expando row local service
1608             */
1609            public void setExpandoRowLocalService(
1610                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1611                    this.expandoRowLocalService = expandoRowLocalService;
1612            }
1613    
1614            /**
1615             * Returns the expando row persistence.
1616             *
1617             * @return the expando row persistence
1618             */
1619            public ExpandoRowPersistence getExpandoRowPersistence() {
1620                    return expandoRowPersistence;
1621            }
1622    
1623            /**
1624             * Sets the expando row persistence.
1625             *
1626             * @param expandoRowPersistence the expando row persistence
1627             */
1628            public void setExpandoRowPersistence(
1629                    ExpandoRowPersistence expandoRowPersistence) {
1630                    this.expandoRowPersistence = expandoRowPersistence;
1631            }
1632    
1633            /**
1634             * Returns the message-boards message local service.
1635             *
1636             * @return the message-boards message local service
1637             */
1638            public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
1639                    return mbMessageLocalService;
1640            }
1641    
1642            /**
1643             * Sets the message-boards message local service.
1644             *
1645             * @param mbMessageLocalService the message-boards message local service
1646             */
1647            public void setMBMessageLocalService(
1648                    com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
1649                    this.mbMessageLocalService = mbMessageLocalService;
1650            }
1651    
1652            /**
1653             * Returns the message-boards message remote service.
1654             *
1655             * @return the message-boards message remote service
1656             */
1657            public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
1658                    return mbMessageService;
1659            }
1660    
1661            /**
1662             * Sets the message-boards message remote service.
1663             *
1664             * @param mbMessageService the message-boards message remote service
1665             */
1666            public void setMBMessageService(
1667                    com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
1668                    this.mbMessageService = mbMessageService;
1669            }
1670    
1671            /**
1672             * Returns the message-boards message persistence.
1673             *
1674             * @return the message-boards message persistence
1675             */
1676            public MBMessagePersistence getMBMessagePersistence() {
1677                    return mbMessagePersistence;
1678            }
1679    
1680            /**
1681             * Sets the message-boards message persistence.
1682             *
1683             * @param mbMessagePersistence the message-boards message persistence
1684             */
1685            public void setMBMessagePersistence(
1686                    MBMessagePersistence mbMessagePersistence) {
1687                    this.mbMessagePersistence = mbMessagePersistence;
1688            }
1689    
1690            /**
1691             * Returns the message-boards message finder.
1692             *
1693             * @return the message-boards message finder
1694             */
1695            public MBMessageFinder getMBMessageFinder() {
1696                    return mbMessageFinder;
1697            }
1698    
1699            /**
1700             * Sets the message-boards message finder.
1701             *
1702             * @param mbMessageFinder the message-boards message finder
1703             */
1704            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1705                    this.mbMessageFinder = mbMessageFinder;
1706            }
1707    
1708            /**
1709             * Returns the ratings stats local service.
1710             *
1711             * @return the ratings stats local service
1712             */
1713            public com.liferay.portlet.ratings.service.RatingsStatsLocalService getRatingsStatsLocalService() {
1714                    return ratingsStatsLocalService;
1715            }
1716    
1717            /**
1718             * Sets the ratings stats local service.
1719             *
1720             * @param ratingsStatsLocalService the ratings stats local service
1721             */
1722            public void setRatingsStatsLocalService(
1723                    com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService) {
1724                    this.ratingsStatsLocalService = ratingsStatsLocalService;
1725            }
1726    
1727            /**
1728             * Returns the ratings stats persistence.
1729             *
1730             * @return the ratings stats persistence
1731             */
1732            public RatingsStatsPersistence getRatingsStatsPersistence() {
1733                    return ratingsStatsPersistence;
1734            }
1735    
1736            /**
1737             * Sets the ratings stats persistence.
1738             *
1739             * @param ratingsStatsPersistence the ratings stats persistence
1740             */
1741            public void setRatingsStatsPersistence(
1742                    RatingsStatsPersistence ratingsStatsPersistence) {
1743                    this.ratingsStatsPersistence = ratingsStatsPersistence;
1744            }
1745    
1746            /**
1747             * Returns the ratings stats finder.
1748             *
1749             * @return the ratings stats finder
1750             */
1751            public RatingsStatsFinder getRatingsStatsFinder() {
1752                    return ratingsStatsFinder;
1753            }
1754    
1755            /**
1756             * Sets the ratings stats finder.
1757             *
1758             * @param ratingsStatsFinder the ratings stats finder
1759             */
1760            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1761                    this.ratingsStatsFinder = ratingsStatsFinder;
1762            }
1763    
1764            /**
1765             * Returns the social activity local service.
1766             *
1767             * @return the social activity local service
1768             */
1769            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1770                    return socialActivityLocalService;
1771            }
1772    
1773            /**
1774             * Sets the social activity local service.
1775             *
1776             * @param socialActivityLocalService the social activity local service
1777             */
1778            public void setSocialActivityLocalService(
1779                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1780                    this.socialActivityLocalService = socialActivityLocalService;
1781            }
1782    
1783            /**
1784             * Returns the social activity remote service.
1785             *
1786             * @return the social activity remote service
1787             */
1788            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1789                    return socialActivityService;
1790            }
1791    
1792            /**
1793             * Sets the social activity remote service.
1794             *
1795             * @param socialActivityService the social activity remote service
1796             */
1797            public void setSocialActivityService(
1798                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1799                    this.socialActivityService = socialActivityService;
1800            }
1801    
1802            /**
1803             * Returns the social activity persistence.
1804             *
1805             * @return the social activity persistence
1806             */
1807            public SocialActivityPersistence getSocialActivityPersistence() {
1808                    return socialActivityPersistence;
1809            }
1810    
1811            /**
1812             * Sets the social activity persistence.
1813             *
1814             * @param socialActivityPersistence the social activity persistence
1815             */
1816            public void setSocialActivityPersistence(
1817                    SocialActivityPersistence socialActivityPersistence) {
1818                    this.socialActivityPersistence = socialActivityPersistence;
1819            }
1820    
1821            /**
1822             * Returns the social activity finder.
1823             *
1824             * @return the social activity finder
1825             */
1826            public SocialActivityFinder getSocialActivityFinder() {
1827                    return socialActivityFinder;
1828            }
1829    
1830            /**
1831             * Sets the social activity finder.
1832             *
1833             * @param socialActivityFinder the social activity finder
1834             */
1835            public void setSocialActivityFinder(
1836                    SocialActivityFinder socialActivityFinder) {
1837                    this.socialActivityFinder = socialActivityFinder;
1838            }
1839    
1840            /**
1841             * Returns the trash entry local service.
1842             *
1843             * @return the trash entry local service
1844             */
1845            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1846                    return trashEntryLocalService;
1847            }
1848    
1849            /**
1850             * Sets the trash entry local service.
1851             *
1852             * @param trashEntryLocalService the trash entry local service
1853             */
1854            public void setTrashEntryLocalService(
1855                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1856                    this.trashEntryLocalService = trashEntryLocalService;
1857            }
1858    
1859            /**
1860             * Returns the trash entry remote service.
1861             *
1862             * @return the trash entry remote service
1863             */
1864            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1865                    return trashEntryService;
1866            }
1867    
1868            /**
1869             * Sets the trash entry remote service.
1870             *
1871             * @param trashEntryService the trash entry remote service
1872             */
1873            public void setTrashEntryService(
1874                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1875                    this.trashEntryService = trashEntryService;
1876            }
1877    
1878            /**
1879             * Returns the trash entry persistence.
1880             *
1881             * @return the trash entry persistence
1882             */
1883            public TrashEntryPersistence getTrashEntryPersistence() {
1884                    return trashEntryPersistence;
1885            }
1886    
1887            /**
1888             * Sets the trash entry persistence.
1889             *
1890             * @param trashEntryPersistence the trash entry persistence
1891             */
1892            public void setTrashEntryPersistence(
1893                    TrashEntryPersistence trashEntryPersistence) {
1894                    this.trashEntryPersistence = trashEntryPersistence;
1895            }
1896    
1897            /**
1898             * Returns the trash version local service.
1899             *
1900             * @return the trash version local service
1901             */
1902            public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
1903                    return trashVersionLocalService;
1904            }
1905    
1906            /**
1907             * Sets the trash version local service.
1908             *
1909             * @param trashVersionLocalService the trash version local service
1910             */
1911            public void setTrashVersionLocalService(
1912                    com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
1913                    this.trashVersionLocalService = trashVersionLocalService;
1914            }
1915    
1916            /**
1917             * Returns the trash version persistence.
1918             *
1919             * @return the trash version persistence
1920             */
1921            public TrashVersionPersistence getTrashVersionPersistence() {
1922                    return trashVersionPersistence;
1923            }
1924    
1925            /**
1926             * Sets the trash version persistence.
1927             *
1928             * @param trashVersionPersistence the trash version persistence
1929             */
1930            public void setTrashVersionPersistence(
1931                    TrashVersionPersistence trashVersionPersistence) {
1932                    this.trashVersionPersistence = trashVersionPersistence;
1933            }
1934    
1935            /**
1936             * Returns the journal article image local service.
1937             *
1938             * @return the journal article image local service
1939             */
1940            public com.liferay.portlet.journal.service.JournalArticleImageLocalService getJournalArticleImageLocalService() {
1941                    return journalArticleImageLocalService;
1942            }
1943    
1944            /**
1945             * Sets the journal article image local service.
1946             *
1947             * @param journalArticleImageLocalService the journal article image local service
1948             */
1949            public void setJournalArticleImageLocalService(
1950                    com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService) {
1951                    this.journalArticleImageLocalService = journalArticleImageLocalService;
1952            }
1953    
1954            /**
1955             * Returns the journal article image persistence.
1956             *
1957             * @return the journal article image persistence
1958             */
1959            public JournalArticleImagePersistence getJournalArticleImagePersistence() {
1960                    return journalArticleImagePersistence;
1961            }
1962    
1963            /**
1964             * Sets the journal article image persistence.
1965             *
1966             * @param journalArticleImagePersistence the journal article image persistence
1967             */
1968            public void setJournalArticleImagePersistence(
1969                    JournalArticleImagePersistence journalArticleImagePersistence) {
1970                    this.journalArticleImagePersistence = journalArticleImagePersistence;
1971            }
1972    
1973            /**
1974             * Returns the journal article resource local service.
1975             *
1976             * @return the journal article resource local service
1977             */
1978            public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
1979                    return journalArticleResourceLocalService;
1980            }
1981    
1982            /**
1983             * Sets the journal article resource local service.
1984             *
1985             * @param journalArticleResourceLocalService the journal article resource local service
1986             */
1987            public void setJournalArticleResourceLocalService(
1988                    com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) {
1989                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
1990            }
1991    
1992            /**
1993             * Returns the journal article resource persistence.
1994             *
1995             * @return the journal article resource persistence
1996             */
1997            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
1998                    return journalArticleResourcePersistence;
1999            }
2000    
2001            /**
2002             * Sets the journal article resource persistence.
2003             *
2004             * @param journalArticleResourcePersistence the journal article resource persistence
2005             */
2006            public void setJournalArticleResourcePersistence(
2007                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
2008                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
2009            }
2010    
2011            /**
2012             * Returns the journal content search local service.
2013             *
2014             * @return the journal content search local service
2015             */
2016            public com.liferay.portlet.journal.service.JournalContentSearchLocalService getJournalContentSearchLocalService() {
2017                    return journalContentSearchLocalService;
2018            }
2019    
2020            /**
2021             * Sets the journal content search local service.
2022             *
2023             * @param journalContentSearchLocalService the journal content search local service
2024             */
2025            public void setJournalContentSearchLocalService(
2026                    com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService) {
2027                    this.journalContentSearchLocalService = journalContentSearchLocalService;
2028            }
2029    
2030            /**
2031             * Returns the journal content search persistence.
2032             *
2033             * @return the journal content search persistence
2034             */
2035            public JournalContentSearchPersistence getJournalContentSearchPersistence() {
2036                    return journalContentSearchPersistence;
2037            }
2038    
2039            /**
2040             * Sets the journal content search persistence.
2041             *
2042             * @param journalContentSearchPersistence the journal content search persistence
2043             */
2044            public void setJournalContentSearchPersistence(
2045                    JournalContentSearchPersistence journalContentSearchPersistence) {
2046                    this.journalContentSearchPersistence = journalContentSearchPersistence;
2047            }
2048    
2049            /**
2050             * Returns the journal folder local service.
2051             *
2052             * @return the journal folder local service
2053             */
2054            public com.liferay.portlet.journal.service.JournalFolderLocalService getJournalFolderLocalService() {
2055                    return journalFolderLocalService;
2056            }
2057    
2058            /**
2059             * Sets the journal folder local service.
2060             *
2061             * @param journalFolderLocalService the journal folder local service
2062             */
2063            public void setJournalFolderLocalService(
2064                    com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService) {
2065                    this.journalFolderLocalService = journalFolderLocalService;
2066            }
2067    
2068            /**
2069             * Returns the journal folder remote service.
2070             *
2071             * @return the journal folder remote service
2072             */
2073            public com.liferay.portlet.journal.service.JournalFolderService getJournalFolderService() {
2074                    return journalFolderService;
2075            }
2076    
2077            /**
2078             * Sets the journal folder remote service.
2079             *
2080             * @param journalFolderService the journal folder remote service
2081             */
2082            public void setJournalFolderService(
2083                    com.liferay.portlet.journal.service.JournalFolderService journalFolderService) {
2084                    this.journalFolderService = journalFolderService;
2085            }
2086    
2087            /**
2088             * Returns the journal folder persistence.
2089             *
2090             * @return the journal folder persistence
2091             */
2092            public JournalFolderPersistence getJournalFolderPersistence() {
2093                    return journalFolderPersistence;
2094            }
2095    
2096            /**
2097             * Sets the journal folder persistence.
2098             *
2099             * @param journalFolderPersistence the journal folder persistence
2100             */
2101            public void setJournalFolderPersistence(
2102                    JournalFolderPersistence journalFolderPersistence) {
2103                    this.journalFolderPersistence = journalFolderPersistence;
2104            }
2105    
2106            /**
2107             * Returns the journal folder finder.
2108             *
2109             * @return the journal folder finder
2110             */
2111            public JournalFolderFinder getJournalFolderFinder() {
2112                    return journalFolderFinder;
2113            }
2114    
2115            /**
2116             * Sets the journal folder finder.
2117             *
2118             * @param journalFolderFinder the journal folder finder
2119             */
2120            public void setJournalFolderFinder(JournalFolderFinder journalFolderFinder) {
2121                    this.journalFolderFinder = journalFolderFinder;
2122            }
2123    
2124            public void afterPropertiesSet() {
2125                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.journal.model.JournalArticle",
2126                            journalArticleLocalService);
2127            }
2128    
2129            public void destroy() {
2130                    persistedModelLocalServiceRegistry.unregister(
2131                            "com.liferay.portlet.journal.model.JournalArticle");
2132            }
2133    
2134            /**
2135             * Returns the Spring bean ID for this bean.
2136             *
2137             * @return the Spring bean ID for this bean
2138             */
2139            @Override
2140            public String getBeanIdentifier() {
2141                    return _beanIdentifier;
2142            }
2143    
2144            /**
2145             * Sets the Spring bean ID for this bean.
2146             *
2147             * @param beanIdentifier the Spring bean ID for this bean
2148             */
2149            @Override
2150            public void setBeanIdentifier(String beanIdentifier) {
2151                    _beanIdentifier = beanIdentifier;
2152            }
2153    
2154            protected Class<?> getModelClass() {
2155                    return JournalArticle.class;
2156            }
2157    
2158            protected String getModelClassName() {
2159                    return JournalArticle.class.getName();
2160            }
2161    
2162            /**
2163             * Performs a SQL query.
2164             *
2165             * @param sql the sql query
2166             */
2167            protected void runSQL(String sql) {
2168                    try {
2169                            DataSource dataSource = journalArticlePersistence.getDataSource();
2170    
2171                            DB db = DBFactoryUtil.getDB();
2172    
2173                            sql = db.buildSQL(sql);
2174                            sql = PortalUtil.transformSQL(sql);
2175    
2176                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
2177                                            sql, new int[0]);
2178    
2179                            sqlUpdate.update();
2180                    }
2181                    catch (Exception e) {
2182                            throw new SystemException(e);
2183                    }
2184            }
2185    
2186            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class)
2187            protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService;
2188            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleService.class)
2189            protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService;
2190            @BeanReference(type = JournalArticlePersistence.class)
2191            protected JournalArticlePersistence journalArticlePersistence;
2192            @BeanReference(type = JournalArticleFinder.class)
2193            protected JournalArticleFinder journalArticleFinder;
2194            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
2195            protected com.liferay.counter.service.CounterLocalService counterLocalService;
2196            @BeanReference(type = com.liferay.mail.service.MailService.class)
2197            protected com.liferay.mail.service.MailService mailService;
2198            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
2199            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
2200            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
2201            protected com.liferay.portal.service.ClassNameService classNameService;
2202            @BeanReference(type = ClassNamePersistence.class)
2203            protected ClassNamePersistence classNamePersistence;
2204            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
2205            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
2206            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
2207            protected com.liferay.portal.service.CompanyService companyService;
2208            @BeanReference(type = CompanyPersistence.class)
2209            protected CompanyPersistence companyPersistence;
2210            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
2211            protected com.liferay.portal.service.GroupLocalService groupLocalService;
2212            @BeanReference(type = com.liferay.portal.service.GroupService.class)
2213            protected com.liferay.portal.service.GroupService groupService;
2214            @BeanReference(type = GroupPersistence.class)
2215            protected GroupPersistence groupPersistence;
2216            @BeanReference(type = GroupFinder.class)
2217            protected GroupFinder groupFinder;
2218            @BeanReference(type = com.liferay.portal.service.ImageLocalService.class)
2219            protected com.liferay.portal.service.ImageLocalService imageLocalService;
2220            @BeanReference(type = com.liferay.portal.service.ImageService.class)
2221            protected com.liferay.portal.service.ImageService imageService;
2222            @BeanReference(type = ImagePersistence.class)
2223            protected ImagePersistence imagePersistence;
2224            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
2225            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
2226            @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
2227            protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
2228            @BeanReference(type = PortletPreferencesPersistence.class)
2229            protected PortletPreferencesPersistence portletPreferencesPersistence;
2230            @BeanReference(type = PortletPreferencesFinder.class)
2231            protected PortletPreferencesFinder portletPreferencesFinder;
2232            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
2233            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
2234            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
2235            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
2236            @BeanReference(type = SubscriptionPersistence.class)
2237            protected SubscriptionPersistence subscriptionPersistence;
2238            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
2239            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
2240            @BeanReference(type = SystemEventPersistence.class)
2241            protected SystemEventPersistence systemEventPersistence;
2242            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
2243            protected com.liferay.portal.service.UserLocalService userLocalService;
2244            @BeanReference(type = com.liferay.portal.service.UserService.class)
2245            protected com.liferay.portal.service.UserService userService;
2246            @BeanReference(type = UserPersistence.class)
2247            protected UserPersistence userPersistence;
2248            @BeanReference(type = UserFinder.class)
2249            protected UserFinder userFinder;
2250            @BeanReference(type = com.liferay.portal.service.WorkflowDefinitionLinkLocalService.class)
2251            protected com.liferay.portal.service.WorkflowDefinitionLinkLocalService workflowDefinitionLinkLocalService;
2252            @BeanReference(type = WorkflowDefinitionLinkPersistence.class)
2253            protected WorkflowDefinitionLinkPersistence workflowDefinitionLinkPersistence;
2254            @BeanReference(type = com.liferay.portal.service.WorkflowInstanceLinkLocalService.class)
2255            protected com.liferay.portal.service.WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
2256            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
2257            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
2258            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
2259            protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
2260            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
2261            protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
2262            @BeanReference(type = AssetCategoryPersistence.class)
2263            protected AssetCategoryPersistence assetCategoryPersistence;
2264            @BeanReference(type = AssetCategoryFinder.class)
2265            protected AssetCategoryFinder assetCategoryFinder;
2266            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
2267            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
2268            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
2269            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
2270            @BeanReference(type = AssetEntryPersistence.class)
2271            protected AssetEntryPersistence assetEntryPersistence;
2272            @BeanReference(type = AssetEntryFinder.class)
2273            protected AssetEntryFinder assetEntryFinder;
2274            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
2275            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
2276            @BeanReference(type = AssetLinkPersistence.class)
2277            protected AssetLinkPersistence assetLinkPersistence;
2278            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
2279            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
2280            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
2281            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
2282            @BeanReference(type = AssetTagPersistence.class)
2283            protected AssetTagPersistence assetTagPersistence;
2284            @BeanReference(type = AssetTagFinder.class)
2285            protected AssetTagFinder assetTagFinder;
2286            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
2287            protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
2288            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
2289            protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
2290            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService.class)
2291            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureLocalService ddmStructureLocalService;
2292            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMStructureService.class)
2293            protected com.liferay.portlet.dynamicdatamapping.service.DDMStructureService ddmStructureService;
2294            @BeanReference(type = DDMStructurePersistence.class)
2295            protected DDMStructurePersistence ddmStructurePersistence;
2296            @BeanReference(type = DDMStructureFinder.class)
2297            protected DDMStructureFinder ddmStructureFinder;
2298            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService.class)
2299            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateLocalService ddmTemplateLocalService;
2300            @BeanReference(type = com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService.class)
2301            protected com.liferay.portlet.dynamicdatamapping.service.DDMTemplateService ddmTemplateService;
2302            @BeanReference(type = DDMTemplatePersistence.class)
2303            protected DDMTemplatePersistence ddmTemplatePersistence;
2304            @BeanReference(type = DDMTemplateFinder.class)
2305            protected DDMTemplateFinder ddmTemplateFinder;
2306            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
2307            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
2308            @BeanReference(type = ExpandoRowPersistence.class)
2309            protected ExpandoRowPersistence expandoRowPersistence;
2310            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
2311            protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
2312            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
2313            protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
2314            @BeanReference(type = MBMessagePersistence.class)
2315            protected MBMessagePersistence mbMessagePersistence;
2316            @BeanReference(type = MBMessageFinder.class)
2317            protected MBMessageFinder mbMessageFinder;
2318            @BeanReference(type = com.liferay.portlet.ratings.service.RatingsStatsLocalService.class)
2319            protected com.liferay.portlet.ratings.service.RatingsStatsLocalService ratingsStatsLocalService;
2320            @BeanReference(type = RatingsStatsPersistence.class)
2321            protected RatingsStatsPersistence ratingsStatsPersistence;
2322            @BeanReference(type = RatingsStatsFinder.class)
2323            protected RatingsStatsFinder ratingsStatsFinder;
2324            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
2325            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
2326            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
2327            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
2328            @BeanReference(type = SocialActivityPersistence.class)
2329            protected SocialActivityPersistence socialActivityPersistence;
2330            @BeanReference(type = SocialActivityFinder.class)
2331            protected SocialActivityFinder socialActivityFinder;
2332            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
2333            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
2334            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
2335            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
2336            @BeanReference(type = TrashEntryPersistence.class)
2337            protected TrashEntryPersistence trashEntryPersistence;
2338            @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
2339            protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
2340            @BeanReference(type = TrashVersionPersistence.class)
2341            protected TrashVersionPersistence trashVersionPersistence;
2342            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleImageLocalService.class)
2343            protected com.liferay.portlet.journal.service.JournalArticleImageLocalService journalArticleImageLocalService;
2344            @BeanReference(type = JournalArticleImagePersistence.class)
2345            protected JournalArticleImagePersistence journalArticleImagePersistence;
2346            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
2347            protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService;
2348            @BeanReference(type = JournalArticleResourcePersistence.class)
2349            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
2350            @BeanReference(type = com.liferay.portlet.journal.service.JournalContentSearchLocalService.class)
2351            protected com.liferay.portlet.journal.service.JournalContentSearchLocalService journalContentSearchLocalService;
2352            @BeanReference(type = JournalContentSearchPersistence.class)
2353            protected JournalContentSearchPersistence journalContentSearchPersistence;
2354            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderLocalService.class)
2355            protected com.liferay.portlet.journal.service.JournalFolderLocalService journalFolderLocalService;
2356            @BeanReference(type = com.liferay.portlet.journal.service.JournalFolderService.class)
2357            protected com.liferay.portlet.journal.service.JournalFolderService journalFolderService;
2358            @BeanReference(type = JournalFolderPersistence.class)
2359            protected JournalFolderPersistence journalFolderPersistence;
2360            @BeanReference(type = JournalFolderFinder.class)
2361            protected JournalFolderFinder journalFolderFinder;
2362            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
2363            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
2364            private String _beanIdentifier;
2365    }