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.bookmarks.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.GroupFinder;
033    import com.liferay.portal.service.persistence.GroupPersistence;
034    import com.liferay.portal.service.persistence.PortletPreferencesFinder;
035    import com.liferay.portal.service.persistence.PortletPreferencesPersistence;
036    import com.liferay.portal.service.persistence.SubscriptionPersistence;
037    import com.liferay.portal.service.persistence.UserFinder;
038    import com.liferay.portal.service.persistence.UserPersistence;
039    
040    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
041    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
042    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
043    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
044    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
045    import com.liferay.portlet.bookmarks.model.BookmarksEntry;
046    import com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService;
047    import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
048    import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
049    import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderFinder;
050    import com.liferay.portlet.bookmarks.service.persistence.BookmarksFolderPersistence;
051    import com.liferay.portlet.expando.service.persistence.ExpandoRowPersistence;
052    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
053    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
054    import com.liferay.portlet.trash.service.persistence.TrashEntryPersistence;
055    import com.liferay.portlet.trash.service.persistence.TrashVersionPersistence;
056    
057    import java.io.Serializable;
058    
059    import java.util.List;
060    
061    import javax.sql.DataSource;
062    
063    /**
064     * Provides the base implementation for the bookmarks entry local service.
065     *
066     * <p>
067     * 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.bookmarks.service.impl.BookmarksEntryLocalServiceImpl}.
068     * </p>
069     *
070     * @author Brian Wing Shun Chan
071     * @see com.liferay.portlet.bookmarks.service.impl.BookmarksEntryLocalServiceImpl
072     * @see com.liferay.portlet.bookmarks.service.BookmarksEntryLocalServiceUtil
073     * @generated
074     */
075    public abstract class BookmarksEntryLocalServiceBaseImpl
076            extends BaseLocalServiceImpl implements BookmarksEntryLocalService,
077                    IdentifiableBean {
078            /*
079             * NOTE FOR DEVELOPERS:
080             *
081             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.bookmarks.service.BookmarksEntryLocalServiceUtil} to access the bookmarks entry local service.
082             */
083    
084            /**
085             * Adds the bookmarks entry to the database. Also notifies the appropriate model listeners.
086             *
087             * @param bookmarksEntry the bookmarks entry
088             * @return the bookmarks entry that was added
089             * @throws SystemException if a system exception occurred
090             */
091            @Indexable(type = IndexableType.REINDEX)
092            @Override
093            public BookmarksEntry addBookmarksEntry(BookmarksEntry bookmarksEntry)
094                    throws SystemException {
095                    bookmarksEntry.setNew(true);
096    
097                    return bookmarksEntryPersistence.update(bookmarksEntry);
098            }
099    
100            /**
101             * Creates a new bookmarks entry with the primary key. Does not add the bookmarks entry to the database.
102             *
103             * @param entryId the primary key for the new bookmarks entry
104             * @return the new bookmarks entry
105             */
106            @Override
107            public BookmarksEntry createBookmarksEntry(long entryId) {
108                    return bookmarksEntryPersistence.create(entryId);
109            }
110    
111            /**
112             * Deletes the bookmarks entry with the primary key from the database. Also notifies the appropriate model listeners.
113             *
114             * @param entryId the primary key of the bookmarks entry
115             * @return the bookmarks entry that was removed
116             * @throws PortalException if a bookmarks entry with the primary key could not be found
117             * @throws SystemException if a system exception occurred
118             */
119            @Indexable(type = IndexableType.DELETE)
120            @Override
121            public BookmarksEntry deleteBookmarksEntry(long entryId)
122                    throws PortalException, SystemException {
123                    return bookmarksEntryPersistence.remove(entryId);
124            }
125    
126            /**
127             * Deletes the bookmarks entry from the database. Also notifies the appropriate model listeners.
128             *
129             * @param bookmarksEntry the bookmarks entry
130             * @return the bookmarks entry that was removed
131             * @throws SystemException if a system exception occurred
132             */
133            @Indexable(type = IndexableType.DELETE)
134            @Override
135            public BookmarksEntry deleteBookmarksEntry(BookmarksEntry bookmarksEntry)
136                    throws SystemException {
137                    return bookmarksEntryPersistence.remove(bookmarksEntry);
138            }
139    
140            @Override
141            public DynamicQuery dynamicQuery() {
142                    Class<?> clazz = getClass();
143    
144                    return DynamicQueryFactoryUtil.forClass(BookmarksEntry.class,
145                            clazz.getClassLoader());
146            }
147    
148            /**
149             * Performs a dynamic query on the database and returns the matching rows.
150             *
151             * @param dynamicQuery the dynamic query
152             * @return the matching rows
153             * @throws SystemException if a system exception occurred
154             */
155            @Override
156            @SuppressWarnings("rawtypes")
157            public List dynamicQuery(DynamicQuery dynamicQuery)
158                    throws SystemException {
159                    return bookmarksEntryPersistence.findWithDynamicQuery(dynamicQuery);
160            }
161    
162            /**
163             * Performs a dynamic query on the database and returns a range of the matching rows.
164             *
165             * <p>
166             * 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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.
167             * </p>
168             *
169             * @param dynamicQuery the dynamic query
170             * @param start the lower bound of the range of model instances
171             * @param end the upper bound of the range of model instances (not inclusive)
172             * @return the range of matching rows
173             * @throws SystemException if a system exception occurred
174             */
175            @Override
176            @SuppressWarnings("rawtypes")
177            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
178                    throws SystemException {
179                    return bookmarksEntryPersistence.findWithDynamicQuery(dynamicQuery,
180                            start, end);
181            }
182    
183            /**
184             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
185             *
186             * <p>
187             * 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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.
188             * </p>
189             *
190             * @param dynamicQuery the dynamic query
191             * @param start the lower bound of the range of model instances
192             * @param end the upper bound of the range of model instances (not inclusive)
193             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
194             * @return the ordered range of matching rows
195             * @throws SystemException if a system exception occurred
196             */
197            @Override
198            @SuppressWarnings("rawtypes")
199            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
200                    OrderByComparator orderByComparator) throws SystemException {
201                    return bookmarksEntryPersistence.findWithDynamicQuery(dynamicQuery,
202                            start, end, orderByComparator);
203            }
204    
205            /**
206             * Returns the number of rows that match the dynamic query.
207             *
208             * @param dynamicQuery the dynamic query
209             * @return the number of rows that match the dynamic query
210             * @throws SystemException if a system exception occurred
211             */
212            @Override
213            public long dynamicQueryCount(DynamicQuery dynamicQuery)
214                    throws SystemException {
215                    return bookmarksEntryPersistence.countWithDynamicQuery(dynamicQuery);
216            }
217    
218            /**
219             * Returns the number of rows that match the dynamic query.
220             *
221             * @param dynamicQuery the dynamic query
222             * @param projection the projection to apply to the query
223             * @return the number of rows that match the dynamic query
224             * @throws SystemException if a system exception occurred
225             */
226            @Override
227            public long dynamicQueryCount(DynamicQuery dynamicQuery,
228                    Projection projection) throws SystemException {
229                    return bookmarksEntryPersistence.countWithDynamicQuery(dynamicQuery,
230                            projection);
231            }
232    
233            @Override
234            public BookmarksEntry fetchBookmarksEntry(long entryId)
235                    throws SystemException {
236                    return bookmarksEntryPersistence.fetchByPrimaryKey(entryId);
237            }
238    
239            /**
240             * Returns the bookmarks entry with the matching UUID and company.
241             *
242             * @param uuid the bookmarks entry's UUID
243             * @param  companyId the primary key of the company
244             * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
245             * @throws SystemException if a system exception occurred
246             */
247            @Override
248            public BookmarksEntry fetchBookmarksEntryByUuidAndCompanyId(String uuid,
249                    long companyId) throws SystemException {
250                    return bookmarksEntryPersistence.fetchByUuid_C_First(uuid, companyId,
251                            null);
252            }
253    
254            /**
255             * Returns the bookmarks entry matching the UUID and group.
256             *
257             * @param uuid the bookmarks entry's UUID
258             * @param groupId the primary key of the group
259             * @return the matching bookmarks entry, or <code>null</code> if a matching bookmarks entry could not be found
260             * @throws SystemException if a system exception occurred
261             */
262            @Override
263            public BookmarksEntry fetchBookmarksEntryByUuidAndGroupId(String uuid,
264                    long groupId) throws SystemException {
265                    return bookmarksEntryPersistence.fetchByUUID_G(uuid, groupId);
266            }
267    
268            /**
269             * Returns the bookmarks entry with the primary key.
270             *
271             * @param entryId the primary key of the bookmarks entry
272             * @return the bookmarks entry
273             * @throws PortalException if a bookmarks entry with the primary key could not be found
274             * @throws SystemException if a system exception occurred
275             */
276            @Override
277            public BookmarksEntry getBookmarksEntry(long entryId)
278                    throws PortalException, SystemException {
279                    return bookmarksEntryPersistence.findByPrimaryKey(entryId);
280            }
281    
282            @Override
283            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
284                    throws PortalException, SystemException {
285                    return bookmarksEntryPersistence.findByPrimaryKey(primaryKeyObj);
286            }
287    
288            /**
289             * Returns the bookmarks entry with the matching UUID and company.
290             *
291             * @param uuid the bookmarks entry's UUID
292             * @param  companyId the primary key of the company
293             * @return the matching bookmarks entry
294             * @throws PortalException if a matching bookmarks entry could not be found
295             * @throws SystemException if a system exception occurred
296             */
297            @Override
298            public BookmarksEntry getBookmarksEntryByUuidAndCompanyId(String uuid,
299                    long companyId) throws PortalException, SystemException {
300                    return bookmarksEntryPersistence.findByUuid_C_First(uuid, companyId,
301                            null);
302            }
303    
304            /**
305             * Returns the bookmarks entry matching the UUID and group.
306             *
307             * @param uuid the bookmarks entry's UUID
308             * @param groupId the primary key of the group
309             * @return the matching bookmarks entry
310             * @throws PortalException if a matching bookmarks entry could not be found
311             * @throws SystemException if a system exception occurred
312             */
313            @Override
314            public BookmarksEntry getBookmarksEntryByUuidAndGroupId(String uuid,
315                    long groupId) throws PortalException, SystemException {
316                    return bookmarksEntryPersistence.findByUUID_G(uuid, groupId);
317            }
318    
319            /**
320             * Returns a range of all the bookmarks entries.
321             *
322             * <p>
323             * 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.bookmarks.model.impl.BookmarksEntryModelImpl}. 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.
324             * </p>
325             *
326             * @param start the lower bound of the range of bookmarks entries
327             * @param end the upper bound of the range of bookmarks entries (not inclusive)
328             * @return the range of bookmarks entries
329             * @throws SystemException if a system exception occurred
330             */
331            @Override
332            public List<BookmarksEntry> getBookmarksEntries(int start, int end)
333                    throws SystemException {
334                    return bookmarksEntryPersistence.findAll(start, end);
335            }
336    
337            /**
338             * Returns the number of bookmarks entries.
339             *
340             * @return the number of bookmarks entries
341             * @throws SystemException if a system exception occurred
342             */
343            @Override
344            public int getBookmarksEntriesCount() throws SystemException {
345                    return bookmarksEntryPersistence.countAll();
346            }
347    
348            /**
349             * Updates the bookmarks entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
350             *
351             * @param bookmarksEntry the bookmarks entry
352             * @return the bookmarks entry that was updated
353             * @throws SystemException if a system exception occurred
354             */
355            @Indexable(type = IndexableType.REINDEX)
356            @Override
357            public BookmarksEntry updateBookmarksEntry(BookmarksEntry bookmarksEntry)
358                    throws SystemException {
359                    return bookmarksEntryPersistence.update(bookmarksEntry);
360            }
361    
362            /**
363             * Returns the bookmarks entry local service.
364             *
365             * @return the bookmarks entry local service
366             */
367            public com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService() {
368                    return bookmarksEntryLocalService;
369            }
370    
371            /**
372             * Sets the bookmarks entry local service.
373             *
374             * @param bookmarksEntryLocalService the bookmarks entry local service
375             */
376            public void setBookmarksEntryLocalService(
377                    com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService) {
378                    this.bookmarksEntryLocalService = bookmarksEntryLocalService;
379            }
380    
381            /**
382             * Returns the bookmarks entry remote service.
383             *
384             * @return the bookmarks entry remote service
385             */
386            public com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService() {
387                    return bookmarksEntryService;
388            }
389    
390            /**
391             * Sets the bookmarks entry remote service.
392             *
393             * @param bookmarksEntryService the bookmarks entry remote service
394             */
395            public void setBookmarksEntryService(
396                    com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService) {
397                    this.bookmarksEntryService = bookmarksEntryService;
398            }
399    
400            /**
401             * Returns the bookmarks entry persistence.
402             *
403             * @return the bookmarks entry persistence
404             */
405            public BookmarksEntryPersistence getBookmarksEntryPersistence() {
406                    return bookmarksEntryPersistence;
407            }
408    
409            /**
410             * Sets the bookmarks entry persistence.
411             *
412             * @param bookmarksEntryPersistence the bookmarks entry persistence
413             */
414            public void setBookmarksEntryPersistence(
415                    BookmarksEntryPersistence bookmarksEntryPersistence) {
416                    this.bookmarksEntryPersistence = bookmarksEntryPersistence;
417            }
418    
419            /**
420             * Returns the bookmarks entry finder.
421             *
422             * @return the bookmarks entry finder
423             */
424            public BookmarksEntryFinder getBookmarksEntryFinder() {
425                    return bookmarksEntryFinder;
426            }
427    
428            /**
429             * Sets the bookmarks entry finder.
430             *
431             * @param bookmarksEntryFinder the bookmarks entry finder
432             */
433            public void setBookmarksEntryFinder(
434                    BookmarksEntryFinder bookmarksEntryFinder) {
435                    this.bookmarksEntryFinder = bookmarksEntryFinder;
436            }
437    
438            /**
439             * Returns the bookmarks folder local service.
440             *
441             * @return the bookmarks folder local service
442             */
443            public com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService getBookmarksFolderLocalService() {
444                    return bookmarksFolderLocalService;
445            }
446    
447            /**
448             * Sets the bookmarks folder local service.
449             *
450             * @param bookmarksFolderLocalService the bookmarks folder local service
451             */
452            public void setBookmarksFolderLocalService(
453                    com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService) {
454                    this.bookmarksFolderLocalService = bookmarksFolderLocalService;
455            }
456    
457            /**
458             * Returns the bookmarks folder remote service.
459             *
460             * @return the bookmarks folder remote service
461             */
462            public com.liferay.portlet.bookmarks.service.BookmarksFolderService getBookmarksFolderService() {
463                    return bookmarksFolderService;
464            }
465    
466            /**
467             * Sets the bookmarks folder remote service.
468             *
469             * @param bookmarksFolderService the bookmarks folder remote service
470             */
471            public void setBookmarksFolderService(
472                    com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService) {
473                    this.bookmarksFolderService = bookmarksFolderService;
474            }
475    
476            /**
477             * Returns the bookmarks folder persistence.
478             *
479             * @return the bookmarks folder persistence
480             */
481            public BookmarksFolderPersistence getBookmarksFolderPersistence() {
482                    return bookmarksFolderPersistence;
483            }
484    
485            /**
486             * Sets the bookmarks folder persistence.
487             *
488             * @param bookmarksFolderPersistence the bookmarks folder persistence
489             */
490            public void setBookmarksFolderPersistence(
491                    BookmarksFolderPersistence bookmarksFolderPersistence) {
492                    this.bookmarksFolderPersistence = bookmarksFolderPersistence;
493            }
494    
495            /**
496             * Returns the bookmarks folder finder.
497             *
498             * @return the bookmarks folder finder
499             */
500            public BookmarksFolderFinder getBookmarksFolderFinder() {
501                    return bookmarksFolderFinder;
502            }
503    
504            /**
505             * Sets the bookmarks folder finder.
506             *
507             * @param bookmarksFolderFinder the bookmarks folder finder
508             */
509            public void setBookmarksFolderFinder(
510                    BookmarksFolderFinder bookmarksFolderFinder) {
511                    this.bookmarksFolderFinder = bookmarksFolderFinder;
512            }
513    
514            /**
515             * Returns the counter local service.
516             *
517             * @return the counter local service
518             */
519            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
520                    return counterLocalService;
521            }
522    
523            /**
524             * Sets the counter local service.
525             *
526             * @param counterLocalService the counter local service
527             */
528            public void setCounterLocalService(
529                    com.liferay.counter.service.CounterLocalService counterLocalService) {
530                    this.counterLocalService = counterLocalService;
531            }
532    
533            /**
534             * Returns the group local service.
535             *
536             * @return the group local service
537             */
538            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
539                    return groupLocalService;
540            }
541    
542            /**
543             * Sets the group local service.
544             *
545             * @param groupLocalService the group local service
546             */
547            public void setGroupLocalService(
548                    com.liferay.portal.service.GroupLocalService groupLocalService) {
549                    this.groupLocalService = groupLocalService;
550            }
551    
552            /**
553             * Returns the group remote service.
554             *
555             * @return the group remote service
556             */
557            public com.liferay.portal.service.GroupService getGroupService() {
558                    return groupService;
559            }
560    
561            /**
562             * Sets the group remote service.
563             *
564             * @param groupService the group remote service
565             */
566            public void setGroupService(
567                    com.liferay.portal.service.GroupService groupService) {
568                    this.groupService = groupService;
569            }
570    
571            /**
572             * Returns the group persistence.
573             *
574             * @return the group persistence
575             */
576            public GroupPersistence getGroupPersistence() {
577                    return groupPersistence;
578            }
579    
580            /**
581             * Sets the group persistence.
582             *
583             * @param groupPersistence the group persistence
584             */
585            public void setGroupPersistence(GroupPersistence groupPersistence) {
586                    this.groupPersistence = groupPersistence;
587            }
588    
589            /**
590             * Returns the group finder.
591             *
592             * @return the group finder
593             */
594            public GroupFinder getGroupFinder() {
595                    return groupFinder;
596            }
597    
598            /**
599             * Sets the group finder.
600             *
601             * @param groupFinder the group finder
602             */
603            public void setGroupFinder(GroupFinder groupFinder) {
604                    this.groupFinder = groupFinder;
605            }
606    
607            /**
608             * Returns the portlet preferences local service.
609             *
610             * @return the portlet preferences local service
611             */
612            public com.liferay.portal.service.PortletPreferencesLocalService getPortletPreferencesLocalService() {
613                    return portletPreferencesLocalService;
614            }
615    
616            /**
617             * Sets the portlet preferences local service.
618             *
619             * @param portletPreferencesLocalService the portlet preferences local service
620             */
621            public void setPortletPreferencesLocalService(
622                    com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService) {
623                    this.portletPreferencesLocalService = portletPreferencesLocalService;
624            }
625    
626            /**
627             * Returns the portlet preferences remote service.
628             *
629             * @return the portlet preferences remote service
630             */
631            public com.liferay.portal.service.PortletPreferencesService getPortletPreferencesService() {
632                    return portletPreferencesService;
633            }
634    
635            /**
636             * Sets the portlet preferences remote service.
637             *
638             * @param portletPreferencesService the portlet preferences remote service
639             */
640            public void setPortletPreferencesService(
641                    com.liferay.portal.service.PortletPreferencesService portletPreferencesService) {
642                    this.portletPreferencesService = portletPreferencesService;
643            }
644    
645            /**
646             * Returns the portlet preferences persistence.
647             *
648             * @return the portlet preferences persistence
649             */
650            public PortletPreferencesPersistence getPortletPreferencesPersistence() {
651                    return portletPreferencesPersistence;
652            }
653    
654            /**
655             * Sets the portlet preferences persistence.
656             *
657             * @param portletPreferencesPersistence the portlet preferences persistence
658             */
659            public void setPortletPreferencesPersistence(
660                    PortletPreferencesPersistence portletPreferencesPersistence) {
661                    this.portletPreferencesPersistence = portletPreferencesPersistence;
662            }
663    
664            /**
665             * Returns the portlet preferences finder.
666             *
667             * @return the portlet preferences finder
668             */
669            public PortletPreferencesFinder getPortletPreferencesFinder() {
670                    return portletPreferencesFinder;
671            }
672    
673            /**
674             * Sets the portlet preferences finder.
675             *
676             * @param portletPreferencesFinder the portlet preferences finder
677             */
678            public void setPortletPreferencesFinder(
679                    PortletPreferencesFinder portletPreferencesFinder) {
680                    this.portletPreferencesFinder = portletPreferencesFinder;
681            }
682    
683            /**
684             * Returns the resource local service.
685             *
686             * @return the resource local service
687             */
688            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
689                    return resourceLocalService;
690            }
691    
692            /**
693             * Sets the resource local service.
694             *
695             * @param resourceLocalService the resource local service
696             */
697            public void setResourceLocalService(
698                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
699                    this.resourceLocalService = resourceLocalService;
700            }
701    
702            /**
703             * Returns the subscription local service.
704             *
705             * @return the subscription local service
706             */
707            public com.liferay.portal.service.SubscriptionLocalService getSubscriptionLocalService() {
708                    return subscriptionLocalService;
709            }
710    
711            /**
712             * Sets the subscription local service.
713             *
714             * @param subscriptionLocalService the subscription local service
715             */
716            public void setSubscriptionLocalService(
717                    com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService) {
718                    this.subscriptionLocalService = subscriptionLocalService;
719            }
720    
721            /**
722             * Returns the subscription persistence.
723             *
724             * @return the subscription persistence
725             */
726            public SubscriptionPersistence getSubscriptionPersistence() {
727                    return subscriptionPersistence;
728            }
729    
730            /**
731             * Sets the subscription persistence.
732             *
733             * @param subscriptionPersistence the subscription persistence
734             */
735            public void setSubscriptionPersistence(
736                    SubscriptionPersistence subscriptionPersistence) {
737                    this.subscriptionPersistence = subscriptionPersistence;
738            }
739    
740            /**
741             * Returns the user local service.
742             *
743             * @return the user local service
744             */
745            public com.liferay.portal.service.UserLocalService getUserLocalService() {
746                    return userLocalService;
747            }
748    
749            /**
750             * Sets the user local service.
751             *
752             * @param userLocalService the user local service
753             */
754            public void setUserLocalService(
755                    com.liferay.portal.service.UserLocalService userLocalService) {
756                    this.userLocalService = userLocalService;
757            }
758    
759            /**
760             * Returns the user remote service.
761             *
762             * @return the user remote service
763             */
764            public com.liferay.portal.service.UserService getUserService() {
765                    return userService;
766            }
767    
768            /**
769             * Sets the user remote service.
770             *
771             * @param userService the user remote service
772             */
773            public void setUserService(
774                    com.liferay.portal.service.UserService userService) {
775                    this.userService = userService;
776            }
777    
778            /**
779             * Returns the user persistence.
780             *
781             * @return the user persistence
782             */
783            public UserPersistence getUserPersistence() {
784                    return userPersistence;
785            }
786    
787            /**
788             * Sets the user persistence.
789             *
790             * @param userPersistence the user persistence
791             */
792            public void setUserPersistence(UserPersistence userPersistence) {
793                    this.userPersistence = userPersistence;
794            }
795    
796            /**
797             * Returns the user finder.
798             *
799             * @return the user finder
800             */
801            public UserFinder getUserFinder() {
802                    return userFinder;
803            }
804    
805            /**
806             * Sets the user finder.
807             *
808             * @param userFinder the user finder
809             */
810            public void setUserFinder(UserFinder userFinder) {
811                    this.userFinder = userFinder;
812            }
813    
814            /**
815             * Returns the asset entry local service.
816             *
817             * @return the asset entry local service
818             */
819            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
820                    return assetEntryLocalService;
821            }
822    
823            /**
824             * Sets the asset entry local service.
825             *
826             * @param assetEntryLocalService the asset entry local service
827             */
828            public void setAssetEntryLocalService(
829                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
830                    this.assetEntryLocalService = assetEntryLocalService;
831            }
832    
833            /**
834             * Returns the asset entry remote service.
835             *
836             * @return the asset entry remote service
837             */
838            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
839                    return assetEntryService;
840            }
841    
842            /**
843             * Sets the asset entry remote service.
844             *
845             * @param assetEntryService the asset entry remote service
846             */
847            public void setAssetEntryService(
848                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
849                    this.assetEntryService = assetEntryService;
850            }
851    
852            /**
853             * Returns the asset entry persistence.
854             *
855             * @return the asset entry persistence
856             */
857            public AssetEntryPersistence getAssetEntryPersistence() {
858                    return assetEntryPersistence;
859            }
860    
861            /**
862             * Sets the asset entry persistence.
863             *
864             * @param assetEntryPersistence the asset entry persistence
865             */
866            public void setAssetEntryPersistence(
867                    AssetEntryPersistence assetEntryPersistence) {
868                    this.assetEntryPersistence = assetEntryPersistence;
869            }
870    
871            /**
872             * Returns the asset entry finder.
873             *
874             * @return the asset entry finder
875             */
876            public AssetEntryFinder getAssetEntryFinder() {
877                    return assetEntryFinder;
878            }
879    
880            /**
881             * Sets the asset entry finder.
882             *
883             * @param assetEntryFinder the asset entry finder
884             */
885            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
886                    this.assetEntryFinder = assetEntryFinder;
887            }
888    
889            /**
890             * Returns the asset link local service.
891             *
892             * @return the asset link local service
893             */
894            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
895                    return assetLinkLocalService;
896            }
897    
898            /**
899             * Sets the asset link local service.
900             *
901             * @param assetLinkLocalService the asset link local service
902             */
903            public void setAssetLinkLocalService(
904                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
905                    this.assetLinkLocalService = assetLinkLocalService;
906            }
907    
908            /**
909             * Returns the asset link persistence.
910             *
911             * @return the asset link persistence
912             */
913            public AssetLinkPersistence getAssetLinkPersistence() {
914                    return assetLinkPersistence;
915            }
916    
917            /**
918             * Sets the asset link persistence.
919             *
920             * @param assetLinkPersistence the asset link persistence
921             */
922            public void setAssetLinkPersistence(
923                    AssetLinkPersistence assetLinkPersistence) {
924                    this.assetLinkPersistence = assetLinkPersistence;
925            }
926    
927            /**
928             * Returns the asset tag local service.
929             *
930             * @return the asset tag local service
931             */
932            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
933                    return assetTagLocalService;
934            }
935    
936            /**
937             * Sets the asset tag local service.
938             *
939             * @param assetTagLocalService the asset tag local service
940             */
941            public void setAssetTagLocalService(
942                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
943                    this.assetTagLocalService = assetTagLocalService;
944            }
945    
946            /**
947             * Returns the asset tag remote service.
948             *
949             * @return the asset tag remote service
950             */
951            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
952                    return assetTagService;
953            }
954    
955            /**
956             * Sets the asset tag remote service.
957             *
958             * @param assetTagService the asset tag remote service
959             */
960            public void setAssetTagService(
961                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
962                    this.assetTagService = assetTagService;
963            }
964    
965            /**
966             * Returns the asset tag persistence.
967             *
968             * @return the asset tag persistence
969             */
970            public AssetTagPersistence getAssetTagPersistence() {
971                    return assetTagPersistence;
972            }
973    
974            /**
975             * Sets the asset tag persistence.
976             *
977             * @param assetTagPersistence the asset tag persistence
978             */
979            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
980                    this.assetTagPersistence = assetTagPersistence;
981            }
982    
983            /**
984             * Returns the asset tag finder.
985             *
986             * @return the asset tag finder
987             */
988            public AssetTagFinder getAssetTagFinder() {
989                    return assetTagFinder;
990            }
991    
992            /**
993             * Sets the asset tag finder.
994             *
995             * @param assetTagFinder the asset tag finder
996             */
997            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
998                    this.assetTagFinder = assetTagFinder;
999            }
1000    
1001            /**
1002             * Returns the expando row local service.
1003             *
1004             * @return the expando row local service
1005             */
1006            public com.liferay.portlet.expando.service.ExpandoRowLocalService getExpandoRowLocalService() {
1007                    return expandoRowLocalService;
1008            }
1009    
1010            /**
1011             * Sets the expando row local service.
1012             *
1013             * @param expandoRowLocalService the expando row local service
1014             */
1015            public void setExpandoRowLocalService(
1016                    com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService) {
1017                    this.expandoRowLocalService = expandoRowLocalService;
1018            }
1019    
1020            /**
1021             * Returns the expando row persistence.
1022             *
1023             * @return the expando row persistence
1024             */
1025            public ExpandoRowPersistence getExpandoRowPersistence() {
1026                    return expandoRowPersistence;
1027            }
1028    
1029            /**
1030             * Sets the expando row persistence.
1031             *
1032             * @param expandoRowPersistence the expando row persistence
1033             */
1034            public void setExpandoRowPersistence(
1035                    ExpandoRowPersistence expandoRowPersistence) {
1036                    this.expandoRowPersistence = expandoRowPersistence;
1037            }
1038    
1039            /**
1040             * Returns the social activity local service.
1041             *
1042             * @return the social activity local service
1043             */
1044            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1045                    return socialActivityLocalService;
1046            }
1047    
1048            /**
1049             * Sets the social activity local service.
1050             *
1051             * @param socialActivityLocalService the social activity local service
1052             */
1053            public void setSocialActivityLocalService(
1054                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1055                    this.socialActivityLocalService = socialActivityLocalService;
1056            }
1057    
1058            /**
1059             * Returns the social activity remote service.
1060             *
1061             * @return the social activity remote service
1062             */
1063            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1064                    return socialActivityService;
1065            }
1066    
1067            /**
1068             * Sets the social activity remote service.
1069             *
1070             * @param socialActivityService the social activity remote service
1071             */
1072            public void setSocialActivityService(
1073                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1074                    this.socialActivityService = socialActivityService;
1075            }
1076    
1077            /**
1078             * Returns the social activity persistence.
1079             *
1080             * @return the social activity persistence
1081             */
1082            public SocialActivityPersistence getSocialActivityPersistence() {
1083                    return socialActivityPersistence;
1084            }
1085    
1086            /**
1087             * Sets the social activity persistence.
1088             *
1089             * @param socialActivityPersistence the social activity persistence
1090             */
1091            public void setSocialActivityPersistence(
1092                    SocialActivityPersistence socialActivityPersistence) {
1093                    this.socialActivityPersistence = socialActivityPersistence;
1094            }
1095    
1096            /**
1097             * Returns the social activity finder.
1098             *
1099             * @return the social activity finder
1100             */
1101            public SocialActivityFinder getSocialActivityFinder() {
1102                    return socialActivityFinder;
1103            }
1104    
1105            /**
1106             * Sets the social activity finder.
1107             *
1108             * @param socialActivityFinder the social activity finder
1109             */
1110            public void setSocialActivityFinder(
1111                    SocialActivityFinder socialActivityFinder) {
1112                    this.socialActivityFinder = socialActivityFinder;
1113            }
1114    
1115            /**
1116             * Returns the trash entry local service.
1117             *
1118             * @return the trash entry local service
1119             */
1120            public com.liferay.portlet.trash.service.TrashEntryLocalService getTrashEntryLocalService() {
1121                    return trashEntryLocalService;
1122            }
1123    
1124            /**
1125             * Sets the trash entry local service.
1126             *
1127             * @param trashEntryLocalService the trash entry local service
1128             */
1129            public void setTrashEntryLocalService(
1130                    com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService) {
1131                    this.trashEntryLocalService = trashEntryLocalService;
1132            }
1133    
1134            /**
1135             * Returns the trash entry remote service.
1136             *
1137             * @return the trash entry remote service
1138             */
1139            public com.liferay.portlet.trash.service.TrashEntryService getTrashEntryService() {
1140                    return trashEntryService;
1141            }
1142    
1143            /**
1144             * Sets the trash entry remote service.
1145             *
1146             * @param trashEntryService the trash entry remote service
1147             */
1148            public void setTrashEntryService(
1149                    com.liferay.portlet.trash.service.TrashEntryService trashEntryService) {
1150                    this.trashEntryService = trashEntryService;
1151            }
1152    
1153            /**
1154             * Returns the trash entry persistence.
1155             *
1156             * @return the trash entry persistence
1157             */
1158            public TrashEntryPersistence getTrashEntryPersistence() {
1159                    return trashEntryPersistence;
1160            }
1161    
1162            /**
1163             * Sets the trash entry persistence.
1164             *
1165             * @param trashEntryPersistence the trash entry persistence
1166             */
1167            public void setTrashEntryPersistence(
1168                    TrashEntryPersistence trashEntryPersistence) {
1169                    this.trashEntryPersistence = trashEntryPersistence;
1170            }
1171    
1172            /**
1173             * Returns the trash version local service.
1174             *
1175             * @return the trash version local service
1176             */
1177            public com.liferay.portlet.trash.service.TrashVersionLocalService getTrashVersionLocalService() {
1178                    return trashVersionLocalService;
1179            }
1180    
1181            /**
1182             * Sets the trash version local service.
1183             *
1184             * @param trashVersionLocalService the trash version local service
1185             */
1186            public void setTrashVersionLocalService(
1187                    com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService) {
1188                    this.trashVersionLocalService = trashVersionLocalService;
1189            }
1190    
1191            /**
1192             * Returns the trash version persistence.
1193             *
1194             * @return the trash version persistence
1195             */
1196            public TrashVersionPersistence getTrashVersionPersistence() {
1197                    return trashVersionPersistence;
1198            }
1199    
1200            /**
1201             * Sets the trash version persistence.
1202             *
1203             * @param trashVersionPersistence the trash version persistence
1204             */
1205            public void setTrashVersionPersistence(
1206                    TrashVersionPersistence trashVersionPersistence) {
1207                    this.trashVersionPersistence = trashVersionPersistence;
1208            }
1209    
1210            public void afterPropertiesSet() {
1211                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.bookmarks.model.BookmarksEntry",
1212                            bookmarksEntryLocalService);
1213            }
1214    
1215            public void destroy() {
1216                    persistedModelLocalServiceRegistry.unregister(
1217                            "com.liferay.portlet.bookmarks.model.BookmarksEntry");
1218            }
1219    
1220            /**
1221             * Returns the Spring bean ID for this bean.
1222             *
1223             * @return the Spring bean ID for this bean
1224             */
1225            @Override
1226            public String getBeanIdentifier() {
1227                    return _beanIdentifier;
1228            }
1229    
1230            /**
1231             * Sets the Spring bean ID for this bean.
1232             *
1233             * @param beanIdentifier the Spring bean ID for this bean
1234             */
1235            @Override
1236            public void setBeanIdentifier(String beanIdentifier) {
1237                    _beanIdentifier = beanIdentifier;
1238            }
1239    
1240            protected Class<?> getModelClass() {
1241                    return BookmarksEntry.class;
1242            }
1243    
1244            protected String getModelClassName() {
1245                    return BookmarksEntry.class.getName();
1246            }
1247    
1248            /**
1249             * Performs an SQL query.
1250             *
1251             * @param sql the sql query
1252             */
1253            protected void runSQL(String sql) throws SystemException {
1254                    try {
1255                            DataSource dataSource = bookmarksEntryPersistence.getDataSource();
1256    
1257                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1258                                            sql, new int[0]);
1259    
1260                            sqlUpdate.update();
1261                    }
1262                    catch (Exception e) {
1263                            throw new SystemException(e);
1264                    }
1265            }
1266    
1267            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.class)
1268            protected com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService;
1269            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryService.class)
1270            protected com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService;
1271            @BeanReference(type = BookmarksEntryPersistence.class)
1272            protected BookmarksEntryPersistence bookmarksEntryPersistence;
1273            @BeanReference(type = BookmarksEntryFinder.class)
1274            protected BookmarksEntryFinder bookmarksEntryFinder;
1275            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService.class)
1276            protected com.liferay.portlet.bookmarks.service.BookmarksFolderLocalService bookmarksFolderLocalService;
1277            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksFolderService.class)
1278            protected com.liferay.portlet.bookmarks.service.BookmarksFolderService bookmarksFolderService;
1279            @BeanReference(type = BookmarksFolderPersistence.class)
1280            protected BookmarksFolderPersistence bookmarksFolderPersistence;
1281            @BeanReference(type = BookmarksFolderFinder.class)
1282            protected BookmarksFolderFinder bookmarksFolderFinder;
1283            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1284            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1285            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1286            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1287            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1288            protected com.liferay.portal.service.GroupService groupService;
1289            @BeanReference(type = GroupPersistence.class)
1290            protected GroupPersistence groupPersistence;
1291            @BeanReference(type = GroupFinder.class)
1292            protected GroupFinder groupFinder;
1293            @BeanReference(type = com.liferay.portal.service.PortletPreferencesLocalService.class)
1294            protected com.liferay.portal.service.PortletPreferencesLocalService portletPreferencesLocalService;
1295            @BeanReference(type = com.liferay.portal.service.PortletPreferencesService.class)
1296            protected com.liferay.portal.service.PortletPreferencesService portletPreferencesService;
1297            @BeanReference(type = PortletPreferencesPersistence.class)
1298            protected PortletPreferencesPersistence portletPreferencesPersistence;
1299            @BeanReference(type = PortletPreferencesFinder.class)
1300            protected PortletPreferencesFinder portletPreferencesFinder;
1301            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
1302            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
1303            @BeanReference(type = com.liferay.portal.service.SubscriptionLocalService.class)
1304            protected com.liferay.portal.service.SubscriptionLocalService subscriptionLocalService;
1305            @BeanReference(type = SubscriptionPersistence.class)
1306            protected SubscriptionPersistence subscriptionPersistence;
1307            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1308            protected com.liferay.portal.service.UserLocalService userLocalService;
1309            @BeanReference(type = com.liferay.portal.service.UserService.class)
1310            protected com.liferay.portal.service.UserService userService;
1311            @BeanReference(type = UserPersistence.class)
1312            protected UserPersistence userPersistence;
1313            @BeanReference(type = UserFinder.class)
1314            protected UserFinder userFinder;
1315            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1316            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1317            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1318            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1319            @BeanReference(type = AssetEntryPersistence.class)
1320            protected AssetEntryPersistence assetEntryPersistence;
1321            @BeanReference(type = AssetEntryFinder.class)
1322            protected AssetEntryFinder assetEntryFinder;
1323            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1324            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1325            @BeanReference(type = AssetLinkPersistence.class)
1326            protected AssetLinkPersistence assetLinkPersistence;
1327            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1328            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1329            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1330            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1331            @BeanReference(type = AssetTagPersistence.class)
1332            protected AssetTagPersistence assetTagPersistence;
1333            @BeanReference(type = AssetTagFinder.class)
1334            protected AssetTagFinder assetTagFinder;
1335            @BeanReference(type = com.liferay.portlet.expando.service.ExpandoRowLocalService.class)
1336            protected com.liferay.portlet.expando.service.ExpandoRowLocalService expandoRowLocalService;
1337            @BeanReference(type = ExpandoRowPersistence.class)
1338            protected ExpandoRowPersistence expandoRowPersistence;
1339            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1340            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1341            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1342            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1343            @BeanReference(type = SocialActivityPersistence.class)
1344            protected SocialActivityPersistence socialActivityPersistence;
1345            @BeanReference(type = SocialActivityFinder.class)
1346            protected SocialActivityFinder socialActivityFinder;
1347            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryLocalService.class)
1348            protected com.liferay.portlet.trash.service.TrashEntryLocalService trashEntryLocalService;
1349            @BeanReference(type = com.liferay.portlet.trash.service.TrashEntryService.class)
1350            protected com.liferay.portlet.trash.service.TrashEntryService trashEntryService;
1351            @BeanReference(type = TrashEntryPersistence.class)
1352            protected TrashEntryPersistence trashEntryPersistence;
1353            @BeanReference(type = com.liferay.portlet.trash.service.TrashVersionLocalService.class)
1354            protected com.liferay.portlet.trash.service.TrashVersionLocalService trashVersionLocalService;
1355            @BeanReference(type = TrashVersionPersistence.class)
1356            protected TrashVersionPersistence trashVersionPersistence;
1357            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1358            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1359            private String _beanIdentifier;
1360    }