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