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.expando.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.exception.PortalException;
025    import com.liferay.portal.kernel.exception.SystemException;
026    import com.liferay.portal.kernel.log.Log;
027    import com.liferay.portal.kernel.log.LogFactoryUtil;
028    import com.liferay.portal.kernel.search.Indexer;
029    import com.liferay.portal.kernel.search.IndexerRegistryUtil;
030    import com.liferay.portal.kernel.search.SearchException;
031    import com.liferay.portal.kernel.util.OrderByComparator;
032    import com.liferay.portal.model.PersistedModel;
033    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
034    import com.liferay.portal.service.ResourceLocalService;
035    import com.liferay.portal.service.ResourceService;
036    import com.liferay.portal.service.UserLocalService;
037    import com.liferay.portal.service.UserService;
038    import com.liferay.portal.service.persistence.ResourceFinder;
039    import com.liferay.portal.service.persistence.ResourcePersistence;
040    import com.liferay.portal.service.persistence.UserFinder;
041    import com.liferay.portal.service.persistence.UserPersistence;
042    
043    import com.liferay.portlet.expando.model.ExpandoValue;
044    import com.liferay.portlet.expando.service.ExpandoColumnLocalService;
045    import com.liferay.portlet.expando.service.ExpandoColumnService;
046    import com.liferay.portlet.expando.service.ExpandoRowLocalService;
047    import com.liferay.portlet.expando.service.ExpandoTableLocalService;
048    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
049    import com.liferay.portlet.expando.service.ExpandoValueService;
050    import com.liferay.portlet.expando.service.persistence.ExpandoColumnPersistence;
051    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
052    import com.liferay.portlet.expando.service.persistence.ExpandoTablePersistence;
053    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
054    
055    import java.io.Serializable;
056    
057    import java.util.List;
058    
059    import javax.sql.DataSource;
060    
061    /**
062     * The base implementation of the expando value local service.
063     *
064     * <p>
065     * 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.expando.service.impl.ExpandoValueLocalServiceImpl}.
066     * </p>
067     *
068     * @author Brian Wing Shun Chan
069     * @see com.liferay.portlet.expando.service.impl.ExpandoValueLocalServiceImpl
070     * @see com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil
071     * @generated
072     */
073    public abstract class ExpandoValueLocalServiceBaseImpl
074            implements ExpandoValueLocalService, IdentifiableBean {
075            /*
076             * NOTE FOR DEVELOPERS:
077             *
078             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.expando.service.ExpandoValueLocalServiceUtil} to access the expando value local service.
079             */
080    
081            /**
082             * Adds the expando value to the database. Also notifies the appropriate model listeners.
083             *
084             * @param expandoValue the expando value
085             * @return the expando value that was added
086             * @throws SystemException if a system exception occurred
087             */
088            public ExpandoValue addExpandoValue(ExpandoValue expandoValue)
089                    throws SystemException {
090                    expandoValue.setNew(true);
091    
092                    expandoValue = expandoValuePersistence.update(expandoValue, false);
093    
094                    Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
095    
096                    if (indexer != null) {
097                            try {
098                                    indexer.reindex(expandoValue);
099                            }
100                            catch (SearchException se) {
101                                    if (_log.isWarnEnabled()) {
102                                            _log.warn(se, se);
103                                    }
104                            }
105                    }
106    
107                    return expandoValue;
108            }
109    
110            /**
111             * Creates a new expando value with the primary key. Does not add the expando value to the database.
112             *
113             * @param valueId the primary key for the new expando value
114             * @return the new expando value
115             */
116            public ExpandoValue createExpandoValue(long valueId) {
117                    return expandoValuePersistence.create(valueId);
118            }
119    
120            /**
121             * Deletes the expando value with the primary key from the database. Also notifies the appropriate model listeners.
122             *
123             * @param valueId the primary key of the expando value
124             * @throws PortalException if a expando value with the primary key could not be found
125             * @throws SystemException if a system exception occurred
126             */
127            public void deleteExpandoValue(long valueId)
128                    throws PortalException, SystemException {
129                    ExpandoValue expandoValue = expandoValuePersistence.remove(valueId);
130    
131                    Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
132    
133                    if (indexer != null) {
134                            try {
135                                    indexer.delete(expandoValue);
136                            }
137                            catch (SearchException se) {
138                                    if (_log.isWarnEnabled()) {
139                                            _log.warn(se, se);
140                                    }
141                            }
142                    }
143            }
144    
145            /**
146             * Deletes the expando value from the database. Also notifies the appropriate model listeners.
147             *
148             * @param expandoValue the expando value
149             * @throws SystemException if a system exception occurred
150             */
151            public void deleteExpandoValue(ExpandoValue expandoValue)
152                    throws SystemException {
153                    expandoValuePersistence.remove(expandoValue);
154    
155                    Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
156    
157                    if (indexer != null) {
158                            try {
159                                    indexer.delete(expandoValue);
160                            }
161                            catch (SearchException se) {
162                                    if (_log.isWarnEnabled()) {
163                                            _log.warn(se, se);
164                                    }
165                            }
166                    }
167            }
168    
169            /**
170             * Performs a dynamic query on the database and returns the matching rows.
171             *
172             * @param dynamicQuery the dynamic query
173             * @return the matching rows
174             * @throws SystemException if a system exception occurred
175             */
176            @SuppressWarnings("rawtypes")
177            public List dynamicQuery(DynamicQuery dynamicQuery)
178                    throws SystemException {
179                    return expandoValuePersistence.findWithDynamicQuery(dynamicQuery);
180            }
181    
182            /**
183             * Performs a dynamic query on the database and returns a range of the matching rows.
184             *
185             * <p>
186             * 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.
187             * </p>
188             *
189             * @param dynamicQuery the dynamic query
190             * @param start the lower bound of the range of model instances
191             * @param end the upper bound of the range of model instances (not inclusive)
192             * @return the range of matching rows
193             * @throws SystemException if a system exception occurred
194             */
195            @SuppressWarnings("rawtypes")
196            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
197                    throws SystemException {
198                    return expandoValuePersistence.findWithDynamicQuery(dynamicQuery,
199                            start, end);
200            }
201    
202            /**
203             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
204             *
205             * <p>
206             * 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.
207             * </p>
208             *
209             * @param dynamicQuery the dynamic query
210             * @param start the lower bound of the range of model instances
211             * @param end the upper bound of the range of model instances (not inclusive)
212             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
213             * @return the ordered range of matching rows
214             * @throws SystemException if a system exception occurred
215             */
216            @SuppressWarnings("rawtypes")
217            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
218                    OrderByComparator orderByComparator) throws SystemException {
219                    return expandoValuePersistence.findWithDynamicQuery(dynamicQuery,
220                            start, end, orderByComparator);
221            }
222    
223            /**
224             * Returns the number of rows that match the dynamic query.
225             *
226             * @param dynamicQuery the dynamic query
227             * @return the number of rows that match the dynamic query
228             * @throws SystemException if a system exception occurred
229             */
230            public long dynamicQueryCount(DynamicQuery dynamicQuery)
231                    throws SystemException {
232                    return expandoValuePersistence.countWithDynamicQuery(dynamicQuery);
233            }
234    
235            public ExpandoValue fetchExpandoValue(long valueId)
236                    throws SystemException {
237                    return expandoValuePersistence.fetchByPrimaryKey(valueId);
238            }
239    
240            /**
241             * Returns the expando value with the primary key.
242             *
243             * @param valueId the primary key of the expando value
244             * @return the expando value
245             * @throws PortalException if a expando value with the primary key could not be found
246             * @throws SystemException if a system exception occurred
247             */
248            public ExpandoValue getExpandoValue(long valueId)
249                    throws PortalException, SystemException {
250                    return expandoValuePersistence.findByPrimaryKey(valueId);
251            }
252    
253            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
254                    throws PortalException, SystemException {
255                    return expandoValuePersistence.findByPrimaryKey(primaryKeyObj);
256            }
257    
258            /**
259             * Returns a range of all the expando values.
260             *
261             * <p>
262             * 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.
263             * </p>
264             *
265             * @param start the lower bound of the range of expando values
266             * @param end the upper bound of the range of expando values (not inclusive)
267             * @return the range of expando values
268             * @throws SystemException if a system exception occurred
269             */
270            public List<ExpandoValue> getExpandoValues(int start, int end)
271                    throws SystemException {
272                    return expandoValuePersistence.findAll(start, end);
273            }
274    
275            /**
276             * Returns the number of expando values.
277             *
278             * @return the number of expando values
279             * @throws SystemException if a system exception occurred
280             */
281            public int getExpandoValuesCount() throws SystemException {
282                    return expandoValuePersistence.countAll();
283            }
284    
285            /**
286             * Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
287             *
288             * @param expandoValue the expando value
289             * @return the expando value that was updated
290             * @throws SystemException if a system exception occurred
291             */
292            public ExpandoValue updateExpandoValue(ExpandoValue expandoValue)
293                    throws SystemException {
294                    return updateExpandoValue(expandoValue, true);
295            }
296    
297            /**
298             * Updates the expando value in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
299             *
300             * @param expandoValue the expando value
301             * @param merge whether to merge the expando value with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
302             * @return the expando value that was updated
303             * @throws SystemException if a system exception occurred
304             */
305            public ExpandoValue updateExpandoValue(ExpandoValue expandoValue,
306                    boolean merge) throws SystemException {
307                    expandoValue.setNew(false);
308    
309                    expandoValue = expandoValuePersistence.update(expandoValue, merge);
310    
311                    Indexer indexer = IndexerRegistryUtil.getIndexer(getModelClassName());
312    
313                    if (indexer != null) {
314                            try {
315                                    indexer.reindex(expandoValue);
316                            }
317                            catch (SearchException se) {
318                                    if (_log.isWarnEnabled()) {
319                                            _log.warn(se, se);
320                                    }
321                            }
322                    }
323    
324                    return expandoValue;
325            }
326    
327            /**
328             * Returns the expando column local service.
329             *
330             * @return the expando column local service
331             */
332            public ExpandoColumnLocalService getExpandoColumnLocalService() {
333                    return expandoColumnLocalService;
334            }
335    
336            /**
337             * Sets the expando column local service.
338             *
339             * @param expandoColumnLocalService the expando column local service
340             */
341            public void setExpandoColumnLocalService(
342                    ExpandoColumnLocalService expandoColumnLocalService) {
343                    this.expandoColumnLocalService = expandoColumnLocalService;
344            }
345    
346            /**
347             * Returns the expando column remote service.
348             *
349             * @return the expando column remote service
350             */
351            public ExpandoColumnService getExpandoColumnService() {
352                    return expandoColumnService;
353            }
354    
355            /**
356             * Sets the expando column remote service.
357             *
358             * @param expandoColumnService the expando column remote service
359             */
360            public void setExpandoColumnService(
361                    ExpandoColumnService expandoColumnService) {
362                    this.expandoColumnService = expandoColumnService;
363            }
364    
365            /**
366             * Returns the expando column persistence.
367             *
368             * @return the expando column persistence
369             */
370            public ExpandoColumnPersistence getExpandoColumnPersistence() {
371                    return expandoColumnPersistence;
372            }
373    
374            /**
375             * Sets the expando column persistence.
376             *
377             * @param expandoColumnPersistence the expando column persistence
378             */
379            public void setExpandoColumnPersistence(
380                    ExpandoColumnPersistence expandoColumnPersistence) {
381                    this.expandoColumnPersistence = expandoColumnPersistence;
382            }
383    
384            /**
385             * Returns the expando row local service.
386             *
387             * @return the expando row local service
388             */
389            public ExpandoRowLocalService getExpandoRowLocalService() {
390                    return expandoRowLocalService;
391            }
392    
393            /**
394             * Sets the expando row local service.
395             *
396             * @param expandoRowLocalService the expando row local service
397             */
398            public void setExpandoRowLocalService(
399                    ExpandoRowLocalService expandoRowLocalService) {
400                    this.expandoRowLocalService = expandoRowLocalService;
401            }
402    
403            /**
404             * Returns the expando row persistence.
405             *
406             * @return the expando row persistence
407             */
408            public ExpandoRowPersistence getExpandoRowPersistence() {
409                    return expandoRowPersistence;
410            }
411    
412            /**
413             * Sets the expando row persistence.
414             *
415             * @param expandoRowPersistence the expando row persistence
416             */
417            public void setExpandoRowPersistence(
418                    ExpandoRowPersistence expandoRowPersistence) {
419                    this.expandoRowPersistence = expandoRowPersistence;
420            }
421    
422            /**
423             * Returns the expando table local service.
424             *
425             * @return the expando table local service
426             */
427            public ExpandoTableLocalService getExpandoTableLocalService() {
428                    return expandoTableLocalService;
429            }
430    
431            /**
432             * Sets the expando table local service.
433             *
434             * @param expandoTableLocalService the expando table local service
435             */
436            public void setExpandoTableLocalService(
437                    ExpandoTableLocalService expandoTableLocalService) {
438                    this.expandoTableLocalService = expandoTableLocalService;
439            }
440    
441            /**
442             * Returns the expando table persistence.
443             *
444             * @return the expando table persistence
445             */
446            public ExpandoTablePersistence getExpandoTablePersistence() {
447                    return expandoTablePersistence;
448            }
449    
450            /**
451             * Sets the expando table persistence.
452             *
453             * @param expandoTablePersistence the expando table persistence
454             */
455            public void setExpandoTablePersistence(
456                    ExpandoTablePersistence expandoTablePersistence) {
457                    this.expandoTablePersistence = expandoTablePersistence;
458            }
459    
460            /**
461             * Returns the expando value local service.
462             *
463             * @return the expando value local service
464             */
465            public ExpandoValueLocalService getExpandoValueLocalService() {
466                    return expandoValueLocalService;
467            }
468    
469            /**
470             * Sets the expando value local service.
471             *
472             * @param expandoValueLocalService the expando value local service
473             */
474            public void setExpandoValueLocalService(
475                    ExpandoValueLocalService expandoValueLocalService) {
476                    this.expandoValueLocalService = expandoValueLocalService;
477            }
478    
479            /**
480             * Returns the expando value remote service.
481             *
482             * @return the expando value remote service
483             */
484            public ExpandoValueService getExpandoValueService() {
485                    return expandoValueService;
486            }
487    
488            /**
489             * Sets the expando value remote service.
490             *
491             * @param expandoValueService the expando value remote service
492             */
493            public void setExpandoValueService(ExpandoValueService expandoValueService) {
494                    this.expandoValueService = expandoValueService;
495            }
496    
497            /**
498             * Returns the expando value persistence.
499             *
500             * @return the expando value persistence
501             */
502            public ExpandoValuePersistence getExpandoValuePersistence() {
503                    return expandoValuePersistence;
504            }
505    
506            /**
507             * Sets the expando value persistence.
508             *
509             * @param expandoValuePersistence the expando value persistence
510             */
511            public void setExpandoValuePersistence(
512                    ExpandoValuePersistence expandoValuePersistence) {
513                    this.expandoValuePersistence = expandoValuePersistence;
514            }
515    
516            /**
517             * Returns the counter local service.
518             *
519             * @return the counter local service
520             */
521            public CounterLocalService getCounterLocalService() {
522                    return counterLocalService;
523            }
524    
525            /**
526             * Sets the counter local service.
527             *
528             * @param counterLocalService the counter local service
529             */
530            public void setCounterLocalService(CounterLocalService counterLocalService) {
531                    this.counterLocalService = counterLocalService;
532            }
533    
534            /**
535             * Returns the resource local service.
536             *
537             * @return the resource local service
538             */
539            public ResourceLocalService getResourceLocalService() {
540                    return resourceLocalService;
541            }
542    
543            /**
544             * Sets the resource local service.
545             *
546             * @param resourceLocalService the resource local service
547             */
548            public void setResourceLocalService(
549                    ResourceLocalService resourceLocalService) {
550                    this.resourceLocalService = resourceLocalService;
551            }
552    
553            /**
554             * Returns the resource remote service.
555             *
556             * @return the resource remote service
557             */
558            public ResourceService getResourceService() {
559                    return resourceService;
560            }
561    
562            /**
563             * Sets the resource remote service.
564             *
565             * @param resourceService the resource remote service
566             */
567            public void setResourceService(ResourceService resourceService) {
568                    this.resourceService = resourceService;
569            }
570    
571            /**
572             * Returns the resource persistence.
573             *
574             * @return the resource persistence
575             */
576            public ResourcePersistence getResourcePersistence() {
577                    return resourcePersistence;
578            }
579    
580            /**
581             * Sets the resource persistence.
582             *
583             * @param resourcePersistence the resource persistence
584             */
585            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
586                    this.resourcePersistence = resourcePersistence;
587            }
588    
589            /**
590             * Returns the resource finder.
591             *
592             * @return the resource finder
593             */
594            public ResourceFinder getResourceFinder() {
595                    return resourceFinder;
596            }
597    
598            /**
599             * Sets the resource finder.
600             *
601             * @param resourceFinder the resource finder
602             */
603            public void setResourceFinder(ResourceFinder resourceFinder) {
604                    this.resourceFinder = resourceFinder;
605            }
606    
607            /**
608             * Returns the user local service.
609             *
610             * @return the user local service
611             */
612            public UserLocalService getUserLocalService() {
613                    return userLocalService;
614            }
615    
616            /**
617             * Sets the user local service.
618             *
619             * @param userLocalService the user local service
620             */
621            public void setUserLocalService(UserLocalService userLocalService) {
622                    this.userLocalService = userLocalService;
623            }
624    
625            /**
626             * Returns the user remote service.
627             *
628             * @return the user remote service
629             */
630            public UserService getUserService() {
631                    return userService;
632            }
633    
634            /**
635             * Sets the user remote service.
636             *
637             * @param userService the user remote service
638             */
639            public void setUserService(UserService userService) {
640                    this.userService = userService;
641            }
642    
643            /**
644             * Returns the user persistence.
645             *
646             * @return the user persistence
647             */
648            public UserPersistence getUserPersistence() {
649                    return userPersistence;
650            }
651    
652            /**
653             * Sets the user persistence.
654             *
655             * @param userPersistence the user persistence
656             */
657            public void setUserPersistence(UserPersistence userPersistence) {
658                    this.userPersistence = userPersistence;
659            }
660    
661            /**
662             * Returns the user finder.
663             *
664             * @return the user finder
665             */
666            public UserFinder getUserFinder() {
667                    return userFinder;
668            }
669    
670            /**
671             * Sets the user finder.
672             *
673             * @param userFinder the user finder
674             */
675            public void setUserFinder(UserFinder userFinder) {
676                    this.userFinder = userFinder;
677            }
678    
679            public void afterPropertiesSet() {
680                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.expando.model.ExpandoValue",
681                            expandoValueLocalService);
682            }
683    
684            public void destroy() {
685                    persistedModelLocalServiceRegistry.unregister(
686                            "com.liferay.portlet.expando.model.ExpandoValue");
687            }
688    
689            /**
690             * Returns the Spring bean ID for this bean.
691             *
692             * @return the Spring bean ID for this bean
693             */
694            public String getBeanIdentifier() {
695                    return _beanIdentifier;
696            }
697    
698            /**
699             * Sets the Spring bean ID for this bean.
700             *
701             * @param beanIdentifier the Spring bean ID for this bean
702             */
703            public void setBeanIdentifier(String beanIdentifier) {
704                    _beanIdentifier = beanIdentifier;
705            }
706    
707            protected ClassLoader getClassLoader() {
708                    Class<?> clazz = getClass();
709    
710                    return clazz.getClassLoader();
711            }
712    
713            protected Class<?> getModelClass() {
714                    return ExpandoValue.class;
715            }
716    
717            protected String getModelClassName() {
718                    return ExpandoValue.class.getName();
719            }
720    
721            /**
722             * Performs an SQL query.
723             *
724             * @param sql the sql query
725             */
726            protected void runSQL(String sql) throws SystemException {
727                    try {
728                            DataSource dataSource = expandoValuePersistence.getDataSource();
729    
730                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
731                                            sql, new int[0]);
732    
733                            sqlUpdate.update();
734                    }
735                    catch (Exception e) {
736                            throw new SystemException(e);
737                    }
738            }
739    
740            @BeanReference(type = ExpandoColumnLocalService.class)
741            protected ExpandoColumnLocalService expandoColumnLocalService;
742            @BeanReference(type = ExpandoColumnService.class)
743            protected ExpandoColumnService expandoColumnService;
744            @BeanReference(type = ExpandoColumnPersistence.class)
745            protected ExpandoColumnPersistence expandoColumnPersistence;
746            @BeanReference(type = ExpandoRowLocalService.class)
747            protected ExpandoRowLocalService expandoRowLocalService;
748            @BeanReference(type = ExpandoRowPersistence.class)
749            protected ExpandoRowPersistence expandoRowPersistence;
750            @BeanReference(type = ExpandoTableLocalService.class)
751            protected ExpandoTableLocalService expandoTableLocalService;
752            @BeanReference(type = ExpandoTablePersistence.class)
753            protected ExpandoTablePersistence expandoTablePersistence;
754            @BeanReference(type = ExpandoValueLocalService.class)
755            protected ExpandoValueLocalService expandoValueLocalService;
756            @BeanReference(type = ExpandoValueService.class)
757            protected ExpandoValueService expandoValueService;
758            @BeanReference(type = ExpandoValuePersistence.class)
759            protected ExpandoValuePersistence expandoValuePersistence;
760            @BeanReference(type = CounterLocalService.class)
761            protected CounterLocalService counterLocalService;
762            @BeanReference(type = ResourceLocalService.class)
763            protected ResourceLocalService resourceLocalService;
764            @BeanReference(type = ResourceService.class)
765            protected ResourceService resourceService;
766            @BeanReference(type = ResourcePersistence.class)
767            protected ResourcePersistence resourcePersistence;
768            @BeanReference(type = ResourceFinder.class)
769            protected ResourceFinder resourceFinder;
770            @BeanReference(type = UserLocalService.class)
771            protected UserLocalService userLocalService;
772            @BeanReference(type = UserService.class)
773            protected UserService userService;
774            @BeanReference(type = UserPersistence.class)
775            protected UserPersistence userPersistence;
776            @BeanReference(type = UserFinder.class)
777            protected UserFinder userFinder;
778            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
779            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
780            private static Log _log = LogFactoryUtil.getLog(ExpandoValueLocalServiceBaseImpl.class);
781            private String _beanIdentifier;
782    }