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