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