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