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