001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.mobiledevicerules.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
024    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
025    import com.liferay.portal.kernel.exception.PortalException;
026    import com.liferay.portal.kernel.exception.SystemException;
027    import com.liferay.portal.kernel.search.Indexable;
028    import com.liferay.portal.kernel.search.IndexableType;
029    import com.liferay.portal.kernel.util.OrderByComparator;
030    import com.liferay.portal.model.PersistedModel;
031    import com.liferay.portal.service.BaseLocalServiceImpl;
032    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
033    import com.liferay.portal.service.ResourceLocalService;
034    import com.liferay.portal.service.UserLocalService;
035    import com.liferay.portal.service.UserService;
036    import com.liferay.portal.service.persistence.UserFinder;
037    import com.liferay.portal.service.persistence.UserPersistence;
038    
039    import com.liferay.portlet.mobiledevicerules.model.MDRRule;
040    import com.liferay.portlet.mobiledevicerules.service.MDRActionLocalService;
041    import com.liferay.portlet.mobiledevicerules.service.MDRActionService;
042    import com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceLocalService;
043    import com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupInstanceService;
044    import com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupLocalService;
045    import com.liferay.portlet.mobiledevicerules.service.MDRRuleGroupService;
046    import com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalService;
047    import com.liferay.portlet.mobiledevicerules.service.MDRRuleService;
048    import com.liferay.portlet.mobiledevicerules.service.persistence.MDRActionPersistence;
049    import com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupFinder;
050    import com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupInstancePersistence;
051    import com.liferay.portlet.mobiledevicerules.service.persistence.MDRRuleGroupPersistence;
052    import com.liferay.portlet.mobiledevicerules.service.persistence.MDRRulePersistence;
053    
054    import java.io.Serializable;
055    
056    import java.util.List;
057    
058    import javax.sql.DataSource;
059    
060    /**
061     * The base implementation of the m d r rule local service.
062     *
063     * <p>
064     * This implementation exists only as a container for the default service methods generated by ServiceBuilder. All custom service methods should be put in {@link com.liferay.portlet.mobiledevicerules.service.impl.MDRRuleLocalServiceImpl}.
065     * </p>
066     *
067     * @author Edward C. Han
068     * @see com.liferay.portlet.mobiledevicerules.service.impl.MDRRuleLocalServiceImpl
069     * @see com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalServiceUtil
070     * @generated
071     */
072    public abstract class MDRRuleLocalServiceBaseImpl extends BaseLocalServiceImpl
073            implements MDRRuleLocalService, IdentifiableBean {
074            /*
075             * NOTE FOR DEVELOPERS:
076             *
077             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.mobiledevicerules.service.MDRRuleLocalServiceUtil} to access the m d r rule local service.
078             */
079    
080            /**
081             * Adds the m d r rule to the database. Also notifies the appropriate model listeners.
082             *
083             * @param mdrRule the m d r rule
084             * @return the m d r rule that was added
085             * @throws SystemException if a system exception occurred
086             */
087            @Indexable(type = IndexableType.REINDEX)
088            public MDRRule addMDRRule(MDRRule mdrRule) throws SystemException {
089                    mdrRule.setNew(true);
090    
091                    return mdrRulePersistence.update(mdrRule);
092            }
093    
094            /**
095             * Creates a new m d r rule with the primary key. Does not add the m d r rule to the database.
096             *
097             * @param ruleId the primary key for the new m d r rule
098             * @return the new m d r rule
099             */
100            public MDRRule createMDRRule(long ruleId) {
101                    return mdrRulePersistence.create(ruleId);
102            }
103    
104            /**
105             * Deletes the m d r rule with the primary key from the database. Also notifies the appropriate model listeners.
106             *
107             * @param ruleId the primary key of the m d r rule
108             * @return the m d r rule that was removed
109             * @throws PortalException if a m d r rule with the primary key could not be found
110             * @throws SystemException if a system exception occurred
111             */
112            @Indexable(type = IndexableType.DELETE)
113            public MDRRule deleteMDRRule(long ruleId)
114                    throws PortalException, SystemException {
115                    return mdrRulePersistence.remove(ruleId);
116            }
117    
118            /**
119             * Deletes the m d r rule from the database. Also notifies the appropriate model listeners.
120             *
121             * @param mdrRule the m d r rule
122             * @return the m d r rule that was removed
123             * @throws SystemException if a system exception occurred
124             */
125            @Indexable(type = IndexableType.DELETE)
126            public MDRRule deleteMDRRule(MDRRule mdrRule) throws SystemException {
127                    return mdrRulePersistence.remove(mdrRule);
128            }
129    
130            public DynamicQuery dynamicQuery() {
131                    Class<?> clazz = getClass();
132    
133                    return DynamicQueryFactoryUtil.forClass(MDRRule.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             * @throws SystemException if a system exception occurred
143             */
144            @SuppressWarnings("rawtypes")
145            public List dynamicQuery(DynamicQuery dynamicQuery)
146                    throws SystemException {
147                    return mdrRulePersistence.findWithDynamicQuery(dynamicQuery);
148            }
149    
150            /**
151             * Performs a dynamic query on the database and returns a range of the matching rows.
152             *
153             * <p>
154             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
155             * </p>
156             *
157             * @param dynamicQuery the dynamic query
158             * @param start the lower bound of the range of model instances
159             * @param end the upper bound of the range of model instances (not inclusive)
160             * @return the range of matching rows
161             * @throws SystemException if a system exception occurred
162             */
163            @SuppressWarnings("rawtypes")
164            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
165                    throws SystemException {
166                    return mdrRulePersistence.findWithDynamicQuery(dynamicQuery, start, end);
167            }
168    
169            /**
170             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
171             *
172             * <p>
173             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
174             * </p>
175             *
176             * @param dynamicQuery the dynamic query
177             * @param start the lower bound of the range of model instances
178             * @param end the upper bound of the range of model instances (not inclusive)
179             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
180             * @return the ordered range of matching rows
181             * @throws SystemException if a system exception occurred
182             */
183            @SuppressWarnings("rawtypes")
184            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
185                    OrderByComparator orderByComparator) throws SystemException {
186                    return mdrRulePersistence.findWithDynamicQuery(dynamicQuery, start,
187                            end, orderByComparator);
188            }
189    
190            /**
191             * Returns the number of rows that match the dynamic query.
192             *
193             * @param dynamicQuery the dynamic query
194             * @return the number of rows that match the dynamic query
195             * @throws SystemException if a system exception occurred
196             */
197            public long dynamicQueryCount(DynamicQuery dynamicQuery)
198                    throws SystemException {
199                    return mdrRulePersistence.countWithDynamicQuery(dynamicQuery);
200            }
201    
202            public MDRRule fetchMDRRule(long ruleId) throws SystemException {
203                    return mdrRulePersistence.fetchByPrimaryKey(ruleId);
204            }
205    
206            /**
207             * Returns the m d r rule with the primary key.
208             *
209             * @param ruleId the primary key of the m d r rule
210             * @return the m d r rule
211             * @throws PortalException if a m d r rule with the primary key could not be found
212             * @throws SystemException if a system exception occurred
213             */
214            public MDRRule getMDRRule(long ruleId)
215                    throws PortalException, SystemException {
216                    return mdrRulePersistence.findByPrimaryKey(ruleId);
217            }
218    
219            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
220                    throws PortalException, SystemException {
221                    return mdrRulePersistence.findByPrimaryKey(primaryKeyObj);
222            }
223    
224            /**
225             * Returns the m d r rule with the UUID in the group.
226             *
227             * @param uuid the UUID of m d r rule
228             * @param groupId the group id of the m d r rule
229             * @return the m d r rule
230             * @throws PortalException if a m d r rule with the UUID in the group could not be found
231             * @throws SystemException if a system exception occurred
232             */
233            public MDRRule getMDRRuleByUuidAndGroupId(String uuid, long groupId)
234                    throws PortalException, SystemException {
235                    return mdrRulePersistence.findByUUID_G(uuid, groupId);
236            }
237    
238            /**
239             * Returns a range of all the m d r rules.
240             *
241             * <p>
242             * 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.
243             * </p>
244             *
245             * @param start the lower bound of the range of m d r rules
246             * @param end the upper bound of the range of m d r rules (not inclusive)
247             * @return the range of m d r rules
248             * @throws SystemException if a system exception occurred
249             */
250            public List<MDRRule> getMDRRules(int start, int end)
251                    throws SystemException {
252                    return mdrRulePersistence.findAll(start, end);
253            }
254    
255            /**
256             * Returns the number of m d r rules.
257             *
258             * @return the number of m d r rules
259             * @throws SystemException if a system exception occurred
260             */
261            public int getMDRRulesCount() throws SystemException {
262                    return mdrRulePersistence.countAll();
263            }
264    
265            /**
266             * Updates the m d r rule in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
267             *
268             * @param mdrRule the m d r rule
269             * @return the m d r rule that was updated
270             * @throws SystemException if a system exception occurred
271             */
272            @Indexable(type = IndexableType.REINDEX)
273            public MDRRule updateMDRRule(MDRRule mdrRule) throws SystemException {
274                    return mdrRulePersistence.update(mdrRule);
275            }
276    
277            /**
278             * Returns the m d r action local service.
279             *
280             * @return the m d r action local service
281             */
282            public MDRActionLocalService getMDRActionLocalService() {
283                    return mdrActionLocalService;
284            }
285    
286            /**
287             * Sets the m d r action local service.
288             *
289             * @param mdrActionLocalService the m d r action local service
290             */
291            public void setMDRActionLocalService(
292                    MDRActionLocalService mdrActionLocalService) {
293                    this.mdrActionLocalService = mdrActionLocalService;
294            }
295    
296            /**
297             * Returns the m d r action remote service.
298             *
299             * @return the m d r action remote service
300             */
301            public MDRActionService getMDRActionService() {
302                    return mdrActionService;
303            }
304    
305            /**
306             * Sets the m d r action remote service.
307             *
308             * @param mdrActionService the m d r action remote service
309             */
310            public void setMDRActionService(MDRActionService mdrActionService) {
311                    this.mdrActionService = mdrActionService;
312            }
313    
314            /**
315             * Returns the m d r action persistence.
316             *
317             * @return the m d r action persistence
318             */
319            public MDRActionPersistence getMDRActionPersistence() {
320                    return mdrActionPersistence;
321            }
322    
323            /**
324             * Sets the m d r action persistence.
325             *
326             * @param mdrActionPersistence the m d r action persistence
327             */
328            public void setMDRActionPersistence(
329                    MDRActionPersistence mdrActionPersistence) {
330                    this.mdrActionPersistence = mdrActionPersistence;
331            }
332    
333            /**
334             * Returns the m d r rule local service.
335             *
336             * @return the m d r rule local service
337             */
338            public MDRRuleLocalService getMDRRuleLocalService() {
339                    return mdrRuleLocalService;
340            }
341    
342            /**
343             * Sets the m d r rule local service.
344             *
345             * @param mdrRuleLocalService the m d r rule local service
346             */
347            public void setMDRRuleLocalService(MDRRuleLocalService mdrRuleLocalService) {
348                    this.mdrRuleLocalService = mdrRuleLocalService;
349            }
350    
351            /**
352             * Returns the m d r rule remote service.
353             *
354             * @return the m d r rule remote service
355             */
356            public MDRRuleService getMDRRuleService() {
357                    return mdrRuleService;
358            }
359    
360            /**
361             * Sets the m d r rule remote service.
362             *
363             * @param mdrRuleService the m d r rule remote service
364             */
365            public void setMDRRuleService(MDRRuleService mdrRuleService) {
366                    this.mdrRuleService = mdrRuleService;
367            }
368    
369            /**
370             * Returns the m d r rule persistence.
371             *
372             * @return the m d r rule persistence
373             */
374            public MDRRulePersistence getMDRRulePersistence() {
375                    return mdrRulePersistence;
376            }
377    
378            /**
379             * Sets the m d r rule persistence.
380             *
381             * @param mdrRulePersistence the m d r rule persistence
382             */
383            public void setMDRRulePersistence(MDRRulePersistence mdrRulePersistence) {
384                    this.mdrRulePersistence = mdrRulePersistence;
385            }
386    
387            /**
388             * Returns the m d r rule group local service.
389             *
390             * @return the m d r rule group local service
391             */
392            public MDRRuleGroupLocalService getMDRRuleGroupLocalService() {
393                    return mdrRuleGroupLocalService;
394            }
395    
396            /**
397             * Sets the m d r rule group local service.
398             *
399             * @param mdrRuleGroupLocalService the m d r rule group local service
400             */
401            public void setMDRRuleGroupLocalService(
402                    MDRRuleGroupLocalService mdrRuleGroupLocalService) {
403                    this.mdrRuleGroupLocalService = mdrRuleGroupLocalService;
404            }
405    
406            /**
407             * Returns the m d r rule group remote service.
408             *
409             * @return the m d r rule group remote service
410             */
411            public MDRRuleGroupService getMDRRuleGroupService() {
412                    return mdrRuleGroupService;
413            }
414    
415            /**
416             * Sets the m d r rule group remote service.
417             *
418             * @param mdrRuleGroupService the m d r rule group remote service
419             */
420            public void setMDRRuleGroupService(MDRRuleGroupService mdrRuleGroupService) {
421                    this.mdrRuleGroupService = mdrRuleGroupService;
422            }
423    
424            /**
425             * Returns the m d r rule group persistence.
426             *
427             * @return the m d r rule group persistence
428             */
429            public MDRRuleGroupPersistence getMDRRuleGroupPersistence() {
430                    return mdrRuleGroupPersistence;
431            }
432    
433            /**
434             * Sets the m d r rule group persistence.
435             *
436             * @param mdrRuleGroupPersistence the m d r rule group persistence
437             */
438            public void setMDRRuleGroupPersistence(
439                    MDRRuleGroupPersistence mdrRuleGroupPersistence) {
440                    this.mdrRuleGroupPersistence = mdrRuleGroupPersistence;
441            }
442    
443            /**
444             * Returns the m d r rule group finder.
445             *
446             * @return the m d r rule group finder
447             */
448            public MDRRuleGroupFinder getMDRRuleGroupFinder() {
449                    return mdrRuleGroupFinder;
450            }
451    
452            /**
453             * Sets the m d r rule group finder.
454             *
455             * @param mdrRuleGroupFinder the m d r rule group finder
456             */
457            public void setMDRRuleGroupFinder(MDRRuleGroupFinder mdrRuleGroupFinder) {
458                    this.mdrRuleGroupFinder = mdrRuleGroupFinder;
459            }
460    
461            /**
462             * Returns the m d r rule group instance local service.
463             *
464             * @return the m d r rule group instance local service
465             */
466            public MDRRuleGroupInstanceLocalService getMDRRuleGroupInstanceLocalService() {
467                    return mdrRuleGroupInstanceLocalService;
468            }
469    
470            /**
471             * Sets the m d r rule group instance local service.
472             *
473             * @param mdrRuleGroupInstanceLocalService the m d r rule group instance local service
474             */
475            public void setMDRRuleGroupInstanceLocalService(
476                    MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService) {
477                    this.mdrRuleGroupInstanceLocalService = mdrRuleGroupInstanceLocalService;
478            }
479    
480            /**
481             * Returns the m d r rule group instance remote service.
482             *
483             * @return the m d r rule group instance remote service
484             */
485            public MDRRuleGroupInstanceService getMDRRuleGroupInstanceService() {
486                    return mdrRuleGroupInstanceService;
487            }
488    
489            /**
490             * Sets the m d r rule group instance remote service.
491             *
492             * @param mdrRuleGroupInstanceService the m d r rule group instance remote service
493             */
494            public void setMDRRuleGroupInstanceService(
495                    MDRRuleGroupInstanceService mdrRuleGroupInstanceService) {
496                    this.mdrRuleGroupInstanceService = mdrRuleGroupInstanceService;
497            }
498    
499            /**
500             * Returns the m d r rule group instance persistence.
501             *
502             * @return the m d r rule group instance persistence
503             */
504            public MDRRuleGroupInstancePersistence getMDRRuleGroupInstancePersistence() {
505                    return mdrRuleGroupInstancePersistence;
506            }
507    
508            /**
509             * Sets the m d r rule group instance persistence.
510             *
511             * @param mdrRuleGroupInstancePersistence the m d r rule group instance persistence
512             */
513            public void setMDRRuleGroupInstancePersistence(
514                    MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence) {
515                    this.mdrRuleGroupInstancePersistence = mdrRuleGroupInstancePersistence;
516            }
517    
518            /**
519             * Returns the counter local service.
520             *
521             * @return the counter local service
522             */
523            public CounterLocalService getCounterLocalService() {
524                    return counterLocalService;
525            }
526    
527            /**
528             * Sets the counter local service.
529             *
530             * @param counterLocalService the counter local service
531             */
532            public void setCounterLocalService(CounterLocalService counterLocalService) {
533                    this.counterLocalService = counterLocalService;
534            }
535    
536            /**
537             * Returns the resource local service.
538             *
539             * @return the resource local service
540             */
541            public ResourceLocalService getResourceLocalService() {
542                    return resourceLocalService;
543            }
544    
545            /**
546             * Sets the resource local service.
547             *
548             * @param resourceLocalService the resource local service
549             */
550            public void setResourceLocalService(
551                    ResourceLocalService resourceLocalService) {
552                    this.resourceLocalService = resourceLocalService;
553            }
554    
555            /**
556             * Returns the user local service.
557             *
558             * @return the user local service
559             */
560            public UserLocalService getUserLocalService() {
561                    return userLocalService;
562            }
563    
564            /**
565             * Sets the user local service.
566             *
567             * @param userLocalService the user local service
568             */
569            public void setUserLocalService(UserLocalService userLocalService) {
570                    this.userLocalService = userLocalService;
571            }
572    
573            /**
574             * Returns the user remote service.
575             *
576             * @return the user remote service
577             */
578            public UserService getUserService() {
579                    return userService;
580            }
581    
582            /**
583             * Sets the user remote service.
584             *
585             * @param userService the user remote service
586             */
587            public void setUserService(UserService userService) {
588                    this.userService = userService;
589            }
590    
591            /**
592             * Returns the user persistence.
593             *
594             * @return the user persistence
595             */
596            public UserPersistence getUserPersistence() {
597                    return userPersistence;
598            }
599    
600            /**
601             * Sets the user persistence.
602             *
603             * @param userPersistence the user persistence
604             */
605            public void setUserPersistence(UserPersistence userPersistence) {
606                    this.userPersistence = userPersistence;
607            }
608    
609            /**
610             * Returns the user finder.
611             *
612             * @return the user finder
613             */
614            public UserFinder getUserFinder() {
615                    return userFinder;
616            }
617    
618            /**
619             * Sets the user finder.
620             *
621             * @param userFinder the user finder
622             */
623            public void setUserFinder(UserFinder userFinder) {
624                    this.userFinder = userFinder;
625            }
626    
627            public void afterPropertiesSet() {
628                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.mobiledevicerules.model.MDRRule",
629                            mdrRuleLocalService);
630            }
631    
632            public void destroy() {
633                    persistedModelLocalServiceRegistry.unregister(
634                            "com.liferay.portlet.mobiledevicerules.model.MDRRule");
635            }
636    
637            /**
638             * Returns the Spring bean ID for this bean.
639             *
640             * @return the Spring bean ID for this bean
641             */
642            public String getBeanIdentifier() {
643                    return _beanIdentifier;
644            }
645    
646            /**
647             * Sets the Spring bean ID for this bean.
648             *
649             * @param beanIdentifier the Spring bean ID for this bean
650             */
651            public void setBeanIdentifier(String beanIdentifier) {
652                    _beanIdentifier = beanIdentifier;
653            }
654    
655            protected Class<?> getModelClass() {
656                    return MDRRule.class;
657            }
658    
659            protected String getModelClassName() {
660                    return MDRRule.class.getName();
661            }
662    
663            /**
664             * Performs an SQL query.
665             *
666             * @param sql the sql query
667             */
668            protected void runSQL(String sql) throws SystemException {
669                    try {
670                            DataSource dataSource = mdrRulePersistence.getDataSource();
671    
672                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
673                                            sql, new int[0]);
674    
675                            sqlUpdate.update();
676                    }
677                    catch (Exception e) {
678                            throw new SystemException(e);
679                    }
680            }
681    
682            @BeanReference(type = MDRActionLocalService.class)
683            protected MDRActionLocalService mdrActionLocalService;
684            @BeanReference(type = MDRActionService.class)
685            protected MDRActionService mdrActionService;
686            @BeanReference(type = MDRActionPersistence.class)
687            protected MDRActionPersistence mdrActionPersistence;
688            @BeanReference(type = MDRRuleLocalService.class)
689            protected MDRRuleLocalService mdrRuleLocalService;
690            @BeanReference(type = MDRRuleService.class)
691            protected MDRRuleService mdrRuleService;
692            @BeanReference(type = MDRRulePersistence.class)
693            protected MDRRulePersistence mdrRulePersistence;
694            @BeanReference(type = MDRRuleGroupLocalService.class)
695            protected MDRRuleGroupLocalService mdrRuleGroupLocalService;
696            @BeanReference(type = MDRRuleGroupService.class)
697            protected MDRRuleGroupService mdrRuleGroupService;
698            @BeanReference(type = MDRRuleGroupPersistence.class)
699            protected MDRRuleGroupPersistence mdrRuleGroupPersistence;
700            @BeanReference(type = MDRRuleGroupFinder.class)
701            protected MDRRuleGroupFinder mdrRuleGroupFinder;
702            @BeanReference(type = MDRRuleGroupInstanceLocalService.class)
703            protected MDRRuleGroupInstanceLocalService mdrRuleGroupInstanceLocalService;
704            @BeanReference(type = MDRRuleGroupInstanceService.class)
705            protected MDRRuleGroupInstanceService mdrRuleGroupInstanceService;
706            @BeanReference(type = MDRRuleGroupInstancePersistence.class)
707            protected MDRRuleGroupInstancePersistence mdrRuleGroupInstancePersistence;
708            @BeanReference(type = CounterLocalService.class)
709            protected CounterLocalService counterLocalService;
710            @BeanReference(type = ResourceLocalService.class)
711            protected ResourceLocalService resourceLocalService;
712            @BeanReference(type = UserLocalService.class)
713            protected UserLocalService userLocalService;
714            @BeanReference(type = UserService.class)
715            protected UserService userService;
716            @BeanReference(type = UserPersistence.class)
717            protected UserPersistence userPersistence;
718            @BeanReference(type = UserFinder.class)
719            protected UserFinder userFinder;
720            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
721            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
722            private String _beanIdentifier;
723    }