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