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