001    /**
002     * Copyright (c) 2000-2013 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.blogs.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.CompanyLocalService;
033    import com.liferay.portal.service.CompanyService;
034    import com.liferay.portal.service.GroupLocalService;
035    import com.liferay.portal.service.GroupService;
036    import com.liferay.portal.service.ImageLocalService;
037    import com.liferay.portal.service.ImageService;
038    import com.liferay.portal.service.OrganizationLocalService;
039    import com.liferay.portal.service.OrganizationService;
040    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
041    import com.liferay.portal.service.PortletPreferencesLocalService;
042    import com.liferay.portal.service.PortletPreferencesService;
043    import com.liferay.portal.service.ResourceLocalService;
044    import com.liferay.portal.service.ResourceService;
045    import com.liferay.portal.service.SubscriptionLocalService;
046    import com.liferay.portal.service.UserLocalService;
047    import com.liferay.portal.service.UserService;
048    import com.liferay.portal.service.WorkflowInstanceLinkLocalService;
049    import com.liferay.portal.service.persistence.CompanyPersistence;
050    import com.liferay.portal.service.persistence.GroupFinder;
051    import com.liferay.portal.service.persistence.GroupPersistence;
052    import com.liferay.portal.service.persistence.ImagePersistence;
053    import com.liferay.portal.service.persistence.OrganizationFinder;
054    import com.liferay.portal.service.persistence.OrganizationPersistence;
055    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
056    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
057    import com.liferay.portal.service.persistence.ResourceFinder;
058    import com.liferay.portal.service.persistence.ResourcePersistence;
059    import com.liferay.portal.service.persistence.SubscriptionPersistence;
060    import com.liferay.portal.service.persistence.UserFinder;
061    import com.liferay.portal.service.persistence.UserPersistence;
062    import com.liferay.portal.service.persistence.WorkflowInstanceLinkPersistence;
063    
064    import com.liferay.portlet.asset.service.AssetEntryLocalService;
065    import com.liferay.portlet.asset.service.AssetEntryService;
066    import com.liferay.portlet.asset.service.AssetLinkLocalService;
067    import com.liferay.portlet.asset.service.AssetTagLocalService;
068    import com.liferay.portlet.asset.service.AssetTagService;
069    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
070    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
071    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
072    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
073    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
074    import com.liferay.portlet.blogs.model.BlogsEntry;
075    import com.liferay.portlet.blogs.service.BlogsEntryLocalService;
076    import com.liferay.portlet.blogs.service.BlogsEntryService;
077    import com.liferay.portlet.blogs.service.BlogsStatsUserLocalService;
078    import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
079    import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
080    import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserFinder;
081    import com.liferay.portlet.blogs.service.persistence.BlogsStatsUserPersistence;
082    import com.liferay.portlet.expando.service.ExpandoValueLocalService;
083    import com.liferay.portlet.expando.service.ExpandoValueService;
084    import com.liferay.portlet.expando.service.persistence.ExpandoValuePersistence;
085    import com.liferay.portlet.messageboards.service.MBMessageLocalService;
086    import com.liferay.portlet.messageboards.service.MBMessageService;
087    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
088    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
089    import com.liferay.portlet.ratings.service.RatingsStatsLocalService;
090    import com.liferay.portlet.ratings.service.persistence.RatingsStatsFinder;
091    import com.liferay.portlet.ratings.service.persistence.RatingsStatsPersistence;
092    import com.liferay.portlet.social.service.SocialActivityLocalService;
093    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
094    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
095    
096    import java.io.Serializable;
097    
098    import java.util.List;
099    
100    import javax.sql.DataSource;
101    
102    /**
103     * The base implementation of the blogs entry local service.
104     *
105     * <p>
106     * 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.blogs.service.impl.BlogsEntryLocalServiceImpl}.
107     * </p>
108     *
109     * @author Brian Wing Shun Chan
110     * @see com.liferay.portlet.blogs.service.impl.BlogsEntryLocalServiceImpl
111     * @see com.liferay.portlet.blogs.service.BlogsEntryLocalServiceUtil
112     * @generated
113     */
114    public abstract class BlogsEntryLocalServiceBaseImpl
115            extends BaseLocalServiceImpl implements BlogsEntryLocalService,
116                    IdentifiableBean {
117            /*
118             * NOTE FOR DEVELOPERS:
119             *
120             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.blogs.service.BlogsEntryLocalServiceUtil} to access the blogs entry local service.
121             */
122    
123            /**
124             * Adds the blogs entry to the database. Also notifies the appropriate model listeners.
125             *
126             * @param blogsEntry the blogs entry
127             * @return the blogs entry that was added
128             * @throws SystemException if a system exception occurred
129             */
130            @Indexable(type = IndexableType.REINDEX)
131            public BlogsEntry addBlogsEntry(BlogsEntry blogsEntry)
132                    throws SystemException {
133                    blogsEntry.setNew(true);
134    
135                    return blogsEntryPersistence.update(blogsEntry, false);
136            }
137    
138            /**
139             * Creates a new blogs entry with the primary key. Does not add the blogs entry to the database.
140             *
141             * @param entryId the primary key for the new blogs entry
142             * @return the new blogs entry
143             */
144            public BlogsEntry createBlogsEntry(long entryId) {
145                    return blogsEntryPersistence.create(entryId);
146            }
147    
148            /**
149             * Deletes the blogs entry with the primary key from the database. Also notifies the appropriate model listeners.
150             *
151             * @param entryId the primary key of the blogs entry
152             * @return the blogs entry that was removed
153             * @throws PortalException if a blogs entry with the primary key could not be found
154             * @throws SystemException if a system exception occurred
155             */
156            @Indexable(type = IndexableType.DELETE)
157            public BlogsEntry deleteBlogsEntry(long entryId)
158                    throws PortalException, SystemException {
159                    return blogsEntryPersistence.remove(entryId);
160            }
161    
162            /**
163             * Deletes the blogs entry from the database. Also notifies the appropriate model listeners.
164             *
165             * @param blogsEntry the blogs entry
166             * @return the blogs entry that was removed
167             * @throws SystemException if a system exception occurred
168             */
169            @Indexable(type = IndexableType.DELETE)
170            public BlogsEntry deleteBlogsEntry(BlogsEntry blogsEntry)
171                    throws SystemException {
172                    return blogsEntryPersistence.remove(blogsEntry);
173            }
174    
175            public DynamicQuery dynamicQuery() {
176                    Class<?> clazz = getClass();
177    
178                    return DynamicQueryFactoryUtil.forClass(BlogsEntry.class,
179                            clazz.getClassLoader());
180            }
181    
182            /**
183             * Performs a dynamic query on the database and returns the matching rows.
184             *
185             * @param dynamicQuery the dynamic query
186             * @return the matching rows
187             * @throws SystemException if a system exception occurred
188             */
189            @SuppressWarnings("rawtypes")
190            public List dynamicQuery(DynamicQuery dynamicQuery)
191                    throws SystemException {
192                    return blogsEntryPersistence.findWithDynamicQuery(dynamicQuery);
193            }
194    
195            /**
196             * Performs a dynamic query on the database and returns a range of the matching rows.
197             *
198             * <p>
199             * 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.
200             * </p>
201             *
202             * @param dynamicQuery the dynamic query
203             * @param start the lower bound of the range of model instances
204             * @param end the upper bound of the range of model instances (not inclusive)
205             * @return the range of matching rows
206             * @throws SystemException if a system exception occurred
207             */
208            @SuppressWarnings("rawtypes")
209            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
210                    throws SystemException {
211                    return blogsEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
212                            end);
213            }
214    
215            /**
216             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
217             *
218             * <p>
219             * 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.
220             * </p>
221             *
222             * @param dynamicQuery the dynamic query
223             * @param start the lower bound of the range of model instances
224             * @param end the upper bound of the range of model instances (not inclusive)
225             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
226             * @return the ordered range of matching rows
227             * @throws SystemException if a system exception occurred
228             */
229            @SuppressWarnings("rawtypes")
230            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
231                    OrderByComparator orderByComparator) throws SystemException {
232                    return blogsEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
233                            end, orderByComparator);
234            }
235    
236            /**
237             * Returns the number of rows that match the dynamic query.
238             *
239             * @param dynamicQuery the dynamic query
240             * @return the number of rows that match the dynamic query
241             * @throws SystemException if a system exception occurred
242             */
243            public long dynamicQueryCount(DynamicQuery dynamicQuery)
244                    throws SystemException {
245                    return blogsEntryPersistence.countWithDynamicQuery(dynamicQuery);
246            }
247    
248            public BlogsEntry fetchBlogsEntry(long entryId) throws SystemException {
249                    return blogsEntryPersistence.fetchByPrimaryKey(entryId);
250            }
251    
252            /**
253             * Returns the blogs entry with the primary key.
254             *
255             * @param entryId the primary key of the blogs entry
256             * @return the blogs entry
257             * @throws PortalException if a blogs entry with the primary key could not be found
258             * @throws SystemException if a system exception occurred
259             */
260            public BlogsEntry getBlogsEntry(long entryId)
261                    throws PortalException, SystemException {
262                    return blogsEntryPersistence.findByPrimaryKey(entryId);
263            }
264    
265            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
266                    throws PortalException, SystemException {
267                    return blogsEntryPersistence.findByPrimaryKey(primaryKeyObj);
268            }
269    
270            /**
271             * Returns the blogs entry with the UUID in the group.
272             *
273             * @param uuid the UUID of blogs entry
274             * @param groupId the group id of the blogs entry
275             * @return the blogs entry
276             * @throws PortalException if a blogs entry with the UUID in the group could not be found
277             * @throws SystemException if a system exception occurred
278             */
279            public BlogsEntry getBlogsEntryByUuidAndGroupId(String uuid, long groupId)
280                    throws PortalException, SystemException {
281                    return blogsEntryPersistence.findByUUID_G(uuid, groupId);
282            }
283    
284            /**
285             * Returns a range of all the blogs entries.
286             *
287             * <p>
288             * 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.
289             * </p>
290             *
291             * @param start the lower bound of the range of blogs entries
292             * @param end the upper bound of the range of blogs entries (not inclusive)
293             * @return the range of blogs entries
294             * @throws SystemException if a system exception occurred
295             */
296            public List<BlogsEntry> getBlogsEntries(int start, int end)
297                    throws SystemException {
298                    return blogsEntryPersistence.findAll(start, end);
299            }
300    
301            /**
302             * Returns the number of blogs entries.
303             *
304             * @return the number of blogs entries
305             * @throws SystemException if a system exception occurred
306             */
307            public int getBlogsEntriesCount() throws SystemException {
308                    return blogsEntryPersistence.countAll();
309            }
310    
311            /**
312             * Updates the blogs entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
313             *
314             * @param blogsEntry the blogs entry
315             * @return the blogs entry that was updated
316             * @throws SystemException if a system exception occurred
317             */
318            @Indexable(type = IndexableType.REINDEX)
319            public BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry)
320                    throws SystemException {
321                    return updateBlogsEntry(blogsEntry, true);
322            }
323    
324            /**
325             * Updates the blogs entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
326             *
327             * @param blogsEntry the blogs entry
328             * @param merge whether to merge the blogs entry 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.
329             * @return the blogs entry that was updated
330             * @throws SystemException if a system exception occurred
331             */
332            @Indexable(type = IndexableType.REINDEX)
333            public BlogsEntry updateBlogsEntry(BlogsEntry blogsEntry, boolean merge)
334                    throws SystemException {
335                    blogsEntry.setNew(false);
336    
337                    return blogsEntryPersistence.update(blogsEntry, merge);
338            }
339    
340            /**
341             * Returns the blogs entry local service.
342             *
343             * @return the blogs entry local service
344             */
345            public BlogsEntryLocalService getBlogsEntryLocalService() {
346                    return blogsEntryLocalService;
347            }
348    
349            /**
350             * Sets the blogs entry local service.
351             *
352             * @param blogsEntryLocalService the blogs entry local service
353             */
354            public void setBlogsEntryLocalService(
355                    BlogsEntryLocalService blogsEntryLocalService) {
356                    this.blogsEntryLocalService = blogsEntryLocalService;
357            }
358    
359            /**
360             * Returns the blogs entry remote service.
361             *
362             * @return the blogs entry remote service
363             */
364            public BlogsEntryService getBlogsEntryService() {
365                    return blogsEntryService;
366            }
367    
368            /**
369             * Sets the blogs entry remote service.
370             *
371             * @param blogsEntryService the blogs entry remote service
372             */
373            public void setBlogsEntryService(BlogsEntryService blogsEntryService) {
374                    this.blogsEntryService = blogsEntryService;
375            }
376    
377            /**
378             * Returns the blogs entry persistence.
379             *
380             * @return the blogs entry persistence
381             */
382            public BlogsEntryPersistence getBlogsEntryPersistence() {
383                    return blogsEntryPersistence;
384            }
385    
386            /**
387             * Sets the blogs entry persistence.
388             *
389             * @param blogsEntryPersistence the blogs entry persistence
390             */
391            public void setBlogsEntryPersistence(
392                    BlogsEntryPersistence blogsEntryPersistence) {
393                    this.blogsEntryPersistence = blogsEntryPersistence;
394            }
395    
396            /**
397             * Returns the blogs entry finder.
398             *
399             * @return the blogs entry finder
400             */
401            public BlogsEntryFinder getBlogsEntryFinder() {
402                    return blogsEntryFinder;
403            }
404    
405            /**
406             * Sets the blogs entry finder.
407             *
408             * @param blogsEntryFinder the blogs entry finder
409             */
410            public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
411                    this.blogsEntryFinder = blogsEntryFinder;
412            }
413    
414            /**
415             * Returns the blogs stats user local service.
416             *
417             * @return the blogs stats user local service
418             */
419            public BlogsStatsUserLocalService getBlogsStatsUserLocalService() {
420                    return blogsStatsUserLocalService;
421            }
422    
423            /**
424             * Sets the blogs stats user local service.
425             *
426             * @param blogsStatsUserLocalService the blogs stats user local service
427             */
428            public void setBlogsStatsUserLocalService(
429                    BlogsStatsUserLocalService blogsStatsUserLocalService) {
430                    this.blogsStatsUserLocalService = blogsStatsUserLocalService;
431            }
432    
433            /**
434             * Returns the blogs stats user persistence.
435             *
436             * @return the blogs stats user persistence
437             */
438            public BlogsStatsUserPersistence getBlogsStatsUserPersistence() {
439                    return blogsStatsUserPersistence;
440            }
441    
442            /**
443             * Sets the blogs stats user persistence.
444             *
445             * @param blogsStatsUserPersistence the blogs stats user persistence
446             */
447            public void setBlogsStatsUserPersistence(
448                    BlogsStatsUserPersistence blogsStatsUserPersistence) {
449                    this.blogsStatsUserPersistence = blogsStatsUserPersistence;
450            }
451    
452            /**
453             * Returns the blogs stats user finder.
454             *
455             * @return the blogs stats user finder
456             */
457            public BlogsStatsUserFinder getBlogsStatsUserFinder() {
458                    return blogsStatsUserFinder;
459            }
460    
461            /**
462             * Sets the blogs stats user finder.
463             *
464             * @param blogsStatsUserFinder the blogs stats user finder
465             */
466            public void setBlogsStatsUserFinder(
467                    BlogsStatsUserFinder blogsStatsUserFinder) {
468                    this.blogsStatsUserFinder = blogsStatsUserFinder;
469            }
470    
471            /**
472             * Returns the counter local service.
473             *
474             * @return the counter local service
475             */
476            public CounterLocalService getCounterLocalService() {
477                    return counterLocalService;
478            }
479    
480            /**
481             * Sets the counter local service.
482             *
483             * @param counterLocalService the counter local service
484             */
485            public void setCounterLocalService(CounterLocalService counterLocalService) {
486                    this.counterLocalService = counterLocalService;
487            }
488    
489            /**
490             * Returns the company local service.
491             *
492             * @return the company local service
493             */
494            public CompanyLocalService getCompanyLocalService() {
495                    return companyLocalService;
496            }
497    
498            /**
499             * Sets the company local service.
500             *
501             * @param companyLocalService the company local service
502             */
503            public void setCompanyLocalService(CompanyLocalService companyLocalService) {
504                    this.companyLocalService = companyLocalService;
505            }
506    
507            /**
508             * Returns the company remote service.
509             *
510             * @return the company remote service
511             */
512            public CompanyService getCompanyService() {
513                    return companyService;
514            }
515    
516            /**
517             * Sets the company remote service.
518             *
519             * @param companyService the company remote service
520             */
521            public void setCompanyService(CompanyService companyService) {
522                    this.companyService = companyService;
523            }
524    
525            /**
526             * Returns the company persistence.
527             *
528             * @return the company persistence
529             */
530            public CompanyPersistence getCompanyPersistence() {
531                    return companyPersistence;
532            }
533    
534            /**
535             * Sets the company persistence.
536             *
537             * @param companyPersistence the company persistence
538             */
539            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
540                    this.companyPersistence = companyPersistence;
541            }
542    
543            /**
544             * Returns the group local service.
545             *
546             * @return the group local service
547             */
548            public GroupLocalService getGroupLocalService() {
549                    return groupLocalService;
550            }
551    
552            /**
553             * Sets the group local service.
554             *
555             * @param groupLocalService the group local service
556             */
557            public void setGroupLocalService(GroupLocalService groupLocalService) {
558                    this.groupLocalService = groupLocalService;
559            }
560    
561            /**
562             * Returns the group remote service.
563             *
564             * @return the group remote service
565             */
566            public GroupService getGroupService() {
567                    return groupService;
568            }
569    
570            /**
571             * Sets the group remote service.
572             *
573             * @param groupService the group remote service
574             */
575            public void setGroupService(GroupService groupService) {
576                    this.groupService = groupService;
577            }
578    
579            /**
580             * Returns the group persistence.
581             *
582             * @return the group persistence
583             */
584            public GroupPersistence getGroupPersistence() {
585                    return groupPersistence;
586            }
587    
588            /**
589             * Sets the group persistence.
590             *
591             * @param groupPersistence the group persistence
592             */
593            public void setGroupPersistence(GroupPersistence groupPersistence) {
594                    this.groupPersistence = groupPersistence;
595            }
596    
597            /**
598             * Returns the group finder.
599             *
600             * @return the group finder
601             */
602            public GroupFinder getGroupFinder() {
603                    return groupFinder;
604            }
605    
606            /**
607             * Sets the group finder.
608             *
609             * @param groupFinder the group finder
610             */
611            public void setGroupFinder(GroupFinder groupFinder) {
612                    this.groupFinder = groupFinder;
613            }
614    
615            /**
616             * Returns the image local service.
617             *
618             * @return the image local service
619             */
620            public ImageLocalService getImageLocalService() {
621                    return imageLocalService;
622            }
623    
624            /**
625             * Sets the image local service.
626             *
627             * @param imageLocalService the image local service
628             */
629            public void setImageLocalService(ImageLocalService imageLocalService) {
630                    this.imageLocalService = imageLocalService;
631            }
632    
633            /**
634             * Returns the image remote service.
635             *
636             * @return the image remote service
637             */
638            public ImageService getImageService() {
639                    return imageService;
640            }
641    
642            /**
643             * Sets the image remote service.
644             *
645             * @param imageService the image remote service
646             */
647            public void setImageService(ImageService imageService) {
648                    this.imageService = imageService;
649            }
650    
651            /**
652             * Returns the image persistence.
653             *
654             * @return the image persistence
655             */
656            public ImagePersistence getImagePersistence() {
657                    return imagePersistence;
658            }
659    
660            /**
661             * Sets the image persistence.
662             *
663             * @param imagePersistence the image persistence
664             */
665            public void setImagePersistence(ImagePersistence imagePersistence) {
666                    this.imagePersistence = imagePersistence;
667            }
668    
669            /**
670             * Returns the organization local service.
671             *
672             * @return the organization local service
673             */
674            public OrganizationLocalService getOrganizationLocalService() {
675                    return organizationLocalService;
676            }
677    
678            /**
679             * Sets the organization local service.
680             *
681             * @param organizationLocalService the organization local service
682             */
683            public void setOrganizationLocalService(
684                    OrganizationLocalService organizationLocalService) {
685                    this.organizationLocalService = organizationLocalService;
686            }
687    
688            /**
689             * Returns the organization remote service.
690             *
691             * @return the organization remote service
692             */
693            public OrganizationService getOrganizationService() {
694                    return organizationService;
695            }
696    
697            /**
698             * Sets the organization remote service.
699             *
700             * @param organizationService the organization remote service
701             */
702            public void setOrganizationService(OrganizationService organizationService) {
703                    this.organizationService = organizationService;
704            }
705    
706            /**
707             * Returns the organization persistence.
708             *
709             * @return the organization persistence
710             */
711            public OrganizationPersistence getOrganizationPersistence() {
712                    return organizationPersistence;
713            }
714    
715            /**
716             * Sets the organization persistence.
717             *
718             * @param organizationPersistence the organization persistence
719             */
720            public void setOrganizationPersistence(
721                    OrganizationPersistence organizationPersistence) {
722                    this.organizationPersistence = organizationPersistence;
723            }
724    
725            /**
726             * Returns the organization finder.
727             *
728             * @return the organization finder
729             */
730            public OrganizationFinder getOrganizationFinder() {
731                    return organizationFinder;
732            }
733    
734            /**
735             * Sets the organization finder.
736             *
737             * @param organizationFinder the organization finder
738             */
739            public void setOrganizationFinder(OrganizationFinder organizationFinder) {
740                    this.organizationFinder = organizationFinder;
741            }
742    
743            /**
744             * Returns the portlet preferences local service.
745             *
746             * @return the portlet preferences local service
747             */
748            public PortletPreferencesLocalService getPortletPreferencesLocalService() {
749                    return portletPreferencesLocalService;
750            }
751    
752            /**
753             * Sets the portlet preferences local service.
754             *
755             * @param portletPreferencesLocalService the portlet preferences local service
756             */
757            public void setPortletPreferencesLocalService(
758                    PortletPreferencesLocalService portletPreferencesLocalService) {
759                    this.portletPreferencesLocalService = portletPreferencesLocalService;
760            }
761    
762            /**
763             * Returns the portlet preferences remote service.
764             *
765             * @return the portlet preferences remote service
766             */
767            public PortletPreferencesService getPortletPreferencesService() {
768                    return portletPreferencesService;
769            }
770    
771            /**
772             * Sets the portlet preferences remote service.
773             *
774             * @param portletPreferencesService the portlet preferences remote service
775             */
776            public void setPortletPreferencesService(
777                    PortletPreferencesService portletPreferencesService) {
778                    this.portletPreferencesService = portletPreferencesService;
779            }
780    
781            /**
782             * Returns the portlet preferences persistence.
783             *
784             * @return the portlet preferences persistence
785             */
786            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
787                    return portletPreferencesPersistence;
788            }
789    
790            /**
791             * Sets the portlet preferences persistence.
792             *
793             * @param portletPreferencesPersistence the portlet preferences persistence
794             */
795            public void setPortletPreferencesPersistence(
796                    PortletPreferencesPersistence portletPreferencesPersistence) {
797                    this.portletPreferencesPersistence = portletPreferencesPersistence;
798            }
799    
800            /**
801             * Returns the portlet preferences finder.
802             *
803             * @return the portlet preferences finder
804             */
805            public PortletPreferencesFinder getPortletPreferencesFinder() {
806                    return portletPreferencesFinder;
807            }
808    
809            /**
810             * Sets the portlet preferences finder.
811             *
812             * @param portletPreferencesFinder the portlet preferences finder
813             */
814            public void setPortletPreferencesFinder(
815                    PortletPreferencesFinder portletPreferencesFinder) {
816                    this.portletPreferencesFinder = portletPreferencesFinder;
817            }
818    
819            /**
820             * Returns the resource local service.
821             *
822             * @return the resource local service
823             */
824            public ResourceLocalService getResourceLocalService() {
825                    return resourceLocalService;
826            }
827    
828            /**
829             * Sets the resource local service.
830             *
831             * @param resourceLocalService the resource local service
832             */
833            public void setResourceLocalService(
834                    ResourceLocalService resourceLocalService) {
835                    this.resourceLocalService = resourceLocalService;
836            }
837    
838            /**
839             * Returns the resource remote service.
840             *
841             * @return the resource remote service
842             */
843            public ResourceService getResourceService() {
844                    return resourceService;
845            }
846    
847            /**
848             * Sets the resource remote service.
849             *
850             * @param resourceService the resource remote service
851             */
852            public void setResourceService(ResourceService resourceService) {
853                    this.resourceService = resourceService;
854            }
855    
856            /**
857             * Returns the resource persistence.
858             *
859             * @return the resource persistence
860             */
861            public ResourcePersistence getResourcePersistence() {
862                    return resourcePersistence;
863            }
864    
865            /**
866             * Sets the resource persistence.
867             *
868             * @param resourcePersistence the resource persistence
869             */
870            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
871                    this.resourcePersistence = resourcePersistence;
872            }
873    
874            /**
875             * Returns the resource finder.
876             *
877             * @return the resource finder
878             */
879            public ResourceFinder getResourceFinder() {
880                    return resourceFinder;
881            }
882    
883            /**
884             * Sets the resource finder.
885             *
886             * @param resourceFinder the resource finder
887             */
888            public void setResourceFinder(ResourceFinder resourceFinder) {
889                    this.resourceFinder = resourceFinder;
890            }
891    
892            /**
893             * Returns the subscription local service.
894             *
895             * @return the subscription local service
896             */
897            public SubscriptionLocalService getSubscriptionLocalService() {
898                    return subscriptionLocalService;
899            }
900    
901            /**
902             * Sets the subscription local service.
903             *
904             * @param subscriptionLocalService the subscription local service
905             */
906            public void setSubscriptionLocalService(
907                    SubscriptionLocalService subscriptionLocalService) {
908                    this.subscriptionLocalService = subscriptionLocalService;
909            }
910    
911            /**
912             * Returns the subscription persistence.
913             *
914             * @return the subscription persistence
915             */
916            public SubscriptionPersistence getSubscriptionPersistence() {
917                    return subscriptionPersistence;
918            }
919    
920            /**
921             * Sets the subscription persistence.
922             *
923             * @param subscriptionPersistence the subscription persistence
924             */
925            public void setSubscriptionPersistence(
926                    SubscriptionPersistence subscriptionPersistence) {
927                    this.subscriptionPersistence = subscriptionPersistence;
928            }
929    
930            /**
931             * Returns the user local service.
932             *
933             * @return the user local service
934             */
935            public UserLocalService getUserLocalService() {
936                    return userLocalService;
937            }
938    
939            /**
940             * Sets the user local service.
941             *
942             * @param userLocalService the user local service
943             */
944            public void setUserLocalService(UserLocalService userLocalService) {
945                    this.userLocalService = userLocalService;
946            }
947    
948            /**
949             * Returns the user remote service.
950             *
951             * @return the user remote service
952             */
953            public UserService getUserService() {
954                    return userService;
955            }
956    
957            /**
958             * Sets the user remote service.
959             *
960             * @param userService the user remote service
961             */
962            public void setUserService(UserService userService) {
963                    this.userService = userService;
964            }
965    
966            /**
967             * Returns the user persistence.
968             *
969             * @return the user persistence
970             */
971            public UserPersistence getUserPersistence() {
972                    return userPersistence;
973            }
974    
975            /**
976             * Sets the user persistence.
977             *
978             * @param userPersistence the user persistence
979             */
980            public void setUserPersistence(UserPersistence userPersistence) {
981                    this.userPersistence = userPersistence;
982            }
983    
984            /**
985             * Returns the user finder.
986             *
987             * @return the user finder
988             */
989            public UserFinder getUserFinder() {
990                    return userFinder;
991            }
992    
993            /**
994             * Sets the user finder.
995             *
996             * @param userFinder the user finder
997             */
998            public void setUserFinder(UserFinder userFinder) {
999                    this.userFinder = userFinder;
1000            }
1001    
1002            /**
1003             * Returns the workflow instance link local service.
1004             *
1005             * @return the workflow instance link local service
1006             */
1007            public WorkflowInstanceLinkLocalService getWorkflowInstanceLinkLocalService() {
1008                    return workflowInstanceLinkLocalService;
1009            }
1010    
1011            /**
1012             * Sets the workflow instance link local service.
1013             *
1014             * @param workflowInstanceLinkLocalService the workflow instance link local service
1015             */
1016            public void setWorkflowInstanceLinkLocalService(
1017                    WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService) {
1018                    this.workflowInstanceLinkLocalService = workflowInstanceLinkLocalService;
1019            }
1020    
1021            /**
1022             * Returns the workflow instance link persistence.
1023             *
1024             * @return the workflow instance link persistence
1025             */
1026            public WorkflowInstanceLinkPersistence getWorkflowInstanceLinkPersistence() {
1027                    return workflowInstanceLinkPersistence;
1028            }
1029    
1030            /**
1031             * Sets the workflow instance link persistence.
1032             *
1033             * @param workflowInstanceLinkPersistence the workflow instance link persistence
1034             */
1035            public void setWorkflowInstanceLinkPersistence(
1036                    WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence) {
1037                    this.workflowInstanceLinkPersistence = workflowInstanceLinkPersistence;
1038            }
1039    
1040            /**
1041             * Returns the asset entry local service.
1042             *
1043             * @return the asset entry local service
1044             */
1045            public AssetEntryLocalService getAssetEntryLocalService() {
1046                    return assetEntryLocalService;
1047            }
1048    
1049            /**
1050             * Sets the asset entry local service.
1051             *
1052             * @param assetEntryLocalService the asset entry local service
1053             */
1054            public void setAssetEntryLocalService(
1055                    AssetEntryLocalService assetEntryLocalService) {
1056                    this.assetEntryLocalService = assetEntryLocalService;
1057            }
1058    
1059            /**
1060             * Returns the asset entry remote service.
1061             *
1062             * @return the asset entry remote service
1063             */
1064            public AssetEntryService getAssetEntryService() {
1065                    return assetEntryService;
1066            }
1067    
1068            /**
1069             * Sets the asset entry remote service.
1070             *
1071             * @param assetEntryService the asset entry remote service
1072             */
1073            public void setAssetEntryService(AssetEntryService assetEntryService) {
1074                    this.assetEntryService = assetEntryService;
1075            }
1076    
1077            /**
1078             * Returns the asset entry persistence.
1079             *
1080             * @return the asset entry persistence
1081             */
1082            public AssetEntryPersistence getAssetEntryPersistence() {
1083                    return assetEntryPersistence;
1084            }
1085    
1086            /**
1087             * Sets the asset entry persistence.
1088             *
1089             * @param assetEntryPersistence the asset entry persistence
1090             */
1091            public void setAssetEntryPersistence(
1092                    AssetEntryPersistence assetEntryPersistence) {
1093                    this.assetEntryPersistence = assetEntryPersistence;
1094            }
1095    
1096            /**
1097             * Returns the asset entry finder.
1098             *
1099             * @return the asset entry finder
1100             */
1101            public AssetEntryFinder getAssetEntryFinder() {
1102                    return assetEntryFinder;
1103            }
1104    
1105            /**
1106             * Sets the asset entry finder.
1107             *
1108             * @param assetEntryFinder the asset entry finder
1109             */
1110            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
1111                    this.assetEntryFinder = assetEntryFinder;
1112            }
1113    
1114            /**
1115             * Returns the asset link local service.
1116             *
1117             * @return the asset link local service
1118             */
1119            public AssetLinkLocalService getAssetLinkLocalService() {
1120                    return assetLinkLocalService;
1121            }
1122    
1123            /**
1124             * Sets the asset link local service.
1125             *
1126             * @param assetLinkLocalService the asset link local service
1127             */
1128            public void setAssetLinkLocalService(
1129                    AssetLinkLocalService assetLinkLocalService) {
1130                    this.assetLinkLocalService = assetLinkLocalService;
1131            }
1132    
1133            /**
1134             * Returns the asset link persistence.
1135             *
1136             * @return the asset link persistence
1137             */
1138            public AssetLinkPersistence getAssetLinkPersistence() {
1139                    return assetLinkPersistence;
1140            }
1141    
1142            /**
1143             * Sets the asset link persistence.
1144             *
1145             * @param assetLinkPersistence the asset link persistence
1146             */
1147            public void setAssetLinkPersistence(
1148                    AssetLinkPersistence assetLinkPersistence) {
1149                    this.assetLinkPersistence = assetLinkPersistence;
1150            }
1151    
1152            /**
1153             * Returns the asset tag local service.
1154             *
1155             * @return the asset tag local service
1156             */
1157            public AssetTagLocalService getAssetTagLocalService() {
1158                    return assetTagLocalService;
1159            }
1160    
1161            /**
1162             * Sets the asset tag local service.
1163             *
1164             * @param assetTagLocalService the asset tag local service
1165             */
1166            public void setAssetTagLocalService(
1167                    AssetTagLocalService assetTagLocalService) {
1168                    this.assetTagLocalService = assetTagLocalService;
1169            }
1170    
1171            /**
1172             * Returns the asset tag remote service.
1173             *
1174             * @return the asset tag remote service
1175             */
1176            public AssetTagService getAssetTagService() {
1177                    return assetTagService;
1178            }
1179    
1180            /**
1181             * Sets the asset tag remote service.
1182             *
1183             * @param assetTagService the asset tag remote service
1184             */
1185            public void setAssetTagService(AssetTagService assetTagService) {
1186                    this.assetTagService = assetTagService;
1187            }
1188    
1189            /**
1190             * Returns the asset tag persistence.
1191             *
1192             * @return the asset tag persistence
1193             */
1194            public AssetTagPersistence getAssetTagPersistence() {
1195                    return assetTagPersistence;
1196            }
1197    
1198            /**
1199             * Sets the asset tag persistence.
1200             *
1201             * @param assetTagPersistence the asset tag persistence
1202             */
1203            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1204                    this.assetTagPersistence = assetTagPersistence;
1205            }
1206    
1207            /**
1208             * Returns the asset tag finder.
1209             *
1210             * @return the asset tag finder
1211             */
1212            public AssetTagFinder getAssetTagFinder() {
1213                    return assetTagFinder;
1214            }
1215    
1216            /**
1217             * Sets the asset tag finder.
1218             *
1219             * @param assetTagFinder the asset tag finder
1220             */
1221            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1222                    this.assetTagFinder = assetTagFinder;
1223            }
1224    
1225            /**
1226             * Returns the expando value local service.
1227             *
1228             * @return the expando value local service
1229             */
1230            public ExpandoValueLocalService getExpandoValueLocalService() {
1231                    return expandoValueLocalService;
1232            }
1233    
1234            /**
1235             * Sets the expando value local service.
1236             *
1237             * @param expandoValueLocalService the expando value local service
1238             */
1239            public void setExpandoValueLocalService(
1240                    ExpandoValueLocalService expandoValueLocalService) {
1241                    this.expandoValueLocalService = expandoValueLocalService;
1242            }
1243    
1244            /**
1245             * Returns the expando value remote service.
1246             *
1247             * @return the expando value remote service
1248             */
1249            public ExpandoValueService getExpandoValueService() {
1250                    return expandoValueService;
1251            }
1252    
1253            /**
1254             * Sets the expando value remote service.
1255             *
1256             * @param expandoValueService the expando value remote service
1257             */
1258            public void setExpandoValueService(ExpandoValueService expandoValueService) {
1259                    this.expandoValueService = expandoValueService;
1260            }
1261    
1262            /**
1263             * Returns the expando value persistence.
1264             *
1265             * @return the expando value persistence
1266             */
1267            public ExpandoValuePersistence getExpandoValuePersistence() {
1268                    return expandoValuePersistence;
1269            }
1270    
1271            /**
1272             * Sets the expando value persistence.
1273             *
1274             * @param expandoValuePersistence the expando value persistence
1275             */
1276            public void setExpandoValuePersistence(
1277                    ExpandoValuePersistence expandoValuePersistence) {
1278                    this.expandoValuePersistence = expandoValuePersistence;
1279            }
1280    
1281            /**
1282             * Returns the message-boards message local service.
1283             *
1284             * @return the message-boards message local service
1285             */
1286            public MBMessageLocalService getMBMessageLocalService() {
1287                    return mbMessageLocalService;
1288            }
1289    
1290            /**
1291             * Sets the message-boards message local service.
1292             *
1293             * @param mbMessageLocalService the message-boards message local service
1294             */
1295            public void setMBMessageLocalService(
1296                    MBMessageLocalService mbMessageLocalService) {
1297                    this.mbMessageLocalService = mbMessageLocalService;
1298            }
1299    
1300            /**
1301             * Returns the message-boards message remote service.
1302             *
1303             * @return the message-boards message remote service
1304             */
1305            public MBMessageService getMBMessageService() {
1306                    return mbMessageService;
1307            }
1308    
1309            /**
1310             * Sets the message-boards message remote service.
1311             *
1312             * @param mbMessageService the message-boards message remote service
1313             */
1314            public void setMBMessageService(MBMessageService mbMessageService) {
1315                    this.mbMessageService = mbMessageService;
1316            }
1317    
1318            /**
1319             * Returns the message-boards message persistence.
1320             *
1321             * @return the message-boards message persistence
1322             */
1323            public MBMessagePersistence getMBMessagePersistence() {
1324                    return mbMessagePersistence;
1325            }
1326    
1327            /**
1328             * Sets the message-boards message persistence.
1329             *
1330             * @param mbMessagePersistence the message-boards message persistence
1331             */
1332            public void setMBMessagePersistence(
1333                    MBMessagePersistence mbMessagePersistence) {
1334                    this.mbMessagePersistence = mbMessagePersistence;
1335            }
1336    
1337            /**
1338             * Returns the message-boards message finder.
1339             *
1340             * @return the message-boards message finder
1341             */
1342            public MBMessageFinder getMBMessageFinder() {
1343                    return mbMessageFinder;
1344            }
1345    
1346            /**
1347             * Sets the message-boards message finder.
1348             *
1349             * @param mbMessageFinder the message-boards message finder
1350             */
1351            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1352                    this.mbMessageFinder = mbMessageFinder;
1353            }
1354    
1355            /**
1356             * Returns the ratings stats local service.
1357             *
1358             * @return the ratings stats local service
1359             */
1360            public RatingsStatsLocalService getRatingsStatsLocalService() {
1361                    return ratingsStatsLocalService;
1362            }
1363    
1364            /**
1365             * Sets the ratings stats local service.
1366             *
1367             * @param ratingsStatsLocalService the ratings stats local service
1368             */
1369            public void setRatingsStatsLocalService(
1370                    RatingsStatsLocalService ratingsStatsLocalService) {
1371                    this.ratingsStatsLocalService = ratingsStatsLocalService;
1372            }
1373    
1374            /**
1375             * Returns the ratings stats persistence.
1376             *
1377             * @return the ratings stats persistence
1378             */
1379            public RatingsStatsPersistence getRatingsStatsPersistence() {
1380                    return ratingsStatsPersistence;
1381            }
1382    
1383            /**
1384             * Sets the ratings stats persistence.
1385             *
1386             * @param ratingsStatsPersistence the ratings stats persistence
1387             */
1388            public void setRatingsStatsPersistence(
1389                    RatingsStatsPersistence ratingsStatsPersistence) {
1390                    this.ratingsStatsPersistence = ratingsStatsPersistence;
1391            }
1392    
1393            /**
1394             * Returns the ratings stats finder.
1395             *
1396             * @return the ratings stats finder
1397             */
1398            public RatingsStatsFinder getRatingsStatsFinder() {
1399                    return ratingsStatsFinder;
1400            }
1401    
1402            /**
1403             * Sets the ratings stats finder.
1404             *
1405             * @param ratingsStatsFinder the ratings stats finder
1406             */
1407            public void setRatingsStatsFinder(RatingsStatsFinder ratingsStatsFinder) {
1408                    this.ratingsStatsFinder = ratingsStatsFinder;
1409            }
1410    
1411            /**
1412             * Returns the social activity local service.
1413             *
1414             * @return the social activity local service
1415             */
1416            public SocialActivityLocalService getSocialActivityLocalService() {
1417                    return socialActivityLocalService;
1418            }
1419    
1420            /**
1421             * Sets the social activity local service.
1422             *
1423             * @param socialActivityLocalService the social activity local service
1424             */
1425            public void setSocialActivityLocalService(
1426                    SocialActivityLocalService socialActivityLocalService) {
1427                    this.socialActivityLocalService = socialActivityLocalService;
1428            }
1429    
1430            /**
1431             * Returns the social activity persistence.
1432             *
1433             * @return the social activity persistence
1434             */
1435            public SocialActivityPersistence getSocialActivityPersistence() {
1436                    return socialActivityPersistence;
1437            }
1438    
1439            /**
1440             * Sets the social activity persistence.
1441             *
1442             * @param socialActivityPersistence the social activity persistence
1443             */
1444            public void setSocialActivityPersistence(
1445                    SocialActivityPersistence socialActivityPersistence) {
1446                    this.socialActivityPersistence = socialActivityPersistence;
1447            }
1448    
1449            /**
1450             * Returns the social activity finder.
1451             *
1452             * @return the social activity finder
1453             */
1454            public SocialActivityFinder getSocialActivityFinder() {
1455                    return socialActivityFinder;
1456            }
1457    
1458            /**
1459             * Sets the social activity finder.
1460             *
1461             * @param socialActivityFinder the social activity finder
1462             */
1463            public void setSocialActivityFinder(
1464                    SocialActivityFinder socialActivityFinder) {
1465                    this.socialActivityFinder = socialActivityFinder;
1466            }
1467    
1468            public void afterPropertiesSet() {
1469                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.blogs.model.BlogsEntry",
1470                            blogsEntryLocalService);
1471            }
1472    
1473            public void destroy() {
1474                    persistedModelLocalServiceRegistry.unregister(
1475                            "com.liferay.portlet.blogs.model.BlogsEntry");
1476            }
1477    
1478            /**
1479             * Returns the Spring bean ID for this bean.
1480             *
1481             * @return the Spring bean ID for this bean
1482             */
1483            public String getBeanIdentifier() {
1484                    return _beanIdentifier;
1485            }
1486    
1487            /**
1488             * Sets the Spring bean ID for this bean.
1489             *
1490             * @param beanIdentifier the Spring bean ID for this bean
1491             */
1492            public void setBeanIdentifier(String beanIdentifier) {
1493                    _beanIdentifier = beanIdentifier;
1494            }
1495    
1496            protected Class<?> getModelClass() {
1497                    return BlogsEntry.class;
1498            }
1499    
1500            protected String getModelClassName() {
1501                    return BlogsEntry.class.getName();
1502            }
1503    
1504            /**
1505             * Performs an SQL query.
1506             *
1507             * @param sql the sql query
1508             */
1509            protected void runSQL(String sql) throws SystemException {
1510                    try {
1511                            DataSource dataSource = blogsEntryPersistence.getDataSource();
1512    
1513                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1514                                            sql, new int[0]);
1515    
1516                            sqlUpdate.update();
1517                    }
1518                    catch (Exception e) {
1519                            throw new SystemException(e);
1520                    }
1521            }
1522    
1523            @BeanReference(type = BlogsEntryLocalService.class)
1524            protected BlogsEntryLocalService blogsEntryLocalService;
1525            @BeanReference(type = BlogsEntryService.class)
1526            protected BlogsEntryService blogsEntryService;
1527            @BeanReference(type = BlogsEntryPersistence.class)
1528            protected BlogsEntryPersistence blogsEntryPersistence;
1529            @BeanReference(type = BlogsEntryFinder.class)
1530            protected BlogsEntryFinder blogsEntryFinder;
1531            @BeanReference(type = BlogsStatsUserLocalService.class)
1532            protected BlogsStatsUserLocalService blogsStatsUserLocalService;
1533            @BeanReference(type = BlogsStatsUserPersistence.class)
1534            protected BlogsStatsUserPersistence blogsStatsUserPersistence;
1535            @BeanReference(type = BlogsStatsUserFinder.class)
1536            protected BlogsStatsUserFinder blogsStatsUserFinder;
1537            @BeanReference(type = CounterLocalService.class)
1538            protected CounterLocalService counterLocalService;
1539            @BeanReference(type = CompanyLocalService.class)
1540            protected CompanyLocalService companyLocalService;
1541            @BeanReference(type = CompanyService.class)
1542            protected CompanyService companyService;
1543            @BeanReference(type = CompanyPersistence.class)
1544            protected CompanyPersistence companyPersistence;
1545            @BeanReference(type = GroupLocalService.class)
1546            protected GroupLocalService groupLocalService;
1547            @BeanReference(type = GroupService.class)
1548            protected GroupService groupService;
1549            @BeanReference(type = GroupPersistence.class)
1550            protected GroupPersistence groupPersistence;
1551            @BeanReference(type = GroupFinder.class)
1552            protected GroupFinder groupFinder;
1553            @BeanReference(type = ImageLocalService.class)
1554            protected ImageLocalService imageLocalService;
1555            @BeanReference(type = ImageService.class)
1556            protected ImageService imageService;
1557            @BeanReference(type = ImagePersistence.class)
1558            protected ImagePersistence imagePersistence;
1559            @BeanReference(type = OrganizationLocalService.class)
1560            protected OrganizationLocalService organizationLocalService;
1561            @BeanReference(type = OrganizationService.class)
1562            protected OrganizationService organizationService;
1563            @BeanReference(type = OrganizationPersistence.class)
1564            protected OrganizationPersistence organizationPersistence;
1565            @BeanReference(type = OrganizationFinder.class)
1566            protected OrganizationFinder organizationFinder;
1567            @BeanReference(type = PortletPreferencesLocalService.class)
1568            protected PortletPreferencesLocalService portletPreferencesLocalService;
1569            @BeanReference(type = PortletPreferencesService.class)
1570            protected PortletPreferencesService portletPreferencesService;
1571            @BeanReference(type = PortletPreferencesPersistence.class)
1572            protected PortletPreferencesPersistence portletPreferencesPersistence;
1573            @BeanReference(type = PortletPreferencesFinder.class)
1574            protected PortletPreferencesFinder portletPreferencesFinder;
1575            @BeanReference(type = ResourceLocalService.class)
1576            protected ResourceLocalService resourceLocalService;
1577            @BeanReference(type = ResourceService.class)
1578            protected ResourceService resourceService;
1579            @BeanReference(type = ResourcePersistence.class)
1580            protected ResourcePersistence resourcePersistence;
1581            @BeanReference(type = ResourceFinder.class)
1582            protected ResourceFinder resourceFinder;
1583            @BeanReference(type = SubscriptionLocalService.class)
1584            protected SubscriptionLocalService subscriptionLocalService;
1585            @BeanReference(type = SubscriptionPersistence.class)
1586            protected SubscriptionPersistence subscriptionPersistence;
1587            @BeanReference(type = UserLocalService.class)
1588            protected UserLocalService userLocalService;
1589            @BeanReference(type = UserService.class)
1590            protected UserService userService;
1591            @BeanReference(type = UserPersistence.class)
1592            protected UserPersistence userPersistence;
1593            @BeanReference(type = UserFinder.class)
1594            protected UserFinder userFinder;
1595            @BeanReference(type = WorkflowInstanceLinkLocalService.class)
1596            protected WorkflowInstanceLinkLocalService workflowInstanceLinkLocalService;
1597            @BeanReference(type = WorkflowInstanceLinkPersistence.class)
1598            protected WorkflowInstanceLinkPersistence workflowInstanceLinkPersistence;
1599            @BeanReference(type = AssetEntryLocalService.class)
1600            protected AssetEntryLocalService assetEntryLocalService;
1601            @BeanReference(type = AssetEntryService.class)
1602            protected AssetEntryService assetEntryService;
1603            @BeanReference(type = AssetEntryPersistence.class)
1604            protected AssetEntryPersistence assetEntryPersistence;
1605            @BeanReference(type = AssetEntryFinder.class)
1606            protected AssetEntryFinder assetEntryFinder;
1607            @BeanReference(type = AssetLinkLocalService.class)
1608            protected AssetLinkLocalService assetLinkLocalService;
1609            @BeanReference(type = AssetLinkPersistence.class)
1610            protected AssetLinkPersistence assetLinkPersistence;
1611            @BeanReference(type = AssetTagLocalService.class)
1612            protected AssetTagLocalService assetTagLocalService;
1613            @BeanReference(type = AssetTagService.class)
1614            protected AssetTagService assetTagService;
1615            @BeanReference(type = AssetTagPersistence.class)
1616            protected AssetTagPersistence assetTagPersistence;
1617            @BeanReference(type = AssetTagFinder.class)
1618            protected AssetTagFinder assetTagFinder;
1619            @BeanReference(type = ExpandoValueLocalService.class)
1620            protected ExpandoValueLocalService expandoValueLocalService;
1621            @BeanReference(type = ExpandoValueService.class)
1622            protected ExpandoValueService expandoValueService;
1623            @BeanReference(type = ExpandoValuePersistence.class)
1624            protected ExpandoValuePersistence expandoValuePersistence;
1625            @BeanReference(type = MBMessageLocalService.class)
1626            protected MBMessageLocalService mbMessageLocalService;
1627            @BeanReference(type = MBMessageService.class)
1628            protected MBMessageService mbMessageService;
1629            @BeanReference(type = MBMessagePersistence.class)
1630            protected MBMessagePersistence mbMessagePersistence;
1631            @BeanReference(type = MBMessageFinder.class)
1632            protected MBMessageFinder mbMessageFinder;
1633            @BeanReference(type = RatingsStatsLocalService.class)
1634            protected RatingsStatsLocalService ratingsStatsLocalService;
1635            @BeanReference(type = RatingsStatsPersistence.class)
1636            protected RatingsStatsPersistence ratingsStatsPersistence;
1637            @BeanReference(type = RatingsStatsFinder.class)
1638            protected RatingsStatsFinder ratingsStatsFinder;
1639            @BeanReference(type = SocialActivityLocalService.class)
1640            protected SocialActivityLocalService socialActivityLocalService;
1641            @BeanReference(type = SocialActivityPersistence.class)
1642            protected SocialActivityPersistence socialActivityPersistence;
1643            @BeanReference(type = SocialActivityFinder.class)
1644            protected SocialActivityFinder socialActivityFinder;
1645            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1646            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1647            private String _beanIdentifier;
1648    }