001    /**
002     * Copyright (c) 2000-2012 Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.asset.service.base;
016    
017    import com.liferay.counter.service.CounterLocalService;
018    
019    import com.liferay.portal.kernel.bean.BeanReference;
020    import com.liferay.portal.kernel.bean.IdentifiableBean;
021    import com.liferay.portal.kernel.dao.jdbc.SqlUpdate;
022    import com.liferay.portal.kernel.dao.jdbc.SqlUpdateFactoryUtil;
023    import com.liferay.portal.kernel.exception.SystemException;
024    import com.liferay.portal.service.BaseServiceImpl;
025    import com.liferay.portal.service.GroupLocalService;
026    import com.liferay.portal.service.GroupService;
027    import com.liferay.portal.service.ResourceLocalService;
028    import com.liferay.portal.service.UserLocalService;
029    import com.liferay.portal.service.UserService;
030    import com.liferay.portal.service.persistence.GroupFinder;
031    import com.liferay.portal.service.persistence.GroupPersistence;
032    import com.liferay.portal.service.persistence.UserFinder;
033    import com.liferay.portal.service.persistence.UserPersistence;
034    
035    import com.liferay.portlet.asset.model.AssetVocabulary;
036    import com.liferay.portlet.asset.service.AssetCategoryLocalService;
037    import com.liferay.portlet.asset.service.AssetCategoryPropertyLocalService;
038    import com.liferay.portlet.asset.service.AssetCategoryPropertyService;
039    import com.liferay.portlet.asset.service.AssetCategoryService;
040    import com.liferay.portlet.asset.service.AssetEntryLocalService;
041    import com.liferay.portlet.asset.service.AssetEntryService;
042    import com.liferay.portlet.asset.service.AssetLinkLocalService;
043    import com.liferay.portlet.asset.service.AssetTagLocalService;
044    import com.liferay.portlet.asset.service.AssetTagPropertyLocalService;
045    import com.liferay.portlet.asset.service.AssetTagPropertyService;
046    import com.liferay.portlet.asset.service.AssetTagService;
047    import com.liferay.portlet.asset.service.AssetTagStatsLocalService;
048    import com.liferay.portlet.asset.service.AssetVocabularyLocalService;
049    import com.liferay.portlet.asset.service.AssetVocabularyService;
050    import com.liferay.portlet.asset.service.persistence.AssetCategoryFinder;
051    import com.liferay.portlet.asset.service.persistence.AssetCategoryPersistence;
052    import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyFinder;
053    import com.liferay.portlet.asset.service.persistence.AssetCategoryPropertyPersistence;
054    import com.liferay.portlet.asset.service.persistence.AssetEntryFinder;
055    import com.liferay.portlet.asset.service.persistence.AssetEntryPersistence;
056    import com.liferay.portlet.asset.service.persistence.AssetLinkFinder;
057    import com.liferay.portlet.asset.service.persistence.AssetLinkPersistence;
058    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
059    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
060    import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
061    import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
062    import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
063    import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
064    import com.liferay.portlet.asset.service.persistence.AssetVocabularyFinder;
065    import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
066    
067    import javax.sql.DataSource;
068    
069    /**
070     * The base implementation of the asset vocabulary remote service.
071     *
072     * <p>
073     * 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.AssetVocabularyServiceImpl}.
074     * </p>
075     *
076     * @author Brian Wing Shun Chan
077     * @see com.liferay.portlet.asset.service.impl.AssetVocabularyServiceImpl
078     * @see com.liferay.portlet.asset.service.AssetVocabularyServiceUtil
079     * @generated
080     */
081    public abstract class AssetVocabularyServiceBaseImpl extends BaseServiceImpl
082            implements AssetVocabularyService, IdentifiableBean {
083            /*
084             * NOTE FOR DEVELOPERS:
085             *
086             * Never modify or reference this class directly. Always use {@link com.liferay.portlet.asset.service.AssetVocabularyServiceUtil} to access the asset vocabulary remote service.
087             */
088    
089            /**
090             * Returns the asset category local service.
091             *
092             * @return the asset category local service
093             */
094            public AssetCategoryLocalService getAssetCategoryLocalService() {
095                    return assetCategoryLocalService;
096            }
097    
098            /**
099             * Sets the asset category local service.
100             *
101             * @param assetCategoryLocalService the asset category local service
102             */
103            public void setAssetCategoryLocalService(
104                    AssetCategoryLocalService assetCategoryLocalService) {
105                    this.assetCategoryLocalService = assetCategoryLocalService;
106            }
107    
108            /**
109             * Returns the asset category remote service.
110             *
111             * @return the asset category remote service
112             */
113            public AssetCategoryService getAssetCategoryService() {
114                    return assetCategoryService;
115            }
116    
117            /**
118             * Sets the asset category remote service.
119             *
120             * @param assetCategoryService the asset category remote service
121             */
122            public void setAssetCategoryService(
123                    AssetCategoryService assetCategoryService) {
124                    this.assetCategoryService = assetCategoryService;
125            }
126    
127            /**
128             * Returns the asset category persistence.
129             *
130             * @return the asset category persistence
131             */
132            public AssetCategoryPersistence getAssetCategoryPersistence() {
133                    return assetCategoryPersistence;
134            }
135    
136            /**
137             * Sets the asset category persistence.
138             *
139             * @param assetCategoryPersistence the asset category persistence
140             */
141            public void setAssetCategoryPersistence(
142                    AssetCategoryPersistence assetCategoryPersistence) {
143                    this.assetCategoryPersistence = assetCategoryPersistence;
144            }
145    
146            /**
147             * Returns the asset category finder.
148             *
149             * @return the asset category finder
150             */
151            public AssetCategoryFinder getAssetCategoryFinder() {
152                    return assetCategoryFinder;
153            }
154    
155            /**
156             * Sets the asset category finder.
157             *
158             * @param assetCategoryFinder the asset category finder
159             */
160            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
161                    this.assetCategoryFinder = assetCategoryFinder;
162            }
163    
164            /**
165             * Returns the asset category property local service.
166             *
167             * @return the asset category property local service
168             */
169            public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
170                    return assetCategoryPropertyLocalService;
171            }
172    
173            /**
174             * Sets the asset category property local service.
175             *
176             * @param assetCategoryPropertyLocalService the asset category property local service
177             */
178            public void setAssetCategoryPropertyLocalService(
179                    AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
180                    this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
181            }
182    
183            /**
184             * Returns the asset category property remote service.
185             *
186             * @return the asset category property remote service
187             */
188            public AssetCategoryPropertyService getAssetCategoryPropertyService() {
189                    return assetCategoryPropertyService;
190            }
191    
192            /**
193             * Sets the asset category property remote service.
194             *
195             * @param assetCategoryPropertyService the asset category property remote service
196             */
197            public void setAssetCategoryPropertyService(
198                    AssetCategoryPropertyService assetCategoryPropertyService) {
199                    this.assetCategoryPropertyService = assetCategoryPropertyService;
200            }
201    
202            /**
203             * Returns the asset category property persistence.
204             *
205             * @return the asset category property persistence
206             */
207            public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
208                    return assetCategoryPropertyPersistence;
209            }
210    
211            /**
212             * Sets the asset category property persistence.
213             *
214             * @param assetCategoryPropertyPersistence the asset category property persistence
215             */
216            public void setAssetCategoryPropertyPersistence(
217                    AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
218                    this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
219            }
220    
221            /**
222             * Returns the asset category property finder.
223             *
224             * @return the asset category property finder
225             */
226            public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
227                    return assetCategoryPropertyFinder;
228            }
229    
230            /**
231             * Sets the asset category property finder.
232             *
233             * @param assetCategoryPropertyFinder the asset category property finder
234             */
235            public void setAssetCategoryPropertyFinder(
236                    AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
237                    this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
238            }
239    
240            /**
241             * Returns the asset entry local service.
242             *
243             * @return the asset entry local service
244             */
245            public AssetEntryLocalService getAssetEntryLocalService() {
246                    return assetEntryLocalService;
247            }
248    
249            /**
250             * Sets the asset entry local service.
251             *
252             * @param assetEntryLocalService the asset entry local service
253             */
254            public void setAssetEntryLocalService(
255                    AssetEntryLocalService assetEntryLocalService) {
256                    this.assetEntryLocalService = assetEntryLocalService;
257            }
258    
259            /**
260             * Returns the asset entry remote service.
261             *
262             * @return the asset entry remote service
263             */
264            public AssetEntryService getAssetEntryService() {
265                    return assetEntryService;
266            }
267    
268            /**
269             * Sets the asset entry remote service.
270             *
271             * @param assetEntryService the asset entry remote service
272             */
273            public void setAssetEntryService(AssetEntryService assetEntryService) {
274                    this.assetEntryService = assetEntryService;
275            }
276    
277            /**
278             * Returns the asset entry persistence.
279             *
280             * @return the asset entry persistence
281             */
282            public AssetEntryPersistence getAssetEntryPersistence() {
283                    return assetEntryPersistence;
284            }
285    
286            /**
287             * Sets the asset entry persistence.
288             *
289             * @param assetEntryPersistence the asset entry persistence
290             */
291            public void setAssetEntryPersistence(
292                    AssetEntryPersistence assetEntryPersistence) {
293                    this.assetEntryPersistence = assetEntryPersistence;
294            }
295    
296            /**
297             * Returns the asset entry finder.
298             *
299             * @return the asset entry finder
300             */
301            public AssetEntryFinder getAssetEntryFinder() {
302                    return assetEntryFinder;
303            }
304    
305            /**
306             * Sets the asset entry finder.
307             *
308             * @param assetEntryFinder the asset entry finder
309             */
310            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
311                    this.assetEntryFinder = assetEntryFinder;
312            }
313    
314            /**
315             * Returns the asset link local service.
316             *
317             * @return the asset link local service
318             */
319            public AssetLinkLocalService getAssetLinkLocalService() {
320                    return assetLinkLocalService;
321            }
322    
323            /**
324             * Sets the asset link local service.
325             *
326             * @param assetLinkLocalService the asset link local service
327             */
328            public void setAssetLinkLocalService(
329                    AssetLinkLocalService assetLinkLocalService) {
330                    this.assetLinkLocalService = assetLinkLocalService;
331            }
332    
333            /**
334             * Returns the asset link persistence.
335             *
336             * @return the asset link persistence
337             */
338            public AssetLinkPersistence getAssetLinkPersistence() {
339                    return assetLinkPersistence;
340            }
341    
342            /**
343             * Sets the asset link persistence.
344             *
345             * @param assetLinkPersistence the asset link persistence
346             */
347            public void setAssetLinkPersistence(
348                    AssetLinkPersistence assetLinkPersistence) {
349                    this.assetLinkPersistence = assetLinkPersistence;
350            }
351    
352            /**
353             * Returns the asset link finder.
354             *
355             * @return the asset link finder
356             */
357            public AssetLinkFinder getAssetLinkFinder() {
358                    return assetLinkFinder;
359            }
360    
361            /**
362             * Sets the asset link finder.
363             *
364             * @param assetLinkFinder the asset link finder
365             */
366            public void setAssetLinkFinder(AssetLinkFinder assetLinkFinder) {
367                    this.assetLinkFinder = assetLinkFinder;
368            }
369    
370            /**
371             * Returns the asset tag local service.
372             *
373             * @return the asset tag local service
374             */
375            public AssetTagLocalService getAssetTagLocalService() {
376                    return assetTagLocalService;
377            }
378    
379            /**
380             * Sets the asset tag local service.
381             *
382             * @param assetTagLocalService the asset tag local service
383             */
384            public void setAssetTagLocalService(
385                    AssetTagLocalService assetTagLocalService) {
386                    this.assetTagLocalService = assetTagLocalService;
387            }
388    
389            /**
390             * Returns the asset tag remote service.
391             *
392             * @return the asset tag remote service
393             */
394            public AssetTagService getAssetTagService() {
395                    return assetTagService;
396            }
397    
398            /**
399             * Sets the asset tag remote service.
400             *
401             * @param assetTagService the asset tag remote service
402             */
403            public void setAssetTagService(AssetTagService assetTagService) {
404                    this.assetTagService = assetTagService;
405            }
406    
407            /**
408             * Returns the asset tag persistence.
409             *
410             * @return the asset tag persistence
411             */
412            public AssetTagPersistence getAssetTagPersistence() {
413                    return assetTagPersistence;
414            }
415    
416            /**
417             * Sets the asset tag persistence.
418             *
419             * @param assetTagPersistence the asset tag persistence
420             */
421            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
422                    this.assetTagPersistence = assetTagPersistence;
423            }
424    
425            /**
426             * Returns the asset tag finder.
427             *
428             * @return the asset tag finder
429             */
430            public AssetTagFinder getAssetTagFinder() {
431                    return assetTagFinder;
432            }
433    
434            /**
435             * Sets the asset tag finder.
436             *
437             * @param assetTagFinder the asset tag finder
438             */
439            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
440                    this.assetTagFinder = assetTagFinder;
441            }
442    
443            /**
444             * Returns the asset tag property local service.
445             *
446             * @return the asset tag property local service
447             */
448            public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
449                    return assetTagPropertyLocalService;
450            }
451    
452            /**
453             * Sets the asset tag property local service.
454             *
455             * @param assetTagPropertyLocalService the asset tag property local service
456             */
457            public void setAssetTagPropertyLocalService(
458                    AssetTagPropertyLocalService assetTagPropertyLocalService) {
459                    this.assetTagPropertyLocalService = assetTagPropertyLocalService;
460            }
461    
462            /**
463             * Returns the asset tag property remote service.
464             *
465             * @return the asset tag property remote service
466             */
467            public AssetTagPropertyService getAssetTagPropertyService() {
468                    return assetTagPropertyService;
469            }
470    
471            /**
472             * Sets the asset tag property remote service.
473             *
474             * @param assetTagPropertyService the asset tag property remote service
475             */
476            public void setAssetTagPropertyService(
477                    AssetTagPropertyService assetTagPropertyService) {
478                    this.assetTagPropertyService = assetTagPropertyService;
479            }
480    
481            /**
482             * Returns the asset tag property persistence.
483             *
484             * @return the asset tag property persistence
485             */
486            public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
487                    return assetTagPropertyPersistence;
488            }
489    
490            /**
491             * Sets the asset tag property persistence.
492             *
493             * @param assetTagPropertyPersistence the asset tag property persistence
494             */
495            public void setAssetTagPropertyPersistence(
496                    AssetTagPropertyPersistence assetTagPropertyPersistence) {
497                    this.assetTagPropertyPersistence = assetTagPropertyPersistence;
498            }
499    
500            /**
501             * Returns the asset tag property finder.
502             *
503             * @return the asset tag property finder
504             */
505            public AssetTagPropertyFinder getAssetTagPropertyFinder() {
506                    return assetTagPropertyFinder;
507            }
508    
509            /**
510             * Sets the asset tag property finder.
511             *
512             * @param assetTagPropertyFinder the asset tag property finder
513             */
514            public void setAssetTagPropertyFinder(
515                    AssetTagPropertyFinder assetTagPropertyFinder) {
516                    this.assetTagPropertyFinder = assetTagPropertyFinder;
517            }
518    
519            /**
520             * Returns the asset tag property key finder.
521             *
522             * @return the asset tag property key finder
523             */
524            public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
525                    return assetTagPropertyKeyFinder;
526            }
527    
528            /**
529             * Sets the asset tag property key finder.
530             *
531             * @param assetTagPropertyKeyFinder the asset tag property key finder
532             */
533            public void setAssetTagPropertyKeyFinder(
534                    AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
535                    this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
536            }
537    
538            /**
539             * Returns the asset tag stats local service.
540             *
541             * @return the asset tag stats local service
542             */
543            public AssetTagStatsLocalService getAssetTagStatsLocalService() {
544                    return assetTagStatsLocalService;
545            }
546    
547            /**
548             * Sets the asset tag stats local service.
549             *
550             * @param assetTagStatsLocalService the asset tag stats local service
551             */
552            public void setAssetTagStatsLocalService(
553                    AssetTagStatsLocalService assetTagStatsLocalService) {
554                    this.assetTagStatsLocalService = assetTagStatsLocalService;
555            }
556    
557            /**
558             * Returns the asset tag stats persistence.
559             *
560             * @return the asset tag stats persistence
561             */
562            public AssetTagStatsPersistence getAssetTagStatsPersistence() {
563                    return assetTagStatsPersistence;
564            }
565    
566            /**
567             * Sets the asset tag stats persistence.
568             *
569             * @param assetTagStatsPersistence the asset tag stats persistence
570             */
571            public void setAssetTagStatsPersistence(
572                    AssetTagStatsPersistence assetTagStatsPersistence) {
573                    this.assetTagStatsPersistence = assetTagStatsPersistence;
574            }
575    
576            /**
577             * Returns the asset vocabulary local service.
578             *
579             * @return the asset vocabulary local service
580             */
581            public AssetVocabularyLocalService getAssetVocabularyLocalService() {
582                    return assetVocabularyLocalService;
583            }
584    
585            /**
586             * Sets the asset vocabulary local service.
587             *
588             * @param assetVocabularyLocalService the asset vocabulary local service
589             */
590            public void setAssetVocabularyLocalService(
591                    AssetVocabularyLocalService assetVocabularyLocalService) {
592                    this.assetVocabularyLocalService = assetVocabularyLocalService;
593            }
594    
595            /**
596             * Returns the asset vocabulary remote service.
597             *
598             * @return the asset vocabulary remote service
599             */
600            public AssetVocabularyService getAssetVocabularyService() {
601                    return assetVocabularyService;
602            }
603    
604            /**
605             * Sets the asset vocabulary remote service.
606             *
607             * @param assetVocabularyService the asset vocabulary remote service
608             */
609            public void setAssetVocabularyService(
610                    AssetVocabularyService assetVocabularyService) {
611                    this.assetVocabularyService = assetVocabularyService;
612            }
613    
614            /**
615             * Returns the asset vocabulary persistence.
616             *
617             * @return the asset vocabulary persistence
618             */
619            public AssetVocabularyPersistence getAssetVocabularyPersistence() {
620                    return assetVocabularyPersistence;
621            }
622    
623            /**
624             * Sets the asset vocabulary persistence.
625             *
626             * @param assetVocabularyPersistence the asset vocabulary persistence
627             */
628            public void setAssetVocabularyPersistence(
629                    AssetVocabularyPersistence assetVocabularyPersistence) {
630                    this.assetVocabularyPersistence = assetVocabularyPersistence;
631            }
632    
633            /**
634             * Returns the asset vocabulary finder.
635             *
636             * @return the asset vocabulary finder
637             */
638            public AssetVocabularyFinder getAssetVocabularyFinder() {
639                    return assetVocabularyFinder;
640            }
641    
642            /**
643             * Sets the asset vocabulary finder.
644             *
645             * @param assetVocabularyFinder the asset vocabulary finder
646             */
647            public void setAssetVocabularyFinder(
648                    AssetVocabularyFinder assetVocabularyFinder) {
649                    this.assetVocabularyFinder = assetVocabularyFinder;
650            }
651    
652            /**
653             * Returns the counter local service.
654             *
655             * @return the counter local service
656             */
657            public CounterLocalService getCounterLocalService() {
658                    return counterLocalService;
659            }
660    
661            /**
662             * Sets the counter local service.
663             *
664             * @param counterLocalService the counter local service
665             */
666            public void setCounterLocalService(CounterLocalService counterLocalService) {
667                    this.counterLocalService = counterLocalService;
668            }
669    
670            /**
671             * Returns the group local service.
672             *
673             * @return the group local service
674             */
675            public GroupLocalService getGroupLocalService() {
676                    return groupLocalService;
677            }
678    
679            /**
680             * Sets the group local service.
681             *
682             * @param groupLocalService the group local service
683             */
684            public void setGroupLocalService(GroupLocalService groupLocalService) {
685                    this.groupLocalService = groupLocalService;
686            }
687    
688            /**
689             * Returns the group remote service.
690             *
691             * @return the group remote service
692             */
693            public GroupService getGroupService() {
694                    return groupService;
695            }
696    
697            /**
698             * Sets the group remote service.
699             *
700             * @param groupService the group remote service
701             */
702            public void setGroupService(GroupService groupService) {
703                    this.groupService = groupService;
704            }
705    
706            /**
707             * Returns the group persistence.
708             *
709             * @return the group persistence
710             */
711            public GroupPersistence getGroupPersistence() {
712                    return groupPersistence;
713            }
714    
715            /**
716             * Sets the group persistence.
717             *
718             * @param groupPersistence the group persistence
719             */
720            public void setGroupPersistence(GroupPersistence groupPersistence) {
721                    this.groupPersistence = groupPersistence;
722            }
723    
724            /**
725             * Returns the group finder.
726             *
727             * @return the group finder
728             */
729            public GroupFinder getGroupFinder() {
730                    return groupFinder;
731            }
732    
733            /**
734             * Sets the group finder.
735             *
736             * @param groupFinder the group finder
737             */
738            public void setGroupFinder(GroupFinder groupFinder) {
739                    this.groupFinder = groupFinder;
740            }
741    
742            /**
743             * Returns the resource local service.
744             *
745             * @return the resource local service
746             */
747            public ResourceLocalService getResourceLocalService() {
748                    return resourceLocalService;
749            }
750    
751            /**
752             * Sets the resource local service.
753             *
754             * @param resourceLocalService the resource local service
755             */
756            public void setResourceLocalService(
757                    ResourceLocalService resourceLocalService) {
758                    this.resourceLocalService = resourceLocalService;
759            }
760    
761            /**
762             * Returns the user local service.
763             *
764             * @return the user local service
765             */
766            public UserLocalService getUserLocalService() {
767                    return userLocalService;
768            }
769    
770            /**
771             * Sets the user local service.
772             *
773             * @param userLocalService the user local service
774             */
775            public void setUserLocalService(UserLocalService userLocalService) {
776                    this.userLocalService = userLocalService;
777            }
778    
779            /**
780             * Returns the user remote service.
781             *
782             * @return the user remote service
783             */
784            public UserService getUserService() {
785                    return userService;
786            }
787    
788            /**
789             * Sets the user remote service.
790             *
791             * @param userService the user remote service
792             */
793            public void setUserService(UserService userService) {
794                    this.userService = userService;
795            }
796    
797            /**
798             * Returns the user persistence.
799             *
800             * @return the user persistence
801             */
802            public UserPersistence getUserPersistence() {
803                    return userPersistence;
804            }
805    
806            /**
807             * Sets the user persistence.
808             *
809             * @param userPersistence the user persistence
810             */
811            public void setUserPersistence(UserPersistence userPersistence) {
812                    this.userPersistence = userPersistence;
813            }
814    
815            /**
816             * Returns the user finder.
817             *
818             * @return the user finder
819             */
820            public UserFinder getUserFinder() {
821                    return userFinder;
822            }
823    
824            /**
825             * Sets the user finder.
826             *
827             * @param userFinder the user finder
828             */
829            public void setUserFinder(UserFinder userFinder) {
830                    this.userFinder = userFinder;
831            }
832    
833            public void afterPropertiesSet() {
834            }
835    
836            public void destroy() {
837            }
838    
839            /**
840             * Returns the Spring bean ID for this bean.
841             *
842             * @return the Spring bean ID for this bean
843             */
844            public String getBeanIdentifier() {
845                    return _beanIdentifier;
846            }
847    
848            /**
849             * Sets the Spring bean ID for this bean.
850             *
851             * @param beanIdentifier the Spring bean ID for this bean
852             */
853            public void setBeanIdentifier(String beanIdentifier) {
854                    _beanIdentifier = beanIdentifier;
855            }
856    
857            protected Class<?> getModelClass() {
858                    return AssetVocabulary.class;
859            }
860    
861            protected String getModelClassName() {
862                    return AssetVocabulary.class.getName();
863            }
864    
865            /**
866             * Performs an SQL query.
867             *
868             * @param sql the sql query
869             */
870            protected void runSQL(String sql) throws SystemException {
871                    try {
872                            DataSource dataSource = assetVocabularyPersistence.getDataSource();
873    
874                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
875                                            sql, new int[0]);
876    
877                            sqlUpdate.update();
878                    }
879                    catch (Exception e) {
880                            throw new SystemException(e);
881                    }
882            }
883    
884            @BeanReference(type = AssetCategoryLocalService.class)
885            protected AssetCategoryLocalService assetCategoryLocalService;
886            @BeanReference(type = AssetCategoryService.class)
887            protected AssetCategoryService assetCategoryService;
888            @BeanReference(type = AssetCategoryPersistence.class)
889            protected AssetCategoryPersistence assetCategoryPersistence;
890            @BeanReference(type = AssetCategoryFinder.class)
891            protected AssetCategoryFinder assetCategoryFinder;
892            @BeanReference(type = AssetCategoryPropertyLocalService.class)
893            protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
894            @BeanReference(type = AssetCategoryPropertyService.class)
895            protected AssetCategoryPropertyService assetCategoryPropertyService;
896            @BeanReference(type = AssetCategoryPropertyPersistence.class)
897            protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
898            @BeanReference(type = AssetCategoryPropertyFinder.class)
899            protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
900            @BeanReference(type = AssetEntryLocalService.class)
901            protected AssetEntryLocalService assetEntryLocalService;
902            @BeanReference(type = AssetEntryService.class)
903            protected AssetEntryService assetEntryService;
904            @BeanReference(type = AssetEntryPersistence.class)
905            protected AssetEntryPersistence assetEntryPersistence;
906            @BeanReference(type = AssetEntryFinder.class)
907            protected AssetEntryFinder assetEntryFinder;
908            @BeanReference(type = AssetLinkLocalService.class)
909            protected AssetLinkLocalService assetLinkLocalService;
910            @BeanReference(type = AssetLinkPersistence.class)
911            protected AssetLinkPersistence assetLinkPersistence;
912            @BeanReference(type = AssetLinkFinder.class)
913            protected AssetLinkFinder assetLinkFinder;
914            @BeanReference(type = AssetTagLocalService.class)
915            protected AssetTagLocalService assetTagLocalService;
916            @BeanReference(type = AssetTagService.class)
917            protected AssetTagService assetTagService;
918            @BeanReference(type = AssetTagPersistence.class)
919            protected AssetTagPersistence assetTagPersistence;
920            @BeanReference(type = AssetTagFinder.class)
921            protected AssetTagFinder assetTagFinder;
922            @BeanReference(type = AssetTagPropertyLocalService.class)
923            protected AssetTagPropertyLocalService assetTagPropertyLocalService;
924            @BeanReference(type = AssetTagPropertyService.class)
925            protected AssetTagPropertyService assetTagPropertyService;
926            @BeanReference(type = AssetTagPropertyPersistence.class)
927            protected AssetTagPropertyPersistence assetTagPropertyPersistence;
928            @BeanReference(type = AssetTagPropertyFinder.class)
929            protected AssetTagPropertyFinder assetTagPropertyFinder;
930            @BeanReference(type = AssetTagPropertyKeyFinder.class)
931            protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
932            @BeanReference(type = AssetTagStatsLocalService.class)
933            protected AssetTagStatsLocalService assetTagStatsLocalService;
934            @BeanReference(type = AssetTagStatsPersistence.class)
935            protected AssetTagStatsPersistence assetTagStatsPersistence;
936            @BeanReference(type = AssetVocabularyLocalService.class)
937            protected AssetVocabularyLocalService assetVocabularyLocalService;
938            @BeanReference(type = AssetVocabularyService.class)
939            protected AssetVocabularyService assetVocabularyService;
940            @BeanReference(type = AssetVocabularyPersistence.class)
941            protected AssetVocabularyPersistence assetVocabularyPersistence;
942            @BeanReference(type = AssetVocabularyFinder.class)
943            protected AssetVocabularyFinder assetVocabularyFinder;
944            @BeanReference(type = CounterLocalService.class)
945            protected CounterLocalService counterLocalService;
946            @BeanReference(type = GroupLocalService.class)
947            protected GroupLocalService groupLocalService;
948            @BeanReference(type = GroupService.class)
949            protected GroupService groupService;
950            @BeanReference(type = GroupPersistence.class)
951            protected GroupPersistence groupPersistence;
952            @BeanReference(type = GroupFinder.class)
953            protected GroupFinder groupFinder;
954            @BeanReference(type = ResourceLocalService.class)
955            protected ResourceLocalService resourceLocalService;
956            @BeanReference(type = UserLocalService.class)
957            protected UserLocalService userLocalService;
958            @BeanReference(type = UserService.class)
959            protected UserService userService;
960            @BeanReference(type = UserPersistence.class)
961            protected UserPersistence userPersistence;
962            @BeanReference(type = UserFinder.class)
963            protected UserFinder userFinder;
964            private String _beanIdentifier;
965    }