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.TagsVocabularyLocalService;
39  import com.liferay.portlet.tags.service.TagsVocabularyService;
40  import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
41  import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
42  import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
43  import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
44  import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
45  import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
46  import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
47  import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
48  import com.liferay.portlet.tags.service.persistence.TagsVocabularyPersistence;
49  
50  /**
51   * <a href="TagsSourceServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
52   *
53   * @author Brian Wing Shun Chan
54   *
55   */
56  public abstract class TagsSourceServiceBaseImpl extends PrincipalBean
57      implements TagsSourceService {
58      public TagsAssetLocalService getTagsAssetLocalService() {
59          return tagsAssetLocalService;
60      }
61  
62      public void setTagsAssetLocalService(
63          TagsAssetLocalService tagsAssetLocalService) {
64          this.tagsAssetLocalService = tagsAssetLocalService;
65      }
66  
67      public TagsAssetService getTagsAssetService() {
68          return tagsAssetService;
69      }
70  
71      public void setTagsAssetService(TagsAssetService tagsAssetService) {
72          this.tagsAssetService = tagsAssetService;
73      }
74  
75      public TagsAssetPersistence getTagsAssetPersistence() {
76          return tagsAssetPersistence;
77      }
78  
79      public void setTagsAssetPersistence(
80          TagsAssetPersistence tagsAssetPersistence) {
81          this.tagsAssetPersistence = tagsAssetPersistence;
82      }
83  
84      public TagsAssetFinder getTagsAssetFinder() {
85          return tagsAssetFinder;
86      }
87  
88      public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
89          this.tagsAssetFinder = tagsAssetFinder;
90      }
91  
92      public TagsEntryLocalService getTagsEntryLocalService() {
93          return tagsEntryLocalService;
94      }
95  
96      public void setTagsEntryLocalService(
97          TagsEntryLocalService tagsEntryLocalService) {
98          this.tagsEntryLocalService = tagsEntryLocalService;
99      }
100 
101     public TagsEntryService getTagsEntryService() {
102         return tagsEntryService;
103     }
104 
105     public void setTagsEntryService(TagsEntryService tagsEntryService) {
106         this.tagsEntryService = tagsEntryService;
107     }
108 
109     public TagsEntryPersistence getTagsEntryPersistence() {
110         return tagsEntryPersistence;
111     }
112 
113     public void setTagsEntryPersistence(
114         TagsEntryPersistence tagsEntryPersistence) {
115         this.tagsEntryPersistence = tagsEntryPersistence;
116     }
117 
118     public TagsEntryFinder getTagsEntryFinder() {
119         return tagsEntryFinder;
120     }
121 
122     public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
123         this.tagsEntryFinder = tagsEntryFinder;
124     }
125 
126     public TagsPropertyLocalService getTagsPropertyLocalService() {
127         return tagsPropertyLocalService;
128     }
129 
130     public void setTagsPropertyLocalService(
131         TagsPropertyLocalService tagsPropertyLocalService) {
132         this.tagsPropertyLocalService = tagsPropertyLocalService;
133     }
134 
135     public TagsPropertyService getTagsPropertyService() {
136         return tagsPropertyService;
137     }
138 
139     public void setTagsPropertyService(TagsPropertyService tagsPropertyService) {
140         this.tagsPropertyService = tagsPropertyService;
141     }
142 
143     public TagsPropertyPersistence getTagsPropertyPersistence() {
144         return tagsPropertyPersistence;
145     }
146 
147     public void setTagsPropertyPersistence(
148         TagsPropertyPersistence tagsPropertyPersistence) {
149         this.tagsPropertyPersistence = tagsPropertyPersistence;
150     }
151 
152     public TagsPropertyFinder getTagsPropertyFinder() {
153         return tagsPropertyFinder;
154     }
155 
156     public void setTagsPropertyFinder(TagsPropertyFinder tagsPropertyFinder) {
157         this.tagsPropertyFinder = tagsPropertyFinder;
158     }
159 
160     public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
161         return tagsPropertyKeyFinder;
162     }
163 
164     public void setTagsPropertyKeyFinder(
165         TagsPropertyKeyFinder tagsPropertyKeyFinder) {
166         this.tagsPropertyKeyFinder = tagsPropertyKeyFinder;
167     }
168 
169     public TagsSourceLocalService getTagsSourceLocalService() {
170         return tagsSourceLocalService;
171     }
172 
173     public void setTagsSourceLocalService(
174         TagsSourceLocalService tagsSourceLocalService) {
175         this.tagsSourceLocalService = tagsSourceLocalService;
176     }
177 
178     public TagsSourceService getTagsSourceService() {
179         return tagsSourceService;
180     }
181 
182     public void setTagsSourceService(TagsSourceService tagsSourceService) {
183         this.tagsSourceService = tagsSourceService;
184     }
185 
186     public TagsSourcePersistence getTagsSourcePersistence() {
187         return tagsSourcePersistence;
188     }
189 
190     public void setTagsSourcePersistence(
191         TagsSourcePersistence tagsSourcePersistence) {
192         this.tagsSourcePersistence = tagsSourcePersistence;
193     }
194 
195     public TagsVocabularyLocalService getTagsVocabularyLocalService() {
196         return tagsVocabularyLocalService;
197     }
198 
199     public void setTagsVocabularyLocalService(
200         TagsVocabularyLocalService tagsVocabularyLocalService) {
201         this.tagsVocabularyLocalService = tagsVocabularyLocalService;
202     }
203 
204     public TagsVocabularyService getTagsVocabularyService() {
205         return tagsVocabularyService;
206     }
207 
208     public void setTagsVocabularyService(
209         TagsVocabularyService tagsVocabularyService) {
210         this.tagsVocabularyService = tagsVocabularyService;
211     }
212 
213     public TagsVocabularyPersistence getTagsVocabularyPersistence() {
214         return tagsVocabularyPersistence;
215     }
216 
217     public void setTagsVocabularyPersistence(
218         TagsVocabularyPersistence tagsVocabularyPersistence) {
219         this.tagsVocabularyPersistence = tagsVocabularyPersistence;
220     }
221 
222     protected void runSQL(String sql) throws SystemException {
223         try {
224             PortalUtil.runSQL(sql);
225         }
226         catch (Exception e) {
227             throw new SystemException(e);
228         }
229     }
230 
231     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetLocalService.impl")
232     protected TagsAssetLocalService tagsAssetLocalService;
233     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetService.impl")
234     protected TagsAssetService tagsAssetService;
235     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.impl")
236     protected TagsAssetPersistence tagsAssetPersistence;
237     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetFinder.impl")
238     protected TagsAssetFinder tagsAssetFinder;
239     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryLocalService.impl")
240     protected TagsEntryLocalService tagsEntryLocalService;
241     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryService.impl")
242     protected TagsEntryService tagsEntryService;
243     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryPersistence.impl")
244     protected TagsEntryPersistence tagsEntryPersistence;
245     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryFinder.impl")
246     protected TagsEntryFinder tagsEntryFinder;
247     @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyLocalService.impl")
248     protected TagsPropertyLocalService tagsPropertyLocalService;
249     @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyService.impl")
250     protected TagsPropertyService tagsPropertyService;
251     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence.impl")
252     protected TagsPropertyPersistence tagsPropertyPersistence;
253     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyFinder.impl")
254     protected TagsPropertyFinder tagsPropertyFinder;
255     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder.impl")
256     protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
257     @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceLocalService.impl")
258     protected TagsSourceLocalService tagsSourceLocalService;
259     @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceService.impl")
260     protected TagsSourceService tagsSourceService;
261     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsSourcePersistence.impl")
262     protected TagsSourcePersistence tagsSourcePersistence;
263     @BeanReference(name = "com.liferay.portlet.tags.service.TagsVocabularyLocalService.impl")
264     protected TagsVocabularyLocalService tagsVocabularyLocalService;
265     @BeanReference(name = "com.liferay.portlet.tags.service.TagsVocabularyService.impl")
266     protected TagsVocabularyService tagsVocabularyService;
267     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsVocabularyPersistence.impl")
268     protected TagsVocabularyPersistence tagsVocabularyPersistence;
269 }