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.counter.service.CounterLocalService;
23  import com.liferay.counter.service.CounterService;
24  
25  import com.liferay.portal.SystemException;
26  import com.liferay.portal.kernel.annotation.BeanReference;
27  import com.liferay.portal.service.ResourceLocalService;
28  import com.liferay.portal.service.ResourceService;
29  import com.liferay.portal.service.UserLocalService;
30  import com.liferay.portal.service.UserService;
31  import com.liferay.portal.service.base.PrincipalBean;
32  import com.liferay.portal.service.persistence.ResourceFinder;
33  import com.liferay.portal.service.persistence.ResourcePersistence;
34  import com.liferay.portal.service.persistence.UserFinder;
35  import com.liferay.portal.service.persistence.UserPersistence;
36  import com.liferay.portal.util.PortalUtil;
37  
38  import com.liferay.portlet.tags.service.TagsAssetLocalService;
39  import com.liferay.portlet.tags.service.TagsAssetService;
40  import com.liferay.portlet.tags.service.TagsEntryLocalService;
41  import com.liferay.portlet.tags.service.TagsEntryService;
42  import com.liferay.portlet.tags.service.TagsPropertyLocalService;
43  import com.liferay.portlet.tags.service.TagsPropertyService;
44  import com.liferay.portlet.tags.service.TagsSourceLocalService;
45  import com.liferay.portlet.tags.service.TagsSourceService;
46  import com.liferay.portlet.tags.service.TagsVocabularyLocalService;
47  import com.liferay.portlet.tags.service.TagsVocabularyService;
48  import com.liferay.portlet.tags.service.persistence.TagsAssetFinder;
49  import com.liferay.portlet.tags.service.persistence.TagsAssetPersistence;
50  import com.liferay.portlet.tags.service.persistence.TagsEntryFinder;
51  import com.liferay.portlet.tags.service.persistence.TagsEntryPersistence;
52  import com.liferay.portlet.tags.service.persistence.TagsPropertyFinder;
53  import com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder;
54  import com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence;
55  import com.liferay.portlet.tags.service.persistence.TagsSourcePersistence;
56  import com.liferay.portlet.tags.service.persistence.TagsVocabularyPersistence;
57  
58  /**
59   * <a href="TagsEntryServiceBaseImpl.java.html"><b><i>View Source</i></b></a>
60   *
61   * @author Brian Wing Shun Chan
62   *
63   */
64  public abstract class TagsEntryServiceBaseImpl extends PrincipalBean
65      implements TagsEntryService {
66      public TagsAssetLocalService getTagsAssetLocalService() {
67          return tagsAssetLocalService;
68      }
69  
70      public void setTagsAssetLocalService(
71          TagsAssetLocalService tagsAssetLocalService) {
72          this.tagsAssetLocalService = tagsAssetLocalService;
73      }
74  
75      public TagsAssetService getTagsAssetService() {
76          return tagsAssetService;
77      }
78  
79      public void setTagsAssetService(TagsAssetService tagsAssetService) {
80          this.tagsAssetService = tagsAssetService;
81      }
82  
83      public TagsAssetPersistence getTagsAssetPersistence() {
84          return tagsAssetPersistence;
85      }
86  
87      public void setTagsAssetPersistence(
88          TagsAssetPersistence tagsAssetPersistence) {
89          this.tagsAssetPersistence = tagsAssetPersistence;
90      }
91  
92      public TagsAssetFinder getTagsAssetFinder() {
93          return tagsAssetFinder;
94      }
95  
96      public void setTagsAssetFinder(TagsAssetFinder tagsAssetFinder) {
97          this.tagsAssetFinder = tagsAssetFinder;
98      }
99  
100     public TagsEntryLocalService getTagsEntryLocalService() {
101         return tagsEntryLocalService;
102     }
103 
104     public void setTagsEntryLocalService(
105         TagsEntryLocalService tagsEntryLocalService) {
106         this.tagsEntryLocalService = tagsEntryLocalService;
107     }
108 
109     public TagsEntryService getTagsEntryService() {
110         return tagsEntryService;
111     }
112 
113     public void setTagsEntryService(TagsEntryService tagsEntryService) {
114         this.tagsEntryService = tagsEntryService;
115     }
116 
117     public TagsEntryPersistence getTagsEntryPersistence() {
118         return tagsEntryPersistence;
119     }
120 
121     public void setTagsEntryPersistence(
122         TagsEntryPersistence tagsEntryPersistence) {
123         this.tagsEntryPersistence = tagsEntryPersistence;
124     }
125 
126     public TagsEntryFinder getTagsEntryFinder() {
127         return tagsEntryFinder;
128     }
129 
130     public void setTagsEntryFinder(TagsEntryFinder tagsEntryFinder) {
131         this.tagsEntryFinder = tagsEntryFinder;
132     }
133 
134     public TagsPropertyLocalService getTagsPropertyLocalService() {
135         return tagsPropertyLocalService;
136     }
137 
138     public void setTagsPropertyLocalService(
139         TagsPropertyLocalService tagsPropertyLocalService) {
140         this.tagsPropertyLocalService = tagsPropertyLocalService;
141     }
142 
143     public TagsPropertyService getTagsPropertyService() {
144         return tagsPropertyService;
145     }
146 
147     public void setTagsPropertyService(TagsPropertyService tagsPropertyService) {
148         this.tagsPropertyService = tagsPropertyService;
149     }
150 
151     public TagsPropertyPersistence getTagsPropertyPersistence() {
152         return tagsPropertyPersistence;
153     }
154 
155     public void setTagsPropertyPersistence(
156         TagsPropertyPersistence tagsPropertyPersistence) {
157         this.tagsPropertyPersistence = tagsPropertyPersistence;
158     }
159 
160     public TagsPropertyFinder getTagsPropertyFinder() {
161         return tagsPropertyFinder;
162     }
163 
164     public void setTagsPropertyFinder(TagsPropertyFinder tagsPropertyFinder) {
165         this.tagsPropertyFinder = tagsPropertyFinder;
166     }
167 
168     public TagsPropertyKeyFinder getTagsPropertyKeyFinder() {
169         return tagsPropertyKeyFinder;
170     }
171 
172     public void setTagsPropertyKeyFinder(
173         TagsPropertyKeyFinder tagsPropertyKeyFinder) {
174         this.tagsPropertyKeyFinder = tagsPropertyKeyFinder;
175     }
176 
177     public TagsSourceLocalService getTagsSourceLocalService() {
178         return tagsSourceLocalService;
179     }
180 
181     public void setTagsSourceLocalService(
182         TagsSourceLocalService tagsSourceLocalService) {
183         this.tagsSourceLocalService = tagsSourceLocalService;
184     }
185 
186     public TagsSourceService getTagsSourceService() {
187         return tagsSourceService;
188     }
189 
190     public void setTagsSourceService(TagsSourceService tagsSourceService) {
191         this.tagsSourceService = tagsSourceService;
192     }
193 
194     public TagsSourcePersistence getTagsSourcePersistence() {
195         return tagsSourcePersistence;
196     }
197 
198     public void setTagsSourcePersistence(
199         TagsSourcePersistence tagsSourcePersistence) {
200         this.tagsSourcePersistence = tagsSourcePersistence;
201     }
202 
203     public TagsVocabularyLocalService getTagsVocabularyLocalService() {
204         return tagsVocabularyLocalService;
205     }
206 
207     public void setTagsVocabularyLocalService(
208         TagsVocabularyLocalService tagsVocabularyLocalService) {
209         this.tagsVocabularyLocalService = tagsVocabularyLocalService;
210     }
211 
212     public TagsVocabularyService getTagsVocabularyService() {
213         return tagsVocabularyService;
214     }
215 
216     public void setTagsVocabularyService(
217         TagsVocabularyService tagsVocabularyService) {
218         this.tagsVocabularyService = tagsVocabularyService;
219     }
220 
221     public TagsVocabularyPersistence getTagsVocabularyPersistence() {
222         return tagsVocabularyPersistence;
223     }
224 
225     public void setTagsVocabularyPersistence(
226         TagsVocabularyPersistence tagsVocabularyPersistence) {
227         this.tagsVocabularyPersistence = tagsVocabularyPersistence;
228     }
229 
230     public CounterLocalService getCounterLocalService() {
231         return counterLocalService;
232     }
233 
234     public void setCounterLocalService(CounterLocalService counterLocalService) {
235         this.counterLocalService = counterLocalService;
236     }
237 
238     public CounterService getCounterService() {
239         return counterService;
240     }
241 
242     public void setCounterService(CounterService counterService) {
243         this.counterService = counterService;
244     }
245 
246     public ResourceLocalService getResourceLocalService() {
247         return resourceLocalService;
248     }
249 
250     public void setResourceLocalService(
251         ResourceLocalService resourceLocalService) {
252         this.resourceLocalService = resourceLocalService;
253     }
254 
255     public ResourceService getResourceService() {
256         return resourceService;
257     }
258 
259     public void setResourceService(ResourceService resourceService) {
260         this.resourceService = resourceService;
261     }
262 
263     public ResourcePersistence getResourcePersistence() {
264         return resourcePersistence;
265     }
266 
267     public void setResourcePersistence(ResourcePersistence resourcePersistence) {
268         this.resourcePersistence = resourcePersistence;
269     }
270 
271     public ResourceFinder getResourceFinder() {
272         return resourceFinder;
273     }
274 
275     public void setResourceFinder(ResourceFinder resourceFinder) {
276         this.resourceFinder = resourceFinder;
277     }
278 
279     public UserLocalService getUserLocalService() {
280         return userLocalService;
281     }
282 
283     public void setUserLocalService(UserLocalService userLocalService) {
284         this.userLocalService = userLocalService;
285     }
286 
287     public UserService getUserService() {
288         return userService;
289     }
290 
291     public void setUserService(UserService userService) {
292         this.userService = userService;
293     }
294 
295     public UserPersistence getUserPersistence() {
296         return userPersistence;
297     }
298 
299     public void setUserPersistence(UserPersistence userPersistence) {
300         this.userPersistence = userPersistence;
301     }
302 
303     public UserFinder getUserFinder() {
304         return userFinder;
305     }
306 
307     public void setUserFinder(UserFinder userFinder) {
308         this.userFinder = userFinder;
309     }
310 
311     protected void runSQL(String sql) throws SystemException {
312         try {
313             PortalUtil.runSQL(sql);
314         }
315         catch (Exception e) {
316             throw new SystemException(e);
317         }
318     }
319 
320     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetLocalService.impl")
321     protected TagsAssetLocalService tagsAssetLocalService;
322     @BeanReference(name = "com.liferay.portlet.tags.service.TagsAssetService.impl")
323     protected TagsAssetService tagsAssetService;
324     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetPersistence.impl")
325     protected TagsAssetPersistence tagsAssetPersistence;
326     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsAssetFinder.impl")
327     protected TagsAssetFinder tagsAssetFinder;
328     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryLocalService.impl")
329     protected TagsEntryLocalService tagsEntryLocalService;
330     @BeanReference(name = "com.liferay.portlet.tags.service.TagsEntryService.impl")
331     protected TagsEntryService tagsEntryService;
332     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryPersistence.impl")
333     protected TagsEntryPersistence tagsEntryPersistence;
334     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsEntryFinder.impl")
335     protected TagsEntryFinder tagsEntryFinder;
336     @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyLocalService.impl")
337     protected TagsPropertyLocalService tagsPropertyLocalService;
338     @BeanReference(name = "com.liferay.portlet.tags.service.TagsPropertyService.impl")
339     protected TagsPropertyService tagsPropertyService;
340     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyPersistence.impl")
341     protected TagsPropertyPersistence tagsPropertyPersistence;
342     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyFinder.impl")
343     protected TagsPropertyFinder tagsPropertyFinder;
344     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsPropertyKeyFinder.impl")
345     protected TagsPropertyKeyFinder tagsPropertyKeyFinder;
346     @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceLocalService.impl")
347     protected TagsSourceLocalService tagsSourceLocalService;
348     @BeanReference(name = "com.liferay.portlet.tags.service.TagsSourceService.impl")
349     protected TagsSourceService tagsSourceService;
350     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsSourcePersistence.impl")
351     protected TagsSourcePersistence tagsSourcePersistence;
352     @BeanReference(name = "com.liferay.portlet.tags.service.TagsVocabularyLocalService.impl")
353     protected TagsVocabularyLocalService tagsVocabularyLocalService;
354     @BeanReference(name = "com.liferay.portlet.tags.service.TagsVocabularyService.impl")
355     protected TagsVocabularyService tagsVocabularyService;
356     @BeanReference(name = "com.liferay.portlet.tags.service.persistence.TagsVocabularyPersistence.impl")
357     protected TagsVocabularyPersistence tagsVocabularyPersistence;
358     @BeanReference(name = "com.liferay.counter.service.CounterLocalService.impl")
359     protected CounterLocalService counterLocalService;
360     @BeanReference(name = "com.liferay.counter.service.CounterService.impl")
361     protected CounterService counterService;
362     @BeanReference(name = "com.liferay.portal.service.ResourceLocalService.impl")
363     protected ResourceLocalService resourceLocalService;
364     @BeanReference(name = "com.liferay.portal.service.ResourceService.impl")
365     protected ResourceService resourceService;
366     @BeanReference(name = "com.liferay.portal.service.persistence.ResourcePersistence.impl")
367     protected ResourcePersistence resourcePersistence;
368     @BeanReference(name = "com.liferay.portal.service.persistence.ResourceFinder.impl")
369     protected ResourceFinder resourceFinder;
370     @BeanReference(name = "com.liferay.portal.service.UserLocalService.impl")
371     protected UserLocalService userLocalService;
372     @BeanReference(name = "com.liferay.portal.service.UserService.impl")
373     protected UserService userService;
374     @BeanReference(name = "com.liferay.portal.service.persistence.UserPersistence.impl")
375     protected UserPersistence userPersistence;
376     @BeanReference(name = "com.liferay.portal.service.persistence.UserFinder.impl")
377     protected UserFinder userFinder;
378 }