001    /**
002     * Copyright (c) 2000-present 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 aQute.bnd.annotation.ProviderType;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.db.DB;
022    import com.liferay.portal.kernel.dao.db.DBFactoryUtil;
023    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
024    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
025    import com.liferay.portal.kernel.dao.orm.ActionableDynamicQuery;
026    import com.liferay.portal.kernel.dao.orm.DefaultActionableDynamicQuery;
027    import com.liferay.portal.kernel.dao.orm.DynamicQuery;
028    import com.liferay.portal.kernel.dao.orm.DynamicQueryFactoryUtil;
029    import com.liferay.portal.kernel.dao.orm.Projection;
030    import com.liferay.portal.kernel.exception.PortalException;
031    import com.liferay.portal.kernel.exception.SystemException;
032    import com.liferay.portal.kernel.search.Indexable;
033    import com.liferay.portal.kernel.search.IndexableType;
034    import com.liferay.portal.kernel.util.OrderByComparator;
035    import com.liferay.portal.model.PersistedModel;
036    import com.liferay.portal.service.BaseLocalServiceImpl;
037    import com.liferay.portal.service.PersistedModelLocalServiceRegistry;
038    import com.liferay.portal.service.persistence.ClassNamePersistence;
039    import com.liferay.portal.service.persistence.CompanyPersistence;
040    import com.liferay.portal.service.persistence.GroupFinder;
041    import com.liferay.portal.service.persistence.GroupPersistence;
042    import com.liferay.portal.service.persistence.SystemEventPersistence;
043    import com.liferay.portal.service.persistence.UserFinder;
044    import com.liferay.portal.service.persistence.UserPersistence;
045    import com.liferay.portal.util.PortalUtil;
046    
047    import com.liferay.portlet.asset.model.AssetEntry;
048    import com.liferay.portlet.asset.service.AssetEntryLocalService;
049    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
050    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
051    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
052    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
053    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
054    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
055    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
056    import com.liferay.portlet.blogs.service.persistence.BlogsEntryFinder;
057    import com.liferay.portlet.blogs.service.persistence.BlogsEntryPersistence;
058    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryFinder;
059    import com.liferay.portlet.documentlibrary.service.persistence.DLFileEntryPersistence;
060    import com.liferay.portlet.journal.service.persistence.JournalArticleFinder;
061    import com.liferay.portlet.journal.service.persistence.JournalArticlePersistence;
062    import com.liferay.portlet.journal.service.persistence.JournalArticleResourcePersistence;
063    import com.liferay.portlet.messageboards.service.persistence.MBMessageFinder;
064    import com.liferay.portlet.messageboards.service.persistence.MBMessagePersistence;
065    import com.liferay.portlet.social.service.persistence.SocialActivityCounterFinder;
066    import com.liferay.portlet.social.service.persistence.SocialActivityCounterPersistence;
067    import com.liferay.portlet.social.service.persistence.SocialActivityFinder;
068    import com.liferay.portlet.social.service.persistence.SocialActivityPersistence;
069    import com.liferay.portlet.wiki.service.persistence.WikiPageFinder;
070    import com.liferay.portlet.wiki.service.persistence.WikiPagePersistence;
071    import com.liferay.portlet.wiki.service.persistence.WikiPageResourcePersistence;
072    
073    import java.io.Serializable;
074    
075    import java.util.List;
076    
077    import javax.sql.DataSource;
078    
079    /**
080     * Provides the base implementation for the asset entry local service.
081     *
082     * <p>
083     * 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}.
084     * </p>
085     *
086     * @author Brian Wing Shun Chan
087     * @see com.liferay.portlet.asset.service.impl.AssetEntryLocalServiceImpl
088     * @see com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil
089     * @generated
090     */
091    @ProviderType
092    public abstract class AssetEntryLocalServiceBaseImpl
093            extends BaseLocalServiceImpl implements AssetEntryLocalService,
094                    IdentifiableBean {
095            /*
096             * NOTE FOR DEVELOPERS:
097             *
098             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil} to access the asset entry local service.
099             */
100    
101            /**
102             * Adds the asset entry to the database. Also notifies the appropriate model listeners.
103             *
104             * @param assetEntry the asset entry
105             * @return the asset entry that was added
106             */
107            @Indexable(type = IndexableType.REINDEX)
108            @Override
109            public AssetEntry addAssetEntry(AssetEntry assetEntry) {
110                    assetEntry.setNew(true);
111    
112                    return assetEntryPersistence.update(assetEntry);
113            }
114    
115            /**
116             * Creates a new asset entry with the primary key. Does not add the asset entry to the database.
117             *
118             * @param entryId the primary key for the new asset entry
119             * @return the new asset entry
120             */
121            @Override
122            public AssetEntry createAssetEntry(long entryId) {
123                    return assetEntryPersistence.create(entryId);
124            }
125    
126            /**
127             * Deletes the asset entry with the primary key from the database. Also notifies the appropriate model listeners.
128             *
129             * @param entryId the primary key of the asset entry
130             * @return the asset entry that was removed
131             * @throws PortalException if a asset entry with the primary key could not be found
132             */
133            @Indexable(type = IndexableType.DELETE)
134            @Override
135            public AssetEntry deleteAssetEntry(long entryId) throws PortalException {
136                    return assetEntryPersistence.remove(entryId);
137            }
138    
139            /**
140             * Deletes the asset entry from the database. Also notifies the appropriate model listeners.
141             *
142             * @param assetEntry the asset entry
143             * @return the asset entry that was removed
144             */
145            @Indexable(type = IndexableType.DELETE)
146            @Override
147            public AssetEntry deleteAssetEntry(AssetEntry assetEntry) {
148                    return assetEntryPersistence.remove(assetEntry);
149            }
150    
151            @Override
152            public DynamicQuery dynamicQuery() {
153                    Class<?> clazz = getClass();
154    
155                    return DynamicQueryFactoryUtil.forClass(AssetEntry.class,
156                            clazz.getClassLoader());
157            }
158    
159            /**
160             * Performs a dynamic query on the database and returns the matching rows.
161             *
162             * @param dynamicQuery the dynamic query
163             * @return the matching rows
164             */
165            @Override
166            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery) {
167                    return assetEntryPersistence.findWithDynamicQuery(dynamicQuery);
168            }
169    
170            /**
171             * Performs a dynamic query on the database and returns a range of the matching rows.
172             *
173             * <p>
174             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set. If <code>orderByComparator</code> is specified, then the query will include the given ORDER BY logic. If <code>orderByComparator</code> is absent and pagination is required (<code>start</code> and <code>end</code> are not {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS}), then the query will include the default ORDER BY logic from {@link com.liferay.portlet.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.
175             * </p>
176             *
177             * @param dynamicQuery the dynamic query
178             * @param start the lower bound of the range of model instances
179             * @param end the upper bound of the range of model instances (not inclusive)
180             * @return the range of matching rows
181             */
182            @Override
183            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
184                    int end) {
185                    return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
186                            end);
187            }
188    
189            /**
190             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
191             *
192             * <p>
193             * 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.
194             * </p>
195             *
196             * @param dynamicQuery the dynamic query
197             * @param start the lower bound of the range of model instances
198             * @param end the upper bound of the range of model instances (not inclusive)
199             * @param orderByComparator the comparator to order the results by (optionally <code>null</code>)
200             * @return the ordered range of matching rows
201             */
202            @Override
203            public <T> List<T> dynamicQuery(DynamicQuery dynamicQuery, int start,
204                    int end, OrderByComparator<T> orderByComparator) {
205                    return assetEntryPersistence.findWithDynamicQuery(dynamicQuery, start,
206                            end, orderByComparator);
207            }
208    
209            /**
210             * Returns the number of rows matching the dynamic query.
211             *
212             * @param dynamicQuery the dynamic query
213             * @return the number of rows matching the dynamic query
214             */
215            @Override
216            public long dynamicQueryCount(DynamicQuery dynamicQuery) {
217                    return assetEntryPersistence.countWithDynamicQuery(dynamicQuery);
218            }
219    
220            /**
221             * Returns the number of rows matching the dynamic query.
222             *
223             * @param dynamicQuery the dynamic query
224             * @param projection the projection to apply to the query
225             * @return the number of rows matching the dynamic query
226             */
227            @Override
228            public long dynamicQueryCount(DynamicQuery dynamicQuery,
229                    Projection projection) {
230                    return assetEntryPersistence.countWithDynamicQuery(dynamicQuery,
231                            projection);
232            }
233    
234            @Override
235            public AssetEntry fetchAssetEntry(long entryId) {
236                    return assetEntryPersistence.fetchByPrimaryKey(entryId);
237            }
238    
239            /**
240             * Returns the asset entry with the primary key.
241             *
242             * @param entryId the primary key of the asset entry
243             * @return the asset entry
244             * @throws PortalException if a asset entry with the primary key could not be found
245             */
246            @Override
247            public AssetEntry getAssetEntry(long entryId) throws PortalException {
248                    return assetEntryPersistence.findByPrimaryKey(entryId);
249            }
250    
251            @Override
252            public ActionableDynamicQuery getActionableDynamicQuery() {
253                    ActionableDynamicQuery actionableDynamicQuery = new DefaultActionableDynamicQuery();
254    
255                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil.getService());
256                    actionableDynamicQuery.setClass(AssetEntry.class);
257                    actionableDynamicQuery.setClassLoader(getClassLoader());
258    
259                    actionableDynamicQuery.setPrimaryKeyPropertyName("entryId");
260    
261                    return actionableDynamicQuery;
262            }
263    
264            protected void initActionableDynamicQuery(
265                    ActionableDynamicQuery actionableDynamicQuery) {
266                    actionableDynamicQuery.setBaseLocalService(com.liferay.portlet.asset.service.AssetEntryLocalServiceUtil.getService());
267                    actionableDynamicQuery.setClass(AssetEntry.class);
268                    actionableDynamicQuery.setClassLoader(getClassLoader());
269    
270                    actionableDynamicQuery.setPrimaryKeyPropertyName("entryId");
271            }
272    
273            /**
274             * @throws PortalException
275             */
276            @Override
277            public PersistedModel deletePersistedModel(PersistedModel persistedModel)
278                    throws PortalException {
279                    return assetEntryLocalService.deleteAssetEntry((AssetEntry)persistedModel);
280            }
281    
282            @Override
283            public PersistedModel getPersistedModel(Serializable primaryKeyObj)
284                    throws PortalException {
285                    return assetEntryPersistence.findByPrimaryKey(primaryKeyObj);
286            }
287    
288            /**
289             * Returns a range of all the asset entries.
290             *
291             * <p>
292             * 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.
293             * </p>
294             *
295             * @param start the lower bound of the range of asset entries
296             * @param end the upper bound of the range of asset entries (not inclusive)
297             * @return the range of asset entries
298             */
299            @Override
300            public List<AssetEntry> getAssetEntries(int start, int end) {
301                    return assetEntryPersistence.findAll(start, end);
302            }
303    
304            /**
305             * Returns the number of asset entries.
306             *
307             * @return the number of asset entries
308             */
309            @Override
310            public int getAssetEntriesCount() {
311                    return assetEntryPersistence.countAll();
312            }
313    
314            /**
315             * Updates the asset entry in the database or adds it if it does not yet exist. Also notifies the appropriate model listeners.
316             *
317             * @param assetEntry the asset entry
318             * @return the asset entry that was updated
319             */
320            @Indexable(type = IndexableType.REINDEX)
321            @Override
322            public AssetEntry updateAssetEntry(AssetEntry assetEntry) {
323                    return assetEntryPersistence.update(assetEntry);
324            }
325    
326            /**
327             */
328            @Override
329            public void addAssetCategoryAssetEntry(long categoryId, long entryId) {
330                    assetCategoryPersistence.addAssetEntry(categoryId, entryId);
331            }
332    
333            /**
334             */
335            @Override
336            public void addAssetCategoryAssetEntry(long categoryId,
337                    AssetEntry assetEntry) {
338                    assetCategoryPersistence.addAssetEntry(categoryId, assetEntry);
339            }
340    
341            /**
342             */
343            @Override
344            public void addAssetCategoryAssetEntries(long categoryId, long[] entryIds) {
345                    assetCategoryPersistence.addAssetEntries(categoryId, entryIds);
346            }
347    
348            /**
349             */
350            @Override
351            public void addAssetCategoryAssetEntries(long categoryId,
352                    List<AssetEntry> AssetEntries) {
353                    assetCategoryPersistence.addAssetEntries(categoryId, AssetEntries);
354            }
355    
356            /**
357             */
358            @Override
359            public void clearAssetCategoryAssetEntries(long categoryId) {
360                    assetCategoryPersistence.clearAssetEntries(categoryId);
361            }
362    
363            /**
364             */
365            @Override
366            public void deleteAssetCategoryAssetEntry(long categoryId, long entryId) {
367                    assetCategoryPersistence.removeAssetEntry(categoryId, entryId);
368            }
369    
370            /**
371             */
372            @Override
373            public void deleteAssetCategoryAssetEntry(long categoryId,
374                    AssetEntry assetEntry) {
375                    assetCategoryPersistence.removeAssetEntry(categoryId, assetEntry);
376            }
377    
378            /**
379             */
380            @Override
381            public void deleteAssetCategoryAssetEntries(long categoryId, long[] entryIds) {
382                    assetCategoryPersistence.removeAssetEntries(categoryId, entryIds);
383            }
384    
385            /**
386             */
387            @Override
388            public void deleteAssetCategoryAssetEntries(long categoryId,
389                    List<AssetEntry> AssetEntries) {
390                    assetCategoryPersistence.removeAssetEntries(categoryId, AssetEntries);
391            }
392    
393            /**
394             * Returns the categoryIds of the asset categories associated with the asset entry.
395             *
396             * @param entryId the entryId of the asset entry
397             * @return long[] the categoryIds of asset categories associated with the asset entry
398             */
399            @Override
400            public long[] getAssetCategoryPrimaryKeys(long entryId) {
401                    return assetEntryPersistence.getAssetCategoryPrimaryKeys(entryId);
402            }
403    
404            /**
405             */
406            @Override
407            public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId) {
408                    return assetCategoryPersistence.getAssetEntries(categoryId);
409            }
410    
411            /**
412             */
413            @Override
414            public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId,
415                    int start, int end) {
416                    return assetCategoryPersistence.getAssetEntries(categoryId, start, end);
417            }
418    
419            /**
420             */
421            @Override
422            public List<AssetEntry> getAssetCategoryAssetEntries(long categoryId,
423                    int start, int end, OrderByComparator<AssetEntry> orderByComparator) {
424                    return assetCategoryPersistence.getAssetEntries(categoryId, start, end,
425                            orderByComparator);
426            }
427    
428            /**
429             */
430            @Override
431            public int getAssetCategoryAssetEntriesCount(long categoryId) {
432                    return assetCategoryPersistence.getAssetEntriesSize(categoryId);
433            }
434    
435            /**
436             */
437            @Override
438            public boolean hasAssetCategoryAssetEntry(long categoryId, long entryId) {
439                    return assetCategoryPersistence.containsAssetEntry(categoryId, entryId);
440            }
441    
442            /**
443             */
444            @Override
445            public boolean hasAssetCategoryAssetEntries(long categoryId) {
446                    return assetCategoryPersistence.containsAssetEntries(categoryId);
447            }
448    
449            /**
450             */
451            @Override
452            public void setAssetCategoryAssetEntries(long categoryId, long[] entryIds) {
453                    assetCategoryPersistence.setAssetEntries(categoryId, entryIds);
454            }
455    
456            /**
457             */
458            @Override
459            public void addAssetTagAssetEntry(long tagId, long entryId) {
460                    assetTagPersistence.addAssetEntry(tagId, entryId);
461            }
462    
463            /**
464             */
465            @Override
466            public void addAssetTagAssetEntry(long tagId, AssetEntry assetEntry) {
467                    assetTagPersistence.addAssetEntry(tagId, assetEntry);
468            }
469    
470            /**
471             */
472            @Override
473            public void addAssetTagAssetEntries(long tagId, long[] entryIds) {
474                    assetTagPersistence.addAssetEntries(tagId, entryIds);
475            }
476    
477            /**
478             */
479            @Override
480            public void addAssetTagAssetEntries(long tagId,
481                    List<AssetEntry> AssetEntries) {
482                    assetTagPersistence.addAssetEntries(tagId, AssetEntries);
483            }
484    
485            /**
486             */
487            @Override
488            public void clearAssetTagAssetEntries(long tagId) {
489                    assetTagPersistence.clearAssetEntries(tagId);
490            }
491    
492            /**
493             */
494            @Override
495            public void deleteAssetTagAssetEntry(long tagId, long entryId) {
496                    assetTagPersistence.removeAssetEntry(tagId, entryId);
497            }
498    
499            /**
500             */
501            @Override
502            public void deleteAssetTagAssetEntry(long tagId, AssetEntry assetEntry) {
503                    assetTagPersistence.removeAssetEntry(tagId, assetEntry);
504            }
505    
506            /**
507             */
508            @Override
509            public void deleteAssetTagAssetEntries(long tagId, long[] entryIds) {
510                    assetTagPersistence.removeAssetEntries(tagId, entryIds);
511            }
512    
513            /**
514             */
515            @Override
516            public void deleteAssetTagAssetEntries(long tagId,
517                    List<AssetEntry> AssetEntries) {
518                    assetTagPersistence.removeAssetEntries(tagId, AssetEntries);
519            }
520    
521            /**
522             * Returns the tagIds of the asset tags associated with the asset entry.
523             *
524             * @param entryId the entryId of the asset entry
525             * @return long[] the tagIds of asset tags associated with the asset entry
526             */
527            @Override
528            public long[] getAssetTagPrimaryKeys(long entryId) {
529                    return assetEntryPersistence.getAssetTagPrimaryKeys(entryId);
530            }
531    
532            /**
533             */
534            @Override
535            public List<AssetEntry> getAssetTagAssetEntries(long tagId) {
536                    return assetTagPersistence.getAssetEntries(tagId);
537            }
538    
539            /**
540             */
541            @Override
542            public List<AssetEntry> getAssetTagAssetEntries(long tagId, int start,
543                    int end) {
544                    return assetTagPersistence.getAssetEntries(tagId, start, end);
545            }
546    
547            /**
548             */
549            @Override
550            public List<AssetEntry> getAssetTagAssetEntries(long tagId, int start,
551                    int end, OrderByComparator<AssetEntry> orderByComparator) {
552                    return assetTagPersistence.getAssetEntries(tagId, start, end,
553                            orderByComparator);
554            }
555    
556            /**
557             */
558            @Override
559            public int getAssetTagAssetEntriesCount(long tagId) {
560                    return assetTagPersistence.getAssetEntriesSize(tagId);
561            }
562    
563            /**
564             */
565            @Override
566            public boolean hasAssetTagAssetEntry(long tagId, long entryId) {
567                    return assetTagPersistence.containsAssetEntry(tagId, entryId);
568            }
569    
570            /**
571             */
572            @Override
573            public boolean hasAssetTagAssetEntries(long tagId) {
574                    return assetTagPersistence.containsAssetEntries(tagId);
575            }
576    
577            /**
578             */
579            @Override
580            public void setAssetTagAssetEntries(long tagId, long[] entryIds) {
581                    assetTagPersistence.setAssetEntries(tagId, entryIds);
582            }
583    
584            /**
585             * Returns the asset entry local service.
586             *
587             * @return the asset entry local service
588             */
589            public com.liferay.portlet.asset.service.AssetEntryLocalService getAssetEntryLocalService() {
590                    return assetEntryLocalService;
591            }
592    
593            /**
594             * Sets the asset entry local service.
595             *
596             * @param assetEntryLocalService the asset entry local service
597             */
598            public void setAssetEntryLocalService(
599                    com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService) {
600                    this.assetEntryLocalService = assetEntryLocalService;
601            }
602    
603            /**
604             * Returns the asset entry remote service.
605             *
606             * @return the asset entry remote service
607             */
608            public com.liferay.portlet.asset.service.AssetEntryService getAssetEntryService() {
609                    return assetEntryService;
610            }
611    
612            /**
613             * Sets the asset entry remote service.
614             *
615             * @param assetEntryService the asset entry remote service
616             */
617            public void setAssetEntryService(
618                    com.liferay.portlet.asset.service.AssetEntryService assetEntryService) {
619                    this.assetEntryService = assetEntryService;
620            }
621    
622            /**
623             * Returns the asset entry persistence.
624             *
625             * @return the asset entry persistence
626             */
627            public AssetEntryPersistence getAssetEntryPersistence() {
628                    return assetEntryPersistence;
629            }
630    
631            /**
632             * Sets the asset entry persistence.
633             *
634             * @param assetEntryPersistence the asset entry persistence
635             */
636            public void setAssetEntryPersistence(
637                    AssetEntryPersistence assetEntryPersistence) {
638                    this.assetEntryPersistence = assetEntryPersistence;
639            }
640    
641            /**
642             * Returns the asset entry finder.
643             *
644             * @return the asset entry finder
645             */
646            public AssetEntryFinder getAssetEntryFinder() {
647                    return assetEntryFinder;
648            }
649    
650            /**
651             * Sets the asset entry finder.
652             *
653             * @param assetEntryFinder the asset entry finder
654             */
655            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
656                    this.assetEntryFinder = assetEntryFinder;
657            }
658    
659            /**
660             * Returns the counter local service.
661             *
662             * @return the counter local service
663             */
664            public com.liferay.counter.service.CounterLocalService getCounterLocalService() {
665                    return counterLocalService;
666            }
667    
668            /**
669             * Sets the counter local service.
670             *
671             * @param counterLocalService the counter local service
672             */
673            public void setCounterLocalService(
674                    com.liferay.counter.service.CounterLocalService counterLocalService) {
675                    this.counterLocalService = counterLocalService;
676            }
677    
678            /**
679             * Returns the class name local service.
680             *
681             * @return the class name local service
682             */
683            public com.liferay.portal.service.ClassNameLocalService getClassNameLocalService() {
684                    return classNameLocalService;
685            }
686    
687            /**
688             * Sets the class name local service.
689             *
690             * @param classNameLocalService the class name local service
691             */
692            public void setClassNameLocalService(
693                    com.liferay.portal.service.ClassNameLocalService classNameLocalService) {
694                    this.classNameLocalService = classNameLocalService;
695            }
696    
697            /**
698             * Returns the class name remote service.
699             *
700             * @return the class name remote service
701             */
702            public com.liferay.portal.service.ClassNameService getClassNameService() {
703                    return classNameService;
704            }
705    
706            /**
707             * Sets the class name remote service.
708             *
709             * @param classNameService the class name remote service
710             */
711            public void setClassNameService(
712                    com.liferay.portal.service.ClassNameService classNameService) {
713                    this.classNameService = classNameService;
714            }
715    
716            /**
717             * Returns the class name persistence.
718             *
719             * @return the class name persistence
720             */
721            public ClassNamePersistence getClassNamePersistence() {
722                    return classNamePersistence;
723            }
724    
725            /**
726             * Sets the class name persistence.
727             *
728             * @param classNamePersistence the class name persistence
729             */
730            public void setClassNamePersistence(
731                    ClassNamePersistence classNamePersistence) {
732                    this.classNamePersistence = classNamePersistence;
733            }
734    
735            /**
736             * Returns the company local service.
737             *
738             * @return the company local service
739             */
740            public com.liferay.portal.service.CompanyLocalService getCompanyLocalService() {
741                    return companyLocalService;
742            }
743    
744            /**
745             * Sets the company local service.
746             *
747             * @param companyLocalService the company local service
748             */
749            public void setCompanyLocalService(
750                    com.liferay.portal.service.CompanyLocalService companyLocalService) {
751                    this.companyLocalService = companyLocalService;
752            }
753    
754            /**
755             * Returns the company remote service.
756             *
757             * @return the company remote service
758             */
759            public com.liferay.portal.service.CompanyService getCompanyService() {
760                    return companyService;
761            }
762    
763            /**
764             * Sets the company remote service.
765             *
766             * @param companyService the company remote service
767             */
768            public void setCompanyService(
769                    com.liferay.portal.service.CompanyService companyService) {
770                    this.companyService = companyService;
771            }
772    
773            /**
774             * Returns the company persistence.
775             *
776             * @return the company persistence
777             */
778            public CompanyPersistence getCompanyPersistence() {
779                    return companyPersistence;
780            }
781    
782            /**
783             * Sets the company persistence.
784             *
785             * @param companyPersistence the company persistence
786             */
787            public void setCompanyPersistence(CompanyPersistence companyPersistence) {
788                    this.companyPersistence = companyPersistence;
789            }
790    
791            /**
792             * Returns the group local service.
793             *
794             * @return the group local service
795             */
796            public com.liferay.portal.service.GroupLocalService getGroupLocalService() {
797                    return groupLocalService;
798            }
799    
800            /**
801             * Sets the group local service.
802             *
803             * @param groupLocalService the group local service
804             */
805            public void setGroupLocalService(
806                    com.liferay.portal.service.GroupLocalService groupLocalService) {
807                    this.groupLocalService = groupLocalService;
808            }
809    
810            /**
811             * Returns the group remote service.
812             *
813             * @return the group remote service
814             */
815            public com.liferay.portal.service.GroupService getGroupService() {
816                    return groupService;
817            }
818    
819            /**
820             * Sets the group remote service.
821             *
822             * @param groupService the group remote service
823             */
824            public void setGroupService(
825                    com.liferay.portal.service.GroupService groupService) {
826                    this.groupService = groupService;
827            }
828    
829            /**
830             * Returns the group persistence.
831             *
832             * @return the group persistence
833             */
834            public GroupPersistence getGroupPersistence() {
835                    return groupPersistence;
836            }
837    
838            /**
839             * Sets the group persistence.
840             *
841             * @param groupPersistence the group persistence
842             */
843            public void setGroupPersistence(GroupPersistence groupPersistence) {
844                    this.groupPersistence = groupPersistence;
845            }
846    
847            /**
848             * Returns the group finder.
849             *
850             * @return the group finder
851             */
852            public GroupFinder getGroupFinder() {
853                    return groupFinder;
854            }
855    
856            /**
857             * Sets the group finder.
858             *
859             * @param groupFinder the group finder
860             */
861            public void setGroupFinder(GroupFinder groupFinder) {
862                    this.groupFinder = groupFinder;
863            }
864    
865            /**
866             * Returns the system event local service.
867             *
868             * @return the system event local service
869             */
870            public com.liferay.portal.service.SystemEventLocalService getSystemEventLocalService() {
871                    return systemEventLocalService;
872            }
873    
874            /**
875             * Sets the system event local service.
876             *
877             * @param systemEventLocalService the system event local service
878             */
879            public void setSystemEventLocalService(
880                    com.liferay.portal.service.SystemEventLocalService systemEventLocalService) {
881                    this.systemEventLocalService = systemEventLocalService;
882            }
883    
884            /**
885             * Returns the system event persistence.
886             *
887             * @return the system event persistence
888             */
889            public SystemEventPersistence getSystemEventPersistence() {
890                    return systemEventPersistence;
891            }
892    
893            /**
894             * Sets the system event persistence.
895             *
896             * @param systemEventPersistence the system event persistence
897             */
898            public void setSystemEventPersistence(
899                    SystemEventPersistence systemEventPersistence) {
900                    this.systemEventPersistence = systemEventPersistence;
901            }
902    
903            /**
904             * Returns the user local service.
905             *
906             * @return the user local service
907             */
908            public com.liferay.portal.service.UserLocalService getUserLocalService() {
909                    return userLocalService;
910            }
911    
912            /**
913             * Sets the user local service.
914             *
915             * @param userLocalService the user local service
916             */
917            public void setUserLocalService(
918                    com.liferay.portal.service.UserLocalService userLocalService) {
919                    this.userLocalService = userLocalService;
920            }
921    
922            /**
923             * Returns the user remote service.
924             *
925             * @return the user remote service
926             */
927            public com.liferay.portal.service.UserService getUserService() {
928                    return userService;
929            }
930    
931            /**
932             * Sets the user remote service.
933             *
934             * @param userService the user remote service
935             */
936            public void setUserService(
937                    com.liferay.portal.service.UserService userService) {
938                    this.userService = userService;
939            }
940    
941            /**
942             * Returns the user persistence.
943             *
944             * @return the user persistence
945             */
946            public UserPersistence getUserPersistence() {
947                    return userPersistence;
948            }
949    
950            /**
951             * Sets the user persistence.
952             *
953             * @param userPersistence the user persistence
954             */
955            public void setUserPersistence(UserPersistence userPersistence) {
956                    this.userPersistence = userPersistence;
957            }
958    
959            /**
960             * Returns the user finder.
961             *
962             * @return the user finder
963             */
964            public UserFinder getUserFinder() {
965                    return userFinder;
966            }
967    
968            /**
969             * Sets the user finder.
970             *
971             * @param userFinder the user finder
972             */
973            public void setUserFinder(UserFinder userFinder) {
974                    this.userFinder = userFinder;
975            }
976    
977            /**
978             * Returns the asset category local service.
979             *
980             * @return the asset category local service
981             */
982            public com.liferay.portlet.asset.service.AssetCategoryLocalService getAssetCategoryLocalService() {
983                    return assetCategoryLocalService;
984            }
985    
986            /**
987             * Sets the asset category local service.
988             *
989             * @param assetCategoryLocalService the asset category local service
990             */
991            public void setAssetCategoryLocalService(
992                    com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService) {
993                    this.assetCategoryLocalService = assetCategoryLocalService;
994            }
995    
996            /**
997             * Returns the asset category remote service.
998             *
999             * @return the asset category remote service
1000             */
1001            public com.liferay.portlet.asset.service.AssetCategoryService getAssetCategoryService() {
1002                    return assetCategoryService;
1003            }
1004    
1005            /**
1006             * Sets the asset category remote service.
1007             *
1008             * @param assetCategoryService the asset category remote service
1009             */
1010            public void setAssetCategoryService(
1011                    com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService) {
1012                    this.assetCategoryService = assetCategoryService;
1013            }
1014    
1015            /**
1016             * Returns the asset category persistence.
1017             *
1018             * @return the asset category persistence
1019             */
1020            public AssetCategoryPersistence getAssetCategoryPersistence() {
1021                    return assetCategoryPersistence;
1022            }
1023    
1024            /**
1025             * Sets the asset category persistence.
1026             *
1027             * @param assetCategoryPersistence the asset category persistence
1028             */
1029            public void setAssetCategoryPersistence(
1030                    AssetCategoryPersistence assetCategoryPersistence) {
1031                    this.assetCategoryPersistence = assetCategoryPersistence;
1032            }
1033    
1034            /**
1035             * Returns the asset category finder.
1036             *
1037             * @return the asset category finder
1038             */
1039            public AssetCategoryFinder getAssetCategoryFinder() {
1040                    return assetCategoryFinder;
1041            }
1042    
1043            /**
1044             * Sets the asset category finder.
1045             *
1046             * @param assetCategoryFinder the asset category finder
1047             */
1048            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
1049                    this.assetCategoryFinder = assetCategoryFinder;
1050            }
1051    
1052            /**
1053             * Returns the blogs entry local service.
1054             *
1055             * @return the blogs entry local service
1056             */
1057            public com.liferay.portlet.blogs.service.BlogsEntryLocalService getBlogsEntryLocalService() {
1058                    return blogsEntryLocalService;
1059            }
1060    
1061            /**
1062             * Sets the blogs entry local service.
1063             *
1064             * @param blogsEntryLocalService the blogs entry local service
1065             */
1066            public void setBlogsEntryLocalService(
1067                    com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService) {
1068                    this.blogsEntryLocalService = blogsEntryLocalService;
1069            }
1070    
1071            /**
1072             * Returns the blogs entry remote service.
1073             *
1074             * @return the blogs entry remote service
1075             */
1076            public com.liferay.portlet.blogs.service.BlogsEntryService getBlogsEntryService() {
1077                    return blogsEntryService;
1078            }
1079    
1080            /**
1081             * Sets the blogs entry remote service.
1082             *
1083             * @param blogsEntryService the blogs entry remote service
1084             */
1085            public void setBlogsEntryService(
1086                    com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService) {
1087                    this.blogsEntryService = blogsEntryService;
1088            }
1089    
1090            /**
1091             * Returns the blogs entry persistence.
1092             *
1093             * @return the blogs entry persistence
1094             */
1095            public BlogsEntryPersistence getBlogsEntryPersistence() {
1096                    return blogsEntryPersistence;
1097            }
1098    
1099            /**
1100             * Sets the blogs entry persistence.
1101             *
1102             * @param blogsEntryPersistence the blogs entry persistence
1103             */
1104            public void setBlogsEntryPersistence(
1105                    BlogsEntryPersistence blogsEntryPersistence) {
1106                    this.blogsEntryPersistence = blogsEntryPersistence;
1107            }
1108    
1109            /**
1110             * Returns the blogs entry finder.
1111             *
1112             * @return the blogs entry finder
1113             */
1114            public BlogsEntryFinder getBlogsEntryFinder() {
1115                    return blogsEntryFinder;
1116            }
1117    
1118            /**
1119             * Sets the blogs entry finder.
1120             *
1121             * @param blogsEntryFinder the blogs entry finder
1122             */
1123            public void setBlogsEntryFinder(BlogsEntryFinder blogsEntryFinder) {
1124                    this.blogsEntryFinder = blogsEntryFinder;
1125            }
1126    
1127            /**
1128             * Returns the document library file entry local service.
1129             *
1130             * @return the document library file entry local service
1131             */
1132            public com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService getDLFileEntryLocalService() {
1133                    return dlFileEntryLocalService;
1134            }
1135    
1136            /**
1137             * Sets the document library file entry local service.
1138             *
1139             * @param dlFileEntryLocalService the document library file entry local service
1140             */
1141            public void setDLFileEntryLocalService(
1142                    com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService) {
1143                    this.dlFileEntryLocalService = dlFileEntryLocalService;
1144            }
1145    
1146            /**
1147             * Returns the document library file entry remote service.
1148             *
1149             * @return the document library file entry remote service
1150             */
1151            public com.liferay.portlet.documentlibrary.service.DLFileEntryService getDLFileEntryService() {
1152                    return dlFileEntryService;
1153            }
1154    
1155            /**
1156             * Sets the document library file entry remote service.
1157             *
1158             * @param dlFileEntryService the document library file entry remote service
1159             */
1160            public void setDLFileEntryService(
1161                    com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService) {
1162                    this.dlFileEntryService = dlFileEntryService;
1163            }
1164    
1165            /**
1166             * Returns the document library file entry persistence.
1167             *
1168             * @return the document library file entry persistence
1169             */
1170            public DLFileEntryPersistence getDLFileEntryPersistence() {
1171                    return dlFileEntryPersistence;
1172            }
1173    
1174            /**
1175             * Sets the document library file entry persistence.
1176             *
1177             * @param dlFileEntryPersistence the document library file entry persistence
1178             */
1179            public void setDLFileEntryPersistence(
1180                    DLFileEntryPersistence dlFileEntryPersistence) {
1181                    this.dlFileEntryPersistence = dlFileEntryPersistence;
1182            }
1183    
1184            /**
1185             * Returns the document library file entry finder.
1186             *
1187             * @return the document library file entry finder
1188             */
1189            public DLFileEntryFinder getDLFileEntryFinder() {
1190                    return dlFileEntryFinder;
1191            }
1192    
1193            /**
1194             * Sets the document library file entry finder.
1195             *
1196             * @param dlFileEntryFinder the document library file entry finder
1197             */
1198            public void setDLFileEntryFinder(DLFileEntryFinder dlFileEntryFinder) {
1199                    this.dlFileEntryFinder = dlFileEntryFinder;
1200            }
1201    
1202            /**
1203             * Returns the journal article local service.
1204             *
1205             * @return the journal article local service
1206             */
1207            public com.liferay.portlet.journal.service.JournalArticleLocalService getJournalArticleLocalService() {
1208                    return journalArticleLocalService;
1209            }
1210    
1211            /**
1212             * Sets the journal article local service.
1213             *
1214             * @param journalArticleLocalService the journal article local service
1215             */
1216            public void setJournalArticleLocalService(
1217                    com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService) {
1218                    this.journalArticleLocalService = journalArticleLocalService;
1219            }
1220    
1221            /**
1222             * Returns the journal article remote service.
1223             *
1224             * @return the journal article remote service
1225             */
1226            public com.liferay.portlet.journal.service.JournalArticleService getJournalArticleService() {
1227                    return journalArticleService;
1228            }
1229    
1230            /**
1231             * Sets the journal article remote service.
1232             *
1233             * @param journalArticleService the journal article remote service
1234             */
1235            public void setJournalArticleService(
1236                    com.liferay.portlet.journal.service.JournalArticleService journalArticleService) {
1237                    this.journalArticleService = journalArticleService;
1238            }
1239    
1240            /**
1241             * Returns the journal article persistence.
1242             *
1243             * @return the journal article persistence
1244             */
1245            public JournalArticlePersistence getJournalArticlePersistence() {
1246                    return journalArticlePersistence;
1247            }
1248    
1249            /**
1250             * Sets the journal article persistence.
1251             *
1252             * @param journalArticlePersistence the journal article persistence
1253             */
1254            public void setJournalArticlePersistence(
1255                    JournalArticlePersistence journalArticlePersistence) {
1256                    this.journalArticlePersistence = journalArticlePersistence;
1257            }
1258    
1259            /**
1260             * Returns the journal article finder.
1261             *
1262             * @return the journal article finder
1263             */
1264            public JournalArticleFinder getJournalArticleFinder() {
1265                    return journalArticleFinder;
1266            }
1267    
1268            /**
1269             * Sets the journal article finder.
1270             *
1271             * @param journalArticleFinder the journal article finder
1272             */
1273            public void setJournalArticleFinder(
1274                    JournalArticleFinder journalArticleFinder) {
1275                    this.journalArticleFinder = journalArticleFinder;
1276            }
1277    
1278            /**
1279             * Returns the journal article resource local service.
1280             *
1281             * @return the journal article resource local service
1282             */
1283            public com.liferay.portlet.journal.service.JournalArticleResourceLocalService getJournalArticleResourceLocalService() {
1284                    return journalArticleResourceLocalService;
1285            }
1286    
1287            /**
1288             * Sets the journal article resource local service.
1289             *
1290             * @param journalArticleResourceLocalService the journal article resource local service
1291             */
1292            public void setJournalArticleResourceLocalService(
1293                    com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService) {
1294                    this.journalArticleResourceLocalService = journalArticleResourceLocalService;
1295            }
1296    
1297            /**
1298             * Returns the journal article resource persistence.
1299             *
1300             * @return the journal article resource persistence
1301             */
1302            public JournalArticleResourcePersistence getJournalArticleResourcePersistence() {
1303                    return journalArticleResourcePersistence;
1304            }
1305    
1306            /**
1307             * Sets the journal article resource persistence.
1308             *
1309             * @param journalArticleResourcePersistence the journal article resource persistence
1310             */
1311            public void setJournalArticleResourcePersistence(
1312                    JournalArticleResourcePersistence journalArticleResourcePersistence) {
1313                    this.journalArticleResourcePersistence = journalArticleResourcePersistence;
1314            }
1315    
1316            /**
1317             * Returns the message-boards message local service.
1318             *
1319             * @return the message-boards message local service
1320             */
1321            public com.liferay.portlet.messageboards.service.MBMessageLocalService getMBMessageLocalService() {
1322                    return mbMessageLocalService;
1323            }
1324    
1325            /**
1326             * Sets the message-boards message local service.
1327             *
1328             * @param mbMessageLocalService the message-boards message local service
1329             */
1330            public void setMBMessageLocalService(
1331                    com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService) {
1332                    this.mbMessageLocalService = mbMessageLocalService;
1333            }
1334    
1335            /**
1336             * Returns the message-boards message remote service.
1337             *
1338             * @return the message-boards message remote service
1339             */
1340            public com.liferay.portlet.messageboards.service.MBMessageService getMBMessageService() {
1341                    return mbMessageService;
1342            }
1343    
1344            /**
1345             * Sets the message-boards message remote service.
1346             *
1347             * @param mbMessageService the message-boards message remote service
1348             */
1349            public void setMBMessageService(
1350                    com.liferay.portlet.messageboards.service.MBMessageService mbMessageService) {
1351                    this.mbMessageService = mbMessageService;
1352            }
1353    
1354            /**
1355             * Returns the message-boards message persistence.
1356             *
1357             * @return the message-boards message persistence
1358             */
1359            public MBMessagePersistence getMBMessagePersistence() {
1360                    return mbMessagePersistence;
1361            }
1362    
1363            /**
1364             * Sets the message-boards message persistence.
1365             *
1366             * @param mbMessagePersistence the message-boards message persistence
1367             */
1368            public void setMBMessagePersistence(
1369                    MBMessagePersistence mbMessagePersistence) {
1370                    this.mbMessagePersistence = mbMessagePersistence;
1371            }
1372    
1373            /**
1374             * Returns the message-boards message finder.
1375             *
1376             * @return the message-boards message finder
1377             */
1378            public MBMessageFinder getMBMessageFinder() {
1379                    return mbMessageFinder;
1380            }
1381    
1382            /**
1383             * Sets the message-boards message finder.
1384             *
1385             * @param mbMessageFinder the message-boards message finder
1386             */
1387            public void setMBMessageFinder(MBMessageFinder mbMessageFinder) {
1388                    this.mbMessageFinder = mbMessageFinder;
1389            }
1390    
1391            /**
1392             * Returns the social activity local service.
1393             *
1394             * @return the social activity local service
1395             */
1396            public com.liferay.portlet.social.service.SocialActivityLocalService getSocialActivityLocalService() {
1397                    return socialActivityLocalService;
1398            }
1399    
1400            /**
1401             * Sets the social activity local service.
1402             *
1403             * @param socialActivityLocalService the social activity local service
1404             */
1405            public void setSocialActivityLocalService(
1406                    com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService) {
1407                    this.socialActivityLocalService = socialActivityLocalService;
1408            }
1409    
1410            /**
1411             * Returns the social activity remote service.
1412             *
1413             * @return the social activity remote service
1414             */
1415            public com.liferay.portlet.social.service.SocialActivityService getSocialActivityService() {
1416                    return socialActivityService;
1417            }
1418    
1419            /**
1420             * Sets the social activity remote service.
1421             *
1422             * @param socialActivityService the social activity remote service
1423             */
1424            public void setSocialActivityService(
1425                    com.liferay.portlet.social.service.SocialActivityService socialActivityService) {
1426                    this.socialActivityService = socialActivityService;
1427            }
1428    
1429            /**
1430             * Returns the social activity persistence.
1431             *
1432             * @return the social activity persistence
1433             */
1434            public SocialActivityPersistence getSocialActivityPersistence() {
1435                    return socialActivityPersistence;
1436            }
1437    
1438            /**
1439             * Sets the social activity persistence.
1440             *
1441             * @param socialActivityPersistence the social activity persistence
1442             */
1443            public void setSocialActivityPersistence(
1444                    SocialActivityPersistence socialActivityPersistence) {
1445                    this.socialActivityPersistence = socialActivityPersistence;
1446            }
1447    
1448            /**
1449             * Returns the social activity finder.
1450             *
1451             * @return the social activity finder
1452             */
1453            public SocialActivityFinder getSocialActivityFinder() {
1454                    return socialActivityFinder;
1455            }
1456    
1457            /**
1458             * Sets the social activity finder.
1459             *
1460             * @param socialActivityFinder the social activity finder
1461             */
1462            public void setSocialActivityFinder(
1463                    SocialActivityFinder socialActivityFinder) {
1464                    this.socialActivityFinder = socialActivityFinder;
1465            }
1466    
1467            /**
1468             * Returns the social activity counter local service.
1469             *
1470             * @return the social activity counter local service
1471             */
1472            public com.liferay.portlet.social.service.SocialActivityCounterLocalService getSocialActivityCounterLocalService() {
1473                    return socialActivityCounterLocalService;
1474            }
1475    
1476            /**
1477             * Sets the social activity counter local service.
1478             *
1479             * @param socialActivityCounterLocalService the social activity counter local service
1480             */
1481            public void setSocialActivityCounterLocalService(
1482                    com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService) {
1483                    this.socialActivityCounterLocalService = socialActivityCounterLocalService;
1484            }
1485    
1486            /**
1487             * Returns the social activity counter persistence.
1488             *
1489             * @return the social activity counter persistence
1490             */
1491            public SocialActivityCounterPersistence getSocialActivityCounterPersistence() {
1492                    return socialActivityCounterPersistence;
1493            }
1494    
1495            /**
1496             * Sets the social activity counter persistence.
1497             *
1498             * @param socialActivityCounterPersistence the social activity counter persistence
1499             */
1500            public void setSocialActivityCounterPersistence(
1501                    SocialActivityCounterPersistence socialActivityCounterPersistence) {
1502                    this.socialActivityCounterPersistence = socialActivityCounterPersistence;
1503            }
1504    
1505            /**
1506             * Returns the social activity counter finder.
1507             *
1508             * @return the social activity counter finder
1509             */
1510            public SocialActivityCounterFinder getSocialActivityCounterFinder() {
1511                    return socialActivityCounterFinder;
1512            }
1513    
1514            /**
1515             * Sets the social activity counter finder.
1516             *
1517             * @param socialActivityCounterFinder the social activity counter finder
1518             */
1519            public void setSocialActivityCounterFinder(
1520                    SocialActivityCounterFinder socialActivityCounterFinder) {
1521                    this.socialActivityCounterFinder = socialActivityCounterFinder;
1522            }
1523    
1524            /**
1525             * Returns the wiki page local service.
1526             *
1527             * @return the wiki page local service
1528             */
1529            public com.liferay.portlet.wiki.service.WikiPageLocalService getWikiPageLocalService() {
1530                    return wikiPageLocalService;
1531            }
1532    
1533            /**
1534             * Sets the wiki page local service.
1535             *
1536             * @param wikiPageLocalService the wiki page local service
1537             */
1538            public void setWikiPageLocalService(
1539                    com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService) {
1540                    this.wikiPageLocalService = wikiPageLocalService;
1541            }
1542    
1543            /**
1544             * Returns the wiki page remote service.
1545             *
1546             * @return the wiki page remote service
1547             */
1548            public com.liferay.portlet.wiki.service.WikiPageService getWikiPageService() {
1549                    return wikiPageService;
1550            }
1551    
1552            /**
1553             * Sets the wiki page remote service.
1554             *
1555             * @param wikiPageService the wiki page remote service
1556             */
1557            public void setWikiPageService(
1558                    com.liferay.portlet.wiki.service.WikiPageService wikiPageService) {
1559                    this.wikiPageService = wikiPageService;
1560            }
1561    
1562            /**
1563             * Returns the wiki page persistence.
1564             *
1565             * @return the wiki page persistence
1566             */
1567            public WikiPagePersistence getWikiPagePersistence() {
1568                    return wikiPagePersistence;
1569            }
1570    
1571            /**
1572             * Sets the wiki page persistence.
1573             *
1574             * @param wikiPagePersistence the wiki page persistence
1575             */
1576            public void setWikiPagePersistence(WikiPagePersistence wikiPagePersistence) {
1577                    this.wikiPagePersistence = wikiPagePersistence;
1578            }
1579    
1580            /**
1581             * Returns the wiki page finder.
1582             *
1583             * @return the wiki page finder
1584             */
1585            public WikiPageFinder getWikiPageFinder() {
1586                    return wikiPageFinder;
1587            }
1588    
1589            /**
1590             * Sets the wiki page finder.
1591             *
1592             * @param wikiPageFinder the wiki page finder
1593             */
1594            public void setWikiPageFinder(WikiPageFinder wikiPageFinder) {
1595                    this.wikiPageFinder = wikiPageFinder;
1596            }
1597    
1598            /**
1599             * Returns the wiki page resource local service.
1600             *
1601             * @return the wiki page resource local service
1602             */
1603            public com.liferay.portlet.wiki.service.WikiPageResourceLocalService getWikiPageResourceLocalService() {
1604                    return wikiPageResourceLocalService;
1605            }
1606    
1607            /**
1608             * Sets the wiki page resource local service.
1609             *
1610             * @param wikiPageResourceLocalService the wiki page resource local service
1611             */
1612            public void setWikiPageResourceLocalService(
1613                    com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService) {
1614                    this.wikiPageResourceLocalService = wikiPageResourceLocalService;
1615            }
1616    
1617            /**
1618             * Returns the wiki page resource persistence.
1619             *
1620             * @return the wiki page resource persistence
1621             */
1622            public WikiPageResourcePersistence getWikiPageResourcePersistence() {
1623                    return wikiPageResourcePersistence;
1624            }
1625    
1626            /**
1627             * Sets the wiki page resource persistence.
1628             *
1629             * @param wikiPageResourcePersistence the wiki page resource persistence
1630             */
1631            public void setWikiPageResourcePersistence(
1632                    WikiPageResourcePersistence wikiPageResourcePersistence) {
1633                    this.wikiPageResourcePersistence = wikiPageResourcePersistence;
1634            }
1635    
1636            /**
1637             * Returns the asset link local service.
1638             *
1639             * @return the asset link local service
1640             */
1641            public com.liferay.portlet.asset.service.AssetLinkLocalService getAssetLinkLocalService() {
1642                    return assetLinkLocalService;
1643            }
1644    
1645            /**
1646             * Sets the asset link local service.
1647             *
1648             * @param assetLinkLocalService the asset link local service
1649             */
1650            public void setAssetLinkLocalService(
1651                    com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService) {
1652                    this.assetLinkLocalService = assetLinkLocalService;
1653            }
1654    
1655            /**
1656             * Returns the asset link persistence.
1657             *
1658             * @return the asset link persistence
1659             */
1660            public AssetLinkPersistence getAssetLinkPersistence() {
1661                    return assetLinkPersistence;
1662            }
1663    
1664            /**
1665             * Sets the asset link persistence.
1666             *
1667             * @param assetLinkPersistence the asset link persistence
1668             */
1669            public void setAssetLinkPersistence(
1670                    AssetLinkPersistence assetLinkPersistence) {
1671                    this.assetLinkPersistence = assetLinkPersistence;
1672            }
1673    
1674            /**
1675             * Returns the asset tag local service.
1676             *
1677             * @return the asset tag local service
1678             */
1679            public com.liferay.portlet.asset.service.AssetTagLocalService getAssetTagLocalService() {
1680                    return assetTagLocalService;
1681            }
1682    
1683            /**
1684             * Sets the asset tag local service.
1685             *
1686             * @param assetTagLocalService the asset tag local service
1687             */
1688            public void setAssetTagLocalService(
1689                    com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService) {
1690                    this.assetTagLocalService = assetTagLocalService;
1691            }
1692    
1693            /**
1694             * Returns the asset tag remote service.
1695             *
1696             * @return the asset tag remote service
1697             */
1698            public com.liferay.portlet.asset.service.AssetTagService getAssetTagService() {
1699                    return assetTagService;
1700            }
1701    
1702            /**
1703             * Sets the asset tag remote service.
1704             *
1705             * @param assetTagService the asset tag remote service
1706             */
1707            public void setAssetTagService(
1708                    com.liferay.portlet.asset.service.AssetTagService assetTagService) {
1709                    this.assetTagService = assetTagService;
1710            }
1711    
1712            /**
1713             * Returns the asset tag persistence.
1714             *
1715             * @return the asset tag persistence
1716             */
1717            public AssetTagPersistence getAssetTagPersistence() {
1718                    return assetTagPersistence;
1719            }
1720    
1721            /**
1722             * Sets the asset tag persistence.
1723             *
1724             * @param assetTagPersistence the asset tag persistence
1725             */
1726            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
1727                    this.assetTagPersistence = assetTagPersistence;
1728            }
1729    
1730            /**
1731             * Returns the asset tag finder.
1732             *
1733             * @return the asset tag finder
1734             */
1735            public AssetTagFinder getAssetTagFinder() {
1736                    return assetTagFinder;
1737            }
1738    
1739            /**
1740             * Sets the asset tag finder.
1741             *
1742             * @param assetTagFinder the asset tag finder
1743             */
1744            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
1745                    this.assetTagFinder = assetTagFinder;
1746            }
1747    
1748            public void afterPropertiesSet() {
1749                    persistedModelLocalServiceRegistry.register("com.liferay.portlet.asset.model.AssetEntry",
1750                            assetEntryLocalService);
1751            }
1752    
1753            public void destroy() {
1754                    persistedModelLocalServiceRegistry.unregister(
1755                            "com.liferay.portlet.asset.model.AssetEntry");
1756            }
1757    
1758            /**
1759             * Returns the Spring bean ID for this bean.
1760             *
1761             * @return the Spring bean ID for this bean
1762             */
1763            @Override
1764            public String getBeanIdentifier() {
1765                    return _beanIdentifier;
1766            }
1767    
1768            /**
1769             * Sets the Spring bean ID for this bean.
1770             *
1771             * @param beanIdentifier the Spring bean ID for this bean
1772             */
1773            @Override
1774            public void setBeanIdentifier(String beanIdentifier) {
1775                    _beanIdentifier = beanIdentifier;
1776            }
1777    
1778            protected Class<?> getModelClass() {
1779                    return AssetEntry.class;
1780            }
1781    
1782            protected String getModelClassName() {
1783                    return AssetEntry.class.getName();
1784            }
1785    
1786            /**
1787             * Performs a SQL query.
1788             *
1789             * @param sql the sql query
1790             */
1791            protected void runSQL(String sql) {
1792                    try {
1793                            DataSource dataSource = assetEntryPersistence.getDataSource();
1794    
1795                            DB db = DBFactoryUtil.getDB();
1796    
1797                            sql = db.buildSQL(sql);
1798                            sql = PortalUtil.transformSQL(sql);
1799    
1800                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
1801                                            sql, new int[0]);
1802    
1803                            sqlUpdate.update();
1804                    }
1805                    catch (Exception e) {
1806                            throw new SystemException(e);
1807                    }
1808            }
1809    
1810            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryLocalService.class)
1811            protected com.liferay.portlet.asset.service.AssetEntryLocalService assetEntryLocalService;
1812            @BeanReference(type = com.liferay.portlet.asset.service.AssetEntryService.class)
1813            protected com.liferay.portlet.asset.service.AssetEntryService assetEntryService;
1814            @BeanReference(type = AssetEntryPersistence.class)
1815            protected AssetEntryPersistence assetEntryPersistence;
1816            @BeanReference(type = AssetEntryFinder.class)
1817            protected AssetEntryFinder assetEntryFinder;
1818            @BeanReference(type = com.liferay.counter.service.CounterLocalService.class)
1819            protected com.liferay.counter.service.CounterLocalService counterLocalService;
1820            @BeanReference(type = com.liferay.portal.service.ClassNameLocalService.class)
1821            protected com.liferay.portal.service.ClassNameLocalService classNameLocalService;
1822            @BeanReference(type = com.liferay.portal.service.ClassNameService.class)
1823            protected com.liferay.portal.service.ClassNameService classNameService;
1824            @BeanReference(type = ClassNamePersistence.class)
1825            protected ClassNamePersistence classNamePersistence;
1826            @BeanReference(type = com.liferay.portal.service.CompanyLocalService.class)
1827            protected com.liferay.portal.service.CompanyLocalService companyLocalService;
1828            @BeanReference(type = com.liferay.portal.service.CompanyService.class)
1829            protected com.liferay.portal.service.CompanyService companyService;
1830            @BeanReference(type = CompanyPersistence.class)
1831            protected CompanyPersistence companyPersistence;
1832            @BeanReference(type = com.liferay.portal.service.GroupLocalService.class)
1833            protected com.liferay.portal.service.GroupLocalService groupLocalService;
1834            @BeanReference(type = com.liferay.portal.service.GroupService.class)
1835            protected com.liferay.portal.service.GroupService groupService;
1836            @BeanReference(type = GroupPersistence.class)
1837            protected GroupPersistence groupPersistence;
1838            @BeanReference(type = GroupFinder.class)
1839            protected GroupFinder groupFinder;
1840            @BeanReference(type = com.liferay.portal.service.SystemEventLocalService.class)
1841            protected com.liferay.portal.service.SystemEventLocalService systemEventLocalService;
1842            @BeanReference(type = SystemEventPersistence.class)
1843            protected SystemEventPersistence systemEventPersistence;
1844            @BeanReference(type = com.liferay.portal.service.UserLocalService.class)
1845            protected com.liferay.portal.service.UserLocalService userLocalService;
1846            @BeanReference(type = com.liferay.portal.service.UserService.class)
1847            protected com.liferay.portal.service.UserService userService;
1848            @BeanReference(type = UserPersistence.class)
1849            protected UserPersistence userPersistence;
1850            @BeanReference(type = UserFinder.class)
1851            protected UserFinder userFinder;
1852            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryLocalService.class)
1853            protected com.liferay.portlet.asset.service.AssetCategoryLocalService assetCategoryLocalService;
1854            @BeanReference(type = com.liferay.portlet.asset.service.AssetCategoryService.class)
1855            protected com.liferay.portlet.asset.service.AssetCategoryService assetCategoryService;
1856            @BeanReference(type = AssetCategoryPersistence.class)
1857            protected AssetCategoryPersistence assetCategoryPersistence;
1858            @BeanReference(type = AssetCategoryFinder.class)
1859            protected AssetCategoryFinder assetCategoryFinder;
1860            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryLocalService.class)
1861            protected com.liferay.portlet.blogs.service.BlogsEntryLocalService blogsEntryLocalService;
1862            @BeanReference(type = com.liferay.portlet.blogs.service.BlogsEntryService.class)
1863            protected com.liferay.portlet.blogs.service.BlogsEntryService blogsEntryService;
1864            @BeanReference(type = BlogsEntryPersistence.class)
1865            protected BlogsEntryPersistence blogsEntryPersistence;
1866            @BeanReference(type = BlogsEntryFinder.class)
1867            protected BlogsEntryFinder blogsEntryFinder;
1868            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService.class)
1869            protected com.liferay.portlet.documentlibrary.service.DLFileEntryLocalService dlFileEntryLocalService;
1870            @BeanReference(type = com.liferay.portlet.documentlibrary.service.DLFileEntryService.class)
1871            protected com.liferay.portlet.documentlibrary.service.DLFileEntryService dlFileEntryService;
1872            @BeanReference(type = DLFileEntryPersistence.class)
1873            protected DLFileEntryPersistence dlFileEntryPersistence;
1874            @BeanReference(type = DLFileEntryFinder.class)
1875            protected DLFileEntryFinder dlFileEntryFinder;
1876            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleLocalService.class)
1877            protected com.liferay.portlet.journal.service.JournalArticleLocalService journalArticleLocalService;
1878            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleService.class)
1879            protected com.liferay.portlet.journal.service.JournalArticleService journalArticleService;
1880            @BeanReference(type = JournalArticlePersistence.class)
1881            protected JournalArticlePersistence journalArticlePersistence;
1882            @BeanReference(type = JournalArticleFinder.class)
1883            protected JournalArticleFinder journalArticleFinder;
1884            @BeanReference(type = com.liferay.portlet.journal.service.JournalArticleResourceLocalService.class)
1885            protected com.liferay.portlet.journal.service.JournalArticleResourceLocalService journalArticleResourceLocalService;
1886            @BeanReference(type = JournalArticleResourcePersistence.class)
1887            protected JournalArticleResourcePersistence journalArticleResourcePersistence;
1888            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageLocalService.class)
1889            protected com.liferay.portlet.messageboards.service.MBMessageLocalService mbMessageLocalService;
1890            @BeanReference(type = com.liferay.portlet.messageboards.service.MBMessageService.class)
1891            protected com.liferay.portlet.messageboards.service.MBMessageService mbMessageService;
1892            @BeanReference(type = MBMessagePersistence.class)
1893            protected MBMessagePersistence mbMessagePersistence;
1894            @BeanReference(type = MBMessageFinder.class)
1895            protected MBMessageFinder mbMessageFinder;
1896            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityLocalService.class)
1897            protected com.liferay.portlet.social.service.SocialActivityLocalService socialActivityLocalService;
1898            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityService.class)
1899            protected com.liferay.portlet.social.service.SocialActivityService socialActivityService;
1900            @BeanReference(type = SocialActivityPersistence.class)
1901            protected SocialActivityPersistence socialActivityPersistence;
1902            @BeanReference(type = SocialActivityFinder.class)
1903            protected SocialActivityFinder socialActivityFinder;
1904            @BeanReference(type = com.liferay.portlet.social.service.SocialActivityCounterLocalService.class)
1905            protected com.liferay.portlet.social.service.SocialActivityCounterLocalService socialActivityCounterLocalService;
1906            @BeanReference(type = SocialActivityCounterPersistence.class)
1907            protected SocialActivityCounterPersistence socialActivityCounterPersistence;
1908            @BeanReference(type = SocialActivityCounterFinder.class)
1909            protected SocialActivityCounterFinder socialActivityCounterFinder;
1910            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageLocalService.class)
1911            protected com.liferay.portlet.wiki.service.WikiPageLocalService wikiPageLocalService;
1912            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageService.class)
1913            protected com.liferay.portlet.wiki.service.WikiPageService wikiPageService;
1914            @BeanReference(type = WikiPagePersistence.class)
1915            protected WikiPagePersistence wikiPagePersistence;
1916            @BeanReference(type = WikiPageFinder.class)
1917            protected WikiPageFinder wikiPageFinder;
1918            @BeanReference(type = com.liferay.portlet.wiki.service.WikiPageResourceLocalService.class)
1919            protected com.liferay.portlet.wiki.service.WikiPageResourceLocalService wikiPageResourceLocalService;
1920            @BeanReference(type = WikiPageResourcePersistence.class)
1921            protected WikiPageResourcePersistence wikiPageResourcePersistence;
1922            @BeanReference(type = com.liferay.portlet.asset.service.AssetLinkLocalService.class)
1923            protected com.liferay.portlet.asset.service.AssetLinkLocalService assetLinkLocalService;
1924            @BeanReference(type = AssetLinkPersistence.class)
1925            protected AssetLinkPersistence assetLinkPersistence;
1926            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagLocalService.class)
1927            protected com.liferay.portlet.asset.service.AssetTagLocalService assetTagLocalService;
1928            @BeanReference(type = com.liferay.portlet.asset.service.AssetTagService.class)
1929            protected com.liferay.portlet.asset.service.AssetTagService assetTagService;
1930            @BeanReference(type = AssetTagPersistence.class)
1931            protected AssetTagPersistence assetTagPersistence;
1932            @BeanReference(type = AssetTagFinder.class)
1933            protected AssetTagFinder assetTagFinder;
1934            @BeanReference(type = PersistedModelLocalServiceRegistry.class)
1935            protected PersistedModelLocalServiceRegistry persistedModelLocalServiceRegistry;
1936            private String _beanIdentifier;
1937    }