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