1   /**
2    * Copyright (c) 2000-2009 Liferay, Inc. All rights reserved.
3    *
4    * The contents of this file are subject to the terms of the Liferay Enterprise
5    * Subscription License ("License"). You may not use this file except in
6    * compliance with the License. You can obtain a copy of the License by
7    * contacting Liferay, Inc. See the License for the specific language governing
8    * permissions and limitations under the License, including but not limited to
9    * distribution rights of the Software.
10   *
11   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
12   * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
13   * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
14   * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
15   * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
16   * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
17   * SOFTWARE.
18   */
19  
20  package com.liferay.portlet.tags.service.base;
21  
22  import com.liferay.portal.SystemException;
23  import com.liferay.portal.kernel.annotation.BeanReference;
24  import com.liferay.portal.service.base.PrincipalBean;
25  import com.liferay.portal.util.PortalUtil;
26  
27  import com.liferay.portlet.tags.service.TagsAssetLocalService;
28  import com.liferay.portlet.tags.service.TagsAssetService;
29  import com.liferay.portlet.tags.service.TagsEntryLocalService;
30  import com.liferay.portlet.tags.service.TagsEntryService;
31  import com.liferay.portlet.tags.service.TagsPropertyLocalService;
32  import com.liferay.portlet.tags.service.TagsPropertyService;
33  import com.liferay.portlet.tags.service.TagsSourceLocalService;
34  import com.liferay.portlet.tags.service.TagsSourceService;
35  import com.liferay.portlet.tags.service.TagsVocabularyLocalService;
36  import com.liferay.portlet.tags.service.TagsVocabularyService;
37  import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
38  import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
39  import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
40  import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
41  import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
42  import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
43  import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
44  import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
45  import com.liferay.portlet.tags.service.persistence.TagsVocabularyPersistence;
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     public TagsVocabularyLocalService getTagsVocabularyLocalService() {
193         return tagsVocabularyLocalService;
194     }
195 
196     public void setTagsVocabularyLocalService(
197         TagsVocabularyLocalService tagsVocabularyLocalService) {
198         this.tagsVocabularyLocalService = tagsVocabularyLocalService;
199     }
200 
201     public TagsVocabularyService getTagsVocabularyService() {
202         return tagsVocabularyService;
203     }
204 
205     public void setTagsVocabularyService(
206         TagsVocabularyService tagsVocabularyService) {
207         this.tagsVocabularyService = tagsVocabularyService;
208     }
209 
210     public TagsVocabularyPersistence getTagsVocabularyPersistence() {
211         return tagsVocabularyPersistence;
212     }
213 
214     public void setTagsVocabularyPersistence(
215         TagsVocabularyPersistence tagsVocabularyPersistence) {
216         this.tagsVocabularyPersistence = tagsVocabularyPersistence;
217     }
218 
219     protected void runSQL(String sql) throws SystemException {
220         try {
221             PortalUtil.runSQL(sql);
222         }
223         catch (Exception e) {
224             throw new SystemException(e);
225         }
226     }
227 
228     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetLocalService.impl")
229     protected TagsAssetLocalService tagsAssetLocalService;
230     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetService.impl")
231     protected TagsAssetService tagsAssetService;
232     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.impl")
233     protected TagsAssetPersistence tagsAssetPersistence;
234     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetFinder.impl")
235     protected TagsAssetFinder tagsAssetFinder;
236     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryLocalService.impl")
237     protected TagsEntryLocalService tagsEntryLocalService;
238     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryService.impl")
239     protected TagsEntryService tagsEntryService;
240     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryPersistence.impl")
241     protected TagsEntryPersistence tagsEntryPersistence;
242     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryFinder.impl")
243     protected TagsEntryFinder tagsEntryFinder;
244     @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyLocalService.impl")
245     protected TagsPropertyLocalService tagsPropertyLocalService;
246     @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyService.impl")
247     protected TagsPropertyService tagsPropertyService;
248     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence.impl")
249     protected TagsPropertyPersistence tagsPropertyPersistence;
250     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyFinder.impl")
251     protected TagsPropertyFinder tagsPropertyFinder;
252     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder.impl")
253     protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
254     @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceLocalService.impl")
255     protected TagsSourceLocalService tagsSourceLocalService;
256     @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceService.impl")
257     protected TagsSourceService tagsSourceService;
258     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsSourcePersistence.impl")
259     protected TagsSourcePersistence tagsSourcePersistence;
260     @BeanReference(name = "com.liferay.portlet.tags.service.TagsVocabularyLocalService.impl")
261     protected TagsVocabularyLocalService tagsVocabularyLocalService;
262     @BeanReference(name = "com.liferay.portlet.tags.service.TagsVocabularyService.impl")
263     protected TagsVocabularyService tagsVocabularyService;
264     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsVocabularyPersistence.impl")
265     protected TagsVocabularyPersistence tagsVocabularyPersistence;
266 }