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