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