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