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.dao.orm.DynamicQuery;
023    import com.liferay.portal.kernel.exception.PortalException;
024    import com.liferay.portal.kernel.exception.SystemException;
025    import com.liferay.portal.kernel.util.OrderByComparator;
026    import com.liferay.portal.service.ResourceLocalService;
027    import com.liferay.portal.service.ResourceService;
028    import com.liferay.portal.service.UserLocalService;
029    import com.liferay.portal.service.UserService;
030    import com.liferay.portal.service.persistence.ResourceFinder;
031    import com.liferay.portal.service.persistence.ResourcePersistence;
032    import com.liferay.portal.service.persistence.UserFinder;
033    import com.liferay.portal.service.persistence.UserPersistence;
034    
035    import com.liferay.portlet.asset.model.AssetCategoryProperty;
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.AssetLinkPersistence;
057    import com.liferay.portlet.asset.service.persistence.AssetTagFinder;
058    import com.liferay.portlet.asset.service.persistence.AssetTagPersistence;
059    import com.liferay.portlet.asset.service.persistence.AssetTagPropertyFinder;
060    import com.liferay.portlet.asset.service.persistence.AssetTagPropertyKeyFinder;
061    import com.liferay.portlet.asset.service.persistence.AssetTagPropertyPersistence;
062    import com.liferay.portlet.asset.service.persistence.AssetTagStatsPersistence;
063    import com.liferay.portlet.asset.service.persistence.AssetVocabularyPersistence;
064    
065    import java.util.List;
066    
067    import javax.sql.DataSource;
068    
069    /**
070     * The base implementation of the asset category property local 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.AssetCategoryPropertyLocalServiceImpl}.
074     * </p>
075     *
076     * <p>
077     * Never modify or reference this class directly. Always use {@link com.liferay.portlet.asset.service.AssetCategoryPropertyLocalServiceUtil} to access the asset category property local service.
078     * </p>
079     *
080     * @author Brian Wing Shun Chan
081     * @see com.liferay.portlet.asset.service.impl.AssetCategoryPropertyLocalServiceImpl
082     * @see com.liferay.portlet.asset.service.AssetCategoryPropertyLocalServiceUtil
083     * @generated
084     */
085    public abstract class AssetCategoryPropertyLocalServiceBaseImpl
086            implements AssetCategoryPropertyLocalService {
087            /**
088             * Adds the asset category property to the database. Also notifies the appropriate model listeners.
089             *
090             * @param assetCategoryProperty the asset category property to add
091             * @return the asset category property that was added
092             * @throws SystemException if a system exception occurred
093             */
094            public AssetCategoryProperty addAssetCategoryProperty(
095                    AssetCategoryProperty assetCategoryProperty) throws SystemException {
096                    assetCategoryProperty.setNew(true);
097    
098                    return assetCategoryPropertyPersistence.update(assetCategoryProperty,
099                            false);
100            }
101    
102            /**
103             * Creates a new asset category property with the primary key. Does not add the asset category property to the database.
104             *
105             * @param categoryPropertyId the primary key for the new asset category property
106             * @return the new asset category property
107             */
108            public AssetCategoryProperty createAssetCategoryProperty(
109                    long categoryPropertyId) {
110                    return assetCategoryPropertyPersistence.create(categoryPropertyId);
111            }
112    
113            /**
114             * Deletes the asset category property with the primary key from the database. Also notifies the appropriate model listeners.
115             *
116             * @param categoryPropertyId the primary key of the asset category property to delete
117             * @throws PortalException if a asset category property with the primary key could not be found
118             * @throws SystemException if a system exception occurred
119             */
120            public void deleteAssetCategoryProperty(long categoryPropertyId)
121                    throws PortalException, SystemException {
122                    assetCategoryPropertyPersistence.remove(categoryPropertyId);
123            }
124    
125            /**
126             * Deletes the asset category property from the database. Also notifies the appropriate model listeners.
127             *
128             * @param assetCategoryProperty the asset category property to delete
129             * @throws SystemException if a system exception occurred
130             */
131            public void deleteAssetCategoryProperty(
132                    AssetCategoryProperty assetCategoryProperty) throws SystemException {
133                    assetCategoryPropertyPersistence.remove(assetCategoryProperty);
134            }
135    
136            /**
137             * Performs a dynamic query on the database and returns the matching rows.
138             *
139             * @param dynamicQuery the dynamic query to search with
140             * @return the matching rows
141             * @throws SystemException if a system exception occurred
142             */
143            @SuppressWarnings("rawtypes")
144            public List dynamicQuery(DynamicQuery dynamicQuery)
145                    throws SystemException {
146                    return assetCategoryPropertyPersistence.findWithDynamicQuery(dynamicQuery);
147            }
148    
149            /**
150             * Performs a dynamic query on the database and returns a range of the matching rows.
151             *
152             * <p>
153             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
154             * </p>
155             *
156             * @param dynamicQuery the dynamic query to search with
157             * @param start the lower bound of the range of model instances to return
158             * @param end the upper bound of the range of model instances to return (not inclusive)
159             * @return the range of matching rows
160             * @throws SystemException if a system exception occurred
161             */
162            @SuppressWarnings("rawtypes")
163            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end)
164                    throws SystemException {
165                    return assetCategoryPropertyPersistence.findWithDynamicQuery(dynamicQuery,
166                            start, end);
167            }
168    
169            /**
170             * Performs a dynamic query on the database and returns an ordered range of the matching rows.
171             *
172             * <p>
173             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
174             * </p>
175             *
176             * @param dynamicQuery the dynamic query to search with
177             * @param start the lower bound of the range of model instances to return
178             * @param end the upper bound of the range of model instances to return (not inclusive)
179             * @param orderByComparator the comparator to order the results by
180             * @return the ordered range of matching rows
181             * @throws SystemException if a system exception occurred
182             */
183            @SuppressWarnings("rawtypes")
184            public List dynamicQuery(DynamicQuery dynamicQuery, int start, int end,
185                    OrderByComparator orderByComparator) throws SystemException {
186                    return assetCategoryPropertyPersistence.findWithDynamicQuery(dynamicQuery,
187                            start, end, orderByComparator);
188            }
189    
190            /**
191             * Counts the number of rows that match the dynamic query.
192             *
193             * @param dynamicQuery the dynamic query to search with
194             * @return the number of rows that match the dynamic query
195             * @throws SystemException if a system exception occurred
196             */
197            public long dynamicQueryCount(DynamicQuery dynamicQuery)
198                    throws SystemException {
199                    return assetCategoryPropertyPersistence.countWithDynamicQuery(dynamicQuery);
200            }
201    
202            /**
203             * Gets the asset category property with the primary key.
204             *
205             * @param categoryPropertyId the primary key of the asset category property to get
206             * @return the asset category property
207             * @throws PortalException if a asset category property with the primary key could not be found
208             * @throws SystemException if a system exception occurred
209             */
210            public AssetCategoryProperty getAssetCategoryProperty(
211                    long categoryPropertyId) throws PortalException, SystemException {
212                    return assetCategoryPropertyPersistence.findByPrimaryKey(categoryPropertyId);
213            }
214    
215            /**
216             * Gets a range of all the asset category properties.
217             *
218             * <p>
219             * Useful when paginating results. Returns a maximum of <code>end - start</code> instances. <code>start</code> and <code>end</code> are not primary keys, they are indexes in the result set. Thus, <code>0</code> refers to the first result in the set. Setting both <code>start</code> and <code>end</code> to {@link com.liferay.portal.kernel.dao.orm.QueryUtil#ALL_POS} will return the full result set.
220             * </p>
221             *
222             * @param start the lower bound of the range of asset category properties to return
223             * @param end the upper bound of the range of asset category properties to return (not inclusive)
224             * @return the range of asset category properties
225             * @throws SystemException if a system exception occurred
226             */
227            public List<AssetCategoryProperty> getAssetCategoryProperties(int start,
228                    int end) throws SystemException {
229                    return assetCategoryPropertyPersistence.findAll(start, end);
230            }
231    
232            /**
233             * Gets the number of asset category properties.
234             *
235             * @return the number of asset category properties
236             * @throws SystemException if a system exception occurred
237             */
238            public int getAssetCategoryPropertiesCount() throws SystemException {
239                    return assetCategoryPropertyPersistence.countAll();
240            }
241    
242            /**
243             * Updates the asset category property in the database. Also notifies the appropriate model listeners.
244             *
245             * @param assetCategoryProperty the asset category property to update
246             * @return the asset category property that was updated
247             * @throws SystemException if a system exception occurred
248             */
249            public AssetCategoryProperty updateAssetCategoryProperty(
250                    AssetCategoryProperty assetCategoryProperty) throws SystemException {
251                    assetCategoryProperty.setNew(false);
252    
253                    return assetCategoryPropertyPersistence.update(assetCategoryProperty,
254                            true);
255            }
256    
257            /**
258             * Updates the asset category property in the database. Also notifies the appropriate model listeners.
259             *
260             * @param assetCategoryProperty the asset category property to update
261             * @param merge whether to merge the asset category property with the current session. See {@link com.liferay.portal.service.persistence.BatchSession#update(com.liferay.portal.kernel.dao.orm.Session, com.liferay.portal.model.BaseModel, boolean)} for an explanation.
262             * @return the asset category property that was updated
263             * @throws SystemException if a system exception occurred
264             */
265            public AssetCategoryProperty updateAssetCategoryProperty(
266                    AssetCategoryProperty assetCategoryProperty, boolean merge)
267                    throws SystemException {
268                    assetCategoryProperty.setNew(false);
269    
270                    return assetCategoryPropertyPersistence.update(assetCategoryProperty,
271                            merge);
272            }
273    
274            /**
275             * Gets the asset category local service.
276             *
277             * @return the asset category local service
278             */
279            public AssetCategoryLocalService getAssetCategoryLocalService() {
280                    return assetCategoryLocalService;
281            }
282    
283            /**
284             * Sets the asset category local service.
285             *
286             * @param assetCategoryLocalService the asset category local service
287             */
288            public void setAssetCategoryLocalService(
289                    AssetCategoryLocalService assetCategoryLocalService) {
290                    this.assetCategoryLocalService = assetCategoryLocalService;
291            }
292    
293            /**
294             * Gets the asset category remote service.
295             *
296             * @return the asset category remote service
297             */
298            public AssetCategoryService getAssetCategoryService() {
299                    return assetCategoryService;
300            }
301    
302            /**
303             * Sets the asset category remote service.
304             *
305             * @param assetCategoryService the asset category remote service
306             */
307            public void setAssetCategoryService(
308                    AssetCategoryService assetCategoryService) {
309                    this.assetCategoryService = assetCategoryService;
310            }
311    
312            /**
313             * Gets the asset category persistence.
314             *
315             * @return the asset category persistence
316             */
317            public AssetCategoryPersistence getAssetCategoryPersistence() {
318                    return assetCategoryPersistence;
319            }
320    
321            /**
322             * Sets the asset category persistence.
323             *
324             * @param assetCategoryPersistence the asset category persistence
325             */
326            public void setAssetCategoryPersistence(
327                    AssetCategoryPersistence assetCategoryPersistence) {
328                    this.assetCategoryPersistence = assetCategoryPersistence;
329            }
330    
331            /**
332             * Gets the asset category finder.
333             *
334             * @return the asset category finder
335             */
336            public AssetCategoryFinder getAssetCategoryFinder() {
337                    return assetCategoryFinder;
338            }
339    
340            /**
341             * Sets the asset category finder.
342             *
343             * @param assetCategoryFinder the asset category finder
344             */
345            public void setAssetCategoryFinder(AssetCategoryFinder assetCategoryFinder) {
346                    this.assetCategoryFinder = assetCategoryFinder;
347            }
348    
349            /**
350             * Gets the asset category property local service.
351             *
352             * @return the asset category property local service
353             */
354            public AssetCategoryPropertyLocalService getAssetCategoryPropertyLocalService() {
355                    return assetCategoryPropertyLocalService;
356            }
357    
358            /**
359             * Sets the asset category property local service.
360             *
361             * @param assetCategoryPropertyLocalService the asset category property local service
362             */
363            public void setAssetCategoryPropertyLocalService(
364                    AssetCategoryPropertyLocalService assetCategoryPropertyLocalService) {
365                    this.assetCategoryPropertyLocalService = assetCategoryPropertyLocalService;
366            }
367    
368            /**
369             * Gets the asset category property remote service.
370             *
371             * @return the asset category property remote service
372             */
373            public AssetCategoryPropertyService getAssetCategoryPropertyService() {
374                    return assetCategoryPropertyService;
375            }
376    
377            /**
378             * Sets the asset category property remote service.
379             *
380             * @param assetCategoryPropertyService the asset category property remote service
381             */
382            public void setAssetCategoryPropertyService(
383                    AssetCategoryPropertyService assetCategoryPropertyService) {
384                    this.assetCategoryPropertyService = assetCategoryPropertyService;
385            }
386    
387            /**
388             * Gets the asset category property persistence.
389             *
390             * @return the asset category property persistence
391             */
392            public AssetCategoryPropertyPersistence getAssetCategoryPropertyPersistence() {
393                    return assetCategoryPropertyPersistence;
394            }
395    
396            /**
397             * Sets the asset category property persistence.
398             *
399             * @param assetCategoryPropertyPersistence the asset category property persistence
400             */
401            public void setAssetCategoryPropertyPersistence(
402                    AssetCategoryPropertyPersistence assetCategoryPropertyPersistence) {
403                    this.assetCategoryPropertyPersistence = assetCategoryPropertyPersistence;
404            }
405    
406            /**
407             * Gets the asset category property finder.
408             *
409             * @return the asset category property finder
410             */
411            public AssetCategoryPropertyFinder getAssetCategoryPropertyFinder() {
412                    return assetCategoryPropertyFinder;
413            }
414    
415            /**
416             * Sets the asset category property finder.
417             *
418             * @param assetCategoryPropertyFinder the asset category property finder
419             */
420            public void setAssetCategoryPropertyFinder(
421                    AssetCategoryPropertyFinder assetCategoryPropertyFinder) {
422                    this.assetCategoryPropertyFinder = assetCategoryPropertyFinder;
423            }
424    
425            /**
426             * Gets the asset entry local service.
427             *
428             * @return the asset entry local service
429             */
430            public AssetEntryLocalService getAssetEntryLocalService() {
431                    return assetEntryLocalService;
432            }
433    
434            /**
435             * Sets the asset entry local service.
436             *
437             * @param assetEntryLocalService the asset entry local service
438             */
439            public void setAssetEntryLocalService(
440                    AssetEntryLocalService assetEntryLocalService) {
441                    this.assetEntryLocalService = assetEntryLocalService;
442            }
443    
444            /**
445             * Gets the asset entry remote service.
446             *
447             * @return the asset entry remote service
448             */
449            public AssetEntryService getAssetEntryService() {
450                    return assetEntryService;
451            }
452    
453            /**
454             * Sets the asset entry remote service.
455             *
456             * @param assetEntryService the asset entry remote service
457             */
458            public void setAssetEntryService(AssetEntryService assetEntryService) {
459                    this.assetEntryService = assetEntryService;
460            }
461    
462            /**
463             * Gets the asset entry persistence.
464             *
465             * @return the asset entry persistence
466             */
467            public AssetEntryPersistence getAssetEntryPersistence() {
468                    return assetEntryPersistence;
469            }
470    
471            /**
472             * Sets the asset entry persistence.
473             *
474             * @param assetEntryPersistence the asset entry persistence
475             */
476            public void setAssetEntryPersistence(
477                    AssetEntryPersistence assetEntryPersistence) {
478                    this.assetEntryPersistence = assetEntryPersistence;
479            }
480    
481            /**
482             * Gets the asset entry finder.
483             *
484             * @return the asset entry finder
485             */
486            public AssetEntryFinder getAssetEntryFinder() {
487                    return assetEntryFinder;
488            }
489    
490            /**
491             * Sets the asset entry finder.
492             *
493             * @param assetEntryFinder the asset entry finder
494             */
495            public void setAssetEntryFinder(AssetEntryFinder assetEntryFinder) {
496                    this.assetEntryFinder = assetEntryFinder;
497            }
498    
499            /**
500             * Gets the asset link local service.
501             *
502             * @return the asset link local service
503             */
504            public AssetLinkLocalService getAssetLinkLocalService() {
505                    return assetLinkLocalService;
506            }
507    
508            /**
509             * Sets the asset link local service.
510             *
511             * @param assetLinkLocalService the asset link local service
512             */
513            public void setAssetLinkLocalService(
514                    AssetLinkLocalService assetLinkLocalService) {
515                    this.assetLinkLocalService = assetLinkLocalService;
516            }
517    
518            /**
519             * Gets the asset link persistence.
520             *
521             * @return the asset link persistence
522             */
523            public AssetLinkPersistence getAssetLinkPersistence() {
524                    return assetLinkPersistence;
525            }
526    
527            /**
528             * Sets the asset link persistence.
529             *
530             * @param assetLinkPersistence the asset link persistence
531             */
532            public void setAssetLinkPersistence(
533                    AssetLinkPersistence assetLinkPersistence) {
534                    this.assetLinkPersistence = assetLinkPersistence;
535            }
536    
537            /**
538             * Gets the asset tag local service.
539             *
540             * @return the asset tag local service
541             */
542            public AssetTagLocalService getAssetTagLocalService() {
543                    return assetTagLocalService;
544            }
545    
546            /**
547             * Sets the asset tag local service.
548             *
549             * @param assetTagLocalService the asset tag local service
550             */
551            public void setAssetTagLocalService(
552                    AssetTagLocalService assetTagLocalService) {
553                    this.assetTagLocalService = assetTagLocalService;
554            }
555    
556            /**
557             * Gets the asset tag remote service.
558             *
559             * @return the asset tag remote service
560             */
561            public AssetTagService getAssetTagService() {
562                    return assetTagService;
563            }
564    
565            /**
566             * Sets the asset tag remote service.
567             *
568             * @param assetTagService the asset tag remote service
569             */
570            public void setAssetTagService(AssetTagService assetTagService) {
571                    this.assetTagService = assetTagService;
572            }
573    
574            /**
575             * Gets the asset tag persistence.
576             *
577             * @return the asset tag persistence
578             */
579            public AssetTagPersistence getAssetTagPersistence() {
580                    return assetTagPersistence;
581            }
582    
583            /**
584             * Sets the asset tag persistence.
585             *
586             * @param assetTagPersistence the asset tag persistence
587             */
588            public void setAssetTagPersistence(AssetTagPersistence assetTagPersistence) {
589                    this.assetTagPersistence = assetTagPersistence;
590            }
591    
592            /**
593             * Gets the asset tag finder.
594             *
595             * @return the asset tag finder
596             */
597            public AssetTagFinder getAssetTagFinder() {
598                    return assetTagFinder;
599            }
600    
601            /**
602             * Sets the asset tag finder.
603             *
604             * @param assetTagFinder the asset tag finder
605             */
606            public void setAssetTagFinder(AssetTagFinder assetTagFinder) {
607                    this.assetTagFinder = assetTagFinder;
608            }
609    
610            /**
611             * Gets the asset tag property local service.
612             *
613             * @return the asset tag property local service
614             */
615            public AssetTagPropertyLocalService getAssetTagPropertyLocalService() {
616                    return assetTagPropertyLocalService;
617            }
618    
619            /**
620             * Sets the asset tag property local service.
621             *
622             * @param assetTagPropertyLocalService the asset tag property local service
623             */
624            public void setAssetTagPropertyLocalService(
625                    AssetTagPropertyLocalService assetTagPropertyLocalService) {
626                    this.assetTagPropertyLocalService = assetTagPropertyLocalService;
627            }
628    
629            /**
630             * Gets the asset tag property remote service.
631             *
632             * @return the asset tag property remote service
633             */
634            public AssetTagPropertyService getAssetTagPropertyService() {
635                    return assetTagPropertyService;
636            }
637    
638            /**
639             * Sets the asset tag property remote service.
640             *
641             * @param assetTagPropertyService the asset tag property remote service
642             */
643            public void setAssetTagPropertyService(
644                    AssetTagPropertyService assetTagPropertyService) {
645                    this.assetTagPropertyService = assetTagPropertyService;
646            }
647    
648            /**
649             * Gets the asset tag property persistence.
650             *
651             * @return the asset tag property persistence
652             */
653            public AssetTagPropertyPersistence getAssetTagPropertyPersistence() {
654                    return assetTagPropertyPersistence;
655            }
656    
657            /**
658             * Sets the asset tag property persistence.
659             *
660             * @param assetTagPropertyPersistence the asset tag property persistence
661             */
662            public void setAssetTagPropertyPersistence(
663                    AssetTagPropertyPersistence assetTagPropertyPersistence) {
664                    this.assetTagPropertyPersistence = assetTagPropertyPersistence;
665            }
666    
667            /**
668             * Gets the asset tag property finder.
669             *
670             * @return the asset tag property finder
671             */
672            public AssetTagPropertyFinder getAssetTagPropertyFinder() {
673                    return assetTagPropertyFinder;
674            }
675    
676            /**
677             * Sets the asset tag property finder.
678             *
679             * @param assetTagPropertyFinder the asset tag property finder
680             */
681            public void setAssetTagPropertyFinder(
682                    AssetTagPropertyFinder assetTagPropertyFinder) {
683                    this.assetTagPropertyFinder = assetTagPropertyFinder;
684            }
685    
686            /**
687             * Gets the asset tag property key finder.
688             *
689             * @return the asset tag property key finder
690             */
691            public AssetTagPropertyKeyFinder getAssetTagPropertyKeyFinder() {
692                    return assetTagPropertyKeyFinder;
693            }
694    
695            /**
696             * Sets the asset tag property key finder.
697             *
698             * @param assetTagPropertyKeyFinder the asset tag property key finder
699             */
700            public void setAssetTagPropertyKeyFinder(
701                    AssetTagPropertyKeyFinder assetTagPropertyKeyFinder) {
702                    this.assetTagPropertyKeyFinder = assetTagPropertyKeyFinder;
703            }
704    
705            /**
706             * Gets the asset tag stats local service.
707             *
708             * @return the asset tag stats local service
709             */
710            public AssetTagStatsLocalService getAssetTagStatsLocalService() {
711                    return assetTagStatsLocalService;
712            }
713    
714            /**
715             * Sets the asset tag stats local service.
716             *
717             * @param assetTagStatsLocalService the asset tag stats local service
718             */
719            public void setAssetTagStatsLocalService(
720                    AssetTagStatsLocalService assetTagStatsLocalService) {
721                    this.assetTagStatsLocalService = assetTagStatsLocalService;
722            }
723    
724            /**
725             * Gets the asset tag stats persistence.
726             *
727             * @return the asset tag stats persistence
728             */
729            public AssetTagStatsPersistence getAssetTagStatsPersistence() {
730                    return assetTagStatsPersistence;
731            }
732    
733            /**
734             * Sets the asset tag stats persistence.
735             *
736             * @param assetTagStatsPersistence the asset tag stats persistence
737             */
738            public void setAssetTagStatsPersistence(
739                    AssetTagStatsPersistence assetTagStatsPersistence) {
740                    this.assetTagStatsPersistence = assetTagStatsPersistence;
741            }
742    
743            /**
744             * Gets the asset vocabulary local service.
745             *
746             * @return the asset vocabulary local service
747             */
748            public AssetVocabularyLocalService getAssetVocabularyLocalService() {
749                    return assetVocabularyLocalService;
750            }
751    
752            /**
753             * Sets the asset vocabulary local service.
754             *
755             * @param assetVocabularyLocalService the asset vocabulary local service
756             */
757            public void setAssetVocabularyLocalService(
758                    AssetVocabularyLocalService assetVocabularyLocalService) {
759                    this.assetVocabularyLocalService = assetVocabularyLocalService;
760            }
761    
762            /**
763             * Gets the asset vocabulary remote service.
764             *
765             * @return the asset vocabulary remote service
766             */
767            public AssetVocabularyService getAssetVocabularyService() {
768                    return assetVocabularyService;
769            }
770    
771            /**
772             * Sets the asset vocabulary remote service.
773             *
774             * @param assetVocabularyService the asset vocabulary remote service
775             */
776            public void setAssetVocabularyService(
777                    AssetVocabularyService assetVocabularyService) {
778                    this.assetVocabularyService = assetVocabularyService;
779            }
780    
781            /**
782             * Gets the asset vocabulary persistence.
783             *
784             * @return the asset vocabulary persistence
785             */
786            public AssetVocabularyPersistence getAssetVocabularyPersistence() {
787                    return assetVocabularyPersistence;
788            }
789    
790            /**
791             * Sets the asset vocabulary persistence.
792             *
793             * @param assetVocabularyPersistence the asset vocabulary persistence
794             */
795            public void setAssetVocabularyPersistence(
796                    AssetVocabularyPersistence assetVocabularyPersistence) {
797                    this.assetVocabularyPersistence = assetVocabularyPersistence;
798            }
799    
800            /**
801             * Gets the counter local service.
802             *
803             * @return the counter local service
804             */
805            public CounterLocalService getCounterLocalService() {
806                    return counterLocalService;
807            }
808    
809            /**
810             * Sets the counter local service.
811             *
812             * @param counterLocalService the counter local service
813             */
814            public void setCounterLocalService(CounterLocalService counterLocalService) {
815                    this.counterLocalService = counterLocalService;
816            }
817    
818            /**
819             * Gets the resource local service.
820             *
821             * @return the resource local service
822             */
823            public ResourceLocalService getResourceLocalService() {
824                    return resourceLocalService;
825            }
826    
827            /**
828             * Sets the resource local service.
829             *
830             * @param resourceLocalService the resource local service
831             */
832            public void setResourceLocalService(
833                    ResourceLocalService resourceLocalService) {
834                    this.resourceLocalService = resourceLocalService;
835            }
836    
837            /**
838             * Gets the resource remote service.
839             *
840             * @return the resource remote service
841             */
842            public ResourceService getResourceService() {
843                    return resourceService;
844            }
845    
846            /**
847             * Sets the resource remote service.
848             *
849             * @param resourceService the resource remote service
850             */
851            public void setResourceService(ResourceService resourceService) {
852                    this.resourceService = resourceService;
853            }
854    
855            /**
856             * Gets the resource persistence.
857             *
858             * @return the resource persistence
859             */
860            public ResourcePersistence getResourcePersistence() {
861                    return resourcePersistence;
862            }
863    
864            /**
865             * Sets the resource persistence.
866             *
867             * @param resourcePersistence the resource persistence
868             */
869            public void setResourcePersistence(ResourcePersistence resourcePersistence) {
870                    this.resourcePersistence = resourcePersistence;
871            }
872    
873            /**
874             * Gets the resource finder.
875             *
876             * @return the resource finder
877             */
878            public ResourceFinder getResourceFinder() {
879                    return resourceFinder;
880            }
881    
882            /**
883             * Sets the resource finder.
884             *
885             * @param resourceFinder the resource finder
886             */
887            public void setResourceFinder(ResourceFinder resourceFinder) {
888                    this.resourceFinder = resourceFinder;
889            }
890    
891            /**
892             * Gets the user local service.
893             *
894             * @return the user local service
895             */
896            public UserLocalService getUserLocalService() {
897                    return userLocalService;
898            }
899    
900            /**
901             * Sets the user local service.
902             *
903             * @param userLocalService the user local service
904             */
905            public void setUserLocalService(UserLocalService userLocalService) {
906                    this.userLocalService = userLocalService;
907            }
908    
909            /**
910             * Gets the user remote service.
911             *
912             * @return the user remote service
913             */
914            public UserService getUserService() {
915                    return userService;
916            }
917    
918            /**
919             * Sets the user remote service.
920             *
921             * @param userService the user remote service
922             */
923            public void setUserService(UserService userService) {
924                    this.userService = userService;
925            }
926    
927            /**
928             * Gets the user persistence.
929             *
930             * @return the user persistence
931             */
932            public UserPersistence getUserPersistence() {
933                    return userPersistence;
934            }
935    
936            /**
937             * Sets the user persistence.
938             *
939             * @param userPersistence the user persistence
940             */
941            public void setUserPersistence(UserPersistence userPersistence) {
942                    this.userPersistence = userPersistence;
943            }
944    
945            /**
946             * Gets the user finder.
947             *
948             * @return the user finder
949             */
950            public UserFinder getUserFinder() {
951                    return userFinder;
952            }
953    
954            /**
955             * Sets the user finder.
956             *
957             * @param userFinder the user finder
958             */
959            public void setUserFinder(UserFinder userFinder) {
960                    this.userFinder = userFinder;
961            }
962    
963            /**
964             * Performs an SQL query.
965             *
966             * @param sql the sql query to perform
967             */
968            protected void runSQL(String sql) throws SystemException {
969                    try {
970                            DataSource dataSource = assetCategoryPropertyPersistence.getDataSource();
971    
972                            SqlUpdate sqlUpdate = SqlUpdateFactoryUtil.getSqlUpdate(dataSource,
973                                            sql, new int[0]);
974    
975                            sqlUpdate.update();
976                    }
977                    catch (Exception e) {
978                            throw new SystemException(e);
979                    }
980            }
981    
982            @BeanReference(type = AssetCategoryLocalService.class)
983            protected AssetCategoryLocalService assetCategoryLocalService;
984            @BeanReference(type = AssetCategoryService.class)
985            protected AssetCategoryService assetCategoryService;
986            @BeanReference(type = AssetCategoryPersistence.class)
987            protected AssetCategoryPersistence assetCategoryPersistence;
988            @BeanReference(type = AssetCategoryFinder.class)
989            protected AssetCategoryFinder assetCategoryFinder;
990            @BeanReference(type = AssetCategoryPropertyLocalService.class)
991            protected AssetCategoryPropertyLocalService assetCategoryPropertyLocalService;
992            @BeanReference(type = AssetCategoryPropertyService.class)
993            protected AssetCategoryPropertyService assetCategoryPropertyService;
994            @BeanReference(type = AssetCategoryPropertyPersistence.class)
995            protected AssetCategoryPropertyPersistence assetCategoryPropertyPersistence;
996            @BeanReference(type = AssetCategoryPropertyFinder.class)
997            protected AssetCategoryPropertyFinder assetCategoryPropertyFinder;
998            @BeanReference(type = AssetEntryLocalService.class)
999            protected AssetEntryLocalService assetEntryLocalService;
1000            @BeanReference(type = AssetEntryService.class)
1001            protected AssetEntryService assetEntryService;
1002            @BeanReference(type = AssetEntryPersistence.class)
1003            protected AssetEntryPersistence assetEntryPersistence;
1004            @BeanReference(type = AssetEntryFinder.class)
1005            protected AssetEntryFinder assetEntryFinder;
1006            @BeanReference(type = AssetLinkLocalService.class)
1007            protected AssetLinkLocalService assetLinkLocalService;
1008            @BeanReference(type = AssetLinkPersistence.class)
1009            protected AssetLinkPersistence assetLinkPersistence;
1010            @BeanReference(type = AssetTagLocalService.class)
1011            protected AssetTagLocalService assetTagLocalService;
1012            @BeanReference(type = AssetTagService.class)
1013            protected AssetTagService assetTagService;
1014            @BeanReference(type = AssetTagPersistence.class)
1015            protected AssetTagPersistence assetTagPersistence;
1016            @BeanReference(type = AssetTagFinder.class)
1017            protected AssetTagFinder assetTagFinder;
1018            @BeanReference(type = AssetTagPropertyLocalService.class)
1019            protected AssetTagPropertyLocalService assetTagPropertyLocalService;
1020            @BeanReference(type = AssetTagPropertyService.class)
1021            protected AssetTagPropertyService assetTagPropertyService;
1022            @BeanReference(type = AssetTagPropertyPersistence.class)
1023            protected AssetTagPropertyPersistence assetTagPropertyPersistence;
1024            @BeanReference(type = AssetTagPropertyFinder.class)
1025            protected AssetTagPropertyFinder assetTagPropertyFinder;
1026            @BeanReference(type = AssetTagPropertyKeyFinder.class)
1027            protected AssetTagPropertyKeyFinder assetTagPropertyKeyFinder;
1028            @BeanReference(type = AssetTagStatsLocalService.class)
1029            protected AssetTagStatsLocalService assetTagStatsLocalService;
1030            @BeanReference(type = AssetTagStatsPersistence.class)
1031            protected AssetTagStatsPersistence assetTagStatsPersistence;
1032            @BeanReference(type = AssetVocabularyLocalService.class)
1033            protected AssetVocabularyLocalService assetVocabularyLocalService;
1034            @BeanReference(type = AssetVocabularyService.class)
1035            protected AssetVocabularyService assetVocabularyService;
1036            @BeanReference(type = AssetVocabularyPersistence.class)
1037            protected AssetVocabularyPersistence assetVocabularyPersistence;
1038            @BeanReference(type = CounterLocalService.class)
1039            protected CounterLocalService counterLocalService;
1040            @BeanReference(type = ResourceLocalService.class)
1041            protected ResourceLocalService resourceLocalService;
1042            @BeanReference(type = ResourceService.class)
1043            protected ResourceService resourceService;
1044            @BeanReference(type = ResourcePersistence.class)
1045            protected ResourcePersistence resourcePersistence;
1046            @BeanReference(type = ResourceFinder.class)
1047            protected ResourceFinder resourceFinder;
1048            @BeanReference(type = UserLocalService.class)
1049            protected UserLocalService userLocalService;
1050            @BeanReference(type = UserService.class)
1051            protected UserService userService;
1052            @BeanReference(type = UserPersistence.class)
1053            protected UserPersistence userPersistence;
1054            @BeanReference(type = UserFinder.class)
1055            protected UserFinder userFinder;
1056    }