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.asset.service.base;
016    
017    import com.liferay.portal.kernel.bean.BeanReference;
018    import com.liferay.portal.kernel.bean.IdentifiableBean;
019    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
020    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
021    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
022    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
023    import com.liferay.portal.kernel.dao.orm.Projection;
024    import com.liferay.portal.kernel.exception.PortalException;
025    import com.liferay.portal.kernel.exception.SystemException;
026    import com.liferay.portal.kernel.search.Indexable;
027    import com.liferay.portal.kernel.search.IndexableType;
028    import com.liferay.portal.kernel.util.OrderByComparator;
029    import com.liferay.portal.model.PersistedModel;
030    import com.liferay.portal.service.BaseLocalServiceImpl;
031    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
032    import com.liferay.portal.service.persistence.CompanyPersistence;
033    import com.liferay.portal.service.persistence.GroupFinder;
034    import com.liferay.portal.service.persistence.GroupPersistence;
035    import com.liferay.portal.service.persistence.SystemEventPersistence;
036    import com.liferay.portal.service.persistence.UserFinder;
037    import com.liferay.portal.service.persistence.UserPersistence;
038    
039    import com.liferay.portlet.asset.model.AssetEntry;
040    import com.liferay.portlet.asset.service.AssetEntryLocalService;
041    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
042    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
043    import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
044    import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
045    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
046    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
047    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
048    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
049    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
050    import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
051    import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
052    import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
053    import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
054    import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
055    import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
056    import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
057    import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
058    import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryFinder;
059    import com.liferay.portlet.bookmarks.service.persistence.BookmarksEntryPersistence;
060    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
061    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
062    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderFinder;
063    import com.liferay.portlet.documentlibrary.service.persistence.DLFolderPersistence;
064    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
065    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
066    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
067    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
068    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
069    import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
070    import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
071    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
072    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
073    import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
074    import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
075    import com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence;
076    
077    import java.io.Serializable;
078    
079    import java.util.List;
080    
081    import javax.sql.DataSource;
082    
083    /**
084     * Provides the base implementation for the asset entry local service.
085     *
086     * <p>
087     * 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.asset.service.impl.AssetEntryLocalServiceImpl}.
088     * </p>
089     *
090     * @author Brian Wing Shun Chan
091     * @see com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
092     * @see com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil
093     * @generated
094     */
095    public abstract class AssetEntryLocalServiceBaseImpl
096            extends BaseLocalServiceImpl implements AssetEntryLocalService,
097                    IdentifiableBean {
098            /*
099             * NOTE FOR DEVELOPERS:
100             *
101             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil} to access the asset entry local service.
102             */
103    
104            /**
105             * Adds the asset entry to the database. Also notifies the appropriate model listeners.
106             *
107             * @param assetEntry the asset entry
108             * @return the asset entry that was added
109             * @throws SystemException if a system exception occurred
110             */
111            @Indexable(type = IndexableType.REINDEX)
112            @Override
113            public AssetEntry addAssetEntry(AssetEntry assetEntry)
114                    throws SystemException {
115                    assetEntry.setNew(true);
116    
117                    return assetEntryPersistence.update(assetEntry);
118            }
119    
120            /**
121             * Creates a new asset entry with the primary key. Does not add the asset entry to the database.
122             *
123             * @param entryId the primary key for the new asset entry
124             * @return the new asset entry
125             */
126            @Override
127            public AssetEntry createAssetEntry(long entryId) {
128                    return assetEntryPersistence.create(entryId);
129            }
130    
131            /**
132             * Deletes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.
133             *
134             * @param entryId the primary key of the asset entry
135             * @return the asset entry that was removed
136             * @throws PortalException if a asset entry with the primary key could not be found
137             * @throws SystemException if a system exception occurred
138             */
139            @Indexable(type = IndexableType.DELETE)
140            @Override
141            public AssetEntry deleteAssetEntry(long entryId)
142                    throws PortalException, SystemException {
143                    return assetEntryPersistence.remove(entryId);
144            }
145    
146            /**
147             * Deletes the asset entry from the database. Also notifies the appropriate model listeners.
148             *
149             * @param assetEntry the asset entry
150             * @return the asset entry that was removed
151             * @throws SystemException if a system exception occurred
152             */
153            @Indexable(type = IndexableType.DELETE)
154            @Override
155            public AssetEntry deleteAssetEntry(AssetEntry assetEntry)
156                    throws SystemException {
157                    return assetEntryPersistence.remove(assetEntry);
158            }
159    
160            @Override
161            public DynamicQuery dynamicQuery() {
162                    Class<?> clazz = getClass();
163    
164                    return DynamicQueryFactoryUtil.forClass(AssetEntry.class,
165                            clazz.getClassLoader());
166            }
167    
168            /**
169             * Performs a dynamic query on the database and returns the matching rows.
170             *
171             * @param dynamicQuery the dynamic query
172             * @return the matching rows
173             * @throws SystemException if a system exception occurred
174             */
175            @Override
176            @SuppressWarnings("rawtypes")
177            public List dynamicQuery(DynamicQuery dynamicQuery)
178                    throws SystemException {
179                    return assetEntryPersistence.findWithDynamicQuery(dynamicQuery);
180            }
181    
182            /**
183             * Performs a dynamic query on the database and returns a range of the matching rows.
184             *
185             * <p>
186             * 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.asset.model.impl.AssetEntryModelImpl}. 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.
187             * </p>
188             *
189             * @param dynamicQuery the dynamic query
190             * @param start the lower bound of the range of model instances
191             * @param end the upper bound of the range of model instances (not inclusive)
192             * @return the range of matching rows
193             * @throws SystemException if a system exception occurred
194             */
195            @Override
196            @SuppressWarnings("rawtypes")
197            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
198                    throws SystemException {
199                    return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
200                            end);
201            }
202    
203            /**
204             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
205             *
206             * <p>
207             * 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.asset.model.impl.AssetEntryModelImpl}. 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.
208             * </p>
209             *
210             * @param dynamicQuery the dynamic query
211             * @param start the lower bound of the range of model instances
212             * @param end the upper bound of the range of model instances (not inclusive)
213             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
214             * @return the ordered range of matching rows
215             * @throws SystemException if a system exception occurred
216             */
217            @Override
218            @SuppressWarnings("rawtypes")
219            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
220                    OrderByComparator orderByComparator) throws SystemException {
221                    return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
222                            end, orderByComparator);
223            }
224    
225            /**
226             * Returns the number of rows that match the dynamic query.
227             *
228             * @param dynamicQuery the dynamic query
229             * @return the number of rows that match the dynamic query
230             * @throws SystemException if a system exception occurred
231             */
232            @Override
233            public long dynamicQueryCount(DynamicQuery dynamicQuery)
234                    throws SystemException {
235                    return assetEntryPersistence.countWithDynamicQuery(dynamicQuery);
236            }
237    
238            /**
239             * Returns the number of rows that match the dynamic query.
240             *
241             * @param dynamicQuery the dynamic query
242             * @param projection the projection to apply to the query
243             * @return the number of rows that match the dynamic query
244             * @throws SystemException if a system exception occurred
245             */
246            @Override
247            public long dynamicQueryCount(DynamicQuery dynamicQuery,
248                    Projection projection) throws SystemException {
249                    return assetEntryPersistence.countWithDynamicQuery(dynamicQuery,
250                            projection);
251            }
252    
253            @Override
254            public AssetEntry fetchAssetEntry(long entryId) throws SystemException {
255                    return assetEntryPersistence.fetchByPrimaryKey(entryId);
256            }
257    
258            /**
259             * Returns the asset entry with the primary key.
260             *
261             * @param entryId the primary key of the asset entry
262             * @return the asset entry
263             * @throws PortalException if a asset entry with the primary key could not be found
264             * @throws SystemException if a system exception occurred
265             */
266            @Override
267            public AssetEntry getAssetEntry(long entryId)
268                    throws PortalException, SystemException {
269                    return assetEntryPersistence.findByPrimaryKey(entryId);
270            }
271    
272            @Override
273            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
274                    throws PortalException, SystemException {
275                    return assetEntryPersistence.findByPrimaryKey(primaryKeyObj);
276            }
277    
278            /**
279             * Returns a range of all the asset entries.
280             *
281             * <p>
282             * 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.asset.model.impl.AssetEntryModelImpl}. 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.
283             * </p>
284             *
285             * @param start the lower bound of the range of asset entries
286             * @param end the upper bound of the range of asset entries (not inclusive)
287             * @return the range of asset entries
288             * @throws SystemException if a system exception occurred
289             */
290            @Override
291            public List<AssetEntry> getAssetEntries(int start, int end)
292                    throws SystemException {
293                    return assetEntryPersistence.findAll(start, end);
294            }
295    
296            /**
297             * Returns the number of asset entries.
298             *
299             * @return the number of asset entries
300             * @throws SystemException if a system exception occurred
301             */
302            @Override
303            public int getAssetEntriesCount() throws SystemException {
304                    return assetEntryPersistence.countAll();
305            }
306    
307            /**
308             * Updates the asset entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
309             *
310             * @param assetEntry the asset entry
311             * @return the asset entry that was updated
312             * @throws SystemException if a system exception occurred
313             */
314            @Indexable(type = IndexableType.REINDEX)
315            @Override
316            public AssetEntry updateAssetEntry(AssetEntry assetEntry)
317                    throws SystemException {
318                    return assetEntryPersistence.update(assetEntry);
319            }
320    
321            /**
322             * @throws SystemException if a system exception occurred
323             */
324            @Override
325            public void addAssetCategoryAssetEntry(long categoryId, long entryId)
326                    throws SystemException {
327                    assetCategoryPersistence.addAssetEntry(categoryId, entryId);
328            }
329    
330            /**
331             * @throws SystemException if a system exception occurred
332             */
333            @Override
334            public void addAssetCategoryAssetEntry(long categoryId,
335                    AssetEntry assetEntry) throws SystemException {
336                    assetCategoryPersistence.addAssetEntry(categoryId, assetEntry);
337            }
338    
339            /**
340             * @throws SystemException if a system exception occurred
341             */
342            @Override
343            public void addAssetCategoryAssetEntries(long categoryId, long[] entryIds)
344                    throws SystemException {
345                    assetCategoryPersistence.addAssetEntries(categoryId, entryIds);
346            }
347    
348            /**
349             * @throws SystemException if a system exception occurred
350             */
351            @Override
352            public void addAssetCategoryAssetEntries(long categoryId,
353                    List<AssetEntry> AssetEntries) throws SystemException {
354                    assetCategoryPersistence.addAssetEntries(categoryId, AssetEntries);
355            }
356    
357            /**
358             * @throws SystemException if a system exception occurred
359             */
360            @Override
361            public void clearAssetCategoryAssetEntries(long categoryId)
362                    throws SystemException {
363                    assetCategoryPersistence.clearAssetEntries(categoryId);
364            }
365    
366            /**
367             * @throws SystemException if a system exception occurred
368             */
369            @Override
370            public void deleteAssetCategoryAssetEntry(long categoryId, long entryId)
371                    throws SystemException {
372                    assetCategoryPersistence.removeAssetEntry(categoryId, entryId);
373            }
374    
375            /**
376             * @throws SystemException if a system exception occurred
377             */
378            @Override
379            public void deleteAssetCategoryAssetEntry(long categoryId,
380                    AssetEntry assetEntry) throws SystemException {
381                    assetCategoryPersistence.removeAssetEntry(categoryId, assetEntry);
382            }
383    
384            /**
385             * @throws SystemException if a system exception occurred
386             */
387            @Override
388            public void deleteAssetCategoryAssetEntries(long categoryId, long[] entryIds)
389                    throws SystemException {
390                    assetCategoryPersistence.removeAssetEntries(categoryId, entryIds);
391            }
392    
393            /**
394             * @throws SystemException if a system exception occurred
395             */
396            @Override
397            public void deleteAssetCategoryAssetEntries(long categoryId,
398                    List<AssetEntry> AssetEntries) throws SystemException {
399                    assetCategoryPersistence.removeAssetEntries(categoryId, AssetEntries);
400            }
401    
402            /**
403             * @throws SystemException if a system exception occurred
404             */
405            @Override
406            public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId)
407                    throws SystemException {
408                    return assetCategoryPersistence.getAssetEntries(categoryId);
409            }
410    
411            /**
412             * @throws SystemException if a system exception occurred
413             */
414            @Override
415            public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId,
416                    int start, int end) throws SystemException {
417                    return assetCategoryPersistence.getAssetEntries(categoryId, start, end);
418            }
419    
420            /**
421             * @throws SystemException if a system exception occurred
422             */
423            @Override
424            public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId,
425                    int start, int end, OrderByComparator orderByComparator)
426                    throws SystemException {
427                    return assetCategoryPersistence.getAssetEntries(categoryId, start, end,
428                            orderByComparator);
429            }
430    
431            /**
432             * @throws SystemException if a system exception occurred
433             */
434            @Override
435            public int getAssetCategoryAssetEntriesCount(long categoryId)
436                    throws SystemException {
437                    return assetCategoryPersistence.getAssetEntriesSize(categoryId);
438            }
439    
440            /**
441             * @throws SystemException if a system exception occurred
442             */
443            @Override
444            public boolean hasAssetCategoryAssetEntry(long categoryId, long entryId)
445                    throws SystemException {
446                    return assetCategoryPersistence.containsAssetEntry(categoryId, entryId);
447            }
448    
449            /**
450             * @throws SystemException if a system exception occurred
451             */
452            @Override
453            public boolean hasAssetCategoryAssetEntries(long categoryId)
454                    throws SystemException {
455                    return assetCategoryPersistence.containsAssetEntries(categoryId);
456            }
457    
458            /**
459             * @throws SystemException if a system exception occurred
460             */
461            @Override
462            public void setAssetCategoryAssetEntries(long categoryId, long[] entryIds)
463                    throws SystemException {
464                    assetCategoryPersistence.setAssetEntries(categoryId, entryIds);
465            }
466    
467            /**
468             * @throws SystemException if a system exception occurred
469             */
470            @Override
471            public void addAssetTagAssetEntry(long tagId, long entryId)
472                    throws SystemException {
473                    assetTagPersistence.addAssetEntry(tagId, entryId);
474            }
475    
476            /**
477             * @throws SystemException if a system exception occurred
478             */
479            @Override
480            public void addAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
481                    throws SystemException {
482                    assetTagPersistence.addAssetEntry(tagId, assetEntry);
483            }
484    
485            /**
486             * @throws SystemException if a system exception occurred
487             */
488            @Override
489            public void addAssetTagAssetEntries(long tagId, long[] entryIds)
490                    throws SystemException {
491                    assetTagPersistence.addAssetEntries(tagId, entryIds);
492            }
493    
494            /**
495             * @throws SystemException if a system exception occurred
496             */
497            @Override
498            public void addAssetTagAssetEntries(long tagId,
499                    List<AssetEntry> AssetEntries) throws SystemException {
500                    assetTagPersistence.addAssetEntries(tagId, AssetEntries);
501            }
502    
503            /**
504             * @throws SystemException if a system exception occurred
505             */
506            @Override
507            public void clearAssetTagAssetEntries(long tagId) throws SystemException {
508                    assetTagPersistence.clearAssetEntries(tagId);
509            }
510    
511            /**
512             * @throws SystemException if a system exception occurred
513             */
514            @Override
515            public void deleteAssetTagAssetEntry(long tagId, long entryId)
516                    throws SystemException {
517                    assetTagPersistence.removeAssetEntry(tagId, entryId);
518            }
519    
520            /**
521             * @throws SystemException if a system exception occurred
522             */
523            @Override
524            public void deleteAssetTagAssetEntry(long tagId, AssetEntry assetEntry)
525                    throws SystemException {
526                    assetTagPersistence.removeAssetEntry(tagId, assetEntry);
527            }
528    
529            /**
530             * @throws SystemException if a system exception occurred
531             */
532            @Override
533            public void deleteAssetTagAssetEntries(long tagId, long[] entryIds)
534                    throws SystemException {
535                    assetTagPersistence.removeAssetEntries(tagId, entryIds);
536            }
537    
538            /**
539             * @throws SystemException if a system exception occurred
540             */
541            @Override
542            public void deleteAssetTagAssetEntries(long tagId,
543                    List<AssetEntry> AssetEntries) throws SystemException {
544                    assetTagPersistence.removeAssetEntries(tagId, AssetEntries);
545            }
546    
547            /**
548             * @throws SystemException if a system exception occurred
549             */
550            @Override
551            public List<AssetEntry> getAssetTagAssetEntries(long tagId)
552                    throws SystemException {
553                    return assetTagPersistence.getAssetEntries(tagId);
554            }
555    
556            /**
557             * @throws SystemException if a system exception occurred
558             */
559            @Override
560            public List<AssetEntry> getAssetTagAssetEntries(long tagId, int start,
561                    int end) throws SystemException {
562                    return assetTagPersistence.getAssetEntries(tagId, start, end);
563            }
564    
565            /**
566             * @throws SystemException if a system exception occurred
567             */
568            @Override
569            public List<AssetEntry> getAssetTagAssetEntries(long tagId, int start,
570                    int end, OrderByComparator orderByComparator) throws SystemException {
571                    return assetTagPersistence.getAssetEntries(tagId, start, end,
572                            orderByComparator);
573            }
574    
575            /**
576             * @throws SystemException if a system exception occurred
577             */
578            @Override
579            public int getAssetTagAssetEntriesCount(long tagId)
580                    throws SystemException {
581                    return assetTagPersistence.getAssetEntriesSize(tagId);
582            }
583    
584            /**
585             * @throws SystemException if a system exception occurred
586             */
587            @Override
588            public boolean hasAssetTagAssetEntry(long tagId, long entryId)
589                    throws SystemException {
590                    return assetTagPersistence.containsAssetEntry(tagId, entryId);
591            }
592    
593            /**
594             * @throws SystemException if a system exception occurred
595             */
596            @Override
597            public boolean hasAssetTagAssetEntries(long tagId)
598                    throws SystemException {
599                    return assetTagPersistence.containsAssetEntries(tagId);
600            }
601    
602            /**
603             * @throws SystemException if a system exception occurred
604             */
605            @Override
606            public void setAssetTagAssetEntries(long tagId, long[] entryIds)
607                    throws SystemException {
608                    assetTagPersistence.setAssetEntries(tagId, entryIds);
609            }
610    
611            /**
612             * Returns the asset category local service.
613             *
614             * @return the asset category local service
615             */
616            public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
617                    return assetCategoryLocalService;
618            }
619    
620            /**
621             * Sets the asset category local service.
622             *
623             * @param assetCategoryLocalService the asset category local service
624             */
625            public void setAssetCategoryLocalService(
626                    com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
627                    this.assetCategoryLocalService = assetCategoryLocalService;
628            }
629    
630            /**
631             * Returns the asset category remote service.
632             *
633             * @return the asset category remote service
634             */
635            public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
636                    return assetCategoryService;
637            }
638    
639            /**
640             * Sets the asset category remote service.
641             *
642             * @param assetCategoryService the asset category remote service
643             */
644            public void setAssetCategoryService(
645                    com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
646                    this.assetCategoryService = assetCategoryService;
647            }
648    
649            /**
650             * Returns the asset category persistence.
651             *
652             * @return the asset category persistence
653             */
654            public AssetCategoryPersistence getAssetCategoryPersistence() {
655                    return assetCategoryPersistence;
656            }
657    
658            /**
659             * Sets the asset category persistence.
660             *
661             * @param assetCategoryPersistence the asset category persistence
662             */
663            public void setAssetCategoryPersistence(
664                    AssetCategoryPersistence assetCategoryPersistence) {
665                    this.assetCategoryPersistence = assetCategoryPersistence;
666            }
667    
668            /**
669             * Returns the asset category finder.
670             *
671             * @return the asset category finder
672             */
673            public AssetCategoryFinder getAssetCategoryFinder() {
674                    return assetCategoryFinder;
675            }
676    
677            /**
678             * Sets the asset category finder.
679             *
680             * @param assetCategoryFinder the asset category finder
681             */
682            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
683                    this.assetCategoryFinder = assetCategoryFinder;
684            }
685    
686            /**
687             * Returns the asset category property local service.
688             *
689             * @return the asset category property local service
690             */
691            public com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
692                    return assetCategoryPropertyLocalService;
693            }
694    
695            /**
696             * Sets the asset category property local service.
697             *
698             * @param assetCategoryPropertyLocalService the asset category property local service
699             */
700            public void setAssetCategoryPropertyLocalService(
701                    com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
702                    this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
703            }
704    
705            /**
706             * Returns the asset category property remote service.
707             *
708             * @return the asset category property remote service
709             */
710            public com.liferay.portlet.asset.service.AssetCategoryPropertyService getAssetCategoryPropertyService() {
711                    return assetCategoryPropertyService;
712            }
713    
714            /**
715             * Sets the asset category property remote service.
716             *
717             * @param assetCategoryPropertyService the asset category property remote service
718             */
719            public void setAssetCategoryPropertyService(
720                    com.liferay.portlet.asset.service.AssetCategoryPropertyService assetCategoryPropertyService) {
721                    this.assetCategoryPropertyService = assetCategoryPropertyService;
722            }
723    
724            /**
725             * Returns the asset category property persistence.
726             *
727             * @return the asset category property persistence
728             */
729            public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
730                    return assetCategoryPropertyPersistence;
731            }
732    
733            /**
734             * Sets the asset category property persistence.
735             *
736             * @param assetCategoryPropertyPersistence the asset category property persistence
737             */
738            public void setAssetCategoryPropertyPersistence(
739                    AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
740                    this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
741            }
742    
743            /**
744             * Returns the asset category property finder.
745             *
746             * @return the asset category property finder
747             */
748            public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
749                    return assetCategoryPropertyFinder;
750            }
751    
752            /**
753             * Sets the asset category property finder.
754             *
755             * @param assetCategoryPropertyFinder the asset category property finder
756             */
757            public void setAssetCategoryPropertyFinder(
758                    AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
759                    this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
760            }
761    
762            /**
763             * Returns the asset entry local service.
764             *
765             * @return the asset entry local service
766             */
767            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
768                    return assetEntryLocalService;
769            }
770    
771            /**
772             * Sets the asset entry local service.
773             *
774             * @param assetEntryLocalService the asset entry local service
775             */
776            public void setAssetEntryLocalService(
777                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
778                    this.assetEntryLocalService = assetEntryLocalService;
779            }
780    
781            /**
782             * Returns the asset entry remote service.
783             *
784             * @return the asset entry remote service
785             */
786            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
787                    return assetEntryService;
788            }
789    
790            /**
791             * Sets the asset entry remote service.
792             *
793             * @param assetEntryService the asset entry remote service
794             */
795            public void setAssetEntryService(
796                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
797                    this.assetEntryService = assetEntryService;
798            }
799    
800            /**
801             * Returns the asset entry persistence.
802             *
803             * @return the asset entry persistence
804             */
805            public AssetEntryPersistence getAssetEntryPersistence() {
806                    return assetEntryPersistence;
807            }
808    
809            /**
810             * Sets the asset entry persistence.
811             *
812             * @param assetEntryPersistence the asset entry persistence
813             */
814            public void setAssetEntryPersistence(
815                    AssetEntryPersistence assetEntryPersistence) {
816                    this.assetEntryPersistence = assetEntryPersistence;
817            }
818    
819            /**
820             * Returns the asset entry finder.
821             *
822             * @return the asset entry finder
823             */
824            public AssetEntryFinder getAssetEntryFinder() {
825                    return assetEntryFinder;
826            }
827    
828            /**
829             * Sets the asset entry finder.
830             *
831             * @param assetEntryFinder the asset entry finder
832             */
833            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
834                    this.assetEntryFinder = assetEntryFinder;
835            }
836    
837            /**
838             * Returns the asset link local service.
839             *
840             * @return the asset link local service
841             */
842            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
843                    return assetLinkLocalService;
844            }
845    
846            /**
847             * Sets the asset link local service.
848             *
849             * @param assetLinkLocalService the asset link local service
850             */
851            public void setAssetLinkLocalService(
852                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
853                    this.assetLinkLocalService = assetLinkLocalService;
854            }
855    
856            /**
857             * Returns the asset link persistence.
858             *
859             * @return the asset link persistence
860             */
861            public AssetLinkPersistence getAssetLinkPersistence() {
862                    return assetLinkPersistence;
863            }
864    
865            /**
866             * Sets the asset link persistence.
867             *
868             * @param assetLinkPersistence the asset link persistence
869             */
870            public void setAssetLinkPersistence(
871                    AssetLinkPersistence assetLinkPersistence) {
872                    this.assetLinkPersistence = assetLinkPersistence;
873            }
874    
875            /**
876             * Returns the asset tag local service.
877             *
878             * @return the asset tag local service
879             */
880            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
881                    return assetTagLocalService;
882            }
883    
884            /**
885             * Sets the asset tag local service.
886             *
887             * @param assetTagLocalService the asset tag local service
888             */
889            public void setAssetTagLocalService(
890                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
891                    this.assetTagLocalService = assetTagLocalService;
892            }
893    
894            /**
895             * Returns the asset tag remote service.
896             *
897             * @return the asset tag remote service
898             */
899            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
900                    return assetTagService;
901            }
902    
903            /**
904             * Sets the asset tag remote service.
905             *
906             * @param assetTagService the asset tag remote service
907             */
908            public void setAssetTagService(
909                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
910                    this.assetTagService = assetTagService;
911            }
912    
913            /**
914             * Returns the asset tag persistence.
915             *
916             * @return the asset tag persistence
917             */
918            public AssetTagPersistence getAssetTagPersistence() {
919                    return assetTagPersistence;
920            }
921    
922            /**
923             * Sets the asset tag persistence.
924             *
925             * @param assetTagPersistence the asset tag persistence
926             */
927            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
928                    this.assetTagPersistence = assetTagPersistence;
929            }
930    
931            /**
932             * Returns the asset tag finder.
933             *
934             * @return the asset tag finder
935             */
936            public AssetTagFinder getAssetTagFinder() {
937                    return assetTagFinder;
938            }
939    
940            /**
941             * Sets the asset tag finder.
942             *
943             * @param assetTagFinder the asset tag finder
944             */
945            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
946                    this.assetTagFinder = assetTagFinder;
947            }
948    
949            /**
950             * Returns the asset tag property local service.
951             *
952             * @return the asset tag property local service
953             */
954            public com.liferay.portlet.asset.service.AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
955                    return assetTagPropertyLocalService;
956            }
957    
958            /**
959             * Sets the asset tag property local service.
960             *
961             * @param assetTagPropertyLocalService the asset tag property local service
962             */
963            public void setAssetTagPropertyLocalService(
964                    com.liferay.portlet.asset.service.AssetTagPropertyLocalService assetTagPropertyLocalService) {
965                    this.assetTagPropertyLocalService = assetTagPropertyLocalService;
966            }
967    
968            /**
969             * Returns the asset tag property remote service.
970             *
971             * @return the asset tag property remote service
972             */
973            public com.liferay.portlet.asset.service.AssetTagPropertyService getAssetTagPropertyService() {
974                    return assetTagPropertyService;
975            }
976    
977            /**
978             * Sets the asset tag property remote service.
979             *
980             * @param assetTagPropertyService the asset tag property remote service
981             */
982            public void setAssetTagPropertyService(
983                    com.liferay.portlet.asset.service.AssetTagPropertyService assetTagPropertyService) {
984                    this.assetTagPropertyService = assetTagPropertyService;
985            }
986    
987            /**
988             * Returns the asset tag property persistence.
989             *
990             * @return the asset tag property persistence
991             */
992            public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
993                    return assetTagPropertyPersistence;
994            }
995    
996            /**
997             * Sets the asset tag property persistence.
998             *
999             * @param assetTagPropertyPersistence the asset tag property persistence
1000             */
1001            public void setAssetTagPropertyPersistence(
1002                    AssetTagPropertyPersistence assetTagPropertyPersistence) {
1003                    this.assetTagPropertyPersistence = assetTagPropertyPersistence;
1004            }
1005    
1006            /**
1007             * Returns the asset tag property finder.
1008             *
1009             * @return the asset tag property finder
1010             */
1011            public AssetTagPropertyFinder getAssetTagPropertyFinder() {
1012                    return assetTagPropertyFinder;
1013            }
1014    
1015            /**
1016             * Sets the asset tag property finder.
1017             *
1018             * @param assetTagPropertyFinder the asset tag property finder
1019             */
1020            public void setAssetTagPropertyFinder(
1021                    AssetTagPropertyFinder assetTagPropertyFinder) {
1022                    this.assetTagPropertyFinder = assetTagPropertyFinder;
1023            }
1024    
1025            /**
1026             * Returns the asset tag property key finder.
1027             *
1028             * @return the asset tag property key finder
1029             */
1030            public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
1031                    return assetTagPropertyKeyFinder;
1032            }
1033    
1034            /**
1035             * Sets the asset tag property key finder.
1036             *
1037             * @param assetTagPropertyKeyFinder the asset tag property key finder
1038             */
1039            public void setAssetTagPropertyKeyFinder(
1040                    AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
1041                    this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
1042            }
1043    
1044            /**
1045             * Returns the asset tag stats local service.
1046             *
1047             * @return the asset tag stats local service
1048             */
1049            public com.liferay.portlet.asset.service.AssetTagStatsLocalService getAssetTagStatsLocalService() {
1050                    return assetTagStatsLocalService;
1051            }
1052    
1053            /**
1054             * Sets the asset tag stats local service.
1055             *
1056             * @param assetTagStatsLocalService the asset tag stats local service
1057             */
1058            public void setAssetTagStatsLocalService(
1059                    com.liferay.portlet.asset.service.AssetTagStatsLocalService assetTagStatsLocalService) {
1060                    this.assetTagStatsLocalService = assetTagStatsLocalService;
1061            }
1062    
1063            /**
1064             * Returns the asset tag stats persistence.
1065             *
1066             * @return the asset tag stats persistence
1067             */
1068            public AssetTagStatsPersistence getAssetTagStatsPersistence() {
1069                    return assetTagStatsPersistence;
1070            }
1071    
1072            /**
1073             * Sets the asset tag stats persistence.
1074             *
1075             * @param assetTagStatsPersistence the asset tag stats persistence
1076             */
1077            public void setAssetTagStatsPersistence(
1078                    AssetTagStatsPersistence assetTagStatsPersistence) {
1079                    this.assetTagStatsPersistence = assetTagStatsPersistence;
1080            }
1081    
1082            /**
1083             * Returns the asset vocabulary local service.
1084             *
1085             * @return the asset vocabulary local service
1086             */
1087            public com.liferay.portlet.asset.service.AssetVocabularyLocalService getAssetVocabularyLocalService() {
1088                    return assetVocabularyLocalService;
1089            }
1090    
1091            /**
1092             * Sets the asset vocabulary local service.
1093             *
1094             * @param assetVocabularyLocalService the asset vocabulary local service
1095             */
1096            public void setAssetVocabularyLocalService(
1097                    com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService) {
1098                    this.assetVocabularyLocalService = assetVocabularyLocalService;
1099            }
1100    
1101            /**
1102             * Returns the asset vocabulary remote service.
1103             *
1104             * @return the asset vocabulary remote service
1105             */
1106            public com.liferay.portlet.asset.service.AssetVocabularyService getAssetVocabularyService() {
1107                    return assetVocabularyService;
1108            }
1109    
1110            /**
1111             * Sets the asset vocabulary remote service.
1112             *
1113             * @param assetVocabularyService the asset vocabulary remote service
1114             */
1115            public void setAssetVocabularyService(
1116                    com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService) {
1117                    this.assetVocabularyService = assetVocabularyService;
1118            }
1119    
1120            /**
1121             * Returns the asset vocabulary persistence.
1122             *
1123             * @return the asset vocabulary persistence
1124             */
1125            public AssetVocabularyPersistence getAssetVocabularyPersistence() {
1126                    return assetVocabularyPersistence;
1127            }
1128    
1129            /**
1130             * Sets the asset vocabulary persistence.
1131             *
1132             * @param assetVocabularyPersistence the asset vocabulary persistence
1133             */
1134            public void setAssetVocabularyPersistence(
1135                    AssetVocabularyPersistence assetVocabularyPersistence) {
1136                    this.assetVocabularyPersistence = assetVocabularyPersistence;
1137            }
1138    
1139            /**
1140             * Returns the asset vocabulary finder.
1141             *
1142             * @return the asset vocabulary finder
1143             */
1144            public AssetVocabularyFinder getAssetVocabularyFinder() {
1145                    return assetVocabularyFinder;
1146            }
1147    
1148            /**
1149             * Sets the asset vocabulary finder.
1150             *
1151             * @param assetVocabularyFinder the asset vocabulary finder
1152             */
1153            public void setAssetVocabularyFinder(
1154                    AssetVocabularyFinder assetVocabularyFinder) {
1155                    this.assetVocabularyFinder = assetVocabularyFinder;
1156            }
1157    
1158            /**
1159             * Returns the counter local service.
1160             *
1161             * @return the counter local service
1162             */
1163            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
1164                    return counterLocalService;
1165            }
1166    
1167            /**
1168             * Sets the counter local service.
1169             *
1170             * @param counterLocalService the counter local service
1171             */
1172            public void setCounterLocalService(
1173                    com.liferay.counter.service.CounterLocalService counterLocalService) {
1174                    this.counterLocalService = counterLocalService;
1175            }
1176    
1177            /**
1178             * Returns the company local service.
1179             *
1180             * @return the company local service
1181             */
1182            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
1183                    return companyLocalService;
1184            }
1185    
1186            /**
1187             * Sets the company local service.
1188             *
1189             * @param companyLocalService the company local service
1190             */
1191            public void setCompanyLocalService(
1192                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
1193                    this.companyLocalService = companyLocalService;
1194            }
1195    
1196            /**
1197             * Returns the company remote service.
1198             *
1199             * @return the company remote service
1200             */
1201            public com.liferay.portal.service.CompanyService getCompanyService() {
1202                    return companyService;
1203            }
1204    
1205            /**
1206             * Sets the company remote service.
1207             *
1208             * @param companyService the company remote service
1209             */
1210            public void setCompanyService(
1211                    com.liferay.portal.service.CompanyService companyService) {
1212                    this.companyService = companyService;
1213            }
1214    
1215            /**
1216             * Returns the company persistence.
1217             *
1218             * @return the company persistence
1219             */
1220            public CompanyPersistence getCompanyPersistence() {
1221                    return companyPersistence;
1222            }
1223    
1224            /**
1225             * Sets the company persistence.
1226             *
1227             * @param companyPersistence the company persistence
1228             */
1229            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
1230                    this.companyPersistence = companyPersistence;
1231            }
1232    
1233            /**
1234             * Returns the group local service.
1235             *
1236             * @return the group local service
1237             */
1238            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
1239                    return groupLocalService;
1240            }
1241    
1242            /**
1243             * Sets the group local service.
1244             *
1245             * @param groupLocalService the group local service
1246             */
1247            public void setGroupLocalService(
1248                    com.liferay.portal.service.GroupLocalService groupLocalService) {
1249                    this.groupLocalService = groupLocalService;
1250            }
1251    
1252            /**
1253             * Returns the group remote service.
1254             *
1255             * @return the group remote service
1256             */
1257            public com.liferay.portal.service.GroupService getGroupService() {
1258                    return groupService;
1259            }
1260    
1261            /**
1262             * Sets the group remote service.
1263             *
1264             * @param groupService the group remote service
1265             */
1266            public void setGroupService(
1267                    com.liferay.portal.service.GroupService groupService) {
1268                    this.groupService = groupService;
1269            }
1270    
1271            /**
1272             * Returns the group persistence.
1273             *
1274             * @return the group persistence
1275             */
1276            public GroupPersistence getGroupPersistence() {
1277                    return groupPersistence;
1278            }
1279    
1280            /**
1281             * Sets the group persistence.
1282             *
1283             * @param groupPersistence the group persistence
1284             */
1285            public void setGroupPersistence(GroupPersistence groupPersistence) {
1286                    this.groupPersistence = groupPersistence;
1287            }
1288    
1289            /**
1290             * Returns the group finder.
1291             *
1292             * @return the group finder
1293             */
1294            public GroupFinder getGroupFinder() {
1295                    return groupFinder;
1296            }
1297    
1298            /**
1299             * Sets the group finder.
1300             *
1301             * @param groupFinder the group finder
1302             */
1303            public void setGroupFinder(GroupFinder groupFinder) {
1304                    this.groupFinder = groupFinder;
1305            }
1306    
1307            /**
1308             * Returns the resource local service.
1309             *
1310             * @return the resource local service
1311             */
1312            public com.liferay.portal.service.ResourceLocalService getResourceLocalService() {
1313                    return resourceLocalService;
1314            }
1315    
1316            /**
1317             * Sets the resource local service.
1318             *
1319             * @param resourceLocalService the resource local service
1320             */
1321            public void setResourceLocalService(
1322                    com.liferay.portal.service.ResourceLocalService resourceLocalService) {
1323                    this.resourceLocalService = resourceLocalService;
1324            }
1325    
1326            /**
1327             * Returns the system event local service.
1328             *
1329             * @return the system event local service
1330             */
1331            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
1332                    return systemEventLocalService;
1333            }
1334    
1335            /**
1336             * Sets the system event local service.
1337             *
1338             * @param systemEventLocalService the system event local service
1339             */
1340            public void setSystemEventLocalService(
1341                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
1342                    this.systemEventLocalService = systemEventLocalService;
1343            }
1344    
1345            /**
1346             * Returns the system event persistence.
1347             *
1348             * @return the system event persistence
1349             */
1350            public SystemEventPersistence getSystemEventPersistence() {
1351                    return systemEventPersistence;
1352            }
1353    
1354            /**
1355             * Sets the system event persistence.
1356             *
1357             * @param systemEventPersistence the system event persistence
1358             */
1359            public void setSystemEventPersistence(
1360                    SystemEventPersistence systemEventPersistence) {
1361                    this.systemEventPersistence = systemEventPersistence;
1362            }
1363    
1364            /**
1365             * Returns the user local service.
1366             *
1367             * @return the user local service
1368             */
1369            public com.liferay.portal.service.UserLocalService getUserLocalService() {
1370                    return userLocalService;
1371            }
1372    
1373            /**
1374             * Sets the user local service.
1375             *
1376             * @param userLocalService the user local service
1377             */
1378            public void setUserLocalService(
1379                    com.liferay.portal.service.UserLocalService userLocalService) {
1380                    this.userLocalService = userLocalService;
1381            }
1382    
1383            /**
1384             * Returns the user remote service.
1385             *
1386             * @return the user remote service
1387             */
1388            public com.liferay.portal.service.UserService getUserService() {
1389                    return userService;
1390            }
1391    
1392            /**
1393             * Sets the user remote service.
1394             *
1395             * @param userService the user remote service
1396             */
1397            public void setUserService(
1398                    com.liferay.portal.service.UserService userService) {
1399                    this.userService = userService;
1400            }
1401    
1402            /**
1403             * Returns the user persistence.
1404             *
1405             * @return the user persistence
1406             */
1407            public UserPersistence getUserPersistence() {
1408                    return userPersistence;
1409            }
1410    
1411            /**
1412             * Sets the user persistence.
1413             *
1414             * @param userPersistence the user persistence
1415             */
1416            public void setUserPersistence(UserPersistence userPersistence) {
1417                    this.userPersistence = userPersistence;
1418            }
1419    
1420            /**
1421             * Returns the user finder.
1422             *
1423             * @return the user finder
1424             */
1425            public UserFinder getUserFinder() {
1426                    return userFinder;
1427            }
1428    
1429            /**
1430             * Sets the user finder.
1431             *
1432             * @param userFinder the user finder
1433             */
1434            public void setUserFinder(UserFinder userFinder) {
1435                    this.userFinder = userFinder;
1436            }
1437    
1438            /**
1439             * Returns the blogs entry local service.
1440             *
1441             * @return the blogs entry local service
1442             */
1443            public com.liferay.portlet.blogs.service.BlogsEntryLocalService getBlogsEntryLocalService() {
1444                    return blogsEntryLocalService;
1445            }
1446    
1447            /**
1448             * Sets the blogs entry local service.
1449             *
1450             * @param blogsEntryLocalService the blogs entry local service
1451             */
1452            public void setBlogsEntryLocalService(
1453                    com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService) {
1454                    this.blogsEntryLocalService = blogsEntryLocalService;
1455            }
1456    
1457            /**
1458             * Returns the blogs entry remote service.
1459             *
1460             * @return the blogs entry remote service
1461             */
1462            public com.liferay.portlet.blogs.service.BlogsEntryService getBlogsEntryService() {
1463                    return blogsEntryService;
1464            }
1465    
1466            /**
1467             * Sets the blogs entry remote service.
1468             *
1469             * @param blogsEntryService the blogs entry remote service
1470             */
1471            public void setBlogsEntryService(
1472                    com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService) {
1473                    this.blogsEntryService = blogsEntryService;
1474            }
1475    
1476            /**
1477             * Returns the blogs entry persistence.
1478             *
1479             * @return the blogs entry persistence
1480             */
1481            public BlogsEntryPersistence getBlogsEntryPersistence() {
1482                    return blogsEntryPersistence;
1483            }
1484    
1485            /**
1486             * Sets the blogs entry persistence.
1487             *
1488             * @param blogsEntryPersistence the blogs entry persistence
1489             */
1490            public void setBlogsEntryPersistence(
1491                    BlogsEntryPersistence blogsEntryPersistence) {
1492                    this.blogsEntryPersistence = blogsEntryPersistence;
1493            }
1494    
1495            /**
1496             * Returns the blogs entry finder.
1497             *
1498             * @return the blogs entry finder
1499             */
1500            public BlogsEntryFinder getBlogsEntryFinder() {
1501                    return blogsEntryFinder;
1502            }
1503    
1504            /**
1505             * Sets the blogs entry finder.
1506             *
1507             * @param blogsEntryFinder the blogs entry finder
1508             */
1509            public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
1510                    this.blogsEntryFinder = blogsEntryFinder;
1511            }
1512    
1513            /**
1514             * Returns the bookmarks entry local service.
1515             *
1516             * @return the bookmarks entry local service
1517             */
1518            public com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService getBookmarksEntryLocalService() {
1519                    return bookmarksEntryLocalService;
1520            }
1521    
1522            /**
1523             * Sets the bookmarks entry local service.
1524             *
1525             * @param bookmarksEntryLocalService the bookmarks entry local service
1526             */
1527            public void setBookmarksEntryLocalService(
1528                    com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService) {
1529                    this.bookmarksEntryLocalService = bookmarksEntryLocalService;
1530            }
1531    
1532            /**
1533             * Returns the bookmarks entry remote service.
1534             *
1535             * @return the bookmarks entry remote service
1536             */
1537            public com.liferay.portlet.bookmarks.service.BookmarksEntryService getBookmarksEntryService() {
1538                    return bookmarksEntryService;
1539            }
1540    
1541            /**
1542             * Sets the bookmarks entry remote service.
1543             *
1544             * @param bookmarksEntryService the bookmarks entry remote service
1545             */
1546            public void setBookmarksEntryService(
1547                    com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService) {
1548                    this.bookmarksEntryService = bookmarksEntryService;
1549            }
1550    
1551            /**
1552             * Returns the bookmarks entry persistence.
1553             *
1554             * @return the bookmarks entry persistence
1555             */
1556            public BookmarksEntryPersistence getBookmarksEntryPersistence() {
1557                    return bookmarksEntryPersistence;
1558            }
1559    
1560            /**
1561             * Sets the bookmarks entry persistence.
1562             *
1563             * @param bookmarksEntryPersistence the bookmarks entry persistence
1564             */
1565            public void setBookmarksEntryPersistence(
1566                    BookmarksEntryPersistence bookmarksEntryPersistence) {
1567                    this.bookmarksEntryPersistence = bookmarksEntryPersistence;
1568            }
1569    
1570            /**
1571             * Returns the bookmarks entry finder.
1572             *
1573             * @return the bookmarks entry finder
1574             */
1575            public BookmarksEntryFinder getBookmarksEntryFinder() {
1576                    return bookmarksEntryFinder;
1577            }
1578    
1579            /**
1580             * Sets the bookmarks entry finder.
1581             *
1582             * @param bookmarksEntryFinder the bookmarks entry finder
1583             */
1584            public void setBookmarksEntryFinder(
1585                    BookmarksEntryFinder bookmarksEntryFinder) {
1586                    this.bookmarksEntryFinder = bookmarksEntryFinder;
1587            }
1588    
1589            /**
1590             * Returns the d l app local service.
1591             *
1592             * @return the d l app local service
1593             */
1594            public com.liferay.portlet.documentlibrary.service.DLAppLocalService getDLAppLocalService() {
1595                    return dlAppLocalService;
1596            }
1597    
1598            /**
1599             * Sets the d l app local service.
1600             *
1601             * @param dlAppLocalService the d l app local service
1602             */
1603            public void setDLAppLocalService(
1604                    com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService) {
1605                    this.dlAppLocalService = dlAppLocalService;
1606            }
1607    
1608            /**
1609             * Returns the d l app remote service.
1610             *
1611             * @return the d l app remote service
1612             */
1613            public com.liferay.portlet.documentlibrary.service.DLAppService getDLAppService() {
1614                    return dlAppService;
1615            }
1616    
1617            /**
1618             * Sets the d l app remote service.
1619             *
1620             * @param dlAppService the d l app remote service
1621             */
1622            public void setDLAppService(
1623                    com.liferay.portlet.documentlibrary.service.DLAppService dlAppService) {
1624                    this.dlAppService = dlAppService;
1625            }
1626    
1627            /**
1628             * Returns the document library file entry local service.
1629             *
1630             * @return the document library file entry local service
1631             */
1632            public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
1633                    return dlFileEntryLocalService;
1634            }
1635    
1636            /**
1637             * Sets the document library file entry local service.
1638             *
1639             * @param dlFileEntryLocalService the document library file entry local service
1640             */
1641            public void setDLFileEntryLocalService(
1642                    com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
1643                    this.dlFileEntryLocalService = dlFileEntryLocalService;
1644            }
1645    
1646            /**
1647             * Returns the document library file entry remote service.
1648             *
1649             * @return the document library file entry remote service
1650             */
1651            public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
1652                    return dlFileEntryService;
1653            }
1654    
1655            /**
1656             * Sets the document library file entry remote service.
1657             *
1658             * @param dlFileEntryService the document library file entry remote service
1659             */
1660            public void setDLFileEntryService(
1661                    com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
1662                    this.dlFileEntryService = dlFileEntryService;
1663            }
1664    
1665            /**
1666             * Returns the document library file entry persistence.
1667             *
1668             * @return the document library file entry persistence
1669             */
1670            public DLFileEntryPersistence getDLFileEntryPersistence() {
1671                    return dlFileEntryPersistence;
1672            }
1673    
1674            /**
1675             * Sets the document library file entry persistence.
1676             *
1677             * @param dlFileEntryPersistence the document library file entry persistence
1678             */
1679            public void setDLFileEntryPersistence(
1680                    DLFileEntryPersistence dlFileEntryPersistence) {
1681                    this.dlFileEntryPersistence = dlFileEntryPersistence;
1682            }
1683    
1684            /**
1685             * Returns the document library file entry finder.
1686             *
1687             * @return the document library file entry finder
1688             */
1689            public DLFileEntryFinder getDLFileEntryFinder() {
1690                    return dlFileEntryFinder;
1691            }
1692    
1693            /**
1694             * Sets the document library file entry finder.
1695             *
1696             * @param dlFileEntryFinder the document library file entry finder
1697             */
1698            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
1699                    this.dlFileEntryFinder = dlFileEntryFinder;
1700            }
1701    
1702            /**
1703             * Returns the document library folder local service.
1704             *
1705             * @return the document library folder local service
1706             */
1707            public com.liferay.portlet.documentlibrary.service.DLFolderLocalService getDLFolderLocalService() {
1708                    return dlFolderLocalService;
1709            }
1710    
1711            /**
1712             * Sets the document library folder local service.
1713             *
1714             * @param dlFolderLocalService the document library folder local service
1715             */
1716            public void setDLFolderLocalService(
1717                    com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService) {
1718                    this.dlFolderLocalService = dlFolderLocalService;
1719            }
1720    
1721            /**
1722             * Returns the document library folder remote service.
1723             *
1724             * @return the document library folder remote service
1725             */
1726            public com.liferay.portlet.documentlibrary.service.DLFolderService getDLFolderService() {
1727                    return dlFolderService;
1728            }
1729    
1730            /**
1731             * Sets the document library folder remote service.
1732             *
1733             * @param dlFolderService the document library folder remote service
1734             */
1735            public void setDLFolderService(
1736                    com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService) {
1737                    this.dlFolderService = dlFolderService;
1738            }
1739    
1740            /**
1741             * Returns the document library folder persistence.
1742             *
1743             * @return the document library folder persistence
1744             */
1745            public DLFolderPersistence getDLFolderPersistence() {
1746                    return dlFolderPersistence;
1747            }
1748    
1749            /**
1750             * Sets the document library folder persistence.
1751             *
1752             * @param dlFolderPersistence the document library folder persistence
1753             */
1754            public void setDLFolderPersistence(DLFolderPersistence dlFolderPersistence) {
1755                    this.dlFolderPersistence = dlFolderPersistence;
1756            }
1757    
1758            /**
1759             * Returns the document library folder finder.
1760             *
1761             * @return the document library folder finder
1762             */
1763            public DLFolderFinder getDLFolderFinder() {
1764                    return dlFolderFinder;
1765            }
1766    
1767            /**
1768             * Sets the document library folder finder.
1769             *
1770             * @param dlFolderFinder the document library folder finder
1771             */
1772            public void setDLFolderFinder(DLFolderFinder dlFolderFinder) {
1773                    this.dlFolderFinder = dlFolderFinder;
1774            }
1775    
1776            /**
1777             * Returns the journal article local service.
1778             *
1779             * @return the journal article local service
1780             */
1781            public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService() {
1782                    return journalArticleLocalService;
1783            }
1784    
1785            /**
1786             * Sets the journal article local service.
1787             *
1788             * @param journalArticleLocalService the journal article local service
1789             */
1790            public void setJournalArticleLocalService(
1791                    com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService) {
1792                    this.journalArticleLocalService = journalArticleLocalService;
1793            }
1794    
1795            /**
1796             * Returns the journal article remote service.
1797             *
1798             * @return the journal article remote service
1799             */
1800            public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService() {
1801                    return journalArticleService;
1802            }
1803    
1804            /**
1805             * Sets the journal article remote service.
1806             *
1807             * @param journalArticleService the journal article remote service
1808             */
1809            public void setJournalArticleService(
1810                    com.liferay.portlet.journal.service.JournalArticleService journalArticleService) {
1811                    this.journalArticleService = journalArticleService;
1812            }
1813    
1814            /**
1815             * Returns the journal article persistence.
1816             *
1817             * @return the journal article persistence
1818             */
1819            public JournalArticlePersistence getJournalArticlePersistence() {
1820                    return journalArticlePersistence;
1821            }
1822    
1823            /**
1824             * Sets the journal article persistence.
1825             *
1826             * @param journalArticlePersistence the journal article persistence
1827             */
1828            public void setJournalArticlePersistence(
1829                    JournalArticlePersistence journalArticlePersistence) {
1830                    this.journalArticlePersistence = journalArticlePersistence;
1831            }
1832    
1833            /**
1834             * Returns the journal article finder.
1835             *
1836             * @return the journal article finder
1837             */
1838            public JournalArticleFinder getJournalArticleFinder() {
1839                    return journalArticleFinder;
1840            }
1841    
1842            /**
1843             * Sets the journal article finder.
1844             *
1845             * @param journalArticleFinder the journal article finder
1846             */
1847            public void setJournalArticleFinder(
1848                    JournalArticleFinder journalArticleFinder) {
1849                    this.journalArticleFinder = journalArticleFinder;
1850            }
1851    
1852            /**
1853             * Returns the journal article resource local service.
1854             *
1855             * @return the journal article resource local service
1856             */
1857            public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
1858                    return journalArticleResourceLocalService;
1859            }
1860    
1861            /**
1862             * Sets the journal article resource local service.
1863             *
1864             * @param journalArticleResourceLocalService the journal article resource local service
1865             */
1866            public void setJournalArticleResourceLocalService(
1867                    com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) {
1868                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
1869            }
1870    
1871            /**
1872             * Returns the journal article resource persistence.
1873             *
1874             * @return the journal article resource persistence
1875             */
1876            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
1877                    return journalArticleResourcePersistence;
1878            }
1879    
1880            /**
1881             * Sets the journal article resource persistence.
1882             *
1883             * @param journalArticleResourcePersistence the journal article resource persistence
1884             */
1885            public void setJournalArticleResourcePersistence(
1886                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
1887                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
1888            }
1889    
1890            /**
1891             * Returns the message-boards message local service.
1892             *
1893             * @return the message-boards message local service
1894             */
1895            public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
1896                    return mbMessageLocalService;
1897            }
1898    
1899            /**
1900             * Sets the message-boards message local service.
1901             *
1902             * @param mbMessageLocalService the message-boards message local service
1903             */
1904            public void setMBMessageLocalService(
1905                    com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
1906                    this.mbMessageLocalService = mbMessageLocalService;
1907            }
1908    
1909            /**
1910             * Returns the message-boards message remote service.
1911             *
1912             * @return the message-boards message remote service
1913             */
1914            public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
1915                    return mbMessageService;
1916            }
1917    
1918            /**
1919             * Sets the message-boards message remote service.
1920             *
1921             * @param mbMessageService the message-boards message remote service
1922             */
1923            public void setMBMessageService(
1924                    com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
1925                    this.mbMessageService = mbMessageService;
1926            }
1927    
1928            /**
1929             * Returns the message-boards message persistence.
1930             *
1931             * @return the message-boards message persistence
1932             */
1933            public MBMessagePersistence getMBMessagePersistence() {
1934                    return mbMessagePersistence;
1935            }
1936    
1937            /**
1938             * Sets the message-boards message persistence.
1939             *
1940             * @param mbMessagePersistence the message-boards message persistence
1941             */
1942            public void setMBMessagePersistence(
1943                    MBMessagePersistence mbMessagePersistence) {
1944                    this.mbMessagePersistence = mbMessagePersistence;
1945            }
1946    
1947            /**
1948             * Returns the message-boards message finder.
1949             *
1950             * @return the message-boards message finder
1951             */
1952            public MBMessageFinder getMBMessageFinder() {
1953                    return mbMessageFinder;
1954            }
1955    
1956            /**
1957             * Sets the message-boards message finder.
1958             *
1959             * @param mbMessageFinder the message-boards message finder
1960             */
1961            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1962                    this.mbMessageFinder = mbMessageFinder;
1963            }
1964    
1965            /**
1966             * Returns the social activity local service.
1967             *
1968             * @return the social activity local service
1969             */
1970            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1971                    return socialActivityLocalService;
1972            }
1973    
1974            /**
1975             * Sets the social activity local service.
1976             *
1977             * @param socialActivityLocalService the social activity local service
1978             */
1979            public void setSocialActivityLocalService(
1980                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1981                    this.socialActivityLocalService = socialActivityLocalService;
1982            }
1983    
1984            /**
1985             * Returns the social activity remote service.
1986             *
1987             * @return the social activity remote service
1988             */
1989            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1990                    return socialActivityService;
1991            }
1992    
1993            /**
1994             * Sets the social activity remote service.
1995             *
1996             * @param socialActivityService the social activity remote service
1997             */
1998            public void setSocialActivityService(
1999                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
2000                    this.socialActivityService = socialActivityService;
2001            }
2002    
2003            /**
2004             * Returns the social activity persistence.
2005             *
2006             * @return the social activity persistence
2007             */
2008            public SocialActivityPersistence getSocialActivityPersistence() {
2009                    return socialActivityPersistence;
2010            }
2011    
2012            /**
2013             * Sets the social activity persistence.
2014             *
2015             * @param socialActivityPersistence the social activity persistence
2016             */
2017            public void setSocialActivityPersistence(
2018                    SocialActivityPersistence socialActivityPersistence) {
2019                    this.socialActivityPersistence = socialActivityPersistence;
2020            }
2021    
2022            /**
2023             * Returns the social activity finder.
2024             *
2025             * @return the social activity finder
2026             */
2027            public SocialActivityFinder getSocialActivityFinder() {
2028                    return socialActivityFinder;
2029            }
2030    
2031            /**
2032             * Sets the social activity finder.
2033             *
2034             * @param socialActivityFinder the social activity finder
2035             */
2036            public void setSocialActivityFinder(
2037                    SocialActivityFinder socialActivityFinder) {
2038                    this.socialActivityFinder = socialActivityFinder;
2039            }
2040    
2041            /**
2042             * Returns the social activity counter local service.
2043             *
2044             * @return the social activity counter local service
2045             */
2046            public com.liferay.portlet.social.service.SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
2047                    return socialActivityCounterLocalService;
2048            }
2049    
2050            /**
2051             * Sets the social activity counter local service.
2052             *
2053             * @param socialActivityCounterLocalService the social activity counter local service
2054             */
2055            public void setSocialActivityCounterLocalService(
2056                    com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService) {
2057                    this.socialActivityCounterLocalService = socialActivityCounterLocalService;
2058            }
2059    
2060            /**
2061             * Returns the social activity counter persistence.
2062             *
2063             * @return the social activity counter persistence
2064             */
2065            public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
2066                    return socialActivityCounterPersistence;
2067            }
2068    
2069            /**
2070             * Sets the social activity counter persistence.
2071             *
2072             * @param socialActivityCounterPersistence the social activity counter persistence
2073             */
2074            public void setSocialActivityCounterPersistence(
2075                    SocialActivityCounterPersistence socialActivityCounterPersistence) {
2076                    this.socialActivityCounterPersistence = socialActivityCounterPersistence;
2077            }
2078    
2079            /**
2080             * Returns the social activity counter finder.
2081             *
2082             * @return the social activity counter finder
2083             */
2084            public SocialActivityCounterFinder getSocialActivityCounterFinder() {
2085                    return socialActivityCounterFinder;
2086            }
2087    
2088            /**
2089             * Sets the social activity counter finder.
2090             *
2091             * @param socialActivityCounterFinder the social activity counter finder
2092             */
2093            public void setSocialActivityCounterFinder(
2094                    SocialActivityCounterFinder socialActivityCounterFinder) {
2095                    this.socialActivityCounterFinder = socialActivityCounterFinder;
2096            }
2097    
2098            /**
2099             * Returns the wiki page local service.
2100             *
2101             * @return the wiki page local service
2102             */
2103            public com.liferay.portlet.wiki.service.WikiPageLocalService getWikiPageLocalService() {
2104                    return wikiPageLocalService;
2105            }
2106    
2107            /**
2108             * Sets the wiki page local service.
2109             *
2110             * @param wikiPageLocalService the wiki page local service
2111             */
2112            public void setWikiPageLocalService(
2113                    com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService) {
2114                    this.wikiPageLocalService = wikiPageLocalService;
2115            }
2116    
2117            /**
2118             * Returns the wiki page remote service.
2119             *
2120             * @return the wiki page remote service
2121             */
2122            public com.liferay.portlet.wiki.service.WikiPageService getWikiPageService() {
2123                    return wikiPageService;
2124            }
2125    
2126            /**
2127             * Sets the wiki page remote service.
2128             *
2129             * @param wikiPageService the wiki page remote service
2130             */
2131            public void setWikiPageService(
2132                    com.liferay.portlet.wiki.service.WikiPageService wikiPageService) {
2133                    this.wikiPageService = wikiPageService;
2134            }
2135    
2136            /**
2137             * Returns the wiki page persistence.
2138             *
2139             * @return the wiki page persistence
2140             */
2141            public WikiPagePersistence getWikiPagePersistence() {
2142                    return wikiPagePersistence;
2143            }
2144    
2145            /**
2146             * Sets the wiki page persistence.
2147             *
2148             * @param wikiPagePersistence the wiki page persistence
2149             */
2150            public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
2151                    this.wikiPagePersistence = wikiPagePersistence;
2152            }
2153    
2154            /**
2155             * Returns the wiki page finder.
2156             *
2157             * @return the wiki page finder
2158             */
2159            public WikiPageFinder getWikiPageFinder() {
2160                    return wikiPageFinder;
2161            }
2162    
2163            /**
2164             * Sets the wiki page finder.
2165             *
2166             * @param wikiPageFinder the wiki page finder
2167             */
2168            public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
2169                    this.wikiPageFinder = wikiPageFinder;
2170            }
2171    
2172            /**
2173             * Returns the wiki page resource local service.
2174             *
2175             * @return the wiki page resource local service
2176             */
2177            public com.liferay.portlet.wiki.service.WikiPageResourceLocalService getWikiPageResourceLocalService() {
2178                    return wikiPageResourceLocalService;
2179            }
2180    
2181            /**
2182             * Sets the wiki page resource local service.
2183             *
2184             * @param wikiPageResourceLocalService the wiki page resource local service
2185             */
2186            public void setWikiPageResourceLocalService(
2187                    com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService) {
2188                    this.wikiPageResourceLocalService = wikiPageResourceLocalService;
2189            }
2190    
2191            /**
2192             * Returns the wiki page resource persistence.
2193             *
2194             * @return the wiki page resource persistence
2195             */
2196            public WikiPageResourcePersistence getWikiPageResourcePersistence() {
2197                    return wikiPageResourcePersistence;
2198            }
2199    
2200            /**
2201             * Sets the wiki page resource persistence.
2202             *
2203             * @param wikiPageResourcePersistence the wiki page resource persistence
2204             */
2205            public void setWikiPageResourcePersistence(
2206                    WikiPageResourcePersistence wikiPageResourcePersistence) {
2207                    this.wikiPageResourcePersistence = wikiPageResourcePersistence;
2208            }
2209    
2210            public void afterPropertiesSet() {
2211                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.asset.model.AssetEntry",
2212                            assetEntryLocalService);
2213            }
2214    
2215            public void destroy() {
2216                    persistedModelLocalServiceRegistry.unregister(
2217                            "com.liferay.portlet.asset.model.AssetEntry");
2218            }
2219    
2220            /**
2221             * Returns the Spring bean ID for this bean.
2222             *
2223             * @return the Spring bean ID for this bean
2224             */
2225            @Override
2226            public String getBeanIdentifier() {
2227                    return _beanIdentifier;
2228            }
2229    
2230            /**
2231             * Sets the Spring bean ID for this bean.
2232             *
2233             * @param beanIdentifier the Spring bean ID for this bean
2234             */
2235            @Override
2236            public void setBeanIdentifier(String beanIdentifier) {
2237                    _beanIdentifier = beanIdentifier;
2238            }
2239    
2240            protected Class<?> getModelClass() {
2241                    return AssetEntry.class;
2242            }
2243    
2244            protected String getModelClassName() {
2245                    return AssetEntry.class.getName();
2246            }
2247    
2248            /**
2249             * Performs an SQL query.
2250             *
2251             * @param sql the sql query
2252             */
2253            protected void runSQL(String sql) throws SystemException {
2254                    try {
2255                            DataSource dataSource = assetEntryPersistence.getDataSource();
2256    
2257                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
2258                                            sql, new int[0]);
2259    
2260                            sqlUpdate.update();
2261                    }
2262                    catch (Exception e) {
2263                            throw new SystemException(e);
2264                    }
2265            }
2266    
2267            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
2268            protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
2269            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
2270            protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
2271            @BeanReference(type = AssetCategoryPersistence.class)
2272            protected AssetCategoryPersistence assetCategoryPersistence;
2273            @BeanReference(type = AssetCategoryFinder.class)
2274            protected AssetCategoryFinder assetCategoryFinder;
2275            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService.class)
2276            protected com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
2277            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryPropertyService.class)
2278            protected com.liferay.portlet.asset.service.AssetCategoryPropertyService assetCategoryPropertyService;
2279            @BeanReference(type = AssetCategoryPropertyPersistence.class)
2280            protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
2281            @BeanReference(type = AssetCategoryPropertyFinder.class)
2282            protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
2283            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
2284            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
2285            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
2286            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
2287            @BeanReference(type = AssetEntryPersistence.class)
2288            protected AssetEntryPersistence assetEntryPersistence;
2289            @BeanReference(type = AssetEntryFinder.class)
2290            protected AssetEntryFinder assetEntryFinder;
2291            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
2292            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
2293            @BeanReference(type = AssetLinkPersistence.class)
2294            protected AssetLinkPersistence assetLinkPersistence;
2295            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
2296            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
2297            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
2298            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
2299            @BeanReference(type = AssetTagPersistence.class)
2300            protected AssetTagPersistence assetTagPersistence;
2301            @BeanReference(type = AssetTagFinder.class)
2302            protected AssetTagFinder assetTagFinder;
2303            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagPropertyLocalService.class)
2304            protected com.liferay.portlet.asset.service.AssetTagPropertyLocalService assetTagPropertyLocalService;
2305            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagPropertyService.class)
2306            protected com.liferay.portlet.asset.service.AssetTagPropertyService assetTagPropertyService;
2307            @BeanReference(type = AssetTagPropertyPersistence.class)
2308            protected AssetTagPropertyPersistence assetTagPropertyPersistence;
2309            @BeanReference(type = AssetTagPropertyFinder.class)
2310            protected AssetTagPropertyFinder assetTagPropertyFinder;
2311            @BeanReference(type = AssetTagPropertyKeyFinder.class)
2312            protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
2313            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagStatsLocalService.class)
2314            protected com.liferay.portlet.asset.service.AssetTagStatsLocalService assetTagStatsLocalService;
2315            @BeanReference(type = AssetTagStatsPersistence.class)
2316            protected AssetTagStatsPersistence assetTagStatsPersistence;
2317            @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyLocalService.class)
2318            protected com.liferay.portlet.asset.service.AssetVocabularyLocalService assetVocabularyLocalService;
2319            @BeanReference(type = com.liferay.portlet.asset.service.AssetVocabularyService.class)
2320            protected com.liferay.portlet.asset.service.AssetVocabularyService assetVocabularyService;
2321            @BeanReference(type = AssetVocabularyPersistence.class)
2322            protected AssetVocabularyPersistence assetVocabularyPersistence;
2323            @BeanReference(type = AssetVocabularyFinder.class)
2324            protected AssetVocabularyFinder assetVocabularyFinder;
2325            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
2326            protected com.liferay.counter.service.CounterLocalService counterLocalService;
2327            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
2328            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
2329            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
2330            protected com.liferay.portal.service.CompanyService companyService;
2331            @BeanReference(type = CompanyPersistence.class)
2332            protected CompanyPersistence companyPersistence;
2333            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
2334            protected com.liferay.portal.service.GroupLocalService groupLocalService;
2335            @BeanReference(type = com.liferay.portal.service.GroupService.class)
2336            protected com.liferay.portal.service.GroupService groupService;
2337            @BeanReference(type = GroupPersistence.class)
2338            protected GroupPersistence groupPersistence;
2339            @BeanReference(type = GroupFinder.class)
2340            protected GroupFinder groupFinder;
2341            @BeanReference(type = com.liferay.portal.service.ResourceLocalService.class)
2342            protected com.liferay.portal.service.ResourceLocalService resourceLocalService;
2343            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
2344            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
2345            @BeanReference(type = SystemEventPersistence.class)
2346            protected SystemEventPersistence systemEventPersistence;
2347            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
2348            protected com.liferay.portal.service.UserLocalService userLocalService;
2349            @BeanReference(type = com.liferay.portal.service.UserService.class)
2350            protected com.liferay.portal.service.UserService userService;
2351            @BeanReference(type = UserPersistence.class)
2352            protected UserPersistence userPersistence;
2353            @BeanReference(type = UserFinder.class)
2354            protected UserFinder userFinder;
2355            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryLocalService.class)
2356            protected com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService;
2357            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryService.class)
2358            protected com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService;
2359            @BeanReference(type = BlogsEntryPersistence.class)
2360            protected BlogsEntryPersistence blogsEntryPersistence;
2361            @BeanReference(type = BlogsEntryFinder.class)
2362            protected BlogsEntryFinder blogsEntryFinder;
2363            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService.class)
2364            protected com.liferay.portlet.bookmarks.service.BookmarksEntryLocalService bookmarksEntryLocalService;
2365            @BeanReference(type = com.liferay.portlet.bookmarks.service.BookmarksEntryService.class)
2366            protected com.liferay.portlet.bookmarks.service.BookmarksEntryService bookmarksEntryService;
2367            @BeanReference(type = BookmarksEntryPersistence.class)
2368            protected BookmarksEntryPersistence bookmarksEntryPersistence;
2369            @BeanReference(type = BookmarksEntryFinder.class)
2370            protected BookmarksEntryFinder bookmarksEntryFinder;
2371            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppLocalService.class)
2372            protected com.liferay.portlet.documentlibrary.service.DLAppLocalService dlAppLocalService;
2373            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLAppService.class)
2374            protected com.liferay.portlet.documentlibrary.service.DLAppService dlAppService;
2375            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
2376            protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
2377            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
2378            protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
2379            @BeanReference(type = DLFileEntryPersistence.class)
2380            protected DLFileEntryPersistence dlFileEntryPersistence;
2381            @BeanReference(type = DLFileEntryFinder.class)
2382            protected DLFileEntryFinder dlFileEntryFinder;
2383            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderLocalService.class)
2384            protected com.liferay.portlet.documentlibrary.service.DLFolderLocalService dlFolderLocalService;
2385            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFolderService.class)
2386            protected com.liferay.portlet.documentlibrary.service.DLFolderService dlFolderService;
2387            @BeanReference(type = DLFolderPersistence.class)
2388            protected DLFolderPersistence dlFolderPersistence;
2389            @BeanReference(type = DLFolderFinder.class)
2390            protected DLFolderFinder dlFolderFinder;
2391            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class)
2392            protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService;
2393            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleService.class)
2394            protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService;
2395            @BeanReference(type = JournalArticlePersistence.class)
2396            protected JournalArticlePersistence journalArticlePersistence;
2397            @BeanReference(type = JournalArticleFinder.class)
2398            protected JournalArticleFinder journalArticleFinder;
2399            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
2400            protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService;
2401            @BeanReference(type = JournalArticleResourcePersistence.class)
2402            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
2403            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
2404            protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
2405            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
2406            protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
2407            @BeanReference(type = MBMessagePersistence.class)
2408            protected MBMessagePersistence mbMessagePersistence;
2409            @BeanReference(type = MBMessageFinder.class)
2410            protected MBMessageFinder mbMessageFinder;
2411            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
2412            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
2413            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
2414            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
2415            @BeanReference(type = SocialActivityPersistence.class)
2416            protected SocialActivityPersistence socialActivityPersistence;
2417            @BeanReference(type = SocialActivityFinder.class)
2418            protected SocialActivityFinder socialActivityFinder;
2419            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityCounterLocalService.class)
2420            protected com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService;
2421            @BeanReference(type = SocialActivityCounterPersistence.class)
2422            protected SocialActivityCounterPersistence socialActivityCounterPersistence;
2423            @BeanReference(type = SocialActivityCounterFinder.class)
2424            protected SocialActivityCounterFinder socialActivityCounterFinder;
2425            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageLocalService.class)
2426            protected com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService;
2427            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageService.class)
2428            protected com.liferay.portlet.wiki.service.WikiPageService wikiPageService;
2429            @BeanReference(type = WikiPagePersistence.class)
2430            protected WikiPagePersistence wikiPagePersistence;
2431            @BeanReference(type = WikiPageFinder.class)
2432            protected WikiPageFinder wikiPageFinder;
2433            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageResourceLocalService.class)
2434            protected com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService;
2435            @BeanReference(type = WikiPageResourcePersistence.class)
2436            protected WikiPageResourcePersistence wikiPageResourcePersistence;
2437            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
2438            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
2439            private String _beanIdentifier;
2440    }