1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * Permission is hereby granted, free of charge, to any person obtaining a copy
5    * of this software and associated documentation files (the "Software"), to deal
6    * in the Software without restriction, including without limitation the rights
7    * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8    * copies of the Software, and to permit persons to whom the Software is
9    * furnished to do so, subject to the following conditions:
10   *
11   * The above copyright notice and this permission notice shall be included in
12   * all copies or substantial portions of the Software.
13   *
14   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20   * SOFTWARE.
21   */
22  
23  package com.liferay.portlet.tags.service.base;
24  
25  import com.liferay.portal.SystemException;
26  import com.liferay.portal.kernel.annotation.BeanReference;
27  import com.liferay.portal.service.base.PrincipalBean;
28  import com.liferay.portal.util.PortalUtil;
29  
30  import com.liferay.portlet.tags.service.TagsAssetLocalService;
31  import com.liferay.portlet.tags.service.TagsAssetService;
32  import com.liferay.portlet.tags.service.TagsEntryLocalService;
33  import com.liferay.portlet.tags.service.TagsEntryService;
34  import com.liferay.portlet.tags.service.TagsPropertyLocalService;
35  import com.liferay.portlet.tags.service.TagsPropertyService;
36  import com.liferay.portlet.tags.service.TagsSourceLocalService;
37  import com.liferay.portlet.tags.service.TagsSourceService;
38  import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
39  import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
40  import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
41  import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
42  import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
43  import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
44  import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
45  import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
46  
47  /**
48   * <a href="TagsSourceServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
49   *
50   * @author Brian Wing Shun Chan
51   *
52   */
53  public abstract class TagsSourceServiceBaseImpl extends PrincipalBean
54      implements TagsSourceService {
55      public TagsAssetLocalService getTagsAssetLocalService() {
56          return tagsAssetLocalService;
57      }
58  
59      public void setTagsAssetLocalService(
60          TagsAssetLocalService tagsAssetLocalService) {
61          this.tagsAssetLocalService = tagsAssetLocalService;
62      }
63  
64      public TagsAssetService getTagsAssetService() {
65          return tagsAssetService;
66      }
67  
68      public void setTagsAssetService(TagsAssetService tagsAssetService) {
69          this.tagsAssetService = tagsAssetService;
70      }
71  
72      public TagsAssetPersistence getTagsAssetPersistence() {
73          return tagsAssetPersistence;
74      }
75  
76      public void setTagsAssetPersistence(
77          TagsAssetPersistence tagsAssetPersistence) {
78          this.tagsAssetPersistence = tagsAssetPersistence;
79      }
80  
81      public TagsAssetFinder getTagsAssetFinder() {
82          return tagsAssetFinder;
83      }
84  
85      public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
86          this.tagsAssetFinder = tagsAssetFinder;
87      }
88  
89      public TagsEntryLocalService getTagsEntryLocalService() {
90          return tagsEntryLocalService;
91      }
92  
93      public void setTagsEntryLocalService(
94          TagsEntryLocalService tagsEntryLocalService) {
95          this.tagsEntryLocalService = tagsEntryLocalService;
96      }
97  
98      public TagsEntryService getTagsEntryService() {
99          return tagsEntryService;
100     }
101 
102     public void setTagsEntryService(TagsEntryService tagsEntryService) {
103         this.tagsEntryService = tagsEntryService;
104     }
105 
106     public TagsEntryPersistence getTagsEntryPersistence() {
107         return tagsEntryPersistence;
108     }
109 
110     public void setTagsEntryPersistence(
111         TagsEntryPersistence tagsEntryPersistence) {
112         this.tagsEntryPersistence = tagsEntryPersistence;
113     }
114 
115     public TagsEntryFinder getTagsEntryFinder() {
116         return tagsEntryFinder;
117     }
118 
119     public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
120         this.tagsEntryFinder = tagsEntryFinder;
121     }
122 
123     public TagsPropertyLocalService getTagsPropertyLocalService() {
124         return tagsPropertyLocalService;
125     }
126 
127     public void setTagsPropertyLocalService(
128         TagsPropertyLocalService tagsPropertyLocalService) {
129         this.tagsPropertyLocalService = tagsPropertyLocalService;
130     }
131 
132     public TagsPropertyService getTagsPropertyService() {
133         return tagsPropertyService;
134     }
135 
136     public void setTagsPropertyService(TagsPropertyService tagsPropertyService) {
137         this.tagsPropertyService = tagsPropertyService;
138     }
139 
140     public TagsPropertyPersistence getTagsPropertyPersistence() {
141         return tagsPropertyPersistence;
142     }
143 
144     public void setTagsPropertyPersistence(
145         TagsPropertyPersistence tagsPropertyPersistence) {
146         this.tagsPropertyPersistence = tagsPropertyPersistence;
147     }
148 
149     public TagsPropertyFinder getTagsPropertyFinder() {
150         return tagsPropertyFinder;
151     }
152 
153     public void setTagsPropertyFinder(TagsPropertyFinder tagsPropertyFinder) {
154         this.tagsPropertyFinder = tagsPropertyFinder;
155     }
156 
157     public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
158         return tagsPropertyKeyFinder;
159     }
160 
161     public void setTagsPropertyKeyFinder(
162         TagsPropertyKeyFinder tagsPropertyKeyFinder) {
163         this.tagsPropertyKeyFinder = tagsPropertyKeyFinder;
164     }
165 
166     public TagsSourceLocalService getTagsSourceLocalService() {
167         return tagsSourceLocalService;
168     }
169 
170     public void setTagsSourceLocalService(
171         TagsSourceLocalService tagsSourceLocalService) {
172         this.tagsSourceLocalService = tagsSourceLocalService;
173     }
174 
175     public TagsSourceService getTagsSourceService() {
176         return tagsSourceService;
177     }
178 
179     public void setTagsSourceService(TagsSourceService tagsSourceService) {
180         this.tagsSourceService = tagsSourceService;
181     }
182 
183     public TagsSourcePersistence getTagsSourcePersistence() {
184         return tagsSourcePersistence;
185     }
186 
187     public void setTagsSourcePersistence(
188         TagsSourcePersistence tagsSourcePersistence) {
189         this.tagsSourcePersistence = tagsSourcePersistence;
190     }
191 
192     protected void runSQL(String sql) throws SystemException {
193         try {
194             PortalUtil.runSQL(sql);
195         }
196         catch (Exception e) {
197             throw new SystemException(e);
198         }
199     }
200 
201     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetLocalService.impl")
202     protected TagsAssetLocalService tagsAssetLocalService;
203     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetService.impl")
204     protected TagsAssetService tagsAssetService;
205     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.impl")
206     protected TagsAssetPersistence tagsAssetPersistence;
207     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetFinder.impl")
208     protected TagsAssetFinder tagsAssetFinder;
209     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryLocalService.impl")
210     protected TagsEntryLocalService tagsEntryLocalService;
211     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryService.impl")
212     protected TagsEntryService tagsEntryService;
213     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryPersistence.impl")
214     protected TagsEntryPersistence tagsEntryPersistence;
215     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryFinder.impl")
216     protected TagsEntryFinder tagsEntryFinder;
217     @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyLocalService.impl")
218     protected TagsPropertyLocalService tagsPropertyLocalService;
219     @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyService.impl")
220     protected TagsPropertyService tagsPropertyService;
221     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence.impl")
222     protected TagsPropertyPersistence tagsPropertyPersistence;
223     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyFinder.impl")
224     protected TagsPropertyFinder tagsPropertyFinder;
225     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder.impl")
226     protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
227     @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceLocalService.impl")
228     protected TagsSourceLocalService tagsSourceLocalService;
229     @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceService.impl")
230     protected TagsSourceService tagsSourceService;
231     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsSourcePersistence.impl")
232     protected TagsSourcePersistence tagsSourcePersistence;
233 }