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