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