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.messageboards.service.base;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
029    import com.liferay.portal.kernel.dao.orm.ExportActionableDynamicQuery;
030    import com.liferay.portal.kernel.dao.orm.Projection;
031    import com.liferay.portal.kernel.exception.PortalException;
032    import com.liferay.portal.kernel.exception.SystemException;
033    import com.liferay.portal.kernel.lar.ExportImportHelperUtil;
034    import com.liferay.portal.kernel.lar.ManifestSummary;
035    import com.liferay.portal.kernel.lar.PortletDataContext;
036    import com.liferay.portal.kernel.lar.StagedModelDataHandlerUtil;
037    import com.liferay.portal.kernel.lar.StagedModelType;
038    import com.liferay.portal.kernel.search.Indexable;
039    import com.liferay.portal.kernel.search.IndexableType;
040    import com.liferay.portal.kernel.util.OrderByComparator;
041    import com.liferay.portal.model.PersistedModel;
042    import com.liferay.portal.service.BaseLocalServiceImpl;
043    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
044    import com.liferay.portal.service.persistence.UserFinder;
045    import com.liferay.portal.service.persistence.UserPersistence;
046    import com.liferay.portal.util.PortalUtil;
047    
048    import com.liferay.portlet.messageboards.model.MBMailingList;
049    import com.liferay.portlet.messageboards.service.MBMailingListLocalService;
050    import com.liferay.portlet.messageboards.service.persistence.MBMailingListPersistence;
051    
052    import java.io.Serializable;
053    
054    import java.util.List;
055    
056    import javax.sql.DataSource;
057    
058    /**
059     * Provides the base implementation for the message boards mailing list local service.
060     *
061     * <p>
062     * 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.messageboards.service.impl.MBMailingListLocalServiceImpl}.
063     * </p>
064     *
065     * @author Brian Wing Shun Chan
066     * @see com.liferay.portlet.messageboards.service.impl.MBMailingListLocalServiceImpl
067     * @see com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil
068     * @generated
069     */
070    @ProviderType
071    public abstract class MBMailingListLocalServiceBaseImpl
072            extends BaseLocalServiceImpl implements MBMailingListLocalService,
073                    IdentifiableBean {
074            /*
075             * NOTE FOR DEVELOPERS:
076             *
077             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil} to access the message boards mailing list local service.
078             */
079    
080            /**
081             * Adds the message boards mailing list to the database. Also notifies the appropriate model listeners.
082             *
083             * @param mbMailingList the message boards mailing list
084             * @return the message boards mailing list that was added
085             */
086            @Indexable(type = IndexableType.REINDEX)
087            @Override
088            public MBMailingList addMBMailingList(MBMailingList mbMailingList) {
089                    mbMailingList.setNew(true);
090    
091                    return mbMailingListPersistence.update(mbMailingList);
092            }
093    
094            /**
095             * Creates a new message boards mailing list with the primary key. Does not add the message boards mailing list to the database.
096             *
097             * @param mailingListId the primary key for the new message boards mailing list
098             * @return the new message boards mailing list
099             */
100            @Override
101            public MBMailingList createMBMailingList(long mailingListId) {
102                    return mbMailingListPersistence.create(mailingListId);
103            }
104    
105            /**
106             * Deletes the message boards mailing list with the primary key from the database. Also notifies the appropriate model listeners.
107             *
108             * @param mailingListId the primary key of the message boards mailing list
109             * @return the message boards mailing list that was removed
110             * @throws PortalException if a message boards mailing list with the primary key could not be found
111             */
112            @Indexable(type = IndexableType.DELETE)
113            @Override
114            public MBMailingList deleteMBMailingList(long mailingListId)
115                    throws PortalException {
116                    return mbMailingListPersistence.remove(mailingListId);
117            }
118    
119            /**
120             * Deletes the message boards mailing list from the database. Also notifies the appropriate model listeners.
121             *
122             * @param mbMailingList the message boards mailing list
123             * @return the message boards mailing list that was removed
124             */
125            @Indexable(type = IndexableType.DELETE)
126            @Override
127            public MBMailingList deleteMBMailingList(MBMailingList mbMailingList) {
128                    return mbMailingListPersistence.remove(mbMailingList);
129            }
130    
131            @Override
132            public DynamicQuery dynamicQuery() {
133                    Class<?> clazz = getClass();
134    
135                    return DynamicQueryFactoryUtil.forClass(MBMailingList.class,
136                            clazz.getClassLoader());
137            }
138    
139            /**
140             * Performs a dynamic query on the database and returns the matching rows.
141             *
142             * @param dynamicQuery the dynamic query
143             * @return the matching rows
144             */
145            @Override
146            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
147                    return mbMailingListPersistence.findWithDynamicQuery(dynamicQuery);
148            }
149    
150            /**
151             * Performs a dynamic query on the database and returns a range of the matching rows.
152             *
153             * <p>
154             * 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.messageboards.model.impl.MBMailingListModelImpl}. 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.
155             * </p>
156             *
157             * @param dynamicQuery the dynamic query
158             * @param start the lower bound of the range of model instances
159             * @param end the upper bound of the range of model instances (not inclusive)
160             * @return the range of matching rows
161             */
162            @Override
163            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
164                    int end) {
165                    return mbMailingListPersistence.findWithDynamicQuery(dynamicQuery,
166                            start, end);
167            }
168    
169            /**
170             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
171             *
172             * <p>
173             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.messageboards.model.impl.MBMailingListModelImpl}. If both <code>orderByComparator</code> and pagination are absent, for performance reasons, the query will not have an ORDER BY clause and the returned result set will be sorted on by the primary key in an ascending order.
174             * </p>
175             *
176             * @param dynamicQuery the dynamic query
177             * @param start the lower bound of the range of model instances
178             * @param end the upper bound of the range of model instances (not inclusive)
179             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
180             * @return the ordered range of matching rows
181             */
182            @Override
183            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
184                    int end, OrderByComparator<T> orderByComparator) {
185                    return mbMailingListPersistence.findWithDynamicQuery(dynamicQuery,
186                            start, end, orderByComparator);
187            }
188    
189            /**
190             * Returns the number of rows that match the dynamic query.
191             *
192             * @param dynamicQuery the dynamic query
193             * @return the number of rows that match the dynamic query
194             */
195            @Override
196            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
197                    return mbMailingListPersistence.countWithDynamicQuery(dynamicQuery);
198            }
199    
200            /**
201             * Returns the number of rows that match the dynamic query.
202             *
203             * @param dynamicQuery the dynamic query
204             * @param projection the projection to apply to the query
205             * @return the number of rows that match the dynamic query
206             */
207            @Override
208            public long dynamicQueryCount(DynamicQuery dynamicQuery,
209                    Projection projection) {
210                    return mbMailingListPersistence.countWithDynamicQuery(dynamicQuery,
211                            projection);
212            }
213    
214            @Override
215            public MBMailingList fetchMBMailingList(long mailingListId) {
216                    return mbMailingListPersistence.fetchByPrimaryKey(mailingListId);
217            }
218    
219            /**
220             * Returns the message boards mailing list matching the UUID and group.
221             *
222             * @param uuid the message boards mailing list's UUID
223             * @param groupId the primary key of the group
224             * @return the matching message boards mailing list, or <code>null</code> if a matching message boards mailing list could not be found
225             */
226            @Override
227            public MBMailingList fetchMBMailingListByUuidAndGroupId(String uuid,
228                    long groupId) {
229                    return mbMailingListPersistence.fetchByUUID_G(uuid, groupId);
230            }
231    
232            /**
233             * Returns the message boards mailing list with the primary key.
234             *
235             * @param mailingListId the primary key of the message boards mailing list
236             * @return the message boards mailing list
237             * @throws PortalException if a message boards mailing list with the primary key could not be found
238             */
239            @Override
240            public MBMailingList getMBMailingList(long mailingListId)
241                    throws PortalException {
242                    return mbMailingListPersistence.findByPrimaryKey(mailingListId);
243            }
244    
245            @Override
246            public ActionableDynamicQuery getActionableDynamicQuery() {
247                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
248    
249                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil.getService());
250                    actionableDynamicQuery.setClass(MBMailingList.class);
251                    actionableDynamicQuery.setClassLoader(getClassLoader());
252    
253                    actionableDynamicQuery.setPrimaryKeyPropertyName("mailingListId");
254    
255                    return actionableDynamicQuery;
256            }
257    
258            protected void initActionableDynamicQuery(
259                    ActionableDynamicQuery actionableDynamicQuery) {
260                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.messageboards.service.MBMailingListLocalServiceUtil.getService());
261                    actionableDynamicQuery.setClass(MBMailingList.class);
262                    actionableDynamicQuery.setClassLoader(getClassLoader());
263    
264                    actionableDynamicQuery.setPrimaryKeyPropertyName("mailingListId");
265            }
266    
267            @Override
268            public ExportActionableDynamicQuery getExportActionableDynamicQuery(
269                    final PortletDataContext portletDataContext) {
270                    final ExportActionableDynamicQuery exportActionableDynamicQuery = new ExportActionableDynamicQuery() {
271                                    @Override
272                                    public long performCount() throws PortalException {
273                                            ManifestSummary manifestSummary = portletDataContext.getManifestSummary();
274    
275                                            StagedModelType stagedModelType = getStagedModelType();
276    
277                                            long modelAdditionCount = super.performCount();
278    
279                                            manifestSummary.addModelAdditionCount(stagedModelType.toString(),
280                                                    modelAdditionCount);
281    
282                                            long modelDeletionCount = ExportImportHelperUtil.getModelDeletionCount(portletDataContext,
283                                                            stagedModelType);
284    
285                                            manifestSummary.addModelDeletionCount(stagedModelType.toString(),
286                                                    modelDeletionCount);
287    
288                                            return modelAdditionCount;
289                                    }
290                            };
291    
292                    initActionableDynamicQuery(exportActionableDynamicQuery);
293    
294                    exportActionableDynamicQuery.setAddCriteriaMethod(new ActionableDynamicQuery.AddCriteriaMethod() {
295                                    @Override
296                                    public void addCriteria(DynamicQuery dynamicQuery) {
297                                            portletDataContext.addDateRangeCriteria(dynamicQuery,
298                                                    "modifiedDate");
299                                    }
300                            });
301    
302                    exportActionableDynamicQuery.setCompanyId(portletDataContext.getCompanyId());
303    
304                    exportActionableDynamicQuery.setGroupId(portletDataContext.getScopeGroupId());
305    
306                    exportActionableDynamicQuery.setPerformActionMethod(new ActionableDynamicQuery.PerformActionMethod() {
307                                    @Override
308                                    public void performAction(Object object)
309                                            throws PortalException {
310                                            MBMailingList stagedModel = (MBMailingList)object;
311    
312                                            StagedModelDataHandlerUtil.exportStagedModel(portletDataContext,
313                                                    stagedModel);
314                                    }
315                            });
316                    exportActionableDynamicQuery.setStagedModelType(new StagedModelType(
317                                    PortalUtil.getClassNameId(MBMailingList.class.getName())));
318    
319                    return exportActionableDynamicQuery;
320            }
321    
322            /**
323             * @throws PortalException
324             */
325            @Override
326            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
327                    throws PortalException {
328                    return mbMailingListLocalService.deleteMBMailingList((MBMailingList)persistedModel);
329            }
330    
331            @Override
332            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
333                    throws PortalException {
334                    return mbMailingListPersistence.findByPrimaryKey(primaryKeyObj);
335            }
336    
337            @Override
338            public List<MBMailingList> getMBMailingListsByUuidAndCompanyId(
339                    String uuid, long companyId) {
340                    return mbMailingListPersistence.findByUuid_C(uuid, companyId);
341            }
342    
343            @Override
344            public List<MBMailingList> getMBMailingListsByUuidAndCompanyId(
345                    String uuid, long companyId, int start, int end,
346                    OrderByComparator<MBMailingList> orderByComparator) {
347                    return mbMailingListPersistence.findByUuid_C(uuid, companyId, start,
348                            end, orderByComparator);
349            }
350    
351            /**
352             * Returns the message boards mailing list matching the UUID and group.
353             *
354             * @param uuid the message boards mailing list's UUID
355             * @param groupId the primary key of the group
356             * @return the matching message boards mailing list
357             * @throws PortalException if a matching message boards mailing list could not be found
358             */
359            @Override
360            public MBMailingList getMBMailingListByUuidAndGroupId(String uuid,
361                    long groupId) throws PortalException {
362                    return mbMailingListPersistence.findByUUID_G(uuid, groupId);
363            }
364    
365            /**
366             * Returns a range of all the message boards mailing lists.
367             *
368             * <p>
369             * 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.messageboards.model.impl.MBMailingListModelImpl}. 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.
370             * </p>
371             *
372             * @param start the lower bound of the range of message boards mailing lists
373             * @param end the upper bound of the range of message boards mailing lists (not inclusive)
374             * @return the range of message boards mailing lists
375             */
376            @Override
377            public List<MBMailingList> getMBMailingLists(int start, int end) {
378                    return mbMailingListPersistence.findAll(start, end);
379            }
380    
381            /**
382             * Returns the number of message boards mailing lists.
383             *
384             * @return the number of message boards mailing lists
385             */
386            @Override
387            public int getMBMailingListsCount() {
388                    return mbMailingListPersistence.countAll();
389            }
390    
391            /**
392             * Updates the message boards mailing list in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
393             *
394             * @param mbMailingList the message boards mailing list
395             * @return the message boards mailing list that was updated
396             */
397            @Indexable(type = IndexableType.REINDEX)
398            @Override
399            public MBMailingList updateMBMailingList(MBMailingList mbMailingList) {
400                    return mbMailingListPersistence.update(mbMailingList);
401            }
402    
403            /**
404             * Returns the message boards mailing list local service.
405             *
406             * @return the message boards mailing list local service
407             */
408            public com.liferay.portlet.messageboards.service.MBMailingListLocalService getMBMailingListLocalService() {
409                    return mbMailingListLocalService;
410            }
411    
412            /**
413             * Sets the message boards mailing list local service.
414             *
415             * @param mbMailingListLocalService the message boards mailing list local service
416             */
417            public void setMBMailingListLocalService(
418                    com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService) {
419                    this.mbMailingListLocalService = mbMailingListLocalService;
420            }
421    
422            /**
423             * Returns the message boards mailing list persistence.
424             *
425             * @return the message boards mailing list persistence
426             */
427            public MBMailingListPersistence getMBMailingListPersistence() {
428                    return mbMailingListPersistence;
429            }
430    
431            /**
432             * Sets the message boards mailing list persistence.
433             *
434             * @param mbMailingListPersistence the message boards mailing list persistence
435             */
436            public void setMBMailingListPersistence(
437                    MBMailingListPersistence mbMailingListPersistence) {
438                    this.mbMailingListPersistence = mbMailingListPersistence;
439            }
440    
441            /**
442             * Returns the counter local service.
443             *
444             * @return the counter local service
445             */
446            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
447                    return counterLocalService;
448            }
449    
450            /**
451             * Sets the counter local service.
452             *
453             * @param counterLocalService the counter local service
454             */
455            public void setCounterLocalService(
456                    com.liferay.counter.service.CounterLocalService counterLocalService) {
457                    this.counterLocalService = counterLocalService;
458            }
459    
460            /**
461             * Returns the user local service.
462             *
463             * @return the user local service
464             */
465            public com.liferay.portal.service.UserLocalService getUserLocalService() {
466                    return userLocalService;
467            }
468    
469            /**
470             * Sets the user local service.
471             *
472             * @param userLocalService the user local service
473             */
474            public void setUserLocalService(
475                    com.liferay.portal.service.UserLocalService userLocalService) {
476                    this.userLocalService = userLocalService;
477            }
478    
479            /**
480             * Returns the user remote service.
481             *
482             * @return the user remote service
483             */
484            public com.liferay.portal.service.UserService getUserService() {
485                    return userService;
486            }
487    
488            /**
489             * Sets the user remote service.
490             *
491             * @param userService the user remote service
492             */
493            public void setUserService(
494                    com.liferay.portal.service.UserService userService) {
495                    this.userService = userService;
496            }
497    
498            /**
499             * Returns the user persistence.
500             *
501             * @return the user persistence
502             */
503            public UserPersistence getUserPersistence() {
504                    return userPersistence;
505            }
506    
507            /**
508             * Sets the user persistence.
509             *
510             * @param userPersistence the user persistence
511             */
512            public void setUserPersistence(UserPersistence userPersistence) {
513                    this.userPersistence = userPersistence;
514            }
515    
516            /**
517             * Returns the user finder.
518             *
519             * @return the user finder
520             */
521            public UserFinder getUserFinder() {
522                    return userFinder;
523            }
524    
525            /**
526             * Sets the user finder.
527             *
528             * @param userFinder the user finder
529             */
530            public void setUserFinder(UserFinder userFinder) {
531                    this.userFinder = userFinder;
532            }
533    
534            public void afterPropertiesSet() {
535                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.messageboards.model.MBMailingList",
536                            mbMailingListLocalService);
537            }
538    
539            public void destroy() {
540                    persistedModelLocalServiceRegistry.unregister(
541                            "com.liferay.portlet.messageboards.model.MBMailingList");
542            }
543    
544            /**
545             * Returns the Spring bean ID for this bean.
546             *
547             * @return the Spring bean ID for this bean
548             */
549            @Override
550            public String getBeanIdentifier() {
551                    return _beanIdentifier;
552            }
553    
554            /**
555             * Sets the Spring bean ID for this bean.
556             *
557             * @param beanIdentifier the Spring bean ID for this bean
558             */
559            @Override
560            public void setBeanIdentifier(String beanIdentifier) {
561                    _beanIdentifier = beanIdentifier;
562            }
563    
564            protected Class<?> getModelClass() {
565                    return MBMailingList.class;
566            }
567    
568            protected String getModelClassName() {
569                    return MBMailingList.class.getName();
570            }
571    
572            /**
573             * Performs a SQL query.
574             *
575             * @param sql the sql query
576             */
577            protected void runSQL(String sql) {
578                    try {
579                            DataSource dataSource = mbMailingListPersistence.getDataSource();
580    
581                            DB db = DBFactoryUtil.getDB();
582    
583                            sql = db.buildSQL(sql);
584                            sql = PortalUtil.transformSQL(sql);
585    
586                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
587                                            sql, new int[0]);
588    
589                            sqlUpdate.update();
590                    }
591                    catch (Exception e) {
592                            throw new SystemException(e);
593                    }
594            }
595    
596            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMailingListLocalService.class)
597            protected com.liferay.portlet.messageboards.service.MBMailingListLocalService mbMailingListLocalService;
598            @BeanReference(type = MBMailingListPersistence.class)
599            protected MBMailingListPersistence mbMailingListPersistence;
600            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
601            protected com.liferay.counter.service.CounterLocalService counterLocalService;
602            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
603            protected com.liferay.portal.service.UserLocalService userLocalService;
604            @BeanReference(type = com.liferay.portal.service.UserService.class)
605            protected com.liferay.portal.service.UserService userService;
606            @BeanReference(type = UserPersistence.class)
607            protected UserPersistence userPersistence;
608            @BeanReference(type = UserFinder.class)
609            protected UserFinder userFinder;
610            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
611            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
612            private String _beanIdentifier;
613    }