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