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